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

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by ihaveamac, Nov 4, 2019.

  1. Sophie-bear

    Sophie-bear The Coolest Bear Around

    Member
    7
    Jan 4, 2017
    United States
    Yeah, I'll try a few things and see if I can't come to some conclusion of what the cause might be. Thanks :)
     
  2. ihaveamac
    OP

    ihaveamac GBAtemp Guru

    Member
    16
    Apr 20, 2015
    United States
    I’m not sure right now. I’ll create a version of custom-install-finalize that prints more information to help figure out what this issue is. The wrong version shouldn’t matter much though, since this program only installs a ticket and seed, and doesn’t do anything with the actual title.
     
    Sophie-bear likes this.
  3. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    19
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Mar 17, 2010
    Norway
    Alola
    Maybe it would be possible to create importable DSiWare that can be imported through System Settings? Although I am not sure if that would be any faster than just installing the DSiWare CIA on the console... But I suppose it could be useful to some.
     
    Ammako likes this.
  4. ssjdeepanshu

    ssjdeepanshu GBAtemp Regular

    Member
    4
    Sep 18, 2016
    India
    so will there be a single .exe file instead of many files where we don't need to type or run any the command's ?
     
  5. ihaveamac
    OP

    ihaveamac GBAtemp Guru

    Member
    16
    Apr 20, 2015
    United States
    It's technically possible, but I don't know the format of DSiWare exports. Plus given their small size it wouldn't be that useful.
    As soon as there is a gui fully implemented I will try to build and provide standalone exe and app forms.
     
    alexander1970, Zense and ssjdeepanshu like this.
  6. NekoBit

    NekoBit Member

    Newcomer
    1
    Nov 5, 2019
    United States
    Maybe in the README for now but a manual would be neat idea
     
  7. NekoBit

    NekoBit Member

    Newcomer
    1
    Nov 5, 2019
    United States
    upload_2019-11-7_0-28-13.
    Wish if I didn't have tasks in my way I could've finished it tonight, but it will wait until tomorrow.
    I am sooooo close, but I think it will be pushed tomorrow.
    Need to do threads, but the percentage works and all that jazz. Give it some time. The code is kinda messy too, it got kind of all over the place when I had to get the thing jumbled together, will make some room tomorrow to clean as well.
     
    Last edited by NekoBit, Nov 7, 2019
    YukidaruPunch, ressit, Zense and 6 others like this.
  8. MorningBlunt

    MorningBlunt Member

    Newcomer
    4
    Jun 11, 2017
    Fantastic, but I'll wait for the GUI because I lazy.

    — Posts automatically merged - Please don't double post! —

    Also, what would 'Skip Contents' do?
     
  9. ihaveamac
    OP

    ihaveamac GBAtemp Guru

    Member
    16
    Apr 20, 2015
    United States
    --skip-contents means everything but writing the contents of the title happens (creating cifinish.bin and adding to title.db). This is useful if, for example a game was written to the SD, but it failed to add to title.db. You can use this to finish the install without rewriting all of the game's data.
     
    MorningBlunt likes this.
  10. LeonPro12

    LeonPro12 GBATemp is the best!

    Member
    5
    Mar 4, 2018
    Germany
    GBATemp is the best!
    Should I create a GUI for you?
     
  11. HalMuntz97

    HalMuntz97 Member

    Newcomer
    1
    Saturday
    United States
    *removed*
     
    Last edited by HalMuntz97, Nov 9, 2019 at 7:07 AM
  12. HalMuntz97

    HalMuntz97 Member

    Newcomer
    1
    Saturday
    United States
    Hi, can you tell me where I went wrong? Thank you in advance. upload_2019-11-9_1-13-1.
     

    Attached Files:

  13. Sophie-bear

    Sophie-bear The Coolest Bear Around

    Member
    7
    Jan 4, 2017
    United States
    Make sure you're running that in the directory that custom-install.py is located in. If all the necessary files are not in the AM directory you're currently in, it won't find them. You can use the command "cd" followed by the path to the folder the files you're working with are in to change directories.
     
  14. HalMuntz97

    HalMuntz97 Member

    Newcomer
    1
    Saturday
    United States
    If I understand correctly, you're saying I should open CMD in the folder where "custom-install.py" "boot9.bin" "moveable.sed" and "seeddb.bin" are located? Please take a look (my folder's content):
     

    Attached Files:

    Last edited by HalMuntz97, Nov 9, 2019 at 7:30 AM
  15. Sophie-bear

    Sophie-bear The Coolest Bear Around

    Member
    7
    Jan 4, 2017
    United States
    That's right. Either Open CMD there or change directories to there after opening CMD. Doesn't matter which you do, same result.
     
  16. HalMuntz97

    HalMuntz97 Member

    Newcomer
    1
    Saturday
    United States
    Love! Could you teach me how please? I can't seem to figure it out admittedly
     
  17. Wuigi

    Wuigi GBAtemp Advanced Fan

    Member
    6
    Sep 14, 2012
    Germany
    Worked really well for me, thanks for your efforts to make this program possible.
    I only wonder where the CIAs are installed to, directly to the correct ID0/ID1/... paths?
    @HalMuntz97 Shift+right click in the directory with the custom-install.py and select open powershell/open command prompt here.
     
    Last edited by Wuigi, Nov 9, 2019 at 7:41 AM
  18. Sophie-bear

    Sophie-bear The Coolest Bear Around

    Member
    7
    Jan 4, 2017
    United States
    Open a command prompt, then click in the address bar I've highlighted in my attachment (in the blank space, not on the text). Copy that text. type "cd" then a space in the command prompt, then paste that text you copied. Press Enter, then run the command you're using to install the cia files again.

    Screenshot_1.
     
    Last edited by Sophie-bear, Nov 9, 2019 at 7:45 AM
  19. HalMuntz97

    HalMuntz97 Member

    Newcomer
    1
    Saturday
    United States
    You rock and a half, look at what you've helped me achieve. Thank YOU! :-)
     

    Attached Files:

    Sophie-bear likes this.
  20. Xmortal

    Xmortal Other Nickname Legarad

    Member
    4
    May 28, 2008
    Venezuela
    Venezuela
    This still requires double space in the SD memory, but the installation is much faster than the FBI

    I have a error

    Code:
    D:\custom-install-master>py -3 custom-install.py -b boot9.bin -m movable.sed --s
    d G:\ LEGOCUTCB.cia
    Finding path to install to...
    Reading CIA...
    Installing The Chase Begins...
    Writing /title/00040000/000ad500/content/00000000.tmd...
     100.0%  0.0 MiB / 0.0 MiB
    Writing /title/00040000/000ad500/content/00000000.app...
     100.0%  735.3 MiB / 735.3 MiB
    Writing /title/00040000/000ad500/content/00000001.app...
     100.0%  0.4 MiB / 0.4 MiB
    Generating blank save at /title/00040000/000ad500/data/00000001.sav...
    Generating /title/00040000/000ad500/content/cmd/00000001.cmd
    Writing /title/00040000/000ad500/content/cmd/00000001.cmd
    [b'\x00\x00\x01.\x00\x00\x00\x00', b'@\x00\x00\x00', b'\x00\x00', b'\x02\x00', b
    '\x01\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-AA8E\x00\x00\x00\x00\x00\x00', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\
    x00\x00\x00\x00\x00\x00\x00', b'GS\xed\xc4', 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...
    Traceback (most recent call last):
      File "custom-install.py", line 318, in <module>
        subprocess.run(save3ds_fuse_common_args + ['-x'])
      File "C:\Python3\lib\subprocess.py", line 453, in run
        with Popen(*popenargs, **kwargs) as process:
      File "C:\Python3\lib\subprocess.py", line 756, in __init__
        restore_signals, start_new_session)
      File "C:\Python3\lib\subprocess.py", line 1155, in _execute_child
        startupinfo)
    OSError: [WinError 216] Esta versión de %1 no es compatible con la versión de Windows que está ejecutando. Compruebe la información de sistema del equipo para consultar si necesita una versión x86 (32 bits) o x64 (64 bits) del programa, y después póngase en contacto con el editor del software
    
    D:\custom-install-master>
    
     
    Last edited by Xmortal, Nov 10, 2019 at 5:14 AM
Quick Reply
Draft saved Draft deleted
Loading...