Homebrew [DISCUSSION] New Super Ultimate Injector (NSUI)

bmaupin

Member
Newcomer
Joined
Mar 16, 2021
Messages
7
Trophies
0
Age
124
XP
117
Country
Antarctica
While @bmaupin 's above method for fixing the banner problem worked for the most part, I'm now getting this error when trying to generate covers for some GBC games:

View attachment 253407

Here's my best guess:

The game database for NSUI seems to be hardcoded into the .exe file. If you calculate the checksum for the ROM, e.g.

Code:
$ md5sum ~/Desktop/Legend\ of\ Zelda\,\ The\ -\ Oracle\ of\ Seasons\ \(USA\,\ Australia\).gbc
f2dc6c4e093e4f8c6cbea80e8dbd62cb  /home/bryan/Desktop/Legend of Zelda, The - Oracle of Seasons (USA, Australia).gbc

You can then search the .exe file for that game entry, e.g.

Code:
$ strings New\ Super\ Ultimate\ Injector\ for\ 3DS.exe | grep -B 2 -A 1 -i f2dc6c4e093e4f8c6cbea80e8dbd62cb
   <game name="Legend of Zelda, The - Oracle of Seasons (USA)">
       <description>Legend of Zelda, The - Oracle of Seasons (USA)</description>
       <rom name="Legend of Zelda, The - Oracle of Seasons (USA).gbc" size="1048576" crc="D7E9F5D7" md5="F2DC6C4E093E4F8C6CBEA80E8DBD62CB" sha1="BA1268290FB2B1B70505D2D7B5825FC8A4816A4B" status="verified"/>
   </game>

Note that the game is listed as "Legend of Zelda, The - Oracle of Seasons (USA)", but that entry no longer exists in the libretro thumbnails database, which instead has it listed under "Legend of Zelda, The - Oracle of Seasons (USA, Australia)". So I'm guessing NSUI is trying to fetch the file with the old name.

It's too bad really, because you can see that the game database seems to be formatted as XML. If it was an external file we could easily change it. It's a very odd decision to hardcode it into the .exe.

I suppose you could try beta 28 and see if it's fixed there.

If not, your best bet is to just download it manually and click Load image from file.

It's pretty easy to get the files from the source:

1. Go to https://github.com/libretro-thumbnails and pick the specific repo for the system (e.g. Nintendo_-_Game_Boy_Color)
2. Click Go to file and start typing the name of the game
3. Click the one under Named_Titles > Download

So in your case, your file is here: https://raw.githubusercontent.com/l... The - Oracle of Seasons (USA, Australia).png
 
Last edited by bmaupin,

hn9090

Member
Newcomer
Joined
Mar 12, 2021
Messages
12
Trophies
0
Age
28
XP
111
Country
United States
Here's my best guess:

The game database for NSUI seems to be hardcoded into the .exe file. If you calculate the checksum for the ROM, e.g.

Code:
$ md5sum ~/Desktop/Legend\ of\ Zelda\,\ The\ -\ Oracle\ of\ Seasons\ \(USA\,\ Australia\).gbc
f2dc6c4e093e4f8c6cbea80e8dbd62cb  /home/bryan/Desktop/Legend of Zelda, The - Oracle of Seasons (USA, Australia).gbc

You can then search the .exe file for that game entry, e.g.

Code:
$ strings New\ Super\ Ultimate\ Injector\ for\ 3DS.exe | grep -B 2 -A 1 -i f2dc6c4e093e4f8c6cbea80e8dbd62cb
   <game name="Legend of Zelda, The - Oracle of Seasons (USA)">
       <description>Legend of Zelda, The - Oracle of Seasons (USA)</description>
       <rom name="Legend of Zelda, The - Oracle of Seasons (USA).gbc" size="1048576" crc="D7E9F5D7" md5="F2DC6C4E093E4F8C6CBEA80E8DBD62CB" sha1="BA1268290FB2B1B70505D2D7B5825FC8A4816A4B" status="verified"/>
   </game>

Note that the game is listed as "Legend of Zelda, The - Oracle of Seasons (USA)", but that entry no longer exists in the libretro thumbnails database, which instead has it listed under "Legend of Zelda, The - Oracle of Seasons (USA, Australia)". So I'm guessing NSUI is trying to fetch the file with the old name.

It's too bad really, because you can see that the game database seems to be formatted as XML. If it was an external file we could easily change it. It's a very odd decision to hardcode it into the .exe.

I suppose you could try beta 28 and see if it's fixed there.

If not, your best bet is to just download it manually and click Load image from file.

It's pretty easy to get the files from the source:

1. Go to https://github.com/libretro-thumbnails and pick the specific repo for the system (e.g. Nintendo_-_Game_Boy_Color)
2. Click Go to file and start typing the name of the game
3. Click the one under Named_Titles > Download

