Homebrew [TOOL] .nds NO-INTRO roms to DSiWARE

  • Thread starter Thread starter fwannmacher
  • Start date Start date
  • Views Views 19,308
  • Replies Replies 54
  • Likes Likes 10

fwannmacher

Active Member
Newcomer
Joined
Mar 23, 2016
Messages
37
Reaction score
36
Trophies
0
Age
38
XP
526
Country
Brazil
Hello everyone,

I have created a simple linux tool to convert .nds NO-INTRO roms to the DSiWARE format used by HiyaCFW. I did it because downloading the DSiWARE to my 3DS and copying it to my DSi was really boring :-P

The usage is very simple:
./convert_to_dsiware.bash ".nds file name"

For those who want to run this tool on Windows, just follow this instructions to setup bash in your system: https://www.lifewire.com/how-to-run-the-bash-command-line-in-windows-10-4072207

The tool can be found in my Github https://github.com/fwannmacher/nds2dsiware

For the roms... well you can search for NO-INTRO DSi DLC in the well known 3DS iso site.

Enjoy!

Windows version thanks to @redunka attached below.
 

Attachments

Last edited by fwannmacher,
but im having a problem every time i copy to the content to my sd card and then put it in the DSi. the content just disappears.

its like the dsi knows that ive copied something which i shouldnt have copied?


@fwannmacher i think it cause it doesn't create the title.tmd
 
Last edited by Flame,
  • Like
Reactions: MrMcTiller
but im having a problem every time i copy to the content to my sd card and then put it in the DSi. the content just disappears.

its like the dsi knows that ive copied something which i shouldnt have copied?


@fwannmacher i think it cause it doesn't create the title.tmd

It should create the tmd. I'll check.

But, maybe, you have to change the permissions of the maketmd binary.

--------------------- MERGED ---------------------------

One thing I forgot to mention: a screen saying that the save is corrupt will appear in the first time the game is launched.
 
Neat! :)
Would it be possible to also generate a banner.sav for games that use it?
By the way, you don't really have to make a fat12 image for saves, a zerofilled file of proper size should be enough.
 
Neat! :)
Would it be possible to also generate a banner.sav for games that use it?
By the way, you don't really have to make a fat12 image for saves, a zerofilled file of proper size should be enough.
I tried doing it with a zero filled file and it hasn't worked for me.

Could you give me the name of a game that needs the banner.sav?
 
I tried doing it with a zero filled file and it hasn't worked for me.

Could you give me the name of a game that needs the banner.sav?
Brain Age Express Sudoku or Zenonia use banner.sav, some other games too.
You may already know, the size of banner.sav is always 0x4000 and whether it's used or not is determined by bit2 of 0x1BF.
XNPvo6I.jpg
The zerofilled file actually should've worked as long as the size is correct. :unsure:
When the game gives you that error about corrup save, it means that it didn't recognize the save as correct either way.
I remember that I was able to make correct fat12 images that games accepted without errors with WinImage, default settings, but cluster size had to be 512 bytes.
 
It should create the tmd. I'll check.

But, maybe, you have to change the permissions of the maketmd binary.

--------------------- MERGED ---------------------------

One thing I forgot to mention: a screen saying that the save is corrupt will appear in the first time the game is launched.

im using ubuntu 16.04

that why i was having the problem missing some stuff
 
Last edited by Flame,
i


im using ubuntu 16.04

that why i was having the problem missing some stuff
So, it's working now?

--------------------- MERGED ---------------------------

Brain Age Express Sudoku or Zenonia use banner.sav, some other games too.
You may already know, the size of banner.sav is always 0x4000 and whether it's used or not is determined by bit2 of 0x1BF.
XNPvo6I.jpg
The zerofilled file actually should've worked as long as the size is correct. :unsure:
When the game gives you that error about corrup save, it means that it didn't recognize the save as correct either way.
I remember that I was able to make correct fat12 images that games accepted without errors with WinImage, default settings, but cluster size had to be 512 bytes.
I'll take a look on banner.save and update the script ;-)
 
What if you try this for creating save files?
Code:
mkfs.msdos -v -F 12 -s 1 -D 0 -r 224 public.sav
Do games still complain that save is corrupt with this?

P.S. There's actually another save type out there, private.sav, but I don't know if it'd be worth adding.
It's used almost exclusively by system titles, the only non-system title that uses it is web browser, I think?
Anyways, the size for it is stored in ROM right next to public.sav's size, at 0x23C.
 
Last edited by redunka,
  • Like
Reactions: fwannmacher
What if you try this for creating save files?
Code:
mkfs.msdos -v -F 12 -s 1 -D 0 -r 224 public.sav
Do games still complain that save is corrupt with this?

P.S. There's actually another save type out there, private.sav, but I don't know if it'd be worth adding.
It's used almost exclusively by system titles, the only non-system title that uses it is web browser, I think?
Anyways, the size for it is stored in ROM right next to public.sav's size, at 0x23C.
I get the save file size from the rom. The problem is the minimum file size that the mkfs accepts. And if I can remember it is 35KB. That way I have to truncate the file for small saves.

Another thing is that the game usually creates a file inside the fat12 filesystem. So it will always alert the corruption because that file doesn't exist.
 
I get the save file size from the rom. The problem is the minimum file size that the mkfs accepts. And if I can remember it is 35KB. That way I have to truncate the file for small saves.

Another thing is that the game usually creates a file inside the fat12 filesystem. So it will always alert the corruption because that file doesn't exist.
Yeah, I understand about size, I mean using this command before truncating.
When mkfs formats large file to fat12, it may set some values incorrect for that format.
This example in my previous post sets sectors per cluster to 512, root directory entries to 224 and drive number to 0.
I tested save file formatted with these parameters, and the game didn't give me usual corruption error.
But I'd still like to confirm if it works for others too. :P
 
The public.sav of "Shantae - Risky's Revenge" created by this tool can't work.
 

Site & Scene News

Popular threads in this forum