Homebrew [DISCUSSION] New Super Ultimate Injector (NSUI)

Robin64

Member
Newcomer
Joined
May 4, 2009
Messages
23
Trophies
0
XP
317
Country
Man, I love absolutely everything about this program, and I've been using it quite extensively for the past few days since DarkAkuma added .bin generation to SFROM Tool.

I just have one gripe, and that's that the banners it generates are really not accurate to official Nintendo VC releases. Is there anything out there that can generate them to look like Nintendo's ones, or am I going to have to dive into Photoshop and do it the long way?

Edit: Found this, going to give it a go.
 
Last edited by Robin64,

Giovi93

New Member
Newbie
Joined
Oct 24, 2019
Messages
3
Trophies
0
Age
31
XP
50
Country
Italy
Hi, i'm giovanni, i have a new 3ds. After injection and install a pokemon game i have this error, who know the prloblem? sorry for my english
 

Attachments

  • 20191024_152958.jpg
    20191024_152958.jpg
    694.1 KB · Views: 467

retrospect

Well-Known Member
Member
Joined
May 17, 2008
Messages
564
Trophies
1
XP
1,140
Country
I'm struggling to make any working CIAs. I've been reading and I've read a bit about seeds. I don't have those. Do I need them? All I'm doing is making the CIA, installing it with FBI and then trying to run it. Each one shows the 3DS title and then goes to an error. This is the error I get for SNES VC CIAs:


Exception Occurred.
Type: 1
fsr: 0x00000805
far: 0x0e000000
fpexc: 0x00000000
fpinst: 0x00000000
fpinst2:0x00000000
...


And then some more numbers. Am I doing it wrong?
 
D

Deleted-236924

Guest
I'm struggling to make any working CIAs. I've been reading and I've read a bit about seeds. I don't have those. Do I need them? All I'm doing is making the CIA, installing it with FBI and then trying to run it. Each one shows the 3DS title and then goes to an error. This is the error I get for SNES VC CIAs:


Exception Occurred.
Type: 1
fsr: 0x00000805
far: 0x0e000000
fpexc: 0x00000000
fpinst: 0x00000000
fpinst2:0x00000000
...


And then some more numbers. Am I doing it wrong?

You don't need seeds unless you were installing official VCs.

At the risk of asking the obvious, have you checked that the files weren't getting corrupted on transfer?
 

suphaninjap221

Member
Newcomer
Joined
Aug 13, 2019
Messages
12
Trophies
0
Age
21
XP
61
Country
United States
Thank you for this, however, I have a problem, Whenever I try to export a CIA with a ROM hack patch, it gives me an error saying "invalid patch file format"
 
D

Deleted-236924

Guest
I did notice that a 256kb ROM can become an 13MB CIA. Is that normal? It seems big.

It probably is, the emulator in the VC takes up some space on its own. For instance, GB VC is 9.7 MB for a 512 KB rom.

For GBA VC, the cia isn't much bigger than the rom, because there isn't actually a lot of software that goes with it, the 3DS just passes the rom over to AGB FIRM and it handles the rest. For the other VC though, there needs to be an actual emulator, and the emulator is bundled in each individual app (which is a bit silly, but I digress.)

I'm not sure about the crashes, though. I know that SNES VC wouldn't work on O3DS, but as far as I know you're using a N3DS, so it can't be that.
 

retrospect

Well-Known Member
Member
Joined
May 17, 2008
Messages
564
Trophies
1
XP
1,140
Country
I did read somewhere that the firmware updates from game carts can be different to those from the internet (in particular something to do with the GBA firmware), and my N3DS was most recently updated via a cart. I wonder if it's missing something that it needs for SNES VC.
 

lone_wolf323

Well-Known Member
Member
Joined
May 27, 2011
Messages
5,481
Trophies
2
XP
4,920
Country
Canada
I did read somewhere that the firmware updates from game carts can be different to those from the internet (in particular something to do with the GBA firmware), and my N3DS was most recently updated via a cart. I wonder if it's missing something that it needs for SNES VC.
game cart updates dont include the side apps like the music player or internet browser. Dont think it affects anything like this.
 
  • Like
Reactions: Deleted-236924

retrospect

Well-Known Member
Member
Joined
May 17, 2008
Messages
564
Trophies
1
XP
1,140
Country
I tried a SNES CIA that I didn't make and it gave a different kind of error. This error looks like a Luma3DS one, and it says:

An exception occurred
Processor: Arm11 (core 1)
Exception type: undefined instruction
Current process: loader (0000000000000000)
...


And then numbers. Is this any more informative?
 

retrospect

Well-Known Member
Member
Joined
May 17, 2008
Messages
564
Trophies
1
XP
1,140
Country
I have a thought. Are there are freely distributable SNES ROMs (like hobbyist games)? If so, I could download it, make it into a CIA, and get its SHA-1 hash. Someone else could do the same and we could compare hashes. That way I'll know if the CIA is good or bad.
 

zener88