So in your case, your file is here: https://raw.githubusercontent.com/libretro-thumbnails/Nintendo_-_Game_Boy_Color/master/Named_Titles/Legend of Zelda, The - Oracle of Seasons (USA, Australia).png


Very interesting, your explanation makes sense. Also I just tried it again on beta 28 but it unfortunately still seems to have the same problem:

Capture2.PNG


Also thank you though for providing me with the source image :), at least we still have access to the database so we can just manually add the image ourselves.
 

FrosteAto

New Member
Newbie
Joined
Mar 26, 2021
Messages
2
Trophies
0
Age
21
XP
35
Country
United Kingdom
Does anyone know if there is a way to backup/restore save files of converted GBA games, and move them to another 3ds?

Thanks
 

FrosteAto

New Member
Newbie
Joined
Mar 26, 2021
Messages
2
Trophies
0
Age
21
XP
35
Country
United Kingdom
Does anyone know if there is a way to backup/restore save files of converted GBA games, and move them to another 3ds?

Thanks

Nevermind, I figured out how to do it with GodMode9 and VC dumping. However, it only worked for one game, leaving the other heavily corrupted. If anyone has a reliable method please speak up.
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,470
Trophies
2
XP
15,033
Country
Germany
  • Like
Reactions: FrosteAto

KayaGoldWarrior

New Member
Newbie
Joined
Mar 31, 2021
Messages
1
Trophies
0
Age
23
XP
37
Country
Germany
Try to download "mshtml.dll" and copy in the "C:\windows\System32" folder

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

Looking in the files i found the problem for the missing foot in the GBA banner, the 3D model of the banner have missing the footer, the texture are there but not the 3d model of the footer.

I corrected it by editing the 3D model, and i added color to the footer and tried banner with logo.
View attachment 237544 View attachment 237545

It has been a while since the last post about the missing footer banner for GBA games, so I'm not sure whether this is still a thing or not.

Nevertheless, after repacking some of the cias, I recognized that the language of all banner models is set to USA_EN, therefore it won't appear on European systems at all. If the cia is manually repacked with adjusted models (e.g. EUR_GE for German) everything works fine. This can be achieved with tools like ba-GUI-nnertool (Can't hyperlink since I'm new. You'll find a GBATemp thread if you google it). For further instructions, relate to the HOW TO.pdf in the downloaded archive (last two pages). However, this process is tedious and takes a fair amount of time.

I'm aware that @Asdolo is pretty busy rn, however this might help to fix the issue in the near future.
 

Attachments

  • HNI_0081.JPG
    HNI_0081.JPG
    55.3 KB · Views: 263
  • HNI_0082.JPG
    HNI_0082.JPG
    49.7 KB · Views: 347

renatotec

Member
Newcomer
Joined
May 25, 2019
Messages
19
Trophies
0
XP
385
Country
Brazil
Have you already tried pressing Start + X + R ?

Thank you for your answer. Yes, I've tried, only saves on exit, and when I return to the game, start from this "exit save" state. Other snes titles that I have installed, have the option to save in the menu on the bottom screen
 

Macuelos

Member
Newcomer
Joined
Apr 2, 2021
Messages
10
Trophies
0
Age
30
XP
51
Country
Netherlands
I'm more of a casual player than someone who knows his hacks, so apologies if I'm asking stupid question, but

I'm having some problems with NSUI when I try to work it for SNES games. After some ordeals I finally got everything ready yesterday, a refurbished N2DS XL, SD card, and what I assume is the most common CFW. I had already made some injects for GBA and SNES games last weekend, and installed them on the system yesterday. While the GBA games seem fine (haven't checked them all, but the ones I did worked without a hitch), only 1 of the 7 SNES games I prepared launched into the SNES Virtual Console. The others all booted into a black screen and didn't respond to anything but a forced shutdown.

I know at least several titles are able to run, because I've seen videos of people with the game's title screen as an icon on their home screen and a few of the games were launched into the SNES VC in the videos as well, so I'm not sure what my problem is here.
When I try to create the .cia file for the other six games, I get the message that NSUI is unable to find it in its databases. I've tried to use Ultimate SNES VC Injector, which mentions (for the same game file) the game is not found in database, but it seems to be supported.

What is my problem here? Did I get my files from the wrong source, or is there something else causing my N2DS not booting these games correctly? I think I read something about headers somewhere, but I didn't have the time to read through some 80-odd forum pages to discover if my problem has been answered elsewhere already.
 

renatotec

Member
Newcomer
Joined
May 25, 2019
Messages
19
Trophies
0
XP
385
Country
Brazil
I'm more of a casual player than someone who knows his hacks, so apologies if I'm asking stupid question, but

I'm having some problems with NSUI when I try to work it for SNES games. After some ordeals I finally got everything ready yesterday, a refurbished N2DS XL, SD card, and what I assume is the most common CFW. I had already made some injects for GBA and SNES games last weekend, and installed them on the system yesterday. While the GBA games seem fine (haven't checked them all, but the ones I did worked without a hitch), only 1 of the 7 SNES games I prepared launched into the SNES Virtual Console. The others all booted into a black screen and didn't respond to anything but a forced shutdown.

I know at least several titles are able to run, because I've seen videos of people with the game's title screen as an icon on their home screen and a few of the games were launched into the SNES VC in the videos as well, so I'm not sure what my problem is here.
When I try to create the .cia file for the other six games, I get the message that NSUI is unable to find it in its databases. I've tried to use Ultimate SNES VC Injector, which mentions (for the same game file) the game is not found in database, but it seems to be supported.

What is my problem here? Did I get my files from the wrong source, or is there something else causing my N2DS not booting these games correctly? I think I read something about headers somewhere, but I didn't have the time to read through some 80-odd forum pages to discover if my problem has been answered elsewhere already.

I don't know if this can help you, but all my files comes from "no-intro" rom pack and works well
 

Macuelos

Member
Newcomer
Joined
Apr 2, 2021
Messages
10
Trophies
0
Age
30
XP
51
Country
Netherlands
I have managed to get some more SNES games to work, thanks to checking the NSUI database and CRC for the files. Now I've managed to find some more problems that I'm unable to work out.

Several games give me the first attached image on the bottom screen upon launch. Strangely enough, this seems to only happen on the European versions of games (Lufia II, Terranigma), despite the fact that my N2DS XL is a European system. I've tried changing the game's region on the system by using Luma Locale Switcher, but that didn't do anything as far as I could tell.
Considering the two games I mentioned have problems with the North American region (either by being bugged or not existing at all), I would like to fix whatever is happening to the European files rather than switching to a different region's file altogether.

Aside from this more general problem, I've also met with two errors on specific games.

Illusion of Gaia (US, second image) boots as normal, though it has no sound. After moving past the title screen, the displayed main menu is displayed, where the selected line is just black. What is supposed to happen is the selected line is black while showing white/silver text, but that evidently doesn't happen. After selecting the option to start the game, the screen goes full black and nothing happens.

Bahamut Lagoon (JP, byuu/Near patch, third image) boots as normal as well, and I believe it also has sound. When showing the intro credits, however, the text is all jumbled up as pictured above. After showing the entire intro or skipping it by pressing any key, the main menu does not load, instead showing a black screen. I imagine this is because the recent patch makes the game file a lot larger than it originally was and changed some things with fonts as well, but I was hoping to play this version rather than the older DeJap version.

I don't know if this can help you, but all my files comes from "no-intro" rom pack and works well

Unfortunately, while the 2021 No-Intro pack has the right CRCs, I still sometimes encounter problems as detailed above.
 

Attachments

  • 2021-04-03_07-59-18.148_bot.png
    2021-04-03_07-59-18.148_bot.png
    5.6 KB · Views: 274
  • 2021-04-03_07-58-20.890_top.png
    2021-04-03_07-58-20.890_top.png
    22.7 KB · Views: 237
  • 2021-04-03_07-57-04.004_top.png
    2021-04-03_07-57-04.004_top.png
    108.8 KB · Views: 256
Last edited by Macuelos,

Macuelos

Member
Newcomer
Joined
Apr 2, 2021
Messages
10
Trophies
0
Age
30
XP
51
Country
Netherlands
I have managed to get some more SNES games to work, thanks to checking the NSUI database and CRC for the files. Now I've managed to find some more problems that I'm unable to work out.

Well, I've managed to solve some of my issues. Illusion of Gaia and Terranigma are working now, thanks to a post by Feffe detailing the use of DarkAkuma's SFROM tool. Through there, I found some patches, including Robin64's, that helped me prepare the cia files for these games to install and use on my N2DS XL. I'm sure when I look for more games to include on my system, it'll be a great help.

Unfortunately this did not solve the problem for Lufia II (Europe) or Bahamut Lagoon.
The compatibility spreadsheet list mentions to use NTSC games whenever possible, but Lufia II has several annoying bugs in the NTSC release that make me really want to skip that version and go for the European version. I am aware that there are hacks that solve these issues, but my problem with those hacks is that they also change things that (to my knowledge) were not in any version of the game.
I suppose I could use something like the RetroArch or SNES9x forwarders and have it work fine, but I'd much rather have it be consistent in the SNES VC shell.

On Robin64's Tool Patch Pack page, it even mentions the following (dated 19-10-2019):
"This update adds support for European converted games on 3DS Virtual Console. Note that you will need SFROM Tool 1.1.3.10 or higher for these patches to function."
Now, I have the latest version of SFROM (1.2.1.1), but when I follow the steps I also used for Terranigma, there are no patches available other than the SlowROM Check Fix. I don't think I checked the fix the last time I converted the game to .cia, so that's something to try, but I am very curious about the 2019 comment that seems to imply a blanket solution for all European SNES games.

