Animal Crossing: City Folk [RUUE01]

Started by hetoan2, November 17, 2008, 08:43:30 PM

Previous topic - Next topic

hetoan2

the menus?

i think your talking about inventories -.-

DsPet

#256
re: fish modifier
> thanks if someone tests it and says it's working...
Sorry it isn't. The "fish00.brres" is a red herring (pun intended)

> I searched for /Fish/%s.brres and I found it, but when I poke %s ...
As mentioned, that one is a string (with or without "m_").
Sometimes they are formatted numbers, like "Item/Flower%d.brres. Often the names are Japanese ('romanji')
For fish, they use names (not numbers)

There are many possible hacks using string substitution. I recommend dumping the ISO of the game and you can see all the files that make up the game (NOTE: ISOs often used for piracy so please don't ask how).
For example, there are 75 possible fish textures in the "/Fish" folder:
(SPOILER TAG USED FOR BREVITY)
[spoiler]
fish00.brres
fsh_aji.brres
fsh_angel.brres
fsh_ankou.brres
fsh_arowana.brres
fsh_ayu.brres
fsh_black.brres
fsh_blue.brres
fsh_chouchou.brres
fsh_demekin.brres
fsh_dojou.brres
fsh_donko.brres
fsh_dorado.brres
fsh_ei.brres
fsh_funa.brres
fsh_ga.brres
fsh_guppi.brres
fsh_harisen.brres
fsh_hirame.brres
fsh_ika.brres
fsh_ishidai.brres
fsh_itou.brres
fsh_kaeru.brres
fsh_kajiki.brres
fsh_karei.brres
fsh_king.brres
fsh_kingyo.brres
fsh_koi.brres
fsh_kumanomi.brres
fsh_kurage.brres
fsh_kurione.brres
fsh_lobster.brres
fsh_maguro.brres
fsh_manbou.brres
fsh_medaka.brres
fsh_minokasago.brres
fsh_namazu.brres
fsh_nanyou.brres
fsh_napoleon.brres
fsh_neon.brres
fsh_nigoi.brres
fsh_nijimasu.brres
fsh_nishiki.brres
fsh_oikawa.brres
fsh_ooiwana.brres
fsh_pike.brres
fsh_pirania.brres
fsh_piraruku.brres
fsh_raigyo.brres
fsh_sake.brres
fsh_same.brres
fsh_shadow.brres
fsh_shumoku.brres
fsh_siira.brres
fsh_suzuki.brres
fsh_tai.brres
fsh_tako.brres
fsh_tanago.brres
fsh_tatsu.brres
fsh_ugui.brres
fsh_unagi.brres
fsh_utsubo.brres
fsh_wakasagi.brres
fsh_yamame.brres
fsh_yellow.brres
fsh_zarigani.brres
m_anemone.brres
m_fsh_kaeru.brres
m_fsh_utsubo.brres
m_lotus.brres
m_mizukusa00.brres
m_mizukusa01.brres
m_tsubo.brres
m_wakame00.brres
m_wakame01.brres
[/spoiler]
----
Otherwise you have to hack it at a different level.

======
re: 'debug' menu
> So why not just replace one menu with it?....
I don't think it is that simple. That's one of those "REL" files. The Wii version of DynamicLinkLibraries.
AFAIK: nobody understands the format very well (it contains code, data and links to system calls).

Romaap

>> I searched for /Fish/%s.brres and I found it, but when I poke %s ...
>As mentioned, that one is a string (with or without "m_").
Sometimes they are formatted numbers, like "Item/Flower%d.brres. Often the names are Japanese ('romanji')
For fish, they use names (not numbers)

There are many possible hacks using string substitution. I recommend dumping the ISO of the game and you can see all the files that make up the game (NOTE: ISOs often used for piracy so please don't ask how).
For example, there are 75 possible fish textures in the "/Fish" folder:
(SPOILER TAG USED FOR BREVITY)
[spoiler]
fish00.brres
fsh_aji.brres
fsh_angel.brres
fsh_ankou.brres
fsh_arowana.brres
fsh_ayu.brres
fsh_black.brres
fsh_blue.brres
fsh_chouchou.brres
fsh_demekin.brres
fsh_dojou.brres
fsh_donko.brres
fsh_dorado.brres
fsh_ei.brres
fsh_funa.brres
fsh_ga.brres
fsh_guppi.brres
fsh_harisen.brres
fsh_hirame.brres
fsh_ika.brres
fsh_ishidai.brres
fsh_itou.brres
fsh_kaeru.brres
fsh_kajiki.brres
fsh_karei.brres
fsh_king.brres
fsh_kingyo.brres
fsh_koi.brres
fsh_kumanomi.brres
fsh_kurage.brres
fsh_kurione.brres
fsh_lobster.brres
fsh_maguro.brres
fsh_manbou.brres
fsh_medaka.brres
fsh_minokasago.brres
fsh_namazu.brres
fsh_nanyou.brres
fsh_napoleon.brres
fsh_neon.brres
fsh_nigoi.brres
fsh_nijimasu.brres
fsh_nishiki.brres
fsh_oikawa.brres
fsh_ooiwana.brres
fsh_pike.brres
fsh_pirania.brres
fsh_piraruku.brres
fsh_raigyo.brres
fsh_sake.brres
fsh_same.brres
fsh_shadow.brres
fsh_shumoku.brres
fsh_siira.brres
fsh_suzuki.brres
fsh_tai.brres
fsh_tako.brres
fsh_tanago.brres
fsh_tatsu.brres
fsh_ugui.brres
fsh_unagi.brres
fsh_utsubo.brres
fsh_wakasagi.brres
fsh_yamame.brres
fsh_yellow.brres
fsh_zarigani.brres
m_anemone.brres
m_fsh_kaeru.brres
m_fsh_utsubo.brres
m_lotus.brres
m_mizukusa00.brres
m_mizukusa01.brres
m_tsubo.brres
m_wakame00.brres
m_wakame01.brres
[/spoiler]
----
Otherwise you have to hack it at a different level.


Yeah, I saw the fish had names in the FST in WiiRD.
But the names doesn't fit after Fish/ do you have any idea on how to replace the %s with the name?

DsPet

General advice for texture replacement hacks with "sprintf" string substitution:
> But the names doesn't fit after Fish/ do you have any idea on how to replace the %s with the name?
Try changing the code that refers to the location. Point it to an unused place in RAM and "sprintf" the string there. Of if you like, tweek the existing code that does the "sprintf".
How to find the code (PowerPC instructions) that does the sprintf:
You sometimes can find the address by searching through RAM for the exact 4 byte address, but that is usually unsatisfying
That's the beauty of WiiRD. Set a read breakpoint at the start of the address "/Fish/%s.brres" ("bpr" or use the GUI feature) - then play the game until the code trys to use it for the "sprintf". Disassemble a little, and the sky's the limit.

Even so I don't know what you are doing. Changing the graphics of the fish is only a temporary thing.
BTW: The fish *items* are numbered "/Item/Fish/Fish%d.brres". You could hack them so that all the fish placed inside your house would look alike - but why would you want to?

hetoan2

thanks DsPet, i don't really see why you don't make the codes yourself... you'd be good at it :|

i'll try your method though.

DsPet

> ...i don't really see why you don't make the codes yourself...
FWIW: I'm not a big fan of runtime 'codes', unless they can do amazing things impossible with gamesave saving (see my earlier diatribe). For the basics gamesave editing (with ACToolkit) is better IMHO.
For quick playing around, like poking the textures for drawing crazy things, the USBGecko/WiiRd is much easier (change the game, take a screenshot, post it, then brag about it). IMHO: most of these are "curiosities" instead of things that are worth a 'code' (and reduces the confusion of the newbies).
Your opinion may vary.

REDSOXROX

Quote from: DsPet on January 05, 2009, 05:59:46 PM
> ...i don't really see why you don't make the codes yourself...
FWIW: I'm not a big fan of runtime 'codes', unless they can do amazing things impossible with gamesave saving (see my earlier diatribe). For the basics gamesave editing (with ACToolkit) is better IMHO.
For quick playing around, like poking the textures for drawing crazy things, the USBGecko/WiiRd is much easier (change the game, take a screenshot, post it, then brag about it). IMHO: most of these are "curiosities" instead of things that are worth a 'code' (and reduces the confusion of the newbies).
Your opinion may vary.

Well there are quite a few things you can do with codes not possible with ACToolkit like brkirch's Control Time and Cycle through pockets etc, but I can see your opinion ;)
Red Sox vs. Yankees 4/4/2k10 Season Opener
Red Sox: 9 Yankees: 7 Final!

hetoan2

#262
Plant Color Modifier [hetoan2]
044E58F0 6F6E3X3Y
044E58F4 2E627272
044E58F8 65730000

X is number 1 Y is number 2

00 - 21

say you have 17

1 goes in x and 7 goes in y.

Will not work with wiiRD maybe definitely works tho... can show pics for proof :| i'm not crazy...

Please thank this post if it worked for you or you used it/love it :D

by the way either this one or the seasons modifier changes the Fish that come out... I can't tell which, but all I know is i caught a Ray in January and a guide says Summer only >_<

Full Metal Kirby

#263
Edit: Apparently the codes aren't working as they should, I'll look into them when I get a chance.


[spoiler]Time for a more interesting set of codes here.

Majora's Mask acts as an Accessory (Mask):
42000000 9136A84F
00000000 00000085
E0000000 80008000

[spoiler][/spoiler]

Red/Blue Ogre Mask acts as an Accessory (Mask):
42000000 9136A3C0
00000177 00000085
00000303 00000085
E0000000 80008000

[spoiler]
[/spoiler]

Roman Helmet acts as Headgear (Hat):
42000000 91369433
00000000 00000055
E0000000 80008000

[spoiler][/spoiler]

Midna's Mask acts as Headgear (Hat):
42000000 9136AB67
00000000 00000055
E0000000 80008000

[spoiler][/spoiler]

Toad Hat acts as Headgear (Hat):
42000000 9136ACF3
00000000 00000055
E0000000 80008000

[spoiler][/spoiler]

King Tut's Mask acts as Equipment:
42000000 9136B00B
00000000 00000094
E0000000 80008000

[spoiler][/spoiler]

Samus's Mask acts as Equipment:
42000000 9136A9DB
00000000 00000094
E0000000 80008000

[spoiler][/spoiler]

Edit:

Fire Bar acts as Equipment:
42000000 913BF047
00000000 0000009A
E0000000 80008000

[spoiler][/spoiler]

Green Pipe acts as Equipment:
42000000 913BEEBB
00000000 0000009A
E0000000 80008000

[spoiler][/spoiler]

As per obvious fact, this can be done with any item.[/spoiler]

DsPet

#264
> I can see that the value for what item is being changed the last 4 numbers/letters in the first line.
The hex address is somewhat related to the item code (but not directly). I have a full list if interested.
Search around in memory for the item name after the "BITM" header. The byte to change is $177 bytes after the "BITM" header.

> But I can't quite see what determines what it gets changes to.
I call it a "body type". It looks to be two different nibbles (each has a max value of 'A')

Here's a list of all of them for the canned types (part of the upcoming DLC_Tool):
(spoiler used for abbreviated code)
[spoiler] { 0x00, "hat 00" },
{ 0x01, "hat 01" },
{ 0x02, "hat 02" },
{ 0x03, "hat 03" },
{ 0x04, "wizard's cap" },
{ 0x05, "cap 05" },
{ 0x06, "cap 06 (beret etc)" },
{ 0x07, "cap 07 (helmets)" },
{ 0x08, "cap 08 (top hat etc)" },
{ 0x09, "cap 09 (dandy hat etc)" },
{ 0x10, "hairpin/ribbon 0" },
{ 0x15, "hairpin/ribbon 5" },
{ 0x17, "feather/crown/etc 7" },
{ 0x18, "star hairpin" },
{ 0x19, "halo" },
{ 0x1A, "flower in teeth" },
{ 0x21, "Samus mask" },
{ 0x23, "diving mask" },
{ 0x24, "King Tut mask" },
{ 0x28, "pumpkin head" },
{ 0x30, "bridal veil/bun wig" },
{ 0x31, "warbonnet" },
{ 0x32, "samurai wig" },
{ 0x33, "geisha wig" },
{ 0x37, "afro wig etc" },
{ 0x39, "cow bone/pigtail" },
{ 0x41, "Roman helmet" },
{ 0x49, "Midna's Mask/Toad hat" },
{ 0x50, "baby's hat/bunny hood etc" },
{ 0x51, "fireman's hat etc" },
{ 0x54, "frog cap" },
{ 0x55, "bear cap" },
{ 0x56, "helmet/powdered wig" },
{ 0x57, "regent wig" },
{ 0x58, "headband/turban etc" },
{ 0x59, "kappa cap" },
{ 0x61, "zap helmets etc" },
{ 0x64, "dressing/ski mask" },
{ 0x66, "retro helmet" },
{ 0x67, "football helmet" },
{ 0x74, "blue ogre mask etc" },
{ 0x80, "3-D glasses etc" },
{ 0x81, "bandage etc" },
{ 0x82, "doctor's mirror etc" },
{ 0x83, "huge shades/purple glasses" },
{ 0x84, "beak etc" },
{ 0x85, "blue frames etc" },
{ 0x86, "king's beard etc" },
{ 0x87, "brown glasses etc" },
{ 0x88, "red glasses etc" },
{ 0x89, "bad bro stache etc" },
{ 0x8A, "black roses etc" },
{ 0x9A, "tools (axe, umbrella etc)" },
{ 0xA0, "shirts 0" },
{ 0xA1, "shirts 1" },
{ 0xA2, "shirts 2" },
{ 0xA3, "shirts 3" },
{ 0xA4, "shirts 4" },
{ 0xA5, "shirts 5" },
{ 0xA6, "shirts 6" },
{ 0xA7, "shirts 7" },
{ 0xA8, "shirts 8" },
{ 0xA9, "shirts 9" },
{ 0xAA, "furniture etc" },
[/spoiler]

Find one of the standard items that looks close to what you want to do. For hats it decides if your hair and/or ears will poke through the hat.
----
NOTE: this changes the behavior in your town only. People visiting your town over WiFi will see the standard graphics and standard behavior.
With custom/hacked DLC, you can do some of these crazy things over WiFi.

Maniac

Text to Item

Converted from the ac:ww version (ARM ASM) to AC:CF (PowerPC ASM) by Maniac
Thanks Virus for the new Text Address & Others. ^_^

For those who don't know how to use this you type the hex of the item you want to have in slot 1 of your inventory (Yes, it overwrites what is there currently) So if I type 9010 then send it I will have a cherry in the first inventory slot. You can now use uppercase or lowercase.

Now works for all Offline Players

Press Plus + Z + C after you send the message

286DFC80 9FEF6010
C0000000 0000000C
3F608062 637B5477
38A00000 3920000C
8D5B0002 2C0A003A
41800008 394A0009
714A000F 7D4A4830
7CA55214 3929FFFC
2C090000 4080FFDC
3F6090E2 637BEB22
3FC0805D 8BDE2477
38600000 606386C0
7FDE19D6 7F7BF214
B0BB0000 4E800020
E0000000 80008000

TNTkryzt

That won't work dude, try this one;

Walk Over Objects (C+Up/C+Dwn Wiimote)
077B8F00 0000001C
2C090001 4182000C
2C1F0017 4182000C
D01B0000 4A8BB6A4
4A8BB6A8 00000000
060745B8 00000010
C0010054 D01B0008
C0010050 D01B0004
206E23C0 00004008
040745B4 4974494C
E0000000 80008000
206E23C0 00004004
040745B4 D01B0000
E0000000 80008000

TNTkryzt

#267
Here's an alternate to the text to item code;

Transfer Catalog Items (all players)
077B8F40 00000068
2C050000 4182004C
3D60806E 816B23C0
2C0B2800 4082003C
38A00000 3D800001
398CFFF1 3D60817C
816B8FA8 A06B0000
7C0C1840 41820014
38A50001 396B0002
2C05000D 4081FFE8
A064FFD4 B06B0000
807E0024 4A850288
3D60817C 93EB8FA8
93C10018 4A97FB3C
04138ADC 496804BC
04009218 497AFD28
(Hold Z and Press A to send item
directly to empty pocket slot.)

hetoan2

#268
Remove any glitch spots/invalid items [hetoan2]

80000000 90E8F056
60000C80 00000000
4A001000 00000000
3C000000 FFF1CF54
02000000 0000FFF1
E0000000 80008000
86000000 00000002
62000000 00000000

With this code you should be able to automatically delete anything in your town that was messed up via wifi hacking or your own mistakes. My flowers code used to create some invalid items and this will *hopefully* delete them.

Maniac

#269
Real Time Search and Replace

What this code does is it searches for an item that you specify (XXXX) on the map and replaces all instances of it with another item you specify (YYYY). This code was ported from the DS version of Animal Crossing (original code made by me, Maniac) with the help of dragonboy269(from Game-Hackers).. thanks for rearranging some things and getting my lazy bum to do/finish it. >_>

How to use:
Type "xxxx yyyy" into the chat and send it, then press the buttons.
xxxx = the item to search for
yyyy = the item to replace it with

C + Right

285EB8E4 BFFD4002
C0000000 00000010
3F608062 637B5477
3A200000 38A00000
3920000C 8D5B0002
2C0A003A 41800008
394A0009 714A000F
7D4A4830 7CA55214
3929FFFC 2C090000
4080FFDC 3A310001
2C110001 40820010
3B7B0002 7CA32B78
4BFFFFBC 3DC090E8
61CEF054 3A2E31FE
A76E0002 7C1B1800
40820008 B0AE0000
7C0E8800 4081FFEC
4E800020 00000000
E0000000 80008000



Edit: Fixed the code up.