Member
Newcomer
Joined
Jan 16, 2019
Messages
9
Trophies
0
Age
36
XP
86
Country
Spain
Hi! I have a problem when creating a Pokemon Sapphire into my 3DS. The issue is that the real time clock is not working. Everytime I start the game I get a message saying that the internal batery is empty. Strangly, when I create a Pokémon Ruby or Emerald CIA, the real time clock works perfectly. I'm using a spanish rom and I have try with differents roms but still doesn't work. Any idea?
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
Hi! I have a problem when creating a Pokemon Sapphire into my 3DS. The issue is that the real time clock is not working. Everytime I start the game I get a message saying that the internal batery is empty. Strangly, when I create a Pokémon Ruby or Emerald CIA, the real time clock works perfectly. I'm using a spanish rom and I have try with differents roms but still doesn't work. Any idea?
Ignore the fact this is for a different Pokemon game let alone a romhack.
Look at the red box for the Rom Save type.
 
  • Like
Reactions: zener88

DarkAkuma

Well-Known Member
Member
Joined
Sep 20, 2008
Messages
412
Trophies
1
XP
2,459
Country
United States
Unlikely, I think this would require reverse-engineering and modifying the emulator itself. Paging @DarkAkuma for an educated answer.

TL;DR

Don't hold your breath. I feel that, odds are, it's not realistically going to happen.

Actually. I've been specifically looking into this lately with the SNESClassic and Switch emulation code. (The 3DS code is just a different fork of the same code). It seems to be as I have suspected. The emu will just not map the extended region of the ROM. ExHiROMs for example are seen as just normal HiROMs, and have their first 4MB mapped. But that's it. You will find that some hacks like Crimson Echoes will boot because most of their code is in the normal region, but as soon as the emu tries to access the extended region it will crash. Nintendo would had to have specifically coded support for ExHiROMs, but as there are only 2 that were Japan only, they didn't.

I'm going to be looking into the feasibility of a hack soon, but realistically it would not be a normal simple hack like changing a 4 to a 6. I'd have to write a whole new subroutine for the extended region, and get the regular routine to access it. For that I'd have to better understand such mapping, understand every line of the emus code, find out if such extensive hacks are possible with things like this... oh, and I'd first be doing it for Switch. Maybe SNESC. But I haven't even been able to disassemble the 3DS's emu code yet. Assuming I could, it would be further down my list.

As for ExLoROM, or at least S-DD1 ROMs as I have been so properly instructed on the difference lately. Well. Of the 2 S-DD1 ROMS, SFA2 is supported. And Star Ocean did not have support added until SNESC. I'm curious to know why SFA2 will boot on 3DS/WiiU, but not SO. But it's not something I will probably look into for awhile. It could very well just be that while SFA2 is a SDD1 ROM, its still only 4MB technically. So not exactly an extended ROM. While SO is 6MB, so technically an extended ROM. And thus wont boot for the same reasons as ExHiROMs.

EDIT:


In the Switch emu (and likely the others), there is a check that excludes even trying to load any ROM whose header says its higher than 48mbit. So this itself will be the cause of some hacks not booting at all.
 
Last edited by DarkAkuma,
  • Like
Reactions: Feffe

Nihility

Member
Newcomer
Joined
Jan 7, 2016
Messages
15
Trophies
0
XP
127
Country
United States
Hey, i'm trying to inject the fds version of Metroid into my 3ds with this program, and have made some progress, but when i select the injection method as "FDS Virtual Console", it says in the limitations section that i need a custom vc patch to trick the disk swapping. anyone have an idea where i can find this patch?
 

Cralex

Well-Known Member
Member
Joined
Jul 29, 2016
Messages
206
Trophies
0
Age
37
XP
1,296
Country
United States
Hey, i'm trying to inject the fds version of Metroid into my 3ds with this program, and have made some progress, but when i select the injection method as "FDS Virtual Console", it says in the limitations section that i need a custom vc patch to trick the disk swapping. anyone have an idea where i can find this patch?

Most likely, it needs to be written specifically for Metroid, since every game is different. If nobody else has done it yet, such a patch probably doesn’t exist.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
Hey, i'm trying to inject the fds version of Metroid into my 3ds with this program, and have made some progress, but when i select the injection method as "FDS Virtual Console", it says in the limitations section that i need a custom vc patch to trick the disk swapping. anyone have an idea where i can find this patch?
There is an English translation patch for this game made by AlanMidas.
Although it's a little hard to find a clean rom dump, you'll most likely find the header-less version that is:
  • Metroid (Japan) (v1.2).fds (CRC32: 1AD64B0F | size: 131,000 bytes)
Add the 46 44 53 1A 02 00 00 00 00 00 00 00 00 00 00 00 header at the beginning with a hex editor to create the header version (AA49947D) before IPS patching to get final romhack (A737F014).

***

This can be played on the VirtuaNES for 3DS with the required bios, sysdisk.rom (5E607DCF | 8.00 KB), as this emulator does have disk swapping menu control.
However, the sound accuracy is noticeably lower compared to official FDS VC. Listening to the spooky, outer space introduction on my headphones, I found the reverberation and dynamic range are softer and flatter.

***

Another way to play this game with better audio that's just a tad less accurate versus the official FDS VC is to inject using this NSUI setting.

Famicom Disk System CIA
  • Injection Method: RetroArch FCEUmm forwarder
Make sure to provide the needed bios.
  • Tools Options...Bios Famicom Disk System Bios (md5: ca30b50f880eb660a320674ed365ef7a):
    • bios\fds_bios.bin
    • This is the same file as the previously mentioned, sysdisk.rom.
At the disk swap screen, press (R)-shoulder, (L)-shoulder, (R)-shoulder to change between disks B and A.
 
Last edited by TurdPooCharger,
  • Like
Reactions: Zense

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ButterScott101 @ ButterScott101: +1