ROM Hack How to convert .3ds to romfs.bin?

Deleted member 414661

Well-Known Member
OP
Newcomer
Joined
Feb 13, 2017
Messages
79
Trophies
0
XP
182
Okay, thank you for the first bit, I just typed in the second exactly as I posted before and it says "error could not open input file!"

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

@Dionicio3, could I possibly PM you the .3ds file and you could do this for me? I'm trying to figure this out but it seems ctrtool isn't working with a .3ds file.
 

Dionicio3

goat
Member
Joined
Feb 26, 2017
Messages
4,046
Trophies
2
Age
20
Location
Hollister, CA
Website
dionicio3.com
XP
7,155
Country
United States
@Dionicio3, could I possibly PM you the .3ds file and you could do this for me? I'm trying to figure this out but it seems ctrtool isn't working with a .3ds file.
No, that would be against the rules.

I'm also not too familiar with ctrtool errors, I'd wait for someone more knowledgeable to come in and help
 

Deleted member 414661

Well-Known Member
OP
Newcomer
Joined
Feb 13, 2017
Messages
79
Trophies
0
XP
182
Not really. There is to be no warez or copyright materials on here or in pms. Which is still techinally on here. I dont see why it would be harsh at all.
Alright then, what do I do exactly? I don't know how to make the MHXX Citra file into a romfs for the mod tools to work. I'd love it if someone else could do it for me.
 

BigPigeon

Member
Newcomer
Joined
Dec 1, 2019
Messages
19
Trophies
0
Age
36
XP
98
Country
United States
Hey, necroing this ancient thread because I'm running across a similar problem. I've followed the steps as best I can from this thread, and I've got both my .3ds file and ctrtool in the same folder (Users\Windows\Documents\Romhacking), but when I try to run the command there's no effect, just the attached prompt. Is there some obvious little mistake that I'm missing?
 

Attachments

  • ctrtool problem.png
    ctrtool problem.png
    40.4 KB · Views: 180

phonz

Well-Known Member
Member
Joined
May 1, 2018
Messages
278
Trophies
0
XP
1,868
Country
Canada
Hey, necroing this ancient thread because I'm running across a similar problem. I've followed the steps as best I can from this thread, and I've got both my .3ds file and ctrtool in the same folder (Users\Windows\Documents\Romhacking), but when I try to run the command there's no effect, just the attached prompt. Is there some obvious little mistake that I'm missing?

Try looking at what you typed into command prompt :P hehe
You're not passing the arguments to a program, you're just telling command prompt to access the files.

try again with "ctrtool" at the beginning of your string since I assume that's the program you are trying to pass the .3ds file too.
ie. "ctrtool Awakening.3ds -n 0 --romfs=romfs.bin"
No quotes.
 

BigPigeon

Member
Newcomer
Joined
Dec 1, 2019
Messages
19
Trophies
0
Age
36
XP
98
Country
United States
Try looking at what you typed into command prompt :P hehe
You're not passing the arguments to a program, you're just telling command prompt to access the files.

try again with "ctrtool" at the beginning of your string since I assume that's the program you are trying to pass the .3ds file too.
ie. "ctrtool Awakening.3ds -n 0 --romfs=romfs.bin"
No quotes.
Glad to get some help on this! I'm new to the technical side of romhacking but I'm very keen to learn.

Still missing something. Here's my command line and the error result below. Is this signifying an error with my .3ds file?
 

Attachments

  • ctrtool problem-2.png
    ctrtool problem-2.png
    15.2 KB · Views: 184

phonz

Well-Known Member
Member
Joined
May 1, 2018
Messages
278
Trophies
0
XP
1,868
Country
Canada
Glad to get some help on this! I'm new to the technical side of romhacking but I'm very keen to learn.

Still missing something. Here's my command line and the error result below. Is this signifying an error with my .3ds file?

Hmm working fine for me here, using this release -> https://github.com/jakcron/Project_CTR/releases/latest

trying putting quotes around Awakening.3ds. so the command would be
ctrtool "Awakening.3ds" -n 0 --romfs=romfs.bin


If that doesnt work, you may need to run command prompt as Admin, or move the files to a directory that doesn't have any access restrictions if your user account is unable to run as admin.
(like just make a new directory at C:/3ds/ and work from there)
 
