WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: Bully@Wiiplaza on January 06, 2012, 12:22:07 AM

Title: Halfwidth and Fullwidth Unicode
Post by: Bully@Wiiplaza on January 06, 2012, 12:22:07 AM
Omg, look at this! :eek:
It took me pretty long to realise that the correct address also is in the player data section of the RAM.

(http://jafile.com/uploads/bullywp/name_modifier_ram.jpg)

And how my in-game name looks like...

(http://jafile.com/uploads/bullywp/name_modifier.png)

Damn... did anyone also experience that kind of name modifier?
None of gecko.net´s and WiiRd´s search functions could spot it.
Additionally, this string has unicode values with FF instead of 00.

Aaaand, it breaks on an lhzu instruction:
800AFD30:  A4040002   lhzu   r0,2(r4)

Code:
[spoiler]Name Modifier [Bully@Wiiplaza]
06571478 00000018
FFXXFFXX FFXXFFXX
FFXXFFXX FFXXFFXX
FFXXFFXX FFXXFFXX
*XX = ASCII letters converted to HEX*
[/spoiler]

I now also don´t know how to put my custom name without grabbing it from the games RAM.
Pain in the ass. -_____-
Title: Re: WTF Name Modifier!
Post by: dcx2 on January 06, 2012, 01:03:38 AM
You don't need a terminator for an 06 code.

Also, look at this table of Unicode values.  http://www.alanflavell.org.uk/unicode/unidataFF.html

EDIT:

The proper name for this page of Unicode is "Halfwidth and Fullwidth Forms".  http://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms

EDIT2:

Compare ASCII " character (0x22) to your fullwidth capital B (0xFF22).  That's why Gecko.NET shows a " instead of a B - it's treating 0xFF22 as ASCII, and the 0x22 is a ".

ASCII ( is 0x28.  Your fullwidth capital H is 0xFF28.

ASCII & is 0x26.  ASCII j is 0x6A.  Your music note is 0x266A.  Look at Unicode page 0x26 and at 0x266A you will see...a music note.  http://en.wikibooks.org/wiki/Unicode/Character_reference/2000-2FFF
Title: Re: WTF Name Modifier!
Post by: Bully@Wiiplaza on January 06, 2012, 01:13:20 AM
Ah, I get it ;D
This game comes from japan and it has those weird unicode values from CJK computing.
Cool, so I could probably use some secret symbols from that tablet that aren´t selectable in the game.
Removed the terminators from my 06 code(s).
Title: Re: Halfwidth and Fullwidth Unicode on a Name Modifier
Post by: Stuff on January 08, 2012, 06:18:14 PM
hmm. You think the card names are encoded the same way? I wanted to make a mod digit list of every card, but I couldn't find the card names. After that, I think the "see opponent's cards" would've been easy.
Title: Re: Halfwidth and Fullwidth Unicode on a Name Modifier
Post by: Bully@Wiiplaza on January 08, 2012, 10:36:04 PM
Quote from: Stuff on January 08, 2012, 06:18:14 PM
hmm. You think the card names are encoded the same way? I wanted to make a mod digit list of every card, but I couldn't find the card names. After that, I think the "see opponent's cards" would've been easy.
Not sure, but there´s some section on mem90 were main menu texts are stored.
Since there are so many cards, they must be using some kind of name compression, like on Pokemon where I never found the custom names either.
Kinda interesting. Would be amazing if you can make a code to always view your enemies cards, when they are upside down. It´s on my wish list for this game xD I approached by using the card "respect play" but I didn´t succeed. http://yugioh.wikia.com/wiki/Respect_Play