ROM Hack custom-install - Install CIAs to a Nintendo 3DS SD card entirely on PC

aldone

Well-Known Member
Newcomer
Joined
Sep 22, 2014
Messages
50
Trophies
0
Age
30
Location
Salerno, Italy
XP
322
Country
Italy
"Finding path to install to...

Reading CIA...

Installing Doctor Lautrec...

Writing /title/00040000/00056200/content/00000000.tmd...

100.0% 0.0 MiB / 0.0 MiB

Writing /title/00040000/00056200/content/00000000.app...

100.0% 1466.4 MiB / 1466.4 MiB

Generating blank save at /title/00040000/00056200/data/00000001.sav...

Generating /title/00040000/00056200/content/cmd/00000001.cmd

Writing /title/00040000/00056200/content/cmd/00000001.cmd

[b'\x00\x80\xab[\x00\x00\x00\x00', b'@\x00\x00\x00', b'\x00\x00', b'\x02\x00', b'\x00\x00\x00\x00', b'\x00\x00\x00\x00', b'\x01\x00\x00\x00', b'\x01\x00\x00\x00', b'\x00\x00\x00\x00', b'\x00\x00\x00\x00', b'\x00\x00\x00\x00\x01\x00\x00\x00', b'CTR-P-ADLP\x00\x00\x00\x00\x00\x00', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', b'\x17f\x82_', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00']

Extracting Title Database...

dyld: Library not loaded: /usr/local/lib/libosxfuse.2.dylib

Referenced from: /Users/aldo/Desktop/custom-install-master/bin/darwin/save3ds_fuse

Reason: image not found

Importing into Title Database...

dyld: Library not loaded: /usr/local/lib/libosxfuse.2.dylib

Referenced from: /Users/aldo/Desktop/custom-install-master/bin/darwin/save3ds_fuse

Reason: image not found


FINAL STEP:

Run custom-install-finalize through homebrew launcher.

This will install a ticket and seed if required."


I managed to use it on my Mac, but when I start custom-install-finalize and press start and exit homebrew manager it doesn't appear installed. Where i wrong?
 

ber71

Well-Known Member
Member
Joined
Apr 24, 2019
Messages
562
Trophies
0
Age
58
XP
2,476
Country
Spain
Can it install. 3ds files too?
.3ds files were never ment to be installed just ran from flashcards

Yes but nointro eshop are 3ds files.
I'm aware of 3dsconv which recquires the same files to do the conversion to cia. So I think that custom-install could install 3ds files in just one go.
 
  • Like
Reactions: Deleted-236924

YukidaruPunch

Well-Known Member
Member
Joined
Oct 24, 2017
Messages
271
Trophies
0
Age
35
XP
758
Country
Brazil
Holy shit, this is huge. I just installed Resident Evil Revelations and Donkey Kong Country Returns 3D and having to have double the space for that wasn't easy. Unfortunately I'm as illiterate as one can be about command lines and whatnot so it would take about 50 years for me to make this work.

I hope someone might make a gui version someday. Meanwhile, does anyone have an informative YouTube tutorial about command lines so I can even remotely pretend to understand what I'm doing?
 

kultsi

Member
Newcomer
Joined
Oct 21, 2015
Messages
9
Trophies
0
Age
37
XP
158
Country
Finland
Holy shit, this is huge. I just installed Resident Evil Revelations and Donkey Kong Country Returns 3D and having to have double the space for that wasn't easy. Unfortunately I'm as illiterate as one can be about command lines and whatnot so it would take about 50 years for me to make this work.

