WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: daijoda on February 01, 2012, 04:40:30 AM

Title: Wii ASM vs. other consoles ASM
Post by: daijoda on February 01, 2012, 04:40:30 AM
Hi,

I'm just wondering if the ASM displayed in the wii debuggers (gecko.NET etc.) has already been translated into a more readable form from some 'original' ASM, cause when I tried hacking games of other consoles via the pc, the ASM for those games didn't _look_ like ASM for wii games. Their ASM is in all caps and has different looking instructions?
Title: Re: Wii ASM vs. other consoles ASM
Post by: Clay10 on February 01, 2012, 01:55:25 PM
The wii uses PowerPC ASM. It's possible whatever you were hacking used a different kind of ASM.
Title: Re: Wii ASM vs. other consoles ASM
Post by: WiiOs-Ozelot on February 03, 2012, 07:34:57 AM
i have hacked last time Zilog (Z80) Assembly for Sega Master System ^^ It's easy
The MEKA Emulator has a nice Debugger. You can then Modify ROM's in a Hexeditor and then Editing Hex Opcodes.
You can also Inject ASM Cheat Codes into the ROM file.


Here a demonstration with Z80 Assembly and SMS Debugger
http://www.youtube.com/watch?v=5jo9xL9yuKA

Hex Opcode: C6 01  --> Z80 Opcode: Add 01h Add +1 Rings
Modifiy to Add 05h and Sonic earn +5 Rings


I have hacked
Sonic The Hedgehog
Sonic The Hedgehog 2
Sonic Chaos
Transbot
The Newzealand Story
The Lion King
Rainbow Islands
The Lucky Dime Carper
Jungle Book
Alex Kidd in Miracle World
Aerial Assault
Action Fighter

-Moon Jump
-Start Game with XX Lives
-Weapon Modifier's
-Instant Sound Test or level Select Menu's
-Inf. Times and Lives
-Boss one Hit Kills
-Invicibles

all with Z80 ASM

and and and
Title: Re: Wii ASM vs. other consoles ASM
Post by: dcx2 on February 06, 2012, 11:00:15 PM
"original ASM" = hex machine code.  It's just bits that mean different things depending on which bits are set.  For instance, ori r0, r0, 0 = 0x60000000 (aka nop)

The text displayed on Gecko.NET's disassembly tab is the output taken straight from vdappc.  I personally prefer vdappc's output, but if you look at a disassembly listing from gcc that was cross-compiling for the PowerPC you'll see all kinds of %'s but these hurt my eyes when I try to read it

There is no "right" ASM in text form.