Bahamut Lagoon, meanwhile, can't receive the new translation patch. This patch is a .bps file, which doesn't work with the SFROM tool. All it seems to do is shake up the innards a bit and leaving the actual ROM alone. Really don't know what to do on that front, I heard the patch was made a .bps file because it was larger than .ips could handle, so that complicates things...

Anyone have any smart ideas?
 

tedioferreira

Member
Newcomer
Joined
Nov 13, 2015
Messages
11
Trophies
0
Age
29
XP
185
Country
Brazil
Hello, my friend has an old3ds and everytime I build a .cia for her she can't install it :(
She opens the fbi and the file shows as 0.00 b as shown in the picture attached

I build the .cia for SNES using the beta 27, with the SNES9x for Old 3Ds injection method!
What could be wrong?
Thank you so much!
 

Attachments

  • 20210404_141311.jpg
    20210404_141311.jpg
    1.1 MB · Views: 286

BETA215

Member not found
Member
Joined
Dec 30, 2014
Messages
359
Trophies
0
Location
they/them | 0xDEAD brain
XP
1,730
Country
Argentina
Hello, my friend has an old3ds and everytime I build a .cia for her she can't install it :(
She opens the fbi and the file shows as 0.00 b as shown in the picture attached

I build the .cia for SNES using the beta 27, with the SNES9x for Old 3Ds injection method!
What could be wrong?
Thank you so much!
The only time that this happened to me was because the SD card was fake. It displayed as being a 32GB one and, after testing it with h2testw, it actually was an 8gb card. It must be fake, so test it with h2testw to be sure. If it is, she'll have to buy a new one.
 
Last edited by BETA215,

MisterMarbles

Member
Newcomer
Joined
Jun 5, 2016
Messages
11
Trophies
0
Age
44
XP
304
Country
United States
Hello, my friend has an old3ds and everytime I build a .cia for her she can't install it :(
She opens the fbi and the file shows as 0.00 b as shown in the picture attached

I build the .cia for SNES using the beta 27, with the SNES9x for Old 3Ds injection method!
What could be wrong?
Thank you so much!

You may want to try and ensure you are using an extracted file, like one that resides outside of a zip folder. Or ensure the file you are using is also not 0 bytes.
 

tedioferreira

Member
Newcomer
Joined
Nov 13, 2015
Messages
11
Trophies
0
Age
29
XP
185
Country
Brazil
The only time that this happened to me was because the SD card was fake. It displayed as being a 32GB one and, after testing it with h2testw, it actually was an 8gb card. It must be fake, so test it with h2testw to be sure. If it is, she'll have to buy a new one.

You may want to try and ensure you are using an extracted file, like one that resides outside of a zip folder. Or ensure the file you are using is also not 0 bytes.

Tested the SD and it's okay, she can install other .cia files fine, just the SNES .cia with this injection method aren't working :(
Also the files are unziped and not 0 bytes ^^

But thank you ^^
 

BETA215

Member not found
Member
Joined
Dec 30, 2014
Messages
359
Trophies
0
Location
they/them | 0xDEAD brain
XP
1,730
Country
Argentina
Tested the SD and it's okay, she can install other .cia files fine, just the SNES .cia with this injection method aren't working :(
Also the files are unziped and not 0 bytes ^^

But thank you ^^
How is she transferring the files to the SD? If it's wireless that could be the issue then. I'm out of clues tbh.
 

Macuelos

Member
Newcomer
Joined
Apr 2, 2021
Messages
10
Trophies
0
Age
30
XP
51
Country
Netherlands
Tested the SD and it's okay, she can install other .cia files fine, just the SNES .cia with this injection method aren't working :(
Also the files are unziped and not 0 bytes ^^

But thank you ^^

Since you were stumped by this, I decided to check it out on my old 2DS. Looked up the CRC32 for Top Gear (NTSC) on DAT-o-MATIC and used to find the game file. Extracted the file from the zip, threw it into NSUI beta 27, set the injection method to SNES9x for Old 3DS Forwarder and let it build a .cia file. After putting it on my old 2DS and opening FBI, I was able to install it (see attached image) and can confirm it runs.

Not sure what your problem is here. If your game files are extracted when you're building the .cia file and you've got the right CRC32 for the NSUI database (not sure if this is a hard requirement for the SNES9x forwarder), I honestly can't imagine what's going wrong.

Are the oter .cia files your friend is installing actual 3DS (or DSi) games, or are they other injected games, like NES or GBA games?
 

Attachments

  • 2021-04-05_09-34-32.655_top.png
    2021-04-05_09-34-32.655_top.png
    21.7 KB · Views: 217

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: yawn