I hope someone might make a gui version someday. Meanwhile, does anyone have an informative YouTube tutorial about command lines so I can even remotely pretend to understand what I'm doing?
Quick tutorial:
FIRST AND FOREMOST, install Python and add it to the Windows path variable
Extract custom-install-master somewhere you want.
Paste boot9.bin seeddb.bin and movable.sed to the root of the custom-install-master folder
Take out sd-card from 3ds, download custom-install-finalize and paste it in the 3ds folder of your sd-card
Paste the .cia files you want to install to the root of the custom-install-master folder
Open command prompt, preferably with admin rights, in the folder custom-install-master
Insert the following code
Code:
py -3 custom-install.py -b boot9.bin -m movable.sed --sd *YourSDCARDDISKLETTER:\* *yourgamename*.cia *yourgamename*.cia
Wait for install
Insert sd-card to 3ds and open custom-install-finalize through homebrew channel
???
PROFIT!
 
Last edited by kultsi,

weatMod

Well-Known Member
Member
Joined
Aug 24, 2013
Messages
3,305
Trophies
2
Age
47
XP
3,351
Country
United States
.3ds files were never meant to be installed just ran from flashcards
.xci files were never meant to be installed to a switch either
but there is tools that convert and install in one step
maybe waaaaay down the line this will be built into an .exe with GUI and then waaaay later on after that someone will add a .3ds install option
 

YukidaruPunch

Well-Known Member
Member
Joined
Oct 24, 2017
Messages
271
Trophies
0
Age
35
XP
758
Country
Brazil
Quick tutorial:
FIRST AND FOREMOST, install Python and add it to the windows path variable
Extract custom-install-master somewhere you want.

Paste boot9.bin seeddb.bin and movable.sed to the root of the custom-install-master folder
Take out sd-card from 3ds, download custom-install-finalize and paste it in the 3ds folder of your sd card
Paste the .cia files you wan't to install to the root of the custom-install-master folder
Open command prompt, preferably with admin rights, in the folder custom-install-master
Insert the following code
Code:
py -3 custom-install.py -b boot9.bin -m movable.sed --sd *YourSDCARDDISKLETTER:\* *yourgamename*.cia *yourgamename*.cia
Wait for install
Insert sd-card to 3ds and open custom-install-finalize through homebrew channel
???
PROFIT!
This is a very good and well-written tutorial. Thank you! After you've done this, I'm bound to try it out.

I do have a single question, though... you mentioned for me to add Python to the windows path variable. How do I, uh, do that?
 

aldone

Well-Known Member
Newcomer
Joined
Sep 22, 2014
Messages
50
Trophies
0
Age
30
Location
Salerno, Italy
XP
322
Country
Italy
"Finding path to install to...

Reading CIA...

Installing Doctor Lautrec...

Writing /title/00040000/00056200/content/00000000.tmd...

100.0% 0.0 MiB / 0.0 MiB

Writing /title/00040000/00056200/content/00000000.app...

100.0% 1466.4 MiB / 1466.4 MiB

Generating blank save at /title/00040000/00056200/data/00000001.sav...

Generating /title/00040000/00056200/content/cmd/00000001.cmd

Writing /title/00040000/00056200/content/cmd/00000001.cmd

[b'\x00\x80\xab[\x00\x00\x00\x00', b'@\x00\x00\x00', b'\x00\x00', b'\x02\x00', b'\x00\x00\x00\x00', b'\x00\x00\x00\x00', b'\x01\x00\x00\x00', b'\x01\x00\x00\x00', b'\x00\x00\x00\x00', b'\x00\x00\x00\x00', b'\x00\x00\x00\x00\x01\x00\x00\x00', b'CTR-P-ADLP\x00\x00\x00\x00\x00\x00', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', b'\x17f\x82_', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00']

Extracting Title Database...

dyld: Library not loaded: /usr/local/lib/libosxfuse.2.dylib

Referenced from: /Users/aldo/Desktop/custom-install-master/bin/darwin/save3ds_fuse

Reason: image not found

Importing into Title Database...

dyld: Library not loaded: /usr/local/lib/libosxfuse.2.dylib

Referenced from: /Users/aldo/Desktop/custom-install-master/bin/darwin/save3ds_fuse

Reason: image not found


FINAL STEP:

Run custom-install-finalize through homebrew launcher.

This will install a ticket and seed if required."


