Basic codes are exactly the same it seems but the main differences are the button activators and the ASM hook codes,those are the kinds you need to keep track of to make sure a code is placed in the correct cheat section.
Currently,I can't actually remember which one is which for the ASM hooks.
Gecko also invalidates the cache (is that correct?), making the code apply instantly, whereas AR ASM mods won't necessarily activate when you turn them on. I think codes that start with C are also gecko only.
Delete the thing in parenthesis when using rlwinm and such. It's just a helpfully debugger clarification and not part of the code. You can create multi-line codes if you need to, as it'll branch to an empty memory area and execute all code lines, then branch back to the game code. Gecko can do pretty much anything (browse my xenoblade 60fps thread to see), but current dolphin builds will infrequently get buggy with gecko activated in certain games. The only thing codewrite does is insert a branch to empty memory space and add your ASM code to the branch. Beyond codewrite you can create custom gecko conditionals, AOB searches/insert, and other stuff.
PowerPC general reference card:
http://www.tentech.ca/downloads/other/PPC_Quick_Ref_Card-Rev1_Oct12_2010.pdf
PowerPC guide written for gecko:
http://wiibrew.org/wiki/Assembler_Tutorial
Beyond CodeWrite Gecko Guide, bit hard to decipher:
http://geckocodes.org/index.php?arsenal=1#A0
Or this similar one:
https://gamehacking.org/faqs/wiicodetypes.html
Paired Singles (Codewrite can handle these, but puts junk at the end of the code that needs to be dealt with):
http://wiibrew.org/wiki/Paired_single#Loading_and_Storing
Remember which is which now.
Here is an action mod code in Gecko ASM I made for ( SSBM v1.02 GALE01 ) since nobody else made one for some reason.
I based it off of Brawl's action mod.
SSBM (v1.02) GALE01
Action Mod
4A000000 800693D4
D2000000 00000003
2C04002C 40820008
38800108 60000000
7C982378 00000000
Currently replaces neutral attack with taunt,sorry for lack of action values.
How hard would it be to create a Gecko code to run the levels in 60fps, instead of 30fps? Or how hard would it be to create a speed hack?
(02-19-2018, 02:21 AM)Larryeedwards Wrote: [ -> ]How hard would it be to create a Gecko code to run the levels in 60fps, instead of 30fps? Or how hard would it be to create a speed hack?
Depends on the game and if you can find the place where it sets the FPS in memory, I guess. On top of it: if the game has mechanics depending on 30FPS they might break too, so you might need to change those mechanics to become compatible with 60FPS as well. A good example is the Xenoblade Chronicles 60fps code, which tries to work around all of the issues but sometimes still fails.
Below I have provided the FPS I get while Playing Tornado Outbreak. The level selection runs around 30 FPS,then drops to 22 FPS.The first level- Roadside Destruction runs very well at 30 FPS,but when there are buildings,vehicles,and other objects near each other the game drops at 7-15 FPS, turning the camera around will speed up the game. Few levels I can run at full speed. Military Mayhem runs at a solid 30FPS on both flythrough,in game,vortex race,and the totem battle. I really want to create a Gecko code that could run the game at a constant 30FPS, or 60FPS Any ideas on how I can find the place where it sets the FPS in memory?
That probably just sounds like your system can't actually run the game at full speed. If VPS stays at a solid 60 while it slows down, then yeah. You can fix it by enabling CPU clock override in config. If not, your system is too slow.
A 60 fps hack will make it worse
Anyway I can improve the framerate? I always have trouble running Tornado Outbreak for some reason...
Try vulkan backend, top three graphics hacks turned on (the others left at default on/off), no more than 2x internal resolution. Don't know if the game has bugs with those settings.
Doesn't work. Just closes the game when I try to start it. sometimes it even closes Dolphin. Any ideas why? Then it says "Failed to create Vulkan instance" Then "failed to initialize video backend" I can run most games at 30 to 60 FPS,but Tornado Outbreak is the only game I have trouble running.