Homebrew Use Luma Game Patches on Citra?

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,376
Country
United States
Issue Fixed
I was just wondering if there is a way to use my Luma game patches for SM/USUM on Citra. Like randomization and trainer tweaks.
Any ideas?
Thanks in advance.
 
Last edited by Stardust3033,

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,376
Country
United States
If they are romFS edits being loaded by Luma, you can recompile the .3ds/.cia with the changes and run it that way
Well for SM & USUM I use a code.ips and SaltySD, so how can I get the "a" folder and .cro files and to load up?

--------------------- MERGED ---------------------------

you can recompile the .3ds/.cia with the changes and run it that way
Sounds like I can do that for my XY & ORAS games. (I have a romfs folder and a code.bin) So how exactly do I do that? (sorry for noob questions)
 

OkazakiTheOtaku

no thanks, I don't want a custom title
Member
Joined
Jul 20, 2016
Messages
1,461
Trophies
1
Location
127.0.0.1
XP
3,114
Country
Japan
Well for SM & USUM I use a code.ips and SaltySD, so how can I get the "a" folder and .cro files and to load up?
The "a" folder and the .cro files are just for the romFS, if you compile it then it'll work fine; that said, the code.ips however is a bit tricker and you might need to find out how to patch the code.bin with the IPS. Is it SciresM's code.ips? I don't know if general patching tools will work for that as I'm not familiar with how Luma applies .ips patches.
Sounds like I can do that for my XY & ORAS games. (I have a romfs folder and a code.bin) So how exactly do I do that? (sorry for noob questions)
Basically, you would use Asia81's Hacking Toolkit to extract a .cia or .3ds of the game you want to mod, then drag and drop your mod files in the right directory and then use the same Toolkit to recompile the .cia/.3ds from the extracted folders.
 

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,376
Country
United States
The "a" folder and the .cro files are just for the romFS, if you compile it then it'll work fine; that said, the code.ips however is a bit tricker and you might need to find out how to patch the code.bin with the IPS. Is it SciresM's code.ips? I don't know if general patching tools will work for that as I'm not familiar with how Luma applies .ips patches.

Basically, you would use Asia81's Hacking Toolkit to extract a .cia or .3ds of the game you want to mod, then drag and drop your mod files in the right directory and then use the same Toolkit to recompile the .cia/.3ds from the extracted folders.
̶W̶h̶a̶t̶ ̶p̶r̶o̶g̶r̶a̶m̶ ̶d̶o̶ ̶I̶ ̶u̶s̶e̶ ̶t̶o̶ ̶c̶o̶m̶p̶i̶l̶e̶ ̶t̶h̶e̶ ̶"̶a̶"̶ ̶f̶o̶l̶d̶e̶r̶ ̶a̶n̶d̶ ̶.̶c̶r̶o̶ ̶f̶i̶l̶e̶?̶ ̶A̶n̶d̶ ̶I̶ ̶a̶l̶r̶e̶a̶d̶y̶ ̶e̶x̶t̶r̶a̶c̶t̶e̶d̶ ̶a̶l̶l̶ ̶m̶y̶ ̶g̶a̶m̶e̶s̶ ̶t̶o̶ ̶C̶X̶I̶ ̶f̶o̶r̶m̶a̶t̶ ̶u̶s̶i̶n̶g̶ ̶G̶o̶d̶M̶o̶d̶9̶.̶ ̶S̶o̶ ̶d̶o̶ ̶I̶ ̶j̶u̶s̶t̶ ̶r̶e̶c̶o̶m̶e̶ ̶p̶i̶l̶e̶ ̶t̶h̶e̶m̶ ̶t̶o̶ ̶.̶3̶d̶s̶ ̶u̶s̶i̶n̶g̶ ̶H̶a̶c̶k̶i̶n̶g̶T̶o̶o̶l̶k̶i̶t̶9̶D̶S̶?̶
I'm dumb, I just figured it out.
 
Last edited by Stardust3033,

seam

Well-Known Member
Member
Joined
Jan 23, 2011
Messages
727
Trophies
1
Age
112
Location
austin texas
XP
855
Country
United States
The "a" folder and the .cro files are just for the romFS, if you compile it then it'll work fine; that said, the code.ips however is a bit tricker and you might need to find out how to patch the code.bin with the IPS. Is it SciresM's code.ips? I don't know if general patching tools will work for that as I'm not familiar with how Luma applies .ips patches.

Basically, you would use Asia81's Hacking Toolkit to extract a .cia or .3ds of the game you want to mod, then drag and drop your mod files in the right directory and then use the same Toolkit to recompile the .cia/.3ds from the extracted folders.

