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

  • Thread starter Thread starter annson24
  • Start date Start date
  • Views Views 82,771
  • Replies Replies 118
  • Likes Likes 21
Status
Not open for further replies.
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.
 
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
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).
 
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,
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
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 ,
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.
 
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,
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/
 
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,
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.
 
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?
 
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
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?
 
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,
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