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