Homebrew Use Luma Game Patches on Citra?

Stardust3033

Well-Known Member
OP
Member
Joined
Feb 12, 2016
Messages
451
Trophies
0
Age
20
Location
behind you
XP
1,186
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
451
Trophies
0
Age
20
Location
behind you
XP
1,186
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,096
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
451
Trophies
0
Age
20
Location
behind you
XP
1,186
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
111
Location
austin texas
XP
845
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
451
Trophies
0
Age
20
Location
behind you
XP
1,186
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
111
Location
austin texas
XP
845
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
111
Location
austin texas
XP
845
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
111
Location
austin texas
XP
845
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
451
Trophies
0
Age
20
Location
behind you
XP
1,186
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
111
Location
austin texas
XP
845
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
25
XP
55
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?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys