ROM Hack Inazuma Eleven 3 hacking question

sniper_zero

Member
OP
Newcomer
Joined
Jul 17, 2011
Messages
22
Trophies
0
XP
151
Country
Using NitroExplorer, I found the file that stores all of the characters stats. I'm positive this is where the stats are because the first game also stored its stats here but the problem is it looks like this.

screen.png

Does anyone have any idea on what I can do to find the character stats?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,285
Country
United Kingdom
If that is compressed I would fire those one that implemented it (if for no other reason than LZ is used elsewhere in the rom)- ignoring the no starting flag bit the runs of AD and what look like similar patterns elsewhere.

You might as well have asked "how do I hack" as there are many methods from here.
It is the slow part of the evening for my bandwidth right now so a massive rom I am not interested in so I am going off the second game right now.
data\data_iz\logic

At pattern arises with 80 (decimal) bytes (that is an awful lot so set the width at 28 hex (0, 28, 50, 78, A0, C8......). Ignoring the 00's at the end and give or take a bit for a run of something else in the middle that would be just shy of 2000 character stats. It looks like it holds for your screenshot as well although where the second game uses 00 this uses AD

Sticking it into a spreadsheet makes for very interesting reading. Nothing overt but the numbers I am seeing and the patterns there are consistent with stats (ending at 255 and such values)
Same as above- 2 lines per character below is what I am guessing. I should also note there are several other files in the directory with unit in the name (more curiously the unitno (unitnumber?) file has values up to just shy of 3000.
CODEhex2dec orig
9472 48896 1280 0 10496 47104 256 0 3400 1280 4168 512 4429 512 3910 1280 2116 1280 5199 1280
4165 1280 41472 256 46592 256 42497 25600 2305 25600 7682 4096 6400 8704 2560 0 0 0 0 0
16384 43264 1024 0 18944 39936 1024 0 3392 1024 3130 1024 2870 1024 3140 1024 4684 512 2872 1024
3130 1024 26112 256 25856 6400 27393 9728 52736 11520 52737 3328 5376 3584 7680 0 0 0 0 0
9984 52736 1024 0 16128 42240 256 0 2110 512 2884 256 4162 512 2110 256 2353 1024 2870 1024
2870 512 30720 256 28416 4096 29952 8192 34305 25600 43521 3072 6144 6912 8448 0 0 0 0 0
11008 49920 256 0 8448 35840 256 0 1850 256 3637 256 2875 256 2891 256 3125 256 2108 256
3390 256 31488 256 59392 5632 33024 8704 35072 15360 48897 3072 8192 6400 5888 0 0 0 0 0
9984 47104 1024 0 8448 41216 1024 0 2102 1024 2103 1024 1848 1024 2357 1024 1851 1024 2369 1024
3640 1024 30464 1792 39168 3840 50176 7168 18945 10240 40705 6144 5632 6400 9984 0 0 0 0 0
11008 39424 256 0 13056 36864 256 0 3390 256 2368 256 2880 256 2887 256 2631 256 2887 256
1863 256 27648 256 39424 3072 26881 7680 17920 14080 61953 5632 4608 2816 3840 0 0 0 0 0
11776 39936 512 0 14080 38144 512 0 2879 512 2124 512 2364 512 3645 512 3127 512 2874 512
2608 512 26368 256 3841 4608 3329 8960 27393 12288 46337 5632 5120 5888 6144 0 0 0 0 0
12800 42752 256 0 10496 34816 256 0 2375 256 2873 256 2872 256 1592 256 2612 256 3660 256
2360 256 37376 256 29184 3584 32768 5888 35840 9472 46849 8704 4096 7168 4864 0 0 0 0 0
13056 39936 1024 0 16128 40960 512 0 2876 1024 3128 512 3136 512 4686 512 4156 256 2366 256
2360 1024 32000 256 17664 14080 26624 5120 54272 9728 52993 6656 3584 10240 5376 0 0 0 0 0
12544 51200 256 0 16128 45056 512 0 4687 512 4162 512 3648 256 3404 256 3656 256 3132 256
3140 256 36608 256 27392 4352 35840 6400 1537 25600 63745 6144 2560 6656 9472 0 0 0 0 0
hex2dec flipped
37 191 5 0 41 184 1 0 18445 5 18448 2 19729 2 17935 5 17416 5 20244 5
17680 5 162 1 182 1 422 100 265 100 542 16 25 34 10 0 0 0 0 0
64 169 4 0 74 156 4 0 16397 4 14860 4 13835 4 17420 4 19474 2 14347 4
14860 4 102 1 101 25 363 38 206 45 462 13 21 14 30 0 0 0 0 0
39 206 4 0 63 165 1 0 15880 2 17419 1 16912 2 15880 1 12553 4 13835 4
13835 2 120 1 111 16 117 32 390 100 426 12 24 27 33 0 0 0 0 0
43 195 1 0 33 140 1 0 14855 1 13582 1 15115 1 19211 1 13580 1 15368 1
15885 1 123 1 232 22 129 34 137 60 447 12 32 25 23 0 0 0 0 0
39 184 4 0 33 161 4 0 13832 4 14088 4 14343 4 13577 4 15111 4 16649 4
14350 4 119 7 153 15 196 28 330 40 415 24 22 25 39 0 0 0 0 0
43 154 1 0 51 144 1 0 15885 1 16393 1 16395 1 18187 1 18186 1 18187 1
18183 1 108 1 154 12 361 30 70 55 498 22 18 11 15 0 0 0 0 0
46 156 2 0 55 149 2 0 16139 2 19464 2 15369 2 15630 2 14092 2 14859 2
12298 2 103 1 271 18 269 35 363 48 437 22 20 23 24 0 0 0 0 0
50 167 1 0 41 136 1 0 18185 1 14603 1 14347 1 14342 1 13322 1 19470 1
14345 1 146 1 114 14 128 23 140 37 439 34 16 28 19 0 0 0 0 0
51 156 4 0 63 160 2 0 15371 4 14348 2 16396 2 19986 2 15376 1 15881 1
14345 4 125 1 69 55 104 20 212 38 463 26 14 40 21 0 0 0 0 0
49 200 1 0 63 176 2 0 20242 2 16912 2 16398 1 19469 1 18446 1 15372 1
17420 1 143 1 107 17 140 25 262 100 505 24 10 26 37 0 0 0 0 0
orig sample
2500 BF00 0500 0000 2900 B800 0100 0000 0D48 0500 1048 0200 114D 0200 0F46 0500 0844 0500 144F 0500
1045 0500 A200 0100 B600 0100 A601 6400 0901 6400 1E02 1000 1900 2200 0A00 0000 0000 0000 0000 0000
4000 A900 0400 0000 4A00 9C00 0400 0000 0D40 0400 0C3A 0400 0B36 0400 0C44 0400 124C 0200 0B38 0400
0C3A 0400 6600 0100 6500 1900 6B01 2600 CE00 2D00 CE01 0D00 1500 0E00 1E00 0000 0000 0000 0000 0000
2700 CE00 0400 0000 3F00 A500 0100 0000 083E 0200 0B44 0100 1042 0200 083E 0100 0931 0400 0B36 0400
0B36 0200 7800 0100 6F00 1000 7500 2000 8601 6400 AA01 0C00 1800 1B00 2100 0000 0000 0000 0000 0000
2B00 C300 0100 0000 2100 8C00 0100 0000 073A 0100 0E35 0100 0B3B 0100 0B4B 0100 0C35 0100 083C 0100
0D3E 0100 7B00 0100 E800 1600 8100 2200 8900 3C00 BF01 0C00 2000 1900 1700 0000 0000 0000 0000 0000
2700 B800 0400 0000 2100 A100 0400 0000 0836 0400 0837 0400 0738 0400 0935 0400 073B 0400 0941 0400
0E38 0400 7700 0700 9900 0F00 C400 1C00 4A01 2800 9F01 1800 1600 1900 2700 0000 0000 0000 0000 0000
2B00 9A00 0100 0000 3300 9000 0100 0000 0D3E 0100 0940 0100 0B40 0100 0B47 0100 0A47 0100 0B47 0100
0747 0100 6C00 0100 9A00 0C00 6901 1E00 4600 3700 F201 1600 1200 0B00 0F00 0000 0000 0000 0000 0000
2E00 9C00 0200 0000 3700 9500 0200 0000 0B3F 0200 084C 0200 093C 0200 0E3D 0200 0C37 0200 0B3A 0200
0A30 0200 6700 0100 0F01 1200 0D01 2300 6B01 3000 B501 1600 1400 1700 1800 0000 0000 0000 0000 0000
3200 A700 0100 0000 2900 8800 0100 0000 0947 0100 0B39 0100 0B38 0100 0638 0100 0A34 0100 0E4C 0100
0938 0100 9200 0100 7200 0E00 8000 1700 8C00 2500 B701 2200 1000 1C00 1300 0000 0000 0000 0000 0000
3300 9C00 0400 0000 3F00 A000 0200 0000 0B3C 0400 0C38 0200 0C40 0200 124E 0200 103C 0100 093E 0100
0938 0400 7D00 0100 4500 3700 6800 1400 D400 2600 CF01 1A00 0E00 2800 1500 0000 0000 0000 0000 0000
3100 C800 0100 0000 3F00 B000 0200 0000 124F 0200 1042 0200 0E40 0100 0D4C 0100 0E48 0100 0C3C 0100
0C44 0100 8F00 0100 6B00 1100 8C00 1900 0601 6400 F901 1800 0A00 1A00 2500 0000 0000 0000 0000 0000
Flipped sample
0025 00BF 0005 0000 0029 00B8 0001 0000 480D 0005 4810 0002 4D11 0002 460F 0005 4408 0005 4F14 0005
4510 0005 00A2 0001 00B6 0001 01A6 0064 0109 0064 021E 0010 0019 0022 000A 0000 0000 0000 0000 0000
0040 00A9 0004 0000 004A 009C 0004 0000 400D 0004 3A0C 0004 360B 0004 440C 0004 4C12 0002 380B 0004
3A0C 0004 0066 0001 0065 0019 016B 0026 00CE 002D 01CE 000D 0015 000E 001E 0000 0000 0000 0000 0000
0027 00CE 0004 0000 003F 00A5 0001 0000 3E08 0002 440B 0001 4210 0002 3E08 0001 3109 0004 360B 0004
360B 0002 0078 0001 006F 0010 0075 0020 0186 0064 01AA 000C 0018 001B 0021 0000 0000 0000 0000 0000
002B 00C3 0001 0000 0021 008C 0001 0000 3A07 0001 350E 0001 3B0B 0001 4B0B 0001 350C 0001 3C08 0001
3E0D 0001 007B 0001 00E8 0016 0081 0022 0089 003C 01BF 000C 0020 0019 0017 0000 0000 0000 0000 0000
0027 00B8 0004 0000 0021 00A1 0004 0000 3608 0004 3708 0004 3807 0004 3509 0004 3B07 0004 4109 0004
380E 0004 0077 0007 0099 000F 00C4 001C 014A 0028 019F 0018 0016 0019 0027 0000 0000 0000 0000 0000
002B 009A 0001 0000 0033 0090 0001 0000 3E0D 0001 4009 0001 400B 0001 470B 0001 470A 0001 470B 0001
4707 0001 006C 0001 009A 000C 0169 001E 0046 0037 01F2 0016 0012 000B 000F 0000 0000 0000 0000 0000
002E 009C 0002 0000 0037 0095 0002 0000 3F0B 0002 4C08 0002 3C09 0002 3D0E 0002 370C 0002 3A0B 0002
300A 0002 0067 0001 010F 0012 010D 0023 016B 0030 01B5 0016 0014 0017 0018 0000 0000 0000 0000 0000
0032 00A7 0001 0000 0029 0088 0001 0000 4709 0001 390B 0001 380B 0001 3806 0001 340A 0001 4C0E 0001
3809 0001 0092 0001 0072 000E 0080 0017 008C 0025 01B7 0022 0010 001C 0013 0000 0000 0000 0000 0000
0033 009C 0004 0000 003F 00A0 0002 0000 3C0B 0004 380C 0002 400C 0002 4E12 0002 3C10 0001 3E09 0001
3809 0004 007D 0001 0045 0037 0068 0014 00D4 0026 01CF 001A 000E 0028 0015 0000 0000 0000 0000 0000
0031 00C8 0001 0000 003F 00B0 0002 0000 4F12 0002 4210 0002 400E 0001 4C0D 0001 480E 0001 3C0C 0001
440C 0001 008F 0001 006B 0011 008C 0019 0106 0064 01F9 0018 000A 001A 0025 0000 0000 0000 0000 0000




Anyhow it is food and cheesy film time.
 

sniper_zero

Member
OP
Newcomer
Joined
Jul 17, 2011
Messages
22
Trophies
0
XP
151
Country
Well...I checked out the second game's data and it's not really all that comparable to the third game's. I tried replacing all the AD's with 00's but even with that the third game's pattern is still so different from the other two's. So I think they stored the stats here a little differently this time. Shadow may be right about it being compressed. In that case, how do I decompress the file so I can modify the stats I want?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,285
Country
United Kingdom
I might have to have a look at this game properly now. Interesting though given the games other than this are little more than reskins of each other (not that I can blame the devs for that).

I could see it being generated or obfuscated but every compression method out there (especially the ones available to the DS) would have made very short work of the long runs of AD and repeated patterns later. It will not do you much good but http://code.google.com/p/dsdecmp/ can decompress stuff and the custom stuff is usually a variation on the BIOS compression methods- the main site seems to be down right now but http://www.romhacking.net/documents/542/ has it. gbatek.htm#biosdecompressionfunctions will get you it.
 

sniper_zero

Member
OP
Newcomer
Joined
Jul 17, 2011
Messages
22
Trophies
0
XP
151
Country
Thanks! And if you find out how to modify the stats can you tell me how to do it? Likewise, if I find out how to modify the stats, I'll also post here just to let you guys know.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: :rofl2: +1