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

Madridi

Card Collector
OP
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
@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
 

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
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
 

Madridi

Card Collector
OP
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
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?

DjoeN

Captain Haddock!
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
54
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,857
Country
Belgium
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,

Madridi

Card Collector
OP
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
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 :)
 

DjoeN

Captain Haddock!
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
54
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,857
Country
Belgium
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

NinjaBoyLao2

Well-Known Member
Newcomer
Joined
Mar 2, 2016
Messages
51
Trophies
0
Location
Hyrule
XP
105
Country
United States
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?
 

astronautlevel

Well-Known Member
Member
Joined
Jan 26, 2016
Messages
4,128
Trophies
2
Location
Maryland
Website
ataber.pw
XP
5,008
Country
United States
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?)
 

Madridi

Card Collector
OP
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
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
 

NinjaBoyLao2

Well-Known Member
Newcomer
Joined
Mar 2, 2016
Messages
51
Trophies
0
Location
Hyrule
XP
105
Country
United States
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

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: So negative