Last edited by phonz,

BigPigeon

Member
Newcomer
Joined
Dec 1, 2019
Messages
19
Trophies
0
Age
36
XP
98
Country
United States
That's the release I'm currently using. Still not working though. Could the problem be with the .3ds file itself? It runs just fine on Citra.
 

Attachments

  • ctrtool problem-3.png
    ctrtool problem-3.png
    14.9 KB · Views: 173

BigPigeon

Member
Newcomer
Joined
Dec 1, 2019
Messages
19
Trophies
0
Age
36
XP
98
Country
United States
Still negative. I moved the files to the C drive, ran Command Prompt as Admin and tried both with and without quotation marks. Attached below.
 

Attachments

  • ctrtool problem-4.png
    ctrtool problem-4.png
    18.4 KB · Views: 171

phonz

Well-Known Member
Member
Joined
May 1, 2018
Messages
278
Trophies
0
XP
1,868
Country
Canada
Still negative. I moved the files to the C drive, ran Command Prompt as Admin and tried both with and without quotation marks. Attached below.
haha then yeah im not sure.
You could try running without the "-n 0" in the commandline argument, see if that gets yeh anywhere. Other than that im tapped for ideas :P
 

BigPigeon

Member
Newcomer
Joined
Dec 1, 2019
Messages
19
Trophies
0
Age
36
XP
98
Country
United States
haha then yeah im not sure.
You could try running without the "-n 0" in the commandline argument, see if that gets yeh anywhere. Other than that im tapped for ideas :P
No worries, thanks for your help I really appreciate it. Removing the -n 0 had no effect either, btw.
 

BigPigeon

Member
Newcomer
Joined
Dec 1, 2019
Messages
19
Trophies
0
Age
36
XP
98
Country
United States
Bit of a breakthrough here: I tried using -p instead of -n since my .3ds file is already decrypted, and it advanced to the usage menu. See attached.

So where do I go from here to create a .bin file that I can use?
 

Attachments

  • ctrtool usage.png
    ctrtool usage.png
    49.6 KB · Views: 192

phonz

Well-Known Member
Member
Joined
May 1, 2018
Messages
278
Trophies
0
XP
1,868
Country
Canada
Bit of a breakthrough here: I tried using -p instead of -n since my .3ds file is already decrypted, and it advanced to the usage menu. See attached.

So where do I go from here to create a .bin file that I can use?

remove the 0 after "-p 0"
"-n 0" is to specify the partition, -p has no options associated with it.
 

BigPigeon

Member
Newcomer
Joined
Dec 1, 2019
Messages
19
Trophies
0
Age
36
XP
98
Country
United States
remove the 0 after "-p 0"
"-n 0" is to specify the partition, -p has no options associated with it.
The command fails without the 0 in it. See attachment.

It looks like -p should be what I want since I'm trying to extract a .bin without decrypting (since I'm already decrypted), but I'm really not sure what I'm missing here. Shouldn't this command create a romfs.bin in the directory that I'm working with?
 

Attachments

  • ctrtool problem-5.png
    ctrtool problem-5.png
    39.8 KB · Views: 176

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,243
Trophies
4
Location
Space
XP
13,794
Country
Norway
Still negative. I moved the files to the C drive, ran Command Prompt as Admin and tried both with and without quotation marks. Attached below.
I'm guessing the .3ds file is in a different folder than ctrtool. Either move it into the same folder just to make things simpler, or instead of typing the path to the rom, you can drag and drop the file onto cmd to paste in the path automatically so you're sure it's correct.
 

BigPigeon

Member
Newcomer
Joined
Dec 1, 2019
Messages
19
Trophies
0
Age
36
XP
98
Country
United States
I'm guessing the .3ds file is in a different folder than ctrtool. Either move it into the same folder just to make things simpler, or instead of typing the path to the rom, you can drag and drop the file onto cmd to paste in the path automatically so you're sure it's correct.
Nah, that's not it either. The files are all together, see attached, and have been the whole time.
 

Attachments

  • ctrtool problem-6.png
    ctrtool problem-6.png
    20 KB · Views: 165

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: