[Release][DSi] Title Manager for HiyaCFW

Discussion in 'NDS - Emulation and Homebrew' started by JeffRuLz, Sep 14, 2018.

  1. Shadow#1

    Shadow#1 Wii & 3DS Softmod Expert

    Member
    11
    Nov 21, 2005
    United States
    Play dsiware converted to .nds files
     
  2. tiduscrying

    tiduscrying that butt...

    Member
    7
    Jun 12, 2012
    United States
    HELL
    nds-hb-menu apparently has to be re-compiled with devkitPro to solve an issue with banner sizes being read incorrectly from the DSi menu. On the first page, GameYob and another homebrew are posted with this fix applied. If anyone would be willing to re-compile the latest commit of nds-hb-menu with the latest version of devkitPro, that'd be great! I tried earlier but didn't have time to setup the devkitPro environment on my PC...
     
  3. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    This problem came up earlier and it was possible to patch out by padding the end of the rom with zeros. The app does this automatically.
    However, this only works if the banner is the last part of the rom. In this case there is more data after the banner so simply padding it will not work without restructuring the rom or something (Idk if that's even possible.) It will need to get recompiled.

    Edit: Here's a recompiled version. I issued a bug report on github, and I will remove this once it is updated officially.
     

    Attached Files:

    Last edited by JeffRuLz, Jun 3, 2019
    Sunuku, alexander1970 and tiduscrying like this.
  4. Gericom

    Gericom GBAtemp Maniac

    Member
    10
    Jun 30, 2011
    Netherlands
    Thanks for this! I used it to install a couple of things and it seemed to work well. I am having a little issue with saves though. When installing dsiware, it will say that the save is corrupted the first time it starts and after erasing it works fine. However, I also tried installing the dsi browser, but it does not erase the save if it is corrupted. As such it doesn't work. Any idea if you could fix this?
     
    Tarmfot, banjo2 and alexander1970 like this.
  5. banjo2

    banjo2 little man

    Member
    5
    May 31, 2016
    United States
    gamer armchair
    I encountered the same problem with NDSiWB. Only thing that has worked for me is to use an existing save, and it does work cross-region. Not sure about version, though.
     
  6. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    The save files are in a fat12 format so it might be possible to generate empty fat12 files. I will need to read more about it.
    For now try using Data Management, back it up to the SD card and then back to the system memory. It will generate a good save file. (Although this won't work if your dsi never had the browser installed before.)
     
    alexander1970 likes this.
  7. Gericom

    Gericom GBAtemp Maniac

    Member
    10
    Jun 30, 2011
    Netherlands
    Ah, I see. Generating a fat12 file system shouldn't be too hard right. You could probably use some library to do it. FatFS can do it for example. You could make it format some memory buffer and then write it to the save file.

    I never had the dsi browser on this dsi, so that won't work then.
     
  8. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    I've looked at the headers for a few different save files and they have varying cluster and sector sizes. While I'm sure it's based on the file size, I don't know how they relate to each other. It might be per-app, idk.
    Since most apps are able to fix their own save files, I think I'll just add a special case for the internet browser and write its specific header.

    Here's a print-out of a few different save file headers, if anyone wants to figure out the pattern and enlighten me.
     

    Attached Files:

    alexander1970 likes this.
  9. Gericom

    Gericom GBAtemp Maniac

    Member
    10
    Jun 30, 2011
    Netherlands
    Hmm, I should check if the sdk has some information about nand saves.
     
    alexander1970 likes this.
  10. realWinterMute

    realWinterMute GBAtemp Regular

    Member
    4
    Feb 24, 2011
    Please don't re-compile and rehost forks of devkitPro maintained code.

    If there's an issue please use the issue tracker, in this case https://github.com/devkitPro/nds-hb-menu/issues

    If there's a feature you want added and you can provide that feature then please submit a PR. In this case to https://github.com/devkitPro/nds-hb-menu/pulls

    I don't want forks hosted in random forum threads. Everybody suffers when things get fragmented and people don't upstream fixes and/or bug reports.

    Thanks for your understanding.
     
  11. spawn1

    spawn1 Newbie

    Newcomer
    1
    May 29, 2019
    United States
    Does anyone else have issues saving progress?

    The save files are there, however Rayman and Shantae won't save my progress for whatever reason. I've tried reinstalling them a couple of times but to no avail.
     
  12. ZeoNet

    ZeoNet Newbie

    Newcomer
    1
    Apr 20, 2012
    United States
    I had the same issue. It might have just been a fluke, but after attempting to boot Shantae from TwilightMenu (which gave a message to the effect of "public save file generated"), all of a sudden it saved just fine when ran from HiyaCFW. I have Rayman installed, but haven't tried to save a game in it; I'll try the above with it, and if it doesn't work I'll post again.

    Unrelated to that, I also ran into the black "system error has occurred" screen on boot, after installing too many titles (mix of TMFH and MakeForwarder). I noticed something interesting: installing one more DSiWare title beyond the maximum working amount gives the black screen, but copying in one more MakeForwarder title causes my DSi to freeze completely on a white screen at boot (so I have to pull the battery).
     
  13. Gericom

    Gericom GBAtemp Maniac

    Member
    10
    Jun 30, 2011
    Netherlands
    Rayman saves fine for me
     
  14. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    Version 0.6.5 beta
    - Save files are now created with a header. This fixes certain apps that will not repair their own save files. This also skips the "data is corrupted" messages.
    - Ability to backup and restore installed titles. (Replaces the old "dump" function.)
    - Game titles will be displayed in the user's language. (Except for Japanese and Chinese, the print console does not support their characters.)
    - Displays a progress bar while running MakeTMD.
    - Displays an error when launched in DS mode.
    - Menus now load in pages, removes item limit.
    - When deleting a title, the empty folders will be deleted. (Replaced rmdir() with remove().)

    I'm calling this a beta because the app went through a bit of a re-write, so almost everything needs to be tested again. It appears to work fine, but I'm sure you guys will find something.
     
  15. MacGab

    MacGab Member

    Newcomer
    1
    Dec 19, 2015
    Poland
    Hello there!

    I found two little details:
    1. When uninstalling a title, there's an extra slash in the path after the Title ID.
    2. When restoring a title from a backup, progress bar overwrites your nickname on the top screen.

    Apart from that, everything works great on my DSi :)
    Thanks for you hard work!
     

    Attached Files:

    • 1.
      1.png
      File size:
      1.2 MB
      Views:
      0
    • 2.
      2.png
      File size:
      759.4 KB
      Views:
      0
    JeffRuLz likes this.
  16. eris3867

    eris3867 Newbie

    Newcomer
    1
    Jun 13, 2019
    Canada
    I would like some help please. I have the .nds dsiware titles but it keeps saying creating 000000.APP...failed HELP??
     
    Last edited by eris3867, Jun 13, 2019
  17. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    Your SD card isn't locked, right? The little tab on the side.
    Also, make sure your "titles" folder isn't set to read-only.
     
    Last edited by JeffRuLz, Jun 14, 2019
  18. eris3867

    eris3867 Newbie

    Newcomer
    1
    Jun 13, 2019
    Canada
    titles folder??
     
  19. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    My mistake the "title" folder, no s. If you set up your hiyacfw emunand correctly it will be on the root of your SD card.
     
  20. eris3867

    eris3867 Newbie

    Newcomer
    1
    Jun 13, 2019
    Canada
    un fortunately my computer is shared and I cannot install 7 zip to access hiyaCFW is there a work around?
     
Loading...