[Release][DSi] Title Manager for HiyaCFW

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

  1. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    You don't need 7-zip. Plug the card into your computer and open it from "This PC".
     
  2. eris3867

    eris3867 Newbie

    Newcomer
    1
    Jun 13, 2019
    Canada
    I cannot install hiyaCFW that is what I am saying. when I poen the hiyaCFW helper I get the error "you mut have 7zip installed
     
    Last edited by eris3867, Jun 14, 2019
  3. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    If you can install twilight menu you can run dsiware from that instead, you won't need TMFH.
    Or ask the owner of the computer to install 7-zip.

    Since this isn't a problem with TMFH I can't really help you.
     
    eris3867 likes this.
  4. Sunuku

    Sunuku ಠ_ಠ

    Member
    3
    Oct 6, 2018
    Sweden
    Memelandia AKA MemeWorld
    Bro, update to the latest version.
     
  5. ederenzi78

    ederenzi78 Advanced Member

    Newcomer
    5
    Dec 14, 2012
    Italy
    Great release! I tried it and it seems OK. @JeffRuLz Could you add the ability to browse the SD card when installing titles? ATM the program can only see the "dsi" folder without even reading its subdirectories.
    Thank you very much!
     
    JeffRuLz likes this.
  6. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    Version 0.6.8
    - Apps can now be installed from anywhere on the SD card.
    - Ability to install decrypted .cia files.
    - Added some color to the menus.

    You can now install decrypted .cia format dsiware. Most files you find floating around are encrypted and need to be decrypted first with a hacked 3DS and GodMode9.
     
    zfreeman, MacGab and Sunuku like this.
  7. Sunuku

    Sunuku ಠ_ಠ

    Member
    3
    Oct 6, 2018
    Sweden
    Memelandia AKA MemeWorld
    Perfect!
     
  8. MacGab

    MacGab Member

    Newcomer
    1
    Dec 19, 2015
    Poland
    Hai, bughunter here again. :wub:

    This time I've found an official title that can glitch text in TMFH menu, froze it altogether and is impossible to restore after backing up. This title is "Art Style - PiCOPiCT (Europe, Australia)" (MD5: 3b2a5638ef775afc815a5d1538cf5fee) and the reason to why it is so problematic might be that it contains a newline character in its name (this is only my assumption as I haven't looked in your code).

    Here are steps to reproduce those glithes in TMFH v0.6.8 (at least on my 1.4.5E DSi with unlaunch v1.8):
    1. Launch TMFH from unlaunch filemenu.
    2. Select "Install", navigate to the .nds file and install it.
    3. Launch the game from DSi menu to let it create its "public.sav" file.
    4. Launch TMFH again.
    5. Select "Titles", navigate to "PiCOPiCT" and select "Backup" - try doing this three times.
    5.1. First backup will be created successfully.
    5.2. Second backup will show error message: https://i.imgur.com/JXsus70.png
    5.3. Third backup will freeze like this: https://i.imgur.com/5eJncUe.png
    6. Launch TMFH again, navigate to "Restore" and delete everything.
    7. Select "Titles", navigate to "PiCOPiCT" and select "Backup" - this time do it only once.
    8. Go back to main menu and select "Restore" - you will notice that the game name is corrupted: https://i.imgur.com/F3CYoPY.png
    9. After pressing B you will see glitched menus: https://i.imgur.com/bKDcix5.png https://i.imgur.com/u0x2sQm.png (they still work as intended, only text is glitched)
    10. Power off and launch TMFH again.
    11. Select "Titles", navigate to "PiCOPiCT" and delete it.
    12. Go back to main menu, select "Restore", select "PICOPICT-KAPV" and try to restore it--you will get a "Failed to restore backup." error.
     
    alexander1970 likes this.
  9. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    I appreciate the detailed bug report!
    I think I found the problem. I'm usually mindful about this kind of thing, but these slipped by. These file path strings are missing an end character. After changing the "+ 1" to a larger value I could backup 5 times in a row with no issues.
    I made a silent update, redownload it from github and make sure it works for you.

    [​IMG]
     
    zfreeman, MacGab and alexander1970 like this.
  10. MacGab

    MacGab Member

    Newcomer
    1
    Dec 19, 2015
    Poland
    Yup, it works fine now.
    Thanks!
     
    alexander1970 likes this.
  11. ederenzi78

    ederenzi78 Advanced Member

    Newcomer
    5
    Dec 14, 2012
    Italy
    Hi @JeffRuLz
    With 0.6.8.1 everytime I click Install I can't see any file and the only action I can do is press B to go back. It worked fine in 0.6.5 beta.

    BTW. In order to correctly calculate the free space for user applications, you could simply apply the formula (in blocks): 1024 - <space occupied by every app in 3004 folder> and considering that 1 block = 128 kB (kiloByte). Beware that block count doesn't work in HiyaCFW!! If you open Data Management from the DSI Settings in HiyaCFW, the total free block count is correct but the block count for every installed app is wrong as it's roughly a half of what it should be.

    BTW2. In your app there is a free block count control (needed only for 3004 apps I think). A useful control could also be the one related to the maximum number of installed apps (user or system), which should be 39.

    Thanks!
     
  12. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    This seems to be a problem with twilight menu. I normally run it from unlaunch or the main menu so I didn't notice until recently.

    It seems like it's more complicated than that. The app already subtracts the non-system app folders from the max nand size. However if I install a bunch of games as system titles, TMFH will say that I have a ton of space left but Data Management says that I only have about 3 blocks remaining.
    I'll have to experiment more, but I think dsi roms have a flag for if it's a system app or not. It might be checking for that instead of which folder it's installed in.

    Edit: I'm over-thinking this. I was way off with the max block size, I thought it was much higher than 1024. Once I set it to that, subtracted only the 3004 folder and rounded to the nearest block, now it's spot on!
    Thanks a ton for the information! I'll make a new release soon when I get time.

    There is already a check for that. You will get a warning if you try to install a game when there isn't a free space on the menu. But this isn't a problem for people who use twilight menu exclusively, so there is still an option to install it anyway.
     
    Last edited by JeffRuLz, Jun 26, 2019
    alexander1970 likes this.
  13. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    Version 0.7.0
    - Nand free space calculation is now accurate (or very close).
    - Fixed the broken file browser when ran with TWiLight Menu.
     
    zfreeman and alexander1970 like this.
  14. alexander1970

    alexander1970 GBA Fan

    Member
    10
    Nov 8, 2018
    Austria
    Austria
    Hello.:)

    I am using TWiLight v8.5.0 and got this Error message:


    P1050739.JPG


    But it WORKS perfect with Unlaunch 1.8.

    Thank you. :)
     
  15. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    Turn on Direct boot for TMFH.
     
    alexander1970 likes this.
  16. alexander1970

    alexander1970 GBA Fan

    Member
    10
    Nov 8, 2018
    Austria
    Austria
    Thank you.:)

    This works on my DSi XL.
    On the DSi not.After 4-5 seconds white Screens it sends me back to TWiLight Menu.:unsure:
     
  17. JeffRuLz
    OP

    JeffRuLz Advanced Member

    Newcomer
    4
    Sep 14, 2018
    United States
    Make sure both DSis are using the same TWiLight Menu versions and settings.
     
    alexander1970 likes this.
  18. alexander1970

    alexander1970 GBA Fan

    Member
    10
    Nov 8, 2018
    Austria
    Austria
    Thank you.They where always updated together in exact the same way.:)
    It is ok,it works with Unlaunch and that should do it.
     
  19. alexander1970

    alexander1970 GBA Fan

    Member
    10
    Nov 8, 2018
    Austria
    Austria
    Hello.:)

    @Robz8 updated TWilight to v8.5.1:

    Now it works also on the 3rd DSi.

    @JeffRuLz Thank you for your help.:)
     
    JeffRuLz likes this.
  20. ederenzi78

    ederenzi78 Advanced Member

    Newcomer
    5
    Dec 14, 2012
    Italy
    @JeffRuLz Thanks again. Free block count seems OK and the app works correctly if run from the Homebrew Browser app (installed using TMFH itself).
     
    JeffRuLz likes this.
Loading...