Could you please explain how to use this? I put the .3ds file in the same folder as the hackingtoolkit9ds.exe then i extract, and it extracts some .bin files. from there i dont know what to do with my modded romfs folder. it didnt extract a romfs folder for me to simply replace. so i dont know what to do at that point. I just want to put this modded romfs folder into this .3ds file so i can run it in Citra. Any help is greatly appreciated, thanks!
 
Last edited by seam,

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,376
Country
United States
Could you please explain how to use this? I put the .3ds file in the same folder as the hackingtoolkit9ds.exe then i extract, and it extracts some files. from there i dont know what to do with my modded romfs folder. it didnt extract one for me to simply replace. so i dont know what to do at that point. I just want to put this modded romfs folder into this .3ds file so i can run it in Citra. Any help is greatly appreciated, thanks!
Leave ur .3ds in the folder and select the extract .3ds option. Then mod ur romfs folder to ur liking then reopen the program to rebuild the .3ds. That should work.
 
  • Like
Reactions: seam

seam

Well-Known Member
Member
Joined
Jan 23, 2011
Messages
727
Trophies
1
Age
112
Location
austin texas
XP
855
Country
United States
New Bitmap Image.jpg
Leave ur .3ds in the folder and select the extract .3ds option. Then mod ur romfs folder to ur liking then reopen the program to rebuild the .3ds. That should work.

There is no romfs folder. ONLY .bin files
 
Last edited by seam,

seam

Well-Known Member
Member
Joined
Jan 23, 2011
Messages
727
Trophies
1
Age
112
Location
austin texas
XP
855
Country
United States
Use version 9 of hackingtoolkit
But I am. You can even see so in that picture i posted. Look at the dos window.

--------------------- MERGED ---------------------------

So what I noticed is this. I was extracting an UNENCRYPTED .3ds file. and it wasnt showing the romfs folder. So then i extracted the ENCRYPTED version of the .3ds file and it DID extract the proper folders and i could copy over my modded romfs folder and then recompile it! :D BUT... citra cant load it because it is encrypted... how do i UNencrypt my finished .3ds file which has my mod?
 

seam

Well-Known Member
Member
Joined
Jan 23, 2011
Messages
727
Trophies
1
Age
112
Location
austin texas
XP
855
Country
United States
But in your folder it says "PackEngliishV12" with means it's version 12. HackingToolkit9DS is just the name of the tool, the nine isn't the version number.
Oh i see what you mean. Well anyway, how can i decrypt my finished .3ds file? if i can do that i think i am good to go
 

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,376
Country
United States
Oh i see what you mean. Well anyway, how can i decrypt my finished .3ds file? if i can do that i think i am good to go
Yeah thats the thing, I did the exact same thing you did and afaik theres no way to "unencrypt" a file.
You HAVE to use version 9 because it was built for extracting decrypted (unencrypt) files.
 
  • Like
Reactions: seam

seam

Well-Known Member
Member
Joined
Jan 23, 2011
Messages
727
Trophies
1
Age
112
Location
austin texas
XP
855
Country
United States
Yeah thats the thing, I did the exact same thing you did and afaik theres no way to "unencrypt" a file.
You HAVE to use version 9 because it was built for extracting decrypted (unencrypt) files.
ooooh i see. well then im going to try that real quick

--------------------- MERGED ---------------------------

Yeah thats the thing, I did the exact same thing you did and afaik theres no way to "unencrypt" a file.
You HAVE to use version 9 because it was built for extracting decrypted (unencrypt) files.
YESSSSSSS you were right!!! THANKS MAN!!!!
 
  • Like
Reactions: Stardust3033

Brodie

Member
Newcomer
Joined
Dec 12, 2017
Messages
12
Trophies
0
Age
26
XP
65
Country
New Zealand
Where you able to get the code.ips working? because I am trying to apply a patch for bypassing party check so megas will stay in the form of mega when I close the game?
 

seam

Well-Known Member
Member
Joined
Jan 23, 2011
Messages
727
Trophies
1
Age
112
Location
austin texas
XP
855
Country
United States
Np, great to hear! :) PM me if you have any more issues or questions.

Have you had any experience in replacing music tracks in 3ds games? I'd like to mess around with that, just looking for a good tutorial. Whatever the simplest way to do that would be ideal.
 

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
457
Trophies
0
Age
21
Location
behind you
XP
1,376
Country
United States
Have you had any experience in replacing music tracks in 3ds games? I'd like to mess around with that, just looking for a good tutorial. Whatever the simplest way to do that would be ideal.
I have edited ORAS's music at on point (wild, trainer, and rival themes) but tbh I completely forgotten how.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtu.be/MddR6PTmGKg?si=mU2EO5hoE7XXSbSr