Discussion in 'Wii U - Hacking & Backup Loaders' started by EstPC13, May 15, 2016.

4,541 Views
1. ### EstPC13GBAtemp Fan

Member
Jan 3, 2016
@adj4096 Created this amazing tool to inject gba games, but many people don't knsize.ow to use it, so I wrote this little guide:

It's difficult if you don't know python (which I didn't, it took 3 F*CKING DAYS to figure it out):
1.Make sure Python 2.7 is installed (Or 3, might work, but i used 2.7 EDIT:3 works)
3.Shift+right click when you're in the folder you extracted (the inject_gba-master folder with setup.py in it)
4.Choose "Open Command Window here"
5. In the Window, type: setup.py install (you CAN use it without installing but it doesn't work very well)
6.It should install if you have all the files required
7.Then go inside the inject_gba folder
9.Rename it to inject.bat (or whatever, just end it with bat, iwrotethiscrappytutorialwithacrappyexamplefile.bat)
10.It will create an alldata.psb.m and alldata.bin.
11.Copy those files to your rom's content folder.
12.Profit (or write a guide, whatever suits you)

THERE ARE SOME LIMITATIONS:
-You cant inject large roms (32 mb, but not larger) EDIT:Compatibility right now is mostly determined by savegame compatibility, not ROM size
-For some reason, rom hacks don't work (even ones that don't expand the rom)

Last edited by EstPC13, May 16, 2016
nooby89, VinsCool, kretosdan and 4 others like this.
2. ### kretosdanMember

Newcomer
May 7, 2016
Did all you wrote step by step still nothing, i'm sure it's my fault though cause things still not very clear regards GBA injection, still very important to know how since i have fun playing my old GBA games on gamepad more than wii u game !
so, would you please make idiots proof guide , like "alldata.psb.m" are we suppose to have one already and replace it with new one ? etc ..
a guid with some explaining "break down" things pleas , thank you in advance

Subtle Demise likes this.
3. ### MRJPGamesPretty great guy

Member
Aug 17, 2013
The Netherlands
Tries this and still isn't working. Does generate the files but the files are broken including for games that are reported working on the wiki. WHAT AM I DOING WRONG SENPAI?!

4. ### Subtle Demiseh

Member
Sep 17, 2009
When it comes to creating the batch file, if you have it in the same directory as all your other stuff, you can use the %cdir% variable instead of writing out the whole path. For example, "%cdir%\output" could be a subfolder in the working directory. Cuts down on human error and makes the batch file easier to share, without having to recreate someone else's folder structure.
Also, with batch files if you have all your stuff in the same folder, you don't even need to write out the file path.

Last edited by Subtle Demise, May 15, 2016
5. ### IrastrisJust another fag with a suggestive avatar

Member
May 3, 2015
If anyone is interested, you can use my personal batch file that I know works fine. Tested on 10 GBA games so far.

I have not included the alldata.bin that I personally use for legal reasons, but I will say that it is 48.0MB (50,434,048 bytes).

File size:
5 KB
Views:
124
6. ### fiveighteenHigh Hopes and Low Expectations

Member
Jun 30, 2008
I just put a half-working guide into the Definitive Guide yesterday Unfortunately couldn't complete it because something isn't working right.

But uhh...
I just reinstalled Python 3.4.4 and pyYAML and I'm hoping I can get past a bunch of these errors.

EDIT: Errors cleared, time to test and continue the guide.

Last edited by fiveighteen, May 15, 2016
zeldaism and the_randomizer like this.
7. ### kretosdanMember

Newcomer
May 7, 2016
Thanks for your effort, still have no idea how to get (alldata.bin), any link or maybe just a hint will be appreciated , thanks !

Last edited by kretosdan, May 15, 2016
8. ### fiveighteenHigh Hopes and Low Expectations

Member
Jun 30, 2008
It's in your SD:\wiiu\games\Game Name [ID6]\content\ folder.

But Irastris' zip is based on an old version of the injector. I guess if it works for you, it works for you.

kretosdan likes this.
9. ### kretosdanMember

Newcomer
May 7, 2016
Thank you very much , i'll give it a try hopefully it works

10. ### TheLittlestBowlGBAtemp Regular

Member
Sep 3, 2013
This is just giving me the exact same alldata.bin i'm using as a base.

Last edited by TheLittlestBowl, May 15, 2016
CeeDee likes this.

Member
Feb 28, 2007
12. ### kretosdanMember

Newcomer
May 7, 2016
FINALLY this guid worked for me, i just added "echo" command at the end of my .bat file so i can keep the screen on and see whats going wrong, turn out that "for some reason i don't know " i don't have permission to write output file on C: i just changed the path and everything went great!! @EstPC13 @Irastris @fiveighteen thank you guys

13. ### fiveighteenHigh Hopes and Low Expectations

Member
Jun 30, 2008
Sorry to hijack the thread, but.. I added this to the Definitive Guide.

GBA:
·
GB Injection into GBA:
·

@kretosdan, this is using ajd4096's most up-to-date version for the highest compatibility. Might want to upgrade.

EDIT: Oops, added the part about "python setup.py install" ... kind of important!

Last edited by fiveighteen, May 15, 2016
14. ### kretosdanMember

Newcomer
May 7, 2016
@fiveighteen that was awesome, i say maybe if you want to put it in a new thread so more people can get benefit from it, cheers

15. ### EstPC13GBAtemp Fan

Member
Jan 3, 2016
You're supposed to have one already, and you should replace it with the one generated

— Posts automatically merged - Please don't double post! —

OK, let's break it down then, first off, try to download a light game (the original Fe for example, there's not really a compatibility list, the wiki for s not accurate) and get Mario and Luigi Superstar Saga Loadiine ready, the best setup possible. Zelda Minish Cap also works great

Last edited by EstPC13, May 15, 2016
kretosdan likes this.
16. ### kretosdanMember

Newcomer
May 7, 2016
yes i did, it works now, thanks man

17. ### EstPC13GBAtemp Fan

Member
Jan 3, 2016
No, get out! This is myyyy threeaaaad!! No but really, thanks for that

— Posts automatically merged - Please don't double post! —

Great!

— Posts automatically merged - Please don't double post! —

Wait.... The version you're using still uses the -z variable, the new one is much simpler

18. ### fiveighteenHigh Hopes and Low Expectations

Member
Jun 30, 2008
Where are you seeing -z? -z was super old. -a is a bit old. This one doesn't use either.

19. ### EstPC13GBAtemp Fan

Member
Jan 3, 2016
Oh sorry, my phone bugged out I was checking the oficial thread, weird.

fiveighteen likes this.
20. ### IrastrisJust another fag with a suggestive avatar

Member
May 3, 2015
I suppose it doesn't matter since it turns out my setup is outdated, but I forgot that the batch won't do anything on your system if your Python 2.7 executable isn't renamed to python27.

It's setup like that on my end because I have both Python 2.7 and 3 on my system.

If you still want to use my setup for some reason, open the batch in Notepad and edit the following line:
Code:
python27 py/inject_gba.py -a "%%a.bin" "%%a" >nul
Into this:
Code:
python py/inject_gba.py -a "%%a.bin" "%%a" >nul
And save, then run.

But as mentioned by fiveighteen, my setup is outdated, so you'd be better off using his guide.