Hacking [Release+Mini Tutorial] AIO.bat: All-In-1 batch file for compiling 3DS stuff

  • Thread starter Thread starter Madridi
  • Start date Start date
  • Views Views 30,674
  • Replies Replies 195
  • Likes Likes 20
And a new release :)

Changelog:
  • Added: 3 options under porlibs
  • Added: sf2dlib
  • Added: sftdlib
  • Added: JK's Save Manager
Thanks for the heads up @DjoeN , and thanks @JK_ for updating your github with the latest code for your program :) .. Proper credits will be added to the main post
 
@Madridi
Maybe it's a good idea to include latest build citrus in the op to download, this will help alot for new people.
(Maybe the older version of ctrulib that can build citrus to ;) )
That's probably going to be complicated, as those get updated often, and the purpose of this is to have everything set up so that users can update it themselves. I don't intend on having the lobs maintained outside of this bat. My hope is that the devs fix that themselves

I'll see what I can do though
 
For those of you who are curious, this is what I wrote a few years back, when I was new to batch scripting: https://www.dropbox.com/sh/dlmp5wwwixnzwjt/AAAKGT4Bw_Ff7iwupCSmDsiEa?dl=0

The code is messy AF and it has a few restrictions in place, to stop "normal" users from using it (the script would normally be compiled with Quick Batch File Compiler, to hide the code). This was mainly used for bypasing the restrictions on my secondary school computers, so I had to prevent other students from using it (the security of the network was so poor that students could access other students documents - the "admin" doesn't know what Samba file permissions are).

GitHub Gist: https://gist.github.com/lavanoid/79991c40aa5b97f72f2439ec9c95f4a6
 
For those of you who are curious, this is what I wrote a few years back, when I was new to batch scripting: https://www.dropbox.com/sh/dlmp5wwwixnzwjt/AAAKGT4Bw_Ff7iwupCSmDsiEa?dl=0

The code is messy AF and it has a few restrictions in place, to stop "normal" users from using it (the script would normally be compiled with Quick Batch File Compiler, to hide the code). This was mainly used for bypasing the restrictions on my secondary school computers, so I had to prevent other students from using it (the security of the network was so poor that students could access other students documents - the "admin" doesn't know what Samba file permissions are).

GitHub Gist: https://gist.github.com/lavanoid/79991c40aa5b97f72f2439ec9c95f4a6
Awesome! I'll have to check this later and see if this is something I can work with! or if it will just go over my head :P
 
  • Like
Reactions: WhoAmI?
Awesome! I'll have to check this later and see if this is something I can work with! or if it will just go over my head :P
TBH most of it is system-related stuff. If you look deep enough, you'll notice that I was working on a sha hash cracker xD
 
That's probably going to be complicated, as those get updated often, and the purpose of this is to have everything set up so that users can update it themselves. I don't intend on having the lobs maintained outside of this bat. My hope is that the devs fix that themselves

I'll see what I can do though
Nevermind, i filled an issue report on his git and he has updated citrus to be compatible with latest ctrulib.
Just tested it and it builds without problems on latest ctrulib :)
 
Last edited by DjoeN,
Nevermind, i filled an issue report on his git and he has updated citrus to be compatible with latest ctrulib.
Just tested it and it builds without problems on letest ctrulib :)
Even better! Thanks for the info :D

Has the buildtools issue been solved? The work around is currently in the bat. I'd like to remove it if it's fixed :)
 
Seems it still gives an error:
Code:
fatal: reference is not a tree: cc38e01e447917942d09456c63176a86dbdfff64
Unable to checkout 'cc38e01e447917942d09456c63176a86dbdfff64' in submodule path 'buildtools'
Building...
Makefile:55: buildtools/make_base: No such file or directory
make: *** No rule to make target `buildtools/make_base'.  Stop.
Makefile:55: buildtools/make_base: No such file or directory
make: *** No rule to make target `buildtools/make_base'.  Stop.

[EDIT]
Reported in CTRXplorer thread and it should be fixed in A9NC and CTRXplorer now.
 
Last edited by DjoeN,
  • Like
Reactions: Madridi
Hey, i'm having an issue building saltfw with aio.bat. when i press g to build saltFW, it gives me the errors at the end: "make: bin2c: command not found". how can i get bin2c?

edit: it says files are in "saltFW/out", but that folder doesnt exist so im assuming it failed?
 
Hey, i'm having an issue building saltfw with aio.bat. when i press g to build saltFW, it gives me the errors at the end: "make: bin2c: command not found". how can i get bin2c?

edit: it says files are in "saltFW/out", but that folder doesnt exist so im assuming it failed?
Add bin2c to your path. You can find it on the Luma repo (and maybe the salt repo?)
 
Seems it still gives an error:
Code:
fatal: reference is not a tree: cc38e01e447917942d09456c63176a86dbdfff64
Unable to checkout 'cc38e01e447917942d09456c63176a86dbdfff64' in submodule path 'buildtools'
Building...
Makefile:55: buildtools/make_base: No such file or directory
make: *** No rule to make target `buildtools/make_base'.  Stop.
Makefile:55: buildtools/make_base: No such file or directory
make: *** No rule to make target `buildtools/make_base'.  Stop.

[EDIT]
Reported in CTRXplorer thread and it should be fixed in A9NC and CTRXplorer now.
Thanks, I'll check this later tonight

Hey, i'm having an issue building saltfw with aio.bat. when i press g to build saltFW, it gives me the errors at the end: "make: bin2c: command not found". how can i get bin2c?

edit: it says files are in "saltFW/out", but that folder doesnt exist so im assuming it failed?
Add bin2c to your path. You can find it on the Luma repo (and maybe the salt repo?)
I could've sworn I added bin2c in the main post. I guess I didn't. I'll do that later tonight. The path I posted needs fixing as well now that I added python 3 to the requirements
 
thanks for the timely replies guys, i just add the executable into the bin folder? do i need to modify my path too? or is that all
 
yup, it worked, can you possibly add compiling for tikdevil? i'm really bummy and i can't figure out how to compile it successfully on my own, and i really dont want to use ciangel, i just like having the tickets. >i need to compile it with the changed website
 

Site & Scene News

Popular threads in this forum