I managed to use it on my Mac, but when I start custom-install-finalize and press start and exit homebrew manager it doesn't appear installed. Where i wrong?

Finally i resolved the problem. i build save3ds_fuse and i put it in /bin/linux
 

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,841
Country
United States
Does custom-install-finalize the same as faketik?
Given what's written in post 12, it appears to extract the ticket from the cia you supplied, so the result will be as legit as the source
Not quite, it still installs a fake ticket, but if a ticket is already installed, you don't need to do that.

Can you explain how to use it for people that is not used to python neither to mess with command apps?



I'm not sure I get it, if I want to install a CIA on my 3ds sd card and I have movable.sed and boot9.bin on C: drive , I have to use a command like this?:

py -3 custom-install.py -b C:\boot9.bin -m C:\movable.sed --sd E:\( I guess this is the root of the SD) C:\backups\file.cia(game1) c:\backups\file2.cia(game2)

is that correct? is there a way to install a large list of game backups without having to write all the game names? Something like a batch mode for example.
Yes, that's pretty much correct. Windows Command Prompt doesn't support selecting multiple files with * so support for this would have to be added manually.

Can it install. 3ds files too?

.3ds files were never ment to be installed just ran from flashcards
Yes but nointro eshop are 3ds files.
I'm aware of 3dsconv which recquires the same files to do the conversion to cia. So I think that custom-install could install 3ds files in just one go.
.xci files were never meant to be installed to a switch either
but there is tools that convert and install in one step
maybe waaaaay down the line this will be built into an .exe with GUI and then waaaay later on after that someone will add a .3ds install option
Since 3dsconv exists like mentioned it could be done. In the mean time, just use that first.

Good stuff! Any way to batch install all the CIAs with one command, so one doesn't need to type in every one of them?
It already supports this, provide multiple files at once in one command line.

"Finding path to install to...

Reading CIA...

Installing Doctor Lautrec...

Writing /title/00040000/00056200/content/00000000.tmd...

100.0% 0.0 MiB / 0.0 MiB

Writing /title/00040000/00056200/content/00000000.app...

100.0% 1466.4 MiB / 1466.4 MiB

Generating blank save at /title/00040000/00056200/data/00000001.sav...

Generating /title/00040000/00056200/content/cmd/00000001.cmd

Writing /title/00040000/00056200/content/cmd/00000001.cmd

[b'\x00\x80\xab[\x00\x00\x00\x00', b'@\x00\x00\x00', b'\x00\x00', b'\x02\x00', b'\x00\x00\x00\x00', b'\x00\x00\x00\x00', b'\x01\x00\x00\x00', b'\x01\x00\x00\x00', b'\x00\x00\x00\x00', b'\x00\x00\x00\x00', b'\x00\x00\x00\x00\x01\x00\x00\x00', b'CTR-P-ADLP\x00\x00\x00\x00\x00\x00', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', b'\x17f\x82_', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00']

Extracting Title Database...

dyld: Library not loaded: /usr/local/lib/libosxfuse.2.dylib

Referenced from: /Users/aldo/Desktop/custom-install-master/bin/darwin/save3ds_fuse

Reason: image not found

Importing into Title Database...

dyld: Library not loaded: /usr/local/lib/libosxfuse.2.dylib

Referenced from: /Users/aldo/Desktop/custom-install-master/bin/darwin/save3ds_fuse

Reason: image not found


FINAL STEP:

Run custom-install-finalize through homebrew launcher.

This will install a ticket and seed if required."


I managed to use it on my Mac, but when I start custom-install-finalize and press start and exit homebrew manager it doesn't appear installed. Where i wrong?
Finally i resolved the problem. i build save3ds_fuse and i put it in /bin/linux
This is because save3ds_fuse was built with a dependency on FUSE for macOS. I can re-build it to remove this dependency since custom-install doesn't depend on any of its FUSE features.

The time I realize save3ds_fuse.exe works only on 64bit...

