Homebrew SNES9x for Old 3DS

  • Thread starter Thread starter bubble2k16
  • Start date Start date
  • Views Views 884,118
  • Replies Replies 2,507
  • Likes Likes 147
For whatever reason, around 80 percent of the time I load a game (Have only tested with Earthbound), it won't accept my inputs at all.
I have seen that when we hold "X" while loading a state in any game, the emulator don't take any inputs unless we press any other button.. its weird..
 
I see, thanks. What about RetroArch? Or is that one exclusive to N3DS?

on an o3ds, retroarch runs too slow. this one runs almost every (non chip) game fullspeed or close to.
on a n3ds, retroarch and this run about the same in most cases (at least for pocketsnes) but i still prefer this for everything that isn't kirbys dreamland 3.
 
  • Like
Reactions: zfreeman
on an o3ds, retroarch runs too slow. this one runs almost every (non chip) game fullspeed or close to.
on a n3ds, retroarch and this run about the same in most cases (at least for pocketsnes) but i still prefer this for everything that isn't kirbys dreamland 3.
Well, seeing as I have O3DS, I guess this is my best bet then, thanks.
I'll need to grab myself N3DS in the future but for now this should do.
Dragon Quest 1&2, Dragon Quest 3, Chrono Trigger, Radical Dreamers, Final Fantasy Mystic Quest and Record of Lodoss War aren't chip games so they should work fine right?
 
@mqk9999 - My guess is that it is rendering using a special offset-per-tile mode, which is currently still very unoptimised. A number of other games use this special mode: Chrono Trigger's title screen, Chrono Trigger's menu screen, Kirby's Avalanche, and others I forget. I'll probably get around to optimising it once I have sorted out the sprite layering. But all these will take a while given my workload.

@GermanTacos - Does the input work again after you release all D-pad/keys?

@KJ1 - Yup I think I know what's the problem. The menu locks all keys from input when it first goes back to the game.

This is cos when we press A / Start to select an option in the menu, and then the menu immediately goes back to the game, the game also receives the A button / Start button. So the game blocks all inputs until all keys are freed. Not a very elegant way of handling it I suppose, and it can probably be fixed. Just am not too sure if it's related to GermanTacos' problem.
 
Last edited by bubble2k16,
  • Like
Reactions: KJ1
it means it has to skip drawing about every other frame to reach a speed of 60fps, making animations look just a little choppy. though that shouldn't be that big a deal for a game like that.
Yeah but 30 skipped? Doesn't that mean it's skipping half of all the frames?
 
@KJ1 - Yup I think I know what's the problem. The menu locks all keys from input when it first goes back to the game.

This is cos when we press A / Start to select an option in the menu, and then the menu immediately goes back to the game, the game also receives the A button / Start button. So the game blocks all inputs until all keys are freed. Not a very elegant way of handling it I suppose, and it can probably be fixed. Just am not too sure if it's related to GermanTacos' problem.
So, will you be able to fix this in the next release? Thanks in advance! @bubble2k16
 
Last edited by KJ1,
This software just keeps getting better and better. By this point, it has made playing SNES games via my DSTWO supercard almost unnecessary, which is no small feat, like, at all. And with how those cards eat battery, I am much glad.

One question that just popped up in my head when I compared to the supercard tho: is it in the plans to have SNES9x for Old 3DS support zipped games? I am guessing no, since I feel the overhead and RAM usage would not be worth it, but I wanted to make sure because SNES roms, unlike games from other platforms, compress nicely.
 
@KJ1 - Yup will fix that in the next release. Should be out anytime.

@VeniaSilente - Some of us tried to modify the code to enable zip support, but somehow it didn't work so well. Ashamed to say I haven't actually looked into it myself cos I've long forgotten about it. :) Maybe when I'm taking a break from work I'll have a look in a few weeks.

@MisterPantsEyes - Yes, it's dropping a full 30 frames. But the game is still fairly playable.




Jus happened to take a peek here and there and found some serious bugs in the original 1.43's DMA handling. You see, a lot of the SMW hacks artificially enlarged the Save RAM and used it heavily as 'extra memory' and a scratch area to compose the speech dialogue's text. But Snes9x's 1.43's DMA messes up the reading of data from SRAM, that's why the screen always screws up when dialogue's text is displayed. So I kind of fixed it and Yoshi's Strange Quest's garbled text is no longer garbled!:rofl2:

Wondering if the other SMW hacks now work better.... Anyone has any suggestion which hack(s) I should try?
 
A quick little question, witch format of cheat is working in this grate emu? Ar?ce? Can i have a example cht file please :)


從我的iPhone使用Tapatalk 發送
 
@VeniaSilente - Some of us tried to modify the code to enable zip support, but somehow it didn't work so well. Ashamed to say I haven't actually looked into it myself cos I've long forgotten about it. :) Maybe when I'm taking a break from work I'll have a look in a few weeks

This is completely understandable. I admittedly think there is too little gain in user experience to indulge in this, marvelous as it is so far we are talkng about a o3DS. But I much appreciate that some people have been fidgeting with it.

Jus happened to take a peek here and there and found some serious bugs in the original 1.43's DMA handling. You see, a lot of the SMW hacks artificially enlarged the Save RAM and used it heavily as 'extra memory' and a scratch area to compose the speech dialogue's text. But Snes9x's 1.43's DMA messes up the reading of data from SRAM, that's why the screen always screws up when dialogue's text is displayed. So I kind of fixed it and Yoshi's Strange Quest's garbled text is no longer garbled!:rofl2:

Wondering if the other SMW hacks now work better.... Anyone has any suggestion which hack(s) I should try?

...There are other SMW hacks besides Return to Dinosaur Island? Wow.

I can confirm that RtDI won't even boot with SNES9xO3DS. It freezes in a black screen forever as soon as loaded.
 
v0.63 released.

- Fixed bug in DMA when the source address comes from Save RAM. This fixes a number of Super Mario World Hacks so that text is readable on BG layer 3. Yoshi's Strange Quest's dialogue text now works!

- Fixed menu key lock issue to improve usability when exiting from menu back into the game.

- Fixed DKC tile corruption issue. This probably also fixes most (if not all) tile corruption issues in other games, if you play a game for too long in a single sitting.

- Fixed sound problems when auto-saving SRAM. Somehow the hardware or the library doesn't like us stopping and starting the CSND too often. Not too sure what the problem is.

- Added an auto-save SRAM option to tell the emulator when to save SRAM (1 second, 10 seconds, 60 seconds, or disable auto-save). Note that regardless of the setting, the emulator will always save any modified SRAM every time you touch the bottom screen to activate the menu.





@kane159 - Snes9x has always used its own CHT format. What you can do is download a copy of Snes9x 1.43 Windows version from the internet, run the program, load a ROM, enter the cheat codes inside the Windows version of Snes9x 1.43 using Action Replay / Game Genie cheat codes. The Windows port will then generate a .CHT file. You can then copy that file to your SD card and it will be loaded by the 3DS port. Alternatively you can google for cheat packs and download pre-made .CHT files. Just a note: some cheats can corrupt your games so test them thoroughly.

@VeniaSilente - Return to Dinosaur Island works in v0.62. I've tested it. Please make sure you have the correct SMW ROM and the correct IPS patch to begin with.
 

Attachments

Last edited by bubble2k16,
v0.63 released.

- Fixed bug in DMA when the source address comes from Save RAM. This fixes a number of Super Mario World Hacks so that text is readable on BG layer 3. Yoshi's Strange Quest's dialogue text now works!

- Fixed menu key lock issue to improve usability when exiting from menu back into the game.

- Fixed DKC tile corruption issue. This probably also fixes most (if not all) tile corruption issues in other games, if you play a game for too long in a single sitting.

- Fixed sound problems when auto-saving SRAM. Somehow the hardware or the library doesn't like us stopping and starting the CSND too often. Not too sure what the problem is.

- Added an auto-save SRAM option to tell the emulator when to save SRAM (1 second, 10 seconds, 60 seconds, or disable auto-save). Note that regardless of the setting, the emulator will always save any modified SRAM every time you touch the bottom screen to activate the menu.





@kane159 - Snes9x has always used its own CHT format. What you can do is download a copy of Snes9x 1.43 Windows version from the internet, run the program, load a ROM, enter the cheat codes inside the Windows version of Snes9x 1.43 using Action Replay / Game Genie cheat codes. The Windows port will then generate a .CHT file. You can then copy that file to your SD card and it will be loaded by the 3DS port. Alternatively you can google for cheat packs and download pre-made .CHT files. Just a note: some cheats can corrupt your games so test them thoroughly.

@VeniaSilente - Return to Dinosaur Island works in v0.62. I've tested it. Please make sure you have the correct SMW ROM and the correct IPS patch to begin with.
Here we come again with the best emulator for 3DS ever made :)
 
  • Like
Reactions: Michierusama
Well, seeing as I have O3DS, I guess this is my best bet then, thanks.
I'll need to grab myself N3DS in the future but for now this should do.
Dragon Quest 1&2, Dragon Quest 3, Chrono Trigger, Radical Dreamers, Final Fantasy Mystic Quest and Record of Lodoss War aren't chip games so they should work fine right?
The vast majority of games work perfectly, or with minuscule frame skipping.
Weird, I know.
 
v0.63 released.

Any chance for 4:3 support in next version that DOESN'T stretch to full screen?
Current 4:3 implementation stretches the image both horizontally and vertically.
What I'd like to request is 4:3 that only stretches the image a bit horizontally into 4:3 aspect ratio if possible, please.
 

Site & Scene News

Popular threads in this forum