Homebrew [Release][DSi] Title Manager for HiyaCFW

tiduscrying

that butt...
Member
Joined
Jun 12, 2012
Messages
509
Trophies
1
Location
HELL
Website
tiduscrying.wordpress.com
XP
2,491
Country
United States
Hello,
@JeffRuLz. If I install the homebrew menu (https://github.com/devkitPro/nds-hb-menu/releases), the program works correctly but it shows no icon in the DSi Menu. Is it a problem with the homebrew menu (TMFH works correctly with standard DSiWare games)? If so, is there a simple way to put an icon?
Thanks!
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...
 

JeffRuLz

Well-Known Member
OP
Member
Joined
Sep 14, 2018
Messages
161
Trophies
0
XP
2,528
Country
United States
Hello,
@JeffRuLz. If I install the homebrew menu (https://github.com/devkitPro/nds-hb-menu/releases), the program works correctly but it shows no icon in the DSi Menu. Is it a problem with the homebrew menu (TMFH works correctly with standard DSiWare games)? If so, is there a simple way to put an icon?
Thanks!
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.
 
Last edited by JeffRuLz,

Gericom

Well-Known Member
Member
Joined
Jun 30, 2011
Messages
1,381
Trophies
2
Age
25
XP
4,681
Country
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?
 

banjo2

gamer
Member
Joined
May 31, 2016
Messages
2,344
Trophies
1
Location
society
Website
youtube.com
XP
5,125
Country
United States
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?
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.
 

JeffRuLz

Well-Known Member
OP
Member
Joined
Sep 14, 2018
Messages
161
Trophies
0
XP
2,528
Country
United States
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?
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.)
 
  • Like
Reactions: Alexander1970

Gericom

Well-Known Member
Member
Joined
Jun 30, 2011
Messages
1,381
Trophies
2
Age
25
XP
4,681
Country
Netherlands
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.)
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.
 

JeffRuLz

Well-Known Member
OP
Member
Joined
Sep 14, 2018
Messages
161
Trophies
0
XP
2,528
Country
United States
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.
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.
 

Attachments

  • dsi save headers fat12.png
    dsi save headers fat12.png
    27.4 KB · Views: 237
  • Like
Reactions: Alexander1970

Gericom

Well-Known Member
Member
Joined
Jun 30, 2011
Messages
1,381
Trophies
2
Age
25
XP
4,681
Country
Netherlands
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.
Hmm, I should check if the sdk has some information about nand saves.
 
  • Like
Reactions: Alexander1970

realWinterMute

Well-Known Member
Member
Joined
Feb 24, 2011
Messages
117
Trophies
1
XP
557
Country
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: I was able to compile it. It's the latest source and I just ran it once to make sure it works.
It uses the default icon, so if someone wants to make a custom one I can compile it again.

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.
 
  • Sad
Reactions: SylverReZ

spawn1

New Member
Newbie
Joined
May 29, 2019
Messages
2
Trophies
0
Age
23
XP
79
Country
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.
 

ZeoNet

New Member
Newbie
Joined
Apr 20, 2012
Messages
2
Trophies
0
XP
7
Country
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.
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).
 

Gericom

Well-Known Member
Member
Joined
Jun 30, 2011
Messages
1,381
Trophies
2
Age
25
XP
4,681
Country
Netherlands
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.
Rayman saves fine for me
 

JeffRuLz

Well-Known Member
OP
Member
Joined
Sep 14, 2018
Messages
161
Trophies
0
XP
2,528
Country
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.
 

MacGab

Member
Newcomer
Joined
Dec 19, 2015
Messages
11
Trophies
0
XP
105
Country
Poland
but I'm sure you guys will find something.
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!
 

Attachments

  • 1.png
    1.png
    1.2 MB · Views: 258
  • 2.png
    2.png
    759.4 KB · Views: 258
  • Like
Reactions: JeffRuLz

eris3867

Member
Newcomer
Joined
Jun 13, 2019
Messages
5
Trophies
0
Age
22
XP
33
Country
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,

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: