Hacking GBA injection

  • Thread starter Thread starter ajd4096
  • Start date Start date
  • Views Views 28,372
  • Replies Replies 79
  • Likes Likes 17

Will I answer dumb questions?

  • No!

    Votes: 18 32.7%
  • Hell, no!

    Votes: 37 67.3%

  • Total voters
    55
Minish Cap, converted to JSON. Just a tad larger.

$ ls -al alldata.*
-rw-r----- 1 andrew andrew 50434048 Oct 4 05:58 alldata.bin
-rw-r----- 1 andrew andrew 1014967149 Feb 23 03:16 alldata.json
-rw-r----- 1 andrew andrew 16252 Oct 4 05:58 alldata.psb.m
$ wc -l alldata.json
2657851 alldata.json
 
I must be doing something wrong. I've tried injecting FFV into Minish Cap and it keeps freezing my Wii U. any thoughts?
 
I'm checking out the Compatibility List and it states that Final Fantasy I works with Mario VC, but it seems the injector won't work since it's 16 mb. is there a solution to this or should I inject via network?
 
I'm checking out the Compatibility List and it states that Final Fantasy I works with Mario VC, but it seems the injector won't work since it's 16 mb. is there a solution to this or should I inject via network?

You'll have to use ram injection for now.

Of the VCs I have, the one with the most space is Minish, but the FF1 rom is too large to fit.

Using The Legend of Zelda - The Minish Cap
Compressed file '1810 - Final Fantasy I & II - Dawn of Souls (E) (M5).gba' (11012286 bytes) too large for injection (max 7985152 bytes)

I have a mostly-working tool which lets me stuff in any size rom, but it's not ready for public consumption yet.
There is still something odd with the obfuscated 'names' table. I can write out a table which works, but for some reason I can't re-create the exact same table as the original.
 
  • Like
Reactions: eco95
You'll have to use ram injection for now.

Of the VCs I have, the one with the most space is Minish, but the FF1 rom is too large to fit.

Using The Legend of Zelda - The Minish Cap
Compressed file '1810 - Final Fantasy I & II - Dawn of Souls (E) (M5).gba' (11012286 bytes) too large for injection (max 7985152 bytes)

I have a mostly-working tool which lets me stuff in any size rom, but it's not ready for public consumption yet.
There is still something odd with the obfuscated 'names' table. I can write out a table which works, but for some reason I can't re-create the exact same table as the original.

No prob, take your time. Love your app. Thanks for you hard work.
 
  • Like
Reactions: ajd4096
PSB files are my bitch now.

Working:
Injecting smaller roms.
Injecting larger roms.
(E.g. FF 1 as mentioned by @buda81. I confirmed restore points work across a power-cycle.)

Not working yet:
Different size/type saves.
(E.g. SMA4 as mentioned by @piratesephiroth)
Time to start looking inside the sub psb's and the rpx.

time ./tools/unpack-psb.py -r "1810 - Final Fantasy I & II - Dawn of Souls (E) (M5).gba" -o z-minish/content.new/alldata.psb.m z-minish/content/alldata.psb.m
Reading 'z-minish/content/alldata.psb.m'
Writing 'z-minish/content.new/alldata.rom'
Reading '1810 - Final Fantasy I & II - Dawn of Souls (E) (M5).gba'
Replacing 'system/roms/ABZMP0.J22.m'
File 'system/roms/ABZMP0.J22.m' length differs, re-writing entries table
Old length 7983305 0x79D0C9
New length 11012286 0xA808BE
Writing 'z-minish/content.new/alldata.psb.m'
Packing fileinfo struct (289 entries)
Writing 'z-minish/content.new/alldata.bin'

real 0m10.148s
user 0m9.129s
sys 0m1.019s
 
Commit logs are your friends.
i did read them but i didnt find anything sma4 related and since im not a very tech savy person unless you tell me if it supports sma4 i have no way to understand lol i just wanted to do some 32mb testing.
 
i did read them but i didnt find anything sma4 related and since im not a very tech savy person unless you tell me if it supports sma4 i have no way to understand lol i just wanted to do some 32mb testing.

I've updated the README, just for you. :)

The biggest issue now is figuring out which roms work/fail with each VC game, which will mostly be down to save-game compatibility rather than the rom size.

There is a good description of the problem here:
https://web.archive.org/web/*/http://zork.net/~st/jottings/GBA_saves.html
 
  • Like
Reactions: eco95

Site & Scene News

Popular threads in this forum