How could this happen to me
I made my mistakes
I've got no where to run
The night goes on
As I'm fading away
I'm sick of this life
I just wanna scream
How could this happen to me
save3ds_fuse.exe just has to be re-built for 32-bit. I just need to figure out how to do that with rust outside of setting up a 32-bit Windows install.

Holy shit, this is huge. I just installed Resident Evil Revelations and Donkey Kong Country Returns 3D and having to have double the space for that wasn't easy. Unfortunately I'm as illiterate as one can be about command lines and whatnot so it would take about 50 years for me to make this work.

I hope someone might make a gui version someday. Meanwhile, does anyone have an informative YouTube tutorial about command lines so I can even remotely pretend to understand what I'm doing?
Quick tutorial:
FIRST AND FOREMOST, install Python and add it to the Windows path variable
Extract custom-install-master somewhere you want.
Paste boot9.bin seeddb.bin and movable.sed to the root of the custom-install-master folder
Take out sd-card from 3ds, download custom-install-finalize and paste it in the 3ds folder of your sd-card
Paste the .cia files you want to install to the root of the custom-install-master folder
Open command prompt, preferably with admin rights, in the folder custom-install-master
Insert the following code
Code:
py -3 custom-install.py -b boot9.bin -m movable.sed --sd *YourSDCARDDISKLETTER:\* *yourgamename*.cia *yourgamename*.cia
Wait for install
Insert sd-card to 3ds and open custom-install-finalize through homebrew channel
???
PROFIT!
This is a very good and well-written tutorial. Thank you! After you've done this, I'm bound to try it out.

I do have a single question, though... you mentioned for me to add Python to the windows path variable. How do I, uh, do that?

Thank you again!
For the record, adding Python to PATH is unnecessary in most cases, because the default setup already adds "py" to path, so you can always use "py -3" to run it.
 
Last edited by ihaveahax,

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,841
Country
United States
Yeah, but I meant that one can, for example, just put "*.cia" and install every file in the folder without having to type them all :)
Most UNIX shells support this and would automatically expand it to all files ending in ".cia". Windows Command Prompt doesn't, so it would have to be manually supported. I don't know if PowerShell does this.
 
  • Like
Reactions: kultsi

kultsi

Member
Newcomer
Joined
Oct 21, 2015
Messages
9
Trophies
0
Age
37
XP
158
Country
Finland
Most UNIX shells support this and would automatically expand it to all files ending in ".cia". Windows Command Prompt doesn't, so it would have to be manually supported. I don't know if PowerShell does this.
Fuck Windows, got it working through CygWin though :lol:
 

Frexxos

Well-Known Member
Member
Joined
Apr 27, 2015
Messages
428
Trophies
0
Age
43
XP
2,483
Country
Germany
How much faster is it really?
Like does have someone an example?
I know it depends on the card and size of the Rom but maybe someone can post something like this

Game with 4 GB took with specific card x minutes.

Just to get a feeling how fast it is. I only know the times from the ds itself and there it took several minutes for some games
 

kultsi

Member
Newcomer
Joined
Oct 21, 2015
Messages
9
Trophies
0
Age
37
XP
158
Country
Finland
How much faster is it really?
Like does have someone an example?
I know it depends on the card and size of the Rom but maybe someone can post something like this

Game with 4 GB took with specific card x minutes.

Just to get a feeling how fast it is. I only know the times from the ds itself and there it took several minutes for some games
I installed every Pokemon game for 3ds, eu region, in under 30 minutes. Usually one install takes longer :D
 

ihaveahax

Well-Known Member
OP
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,841
Country
United States
How much faster is it really?
Like does have someone an example?
I know it depends on the card and size of the Rom but maybe someone can post something like this

Game with 4 GB took with specific card x minutes.

Just to get a feeling how fast it is. I only know the times from the ds itself and there it took several minutes for some games
It largely depends on the SD Card and the reader used. A quick example is in the original post, using a game that is nearly 4 GB in size.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/Hn-gx9VjRt8?t=153