If you have to ask for a guide, you probably shouldn't be doing it.
Script is here:
https://github.com/ajd4096/inject_gba
Of 2810 roms, 2810 can be injected.
On an N54L, that took about 2.5 hours and used about 118G
(find|xargs is your friend)
-----
To install (needs python3)
python setup.py install
-----
inject_gba -h
inject_gba --inpsb=/path/to/alldata.psb.m --inrom=/path/to/new.gba --outpsb=/path/to/new/alldata.psb.m
Options:
--allow-overwrite
--create-backup
Do what it says on the tin.
--prefix=PREFIX
Prefix the new ROM with goomba or pocketnes.
(I don't include these, get them from dwedit's site.)
--pad00 --padFF
Pad to original length with 00s or FFs.
I haven't found any games which need this, YMMV.
The gui automatically assumes --create-backup and --allow-overwrite.
There is a wizard sequence for setting the prefix/padding options.
-----
Batch processing:
inject_gba_batch -h
inject_gba_batch --base=BASEDIR *.gba
This will create a sub-dir for each ROM file, copy BASEDIR into it, and inject the ROM into the copy.
(BASEDIR defaults to 'base' in the current directory)
This also supports @optionfile, so you can set --prefix=goomba.gba etc.
For the drag-n-droolers, you can create a desktop shortcut as a drop target.
-----
GUI
inject_gba_gui -h
-----
When in doubt, RTFS.
Script is here:
https://github.com/ajd4096/inject_gba
Of 2810 roms, 2810 can be injected.
On an N54L, that took about 2.5 hours and used about 118G
(find|xargs is your friend)
-----
To install (needs python3)
python setup.py install
-----
inject_gba -h
inject_gba --inpsb=/path/to/alldata.psb.m --inrom=/path/to/new.gba --outpsb=/path/to/new/alldata.psb.m
Options:
--allow-overwrite
--create-backup
Do what it says on the tin.
--prefix=PREFIX
Prefix the new ROM with goomba or pocketnes.
(I don't include these, get them from dwedit's site.)
--pad00 --padFF
Pad to original length with 00s or FFs.
I haven't found any games which need this, YMMV.
The gui automatically assumes --create-backup and --allow-overwrite.
There is a wizard sequence for setting the prefix/padding options.
-----
Batch processing:
inject_gba_batch -h
inject_gba_batch --base=BASEDIR *.gba
This will create a sub-dir for each ROM file, copy BASEDIR into it, and inject the ROM into the copy.
(BASEDIR defaults to 'base' in the current directory)
This also supports @optionfile, so you can set --prefix=goomba.gba etc.
For the drag-n-droolers, you can create a desktop shortcut as a drop target.
-----
GUI
inject_gba_gui -h
-----
When in doubt, RTFS.
Last edited by ajd4096,