Homebrew [GM9][Script]All-in-One Megascript

Status
Not open for further replies.
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,947
Country
United States
I can, and it's most likely much simpler than you guys think. You only need to swap out the title ID for the H&S one and make sure the injected title is encrypted in the same way as original H&S.

Source code:
https://github.com/d0k3/GodMode9/blob/master/arm9/source/utils/gameutil.c#L1784

You'd think by now we should and would have learned to read your github for more info but end up trying to reinvent the wheel when it was somewhere back there in storage. Here I am trying to do what you did by brute force... I think I need to go get a beer, take a walk or something.
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
You'd think by now we should and would have learned to read your github for more info but end up trying to reinvent the wheel when it was somewhere back there in storage. Here I am trying to do what you did by brute force... I think I need to go get a beer, take a walk or something.
Nah, looking at the actual data is actually always a good idea. Small note here: I also copy the signature from H&S. That may not be required, but this way I'm sure it does not get lost.
 
  • Like
Reactions: TurdPooCharger

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Additional note, though (yes, one more): There is some kind of size limitation in place. You won't be able to replace H&S with a commercial game title because that's much larger (although I'd love to be proven wrong by you guys).
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,947
Country
United States
Additional note, though (yes, one more): There is some kind of size limitation in place. You won't be able to replace H&S with a commercial game title because that's much larger (although I'd love to be proven wrong by you guys).
I actually mentioned this size limitation several posts back. This I did remember. @annson24 was the one who was looking into H&S injection by gm9 script. I was more interested and curious if scripting could do it.

This is going to sound stupid. How would does one call up InjectHealthAndSafety() in a gm9 script? I feel like this shouldn't be possible.
 
Last edited by TurdPooCharger,

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
I actually mentioned this size limitation several posts back. This I did remember. @annson24 was the one who was looking into H&S injection by gm9 script. I was more interested and curious if scripting could do it.

This is going to sound stupid. How would does one call up InjectHealthAndSafety() in a gm9 script? I feel like this shouldn't be possible.
I think you already answered this for yourself - it's not possible. You also managed to handle this on your own, though, so it's fine :).
 
  • Like
Reactions: TurdPooCharger
D

Deleted User

Guest
We should add these scripts in a "Sample" section: Hello World, Hello Scripting, and Hello Spaghetti. They are located in official releases of GM9. Also, if I can make a suggestion @annson24 , can you make the exit less clunky. What I mean is that to exit, you have to press b like 4 or times. I get that the reference is funny is all, and that maybe I'm the only one with the "issue", but it would be nice if you could consider it. Thanks for your hard work.

P.S. Please add that cleanup script please!
 
Last edited by ,

annson24

The Patient One
OP
Member
Joined
May 5, 2016
Messages
1,191
Trophies
0
Age
32
XP
1,843
Country
Philippines
We should add these scripts in a "Sample" section: Hello World, Hello Scripting, and Hello Spaghetti. They are located in official releases of GM9. Also, if I can make a suggestion @annson24 , can you make the exit less clunky. What I mean is that to exit, you have to press b like 4 or times. I get that the reference is funny is all, and that maybe I'm the only one with the "issue", but it would be nice if you could consider it. Thanks for your hard work.

P.S. Please add that cleanup script please!

All the suggestion I'll do it today, sorry for the delay. Was my off these past 2 days and couldn't touch the script. Regarding the adding of this script to the gm9 repo, I'll make a request soon. Only a little bit more and I think the megascript will be clean enough to make the suggestion.
 

annson24

The Patient One
OP
Member
Joined
May 5, 2016
Messages
1,191
Trophies
0
Age
32
XP
1,843
Country
Philippines
Script Updated!

Changelog:
1. Added CTRNAND Transfer (place ctrtransfer files in sdmc/gm9/out folder.)
2. Added Scripts from Plailect's Guide Section
2.1 Added Cleanup SD Card
2.2 Added CTRTransfer Ticket Copy
2.3 Added Remove NNID
2.4 Added Remove extdata
3. Removed Reboot and Shutdown
4. More minor cleanups.
5. Updated README.md
 
Last edited by annson24,

SirNapkin1334

Renound Aritst
Member
Joined
Aug 20, 2017
Messages
1,665
Trophies
1
XP
975
Country
United States
Script Updated!

Changelog:
1. Added CTRNAND Transfer (place ctrtransfer files in sdmc/gm9/out folder.)
2. Added Scripts from Plailect's Guide Section
2.1 Added Cleanup SD Card
2.2 Added CTRTransfer Ticket Copy
2.3 Added Remove NNID
2.4 Added Remove extdata
3. Removed Reboot and Shutdown
4. More minor cleanups.
5. Updated README.md
You should change the input file location for all files to SD:/gm9/mega/
 

annson24

The Patient One
OP
Member
Joined
May 5, 2016
Messages
1,191
Trophies
0
Age
32
XP
1,843
Country
Philippines
Another Update:

1. All input files of all scripts (except for lazarus) should now be located in SDMC/gm9/in folder to reduce clutter from the sd card root.

2. Minor update to the Nintendo3DS folder swap script: Now users can have an option to rename the previous folder to whichever name they want.

-----------------------

Next update, FBI to H&S injection.
 
Last edited by annson24,

annson24

The Patient One
OP
Member
Joined
May 5, 2016
Messages
1,191
Trophies
0
Age
32
XP
1,843
Country
Philippines
Update yet again.

Changelog:
* Added FBI to H&S Inject Options

I feel like this will be the last major update of the script. Next updates will be for further stability, minor cleanups, and maybe a few more additional minor scripts.
 

Namesnipe

Well-Known Member
Member
Joined
Nov 24, 2016
Messages
225
Trophies
0
XP
1,153
Country
United States
Mind explaining how PCless B9S install works, well, how to use it? Where exactly do I put the files? And also, HOW do we use it? One part interested me. The part about the "RAM." So, It copies it over to the nand temporarily and I can swap in a new SD card and copies it over to that?
 

MattKimura

3DS & WiiU Enthusiast
Member
Joined
Jun 30, 2014
Messages
2,137
Trophies
1
XP
2,937
Country
United States
Mind explaining how PCless B9S install works, well, how to use it? Where exactly do I put the files? And also, HOW do we use it? One part interested me. The part about the "RAM." So, It copies it over to the nand temporarily and I can swap in a new SD card and copies it over to that?
Annson24 explains it in the second post of the thread: https://gbatemp.net/threads/gm9-script-all-in-one-megascript.496619/#post-7832672

But yes it temporarily copies all necessary files to the RAM, then swap SD cards and it copies it to that SD card. He provides the pc-less files in the first post in the download. You can use a spare SD card as well. With it, you can hack any 3DS without a PC involved anywhere you go. You'll need an NTRboot flashcard and a magnet though.
 
Last edited by MattKimura,
  • Like
Reactions: annson24

Namesnipe

Well-Known Member
Member
Joined
Nov 24, 2016
Messages
225
Trophies
0
XP
1,153
Country
United States
Annson24 explains it in the second post of the thread: https://gbatemp.net/threads/gm9-script-all-in-one-megascript.496619/#post-7832672

But yes it temporarily copies all necessary files to the RAM, then swap SD cards and it copies it to that SD card. He provides the pc-less files in the first post in the download. The annson folder goes on the root of your SD card. You can use a spare SD card as well. With it, you can hack any 3DS without a PC involved anywhere you go. You'll need an NTRboot flashcard and a magnet though.
Yeah, his explanation wasn't very.. clear to me. It installs B9S TO the system, then copies everything over to another SD card? That's what I'm confused about. Also, by RAM you mean NAND, right?
 

MattKimura

3DS & WiiU Enthusiast
Member
Joined
Jun 30, 2014
Messages
2,137
Trophies
1
XP
2,937
Country
United States
Yeah, his explanation wasn't very.. clear to me. It installs B9S TO the system, then copies everything over to another SD card? That's what I'm confused about. Also, by RAM you mean NAND, right?
Yup it installs b9s then moves the finalize files to the RAM drive from the 3DS guide, such as cia files, luma3DS, etc. I'm not entirely sure how the RAM drive works but you only have a limited amount of files you can copy to it. Someone can clarify the RAM drive.
Also edit, there is no annson folder anymore. all the pc-less files are in the gm9/in/ folder

Within gm9/in/ you'll find several folders called luma, boot9strap, FBI, and sdcompiled. All of these folders except sdcompiled will be used to install boot9strap, as well as install luma to NAND. Then the files that get copied to RAM are from the sdcompiled folder.
 
Last edited by MattKimura,

annson24

The Patient One
OP
Member
Joined
May 5, 2016
Messages
1,191
Trophies
0
Age
32
XP
1,843
Country
Philippines
then copies everything over to another SD card? That's what I'm confused about. Also, by RAM you mean NAND, right?

That's right, I initially personally use the PC-Less with a 'setup sd card' where in all the necessary files are in it. I always bring it together with my ntrboot cart and magnet anywhere I go. See, if you don't have a 'setup sd card' and you're about to install b9s to a 3ds, you'll have to copy all the PCLess files to your sd card first, which isn't actually PC-Less'y.

Ram, is just RAM. It's a memory that almost all smart devices use such as PC, phones, game consoles, etc. Here's a thorough definition of it https://goo.gl/xC5pH2

Sent from my SM-G950F using Tapatalk
 
  • Like
Reactions: SirNapkin1334
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: "pine unf apple" doesn't count! Lol