Homebrew [DISCUSSION] New Super Ultimate Injector (NSUI)

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
Which GBx game doesn't work for you ?
The point is that the GB/GBC (referred to as GBx) VC emulators are garbage and inaccurate. I do all kinds of weird shit on DMG/CGB systems, and i'm part of a community that does so as well.

If you were referring to the GBA build fail, any game I throw at it.
 
Last edited by ParzivalWolfram,

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
I assumed by context that you lumped GBA into GBx with the mentioning of VBA, but yes GB VC and GBC VC have their pitfalls.
yeah, sorry 'bout that.

What game and its region are you trying to inject btw? Would you like me to try injecting my own copy for comparison?
No No No Chalien (Japan), Pokemon FireRed, GB Video things, a bunch of shit. All match the internal database and their GoodGBA sums.
mGBA is slow for some GBA titles even on the n(2/3)DS(XL). However, the emulator is a WIP with continual/incremental improvements. It's GB, GBC, and SGB compatibility is neigh perfect.
i'd use Gambatte for GBx emulation since it's nearly flawless. The only emulator better than Gambatte is SameBoy, which I hope is ported to the 3DS eventually (it's already a RA core for other systems)
To ensure we're on the same page about the difference between playing games natively and emulation, I brought this point back up as your previous post came across as disparaging real GBA hardware against an emulator that's trying to mimic it. If you left out save states, cheats, and frame skipping, it would be very wrong to say that VBA is better than GBA VC.

Here's that architecture analogy again I talked about last time about those dudes of different languages:
  • N64 = Chinese
  • Switch = Japanese
  • 3DS = German
You have:
  • Chinese dude reading at a leisure pace of 30 Chinese words per minute.
  • Japanese dude reading at a blistering rate at 60 Japanese words per minute.
  • German dude reading at a reasonable 40 German words per a minute.
Yes, you would be correct in stating that the Japanese guy is by far a faster reader than either of his Chinese and German peers in their respective languages. If each were given the exact same news article or book about the same story written in their native language, that Japanese person would finish first followed by the German guy and finally the Chinese man.

However, some consideration would need to be taken believing that because Japanese dude is a such a fast reader, he could match reading on average 30 Chinese words per minute. Maybe he can if he's good at quickly finding unfamiliar Hanzi/Kanji in his JPN-CHN dictionary and doesn't get tripped too much by the Subject-Verb-Object word order difference. If you're not familiar what sentence syntax order is, think of "Yoda speak".

Which brings back the point about N64 emulation on the 3DS... It wouldn't be reasonable to ask that German dude to read Chinese as fast as his Chinese buddy.

Of course, where this analogy breaks down is that people have the capacity to learn new languages. Instruction sets, the fundamentally most basic language those CPUs understand, are built in at the hardware level. You can program a compatibility layer or emulator that translate between different sets, but this of course introduces I/O R/W lag. This is why your source system needs be way much faster than the target system it's trying to emulate.
The Wii has a lower ratio to the speed of the original N64 than the 3DS'. Neither the Wii nor the 3DS share the same instruction set as the N64, so yes, they're both emulating the entire instruction set. I don't understand why no one else grasps that, under the same strain, saying a more powerful system than what can take the strain can't makes no fucking sense. BOTH have to emulate EVERY ASPECT of the N64.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
The Wii has a lower ratio to the speed of the original N64 than the 3DS'. Neither the Wii nor the 3DS share the same instruction set as the N64, so yes, they're both emulating the entire instruction set. I don't understand why no one else grasps that, under the same strain, saying a more powerful system than what can take the strain can't makes no fucking sense. BOTH have to emulate EVERY ASPECT of the N64.
Emulators do not necessary have to match every aspect of their target hardware. It might be prudent to say this, but except for something like higan SNES emulator, most emulators out there are not 1-to-1 perfect. There's an age old problem that all emulator makers have faced: balancing the trade-offs between accuracy versus speed within the limits of source hardware's capabilities.

Let me extend that analogy once more. That German guy could technically read (and speak) at 30 Chinese words per a minute if he decided to ignore the bits or mumble in parts he doesn't know. Would the average Chinese listener understand what he's saying? Probably not because his pronunciations are bad, but at least he can declared he "read & spoke" Chinese at 30 WPM. Would the Japanese guy fair any better? JPN dude's speech might be passable in Chinese, but damn will they pick off his accents and syllabus as sounding funny.

Something like the above happens a lot in emulators where filler data or comparable subroutines are substituted because there's not enough reverse engineered info to emulate a certain feature, or that part eats too much computing resources getting the timing and image draw just right.

On the Wii and the 3DS, the PowerPC is generally considered more efficient from a computational standpoint than the ARM per a given clock cycle. Other than IBM losing ground to Intel in the early computer market wars, the reason why we don't see PowerPC these days, and (for a long time) ARM based CPUs on desktop computers is because their instruction sets were either too hard to program for or their computation potential per given overclocking hit a perform ceiling much sooner than x86-x64. It's not to say PowerPC and ARM are bad; they just do different things better. For example, your Intel / AMD cpus would be horrible as a phone chipset because they're electrically hungry beasts versus ARM. For PowerPC, the US military at one time purchased a vast quantity of PlayStation 3 for those sweet CELL chips in order to make a supercomputer, so many that Sony was losing money from those sales (no games for lose lender, LOL).

Edit - I forgot to add (haven't checked). Maybe MIPS share more similarities with PowerPC than ARM in instruction sets, so that adds another befuddlement when trying to gauge emulation across different platforms.
 
Last edited by TurdPooCharger,

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
Emulators do not necessary have to match every aspect of their target hardware. It might be prudent to say this, but except for something like higan SNES emulator, most emulators out there are not 1-to-1 perfect. There's an age old problem that all emulator makers have faced: balancing the trade-offs between accuracy versus speed within the limits of source hardware's capabilities.

Let me extend that analogy once more. That German guy could technically read (and speak) at 30 Chinese words per a minute if he decided to ignore the bits or mumble in parts he doesn't know. Would the average Chinese listener understand what he's saying? Probably not because his pronunciations are bad, but at least he can declared he "read & spoke" Chinese at 30 WPM. Would the Japanese guy fair any better? JPN dude's speech might be passable in Chinese, but damn will they pick off his accents and syllabus as sounding funny.

Something like the above happens a lot in emulators where filler data or comparable subroutines are substituted because there's not enough reverse engineered info to emulate a certain feature, or that part eats too much computing resources getting the timing and image draw just right.

On the Wii and the 3DS, the PowerPC is generally considered more efficient from a computational standpoint than the ARM per a given clock cycle. Other than IBM losing ground to Intel in the early computer market wars, the reason why we don't see PowerPC these days, and (for a long time) ARM based CPUs on desktop computers is because their instruction sets were either too hard to program for or their computation potential per given overclocking hit a perform ceiling much sooner than x86-x64. It's not to say PowerPC and ARM are bad; they just do different things better. For example, your Intel / AMD cpus would be horrible as a phone chipset because they're electrically hungry beasts versus ARM. For PowerPC, the US military at one time purchased a vast quantity of PlayStation 3 for those sweet CELL chips in order to make a supercomputer, so many that Sony was losing money from those sales (no games for lose lender, LOL).

Edit - I forgot to add (haven't checked). Maybe MIPS share more similarities with PowerPC than ARM in instruction sets, so that adds another befuddlement when trying to gauge emulation across different platforms.
That's true, but emulators can be STARTED and then made more efficient before adding further accuracy in that case. Plus, the Wii had about 50 instructions added to its set specifically for 3D gaming optimization. However, according to what I can find, ARM11 MPCORE (when using the ARMv6 instruction set, which I know for a fact from my time with Linux 3DS is what's used on the 3DS) has these same opcodes.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
No No No Chalien (Japan), Pokemon FireRed, GB Video things, a bunch of shit. All match the internal database and their GoodGBA sums.
i'd use Gambatte for GBx emulation since it's nearly flawless. The only emulator better than Gambatte is SameBoy, which I hope is ported to the 3DS eventually (it's already a RA core for other systems)
There was one other cat who had "RESULT_ERROR_DURING_PROCESS" from post #194. For Pokemon FireRed, does your copy matches any of the hashes like that seen in post #199 the next post? You can archive the *.gba rom by itself in either WinRAR or 7-Zip. Both have a CRC32 column, and 7-Zip provides a right click hash feature. Another way to rule out bad roms is playing them on VBA or mGBA desktop emulator.

Does your NSUI produce SNES or NES injections that are CIA installable? This to figure out the extent of your injection woes.

HASH right click.png
 
Last edited by TurdPooCharger,

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
There was one other cat who had "RESULT_ERROR_DURING_PROCESS" from post #194. For Pokemon FireRed, does your copy matches any of the hashes like that seen in post #199 the next post? You can archive the *.gba rom by itself in either WinRAR or 7-Zip. Both have a CRC32 column, and 7-Zip provides a right click hash feature. Another way to rule out bad roms is playing them on VBA or mGBA desktop emulator.

Does your NSUI produce SNES or NES injections that are CIA installable? This to figure out the extent of your injection woes.

I've said a couple times now that all my ROMs match known-good dumps from the GoodGBA set AND the one distributed with the program. Yes, they're untouched.

NES, SNES, and GBx all work.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
I've said a couple times now that all my ROMs match known-good dumps from the GoodGBA set AND the one distributed with the program. Yes, they're untouched.

NES, SNES, and GBx all work.
But did you use WinRAR, 7-Zip, or another similar program that calculated those GBA roms actual hash values in real time? I don't doubt the GoodGBA collection have bad dumps. I'm concerned that your GoodGBA archive has been tampered with or changed somehow affecting the integrity of those roms. Do any of your roms play on a desktop VBA or mGBA emulator?

Try a litmus test of downloading a single example GBA rom from one of those sites, like the one that has blue PAC-MAN logo and sounds similar to a southeastern European country. Try a double blind test injecting with the older Ultimate GBA VC Injector for the 3DS (requires Microsoft .NET framework 4.5).
 

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
But did you use WinRAR, 7-Zip, or another similar program that calculated those GBA roms actual hash values in real time? I don't doubt the GoodGBA collection have bad dumps. I'm concerned that your GoodGBA archive has been tampered with or changed somehow affecting the integrity of those roms. Do any of your roms play on a desktop VBA or mGBA emulator?

Try a litmus test of downloading a single example GBA rom from one of those sites, like the one that has blue PAC-MAN logo and sounds similar to a southeastern European country. Try a double blind test injecting with the older Ultimate GBA VC Injector for the 3DS (requires Microsoft .NET framework 4.5).
I have a hash calculator, and I'm comparing the hash to the one listed on No-Intro's DAT-o-MATIC. That one site you speak of served me up an EXE and a browlock last time I tried to download from there. Beung the maniac I am, for S&Gs, I threw the EXE into a VM and lo and behold, Russian adware!
Long story short i'm not touching that site again.
 

Feffe

Well-Known Member
Member
Joined
Oct 12, 2008
Messages
225
Trophies
1
XP
2,109
Country
Italy
The point is that the GB/GBC (referred to as GBx) VC emulators are garbage and inaccurate. I do all kinds of weird shit on DMG/CGB systems, and i'm part of a community that does so as well.

If you were referring to the GBA build fail, any game I throw at it.
I was wondering which GB/C game(s) gave you problem with the VC emulator. Rule of thumb for me has been that everything GB, GBC and SNES (excluding special chip) work great with the VC, whereas NES Injection is very problematic for the mapper thing, as said before.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
I have a hash calculator, and I'm comparing the hash to the one listed on No-Intro's DAT-o-MATIC. That one site you speak of served me up an EXE and a browlock last time I tried to download from there. Beung the maniac I am, for S&Gs, I threw the EXE into a VM and lo and behold, Russian adware!
Long story short i'm not touching that site again.
Hey, my bad. Sorry for that.. :(
My previous visits to that site didn't hit me before with EXE. On my last visit, Bitdefender picked up and blocked Trojan.GenericKD.31513277. Damn. :|

The reason why that specific site was mentioned is that it's one of the last few places that host a slew of GBA roms. To get their games in ZIP archives, you have to choose:
  • More Options → Browser download (slowest)
Everywhere else I've seen has blocked off or pulled all Nintendo published titles. This happened at the time when:
Another one that's been pretty good is the site with a cartoony, red demon mascot. Except for Nintendo titles, theirs can be acquired by unboxing:
  • Use download accelerator and get recommended offers
***

It's strange your GBA VC injections are not working. From my end, I've tried replicating that error by purposely corrupting a rom copy of Pokemon - FireRed with various hex edits, such as deleting blocks of data and filling in garbage values. NSUI will inject a bad rom dump so long as the header is mostly intact. Injecting a fake file renamed as a *.gba will crash the program.
 

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
I was wondering which GB/C game(s) gave you problem with the VC emulator. Rule of thumb for me has been that everything GB, GBC and SNES (excluding special chip) work great with the VC, whereas NES Injection is very problematic for the mapper thing, as said before.
The problem isn't one game, it's the standard VC as well. It's coded badly, and is literally coded to be "good enough".
For examples,

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

Hey, my bad. Sorry for that.. :(
My previous visits to that site didn't hit me before with EXE. On my last visit, Bitdefender picked up and blocked Trojan.GenericKD.31513277. Damn. :|

The reason why that specific site was mentioned is that it's one of the last few places that host a slew of GBA roms. To get their games in ZIP archives, you have to choose:
  • More Options → Browser download (slowest)
Everywhere else I've seen has blocked off or pulled all Nintendo published titles. This happened at the time when:
Another one that's been pretty good is the site with a cartoony, red demon mascot. Except for Nintendo titles, theirs can be acquired by unboxing:
  • Use download accelerator and get recommended offers
***

It's strange your GBA VC injections are not working. From my end, I've tried replicating that error by purposely corrupting a rom copy of Pokemon - FireRed with various hex edits, such as deleting blocks of data and filling in garbage values. NSUI will inject a bad rom dump so long as the header is mostly intact. Injecting a fake file renamed as a *.gba will crash the program.
The error's generic nature isn't helping, tbh.

I got some Good sets of ROMs for almost every system before the PS1/Dreamcast era from a certain now-dead paradise before they went under.

EDIT: also i forgot to mention bitdefender is a paranoid sack of shit and labels ALL THE GAMES!!!!!1!1 as ransomware or trojans. However, in this case, it was indeed correct.
 
Last edited by ParzivalWolfram,

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,260
Country
United States
Snes9x 2010 is the latest available on 3DS and its generally pretty slow. This guy isn't porting emulators just setting up forwarders for existing emulators and injects for the VC.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States

ertaboy356b

Well-Known Member
Member
Joined
Feb 16, 2010
Messages
661
Trophies
1
XP
1,918
Country

SomeGuy4Twenty

Active Member
Newcomer
Joined
Feb 16, 2019
Messages
26
Trophies
0
Age
26
XP
101
Country
Antarctica
Hi all! I read somewhere in this discussion that I need the emulator to run the forwarders of NSUI. The thing is, my ignorant self decided to inject sonic the hedgehog 3 using some retroarch forwarder (don't remember wochw one) and installed it on the 3ds. And it runs great!!! But I don't have retroarch installed on my 3ds xD
Y is dis?
 

lone_wolf323

Well-Known Member
Member
Joined
May 27, 2011
Messages
5,480
Trophies
2
XP
4,918
Country
Canada
Hi all! I read somewhere in this discussion that I need the emulator to run the forwarders of NSUI. The thing is, my ignorant self decided to inject sonic the hedgehog 3 using some retroarch forwarder (don't remember wochw one) and installed it on the 3ds. And it runs great!!! But I don't have retroarch installed on my 3ds xD
Y is dis?
this creates direct injects. there are no forwarders from this. Ya make the file. Install it. and play it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Purple_Heart @ Purple_Heart: i almost destoryed my friends tv playing it on his wii lmao