Homebrew SNES9x for Old 3DS

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
Hmm... things have gotten a little lively. :) I'm currently working on a number of things:

- cheats, kind of experimental, but since it's using the one already written in Snes9x... it is supposed to work, unfortunately I've seen games crash or behave weirdly once the cheats are activated.

- the special speed hack for some class of games that use a special 'wait for interrupt' instruction. The original one committed to Github may have some timing problems, which fortunately doesn't affect DKC1/2/3. But it might cause problems in other games. So I'm experimenting some fixes... I just hope it doesn't break any other games. If it does I may remove this for the coming release, so wish my luck.

@LongTimeLurker - I'll have a look at the makerom problem again.

@suzsuzuki, and other devs who'd like to compile the latest commits: in order to remove all the debugging stuff that may slow down emulation, please do the following before compiling:
1. In 3dssnes9x.h, uncomment #define RELEASE
2. In 3dssnes9x.h, uncomment #define RELEASE_SHADER
3. In 3dsgpu.h, uncomment #define REAL3DS
It should give you a good speed increase and remove all the debugging stuff.


A number of other things:
@mqk9999 - Yes thanks for the feedback. I know most of the problems you mentioned. Just haven't had the time to fix them. Some are much more difficult to fix, because they require some overhaul of the way graphics are handled.

@DiscostewSM - Thanks for pointing us FFMQ's problem. I've never gone that far to see that problem occurring. And yes, your suggestion is excellent. Will probably include in 2 release's time. I've frozen this release's features and I am just testing as many things as I can to ensure things still work sanely.
 

KJ1

Old Member
Member
Joined
Nov 2, 2014
Messages
1,060
Trophies
0
XP
2,057
Country
India
@bubble2k16 Hey there, just wanna know, whether, it would be possible to increase the volume on this emulator beyond 3ds's normal capacity? If so, is it easy for you to get it in the next release? :)
 

LongTimeLurker

Well-Known Member
Member
Joined
Aug 25, 2016
Messages
177
Trophies
0
Age
31
XP
114
Country
Canada
Oh okay, thanks for letting me know! :)

There's an "unstable" build (read as: not an official release) in this very thread that has improved sound control. You might get a slight performance loss because of the debugging information, but releases are very frequent so it shouldn't be a big deal while you wait for the official build.
 
  • Like
Reactions: KJ1

ArtemisM

Kupo for Kupo Nuts
Member
Joined
Apr 14, 2010
Messages
316
Trophies
0
XP
794
Country
United States
@mqk9999 - Yes thanks for the feedback. I know most of the problems you mentioned. Just haven't had the time to fix them. Some are much more difficult to fix, because they require some overhaul of the way graphics are handled.

My bad. I hope posting redundancies isn't annoying. I'm just blitzing through titles and taking notice of everything and jotting it down since I have extensive experience with the SNES library as an end-user. That being said, I've been omitting japanese titles. Do you want me to document those as well?
 

suzsuzuki

Well-Known Member
Member
Joined
Aug 25, 2016
Messages
403
Trophies
0
Age
36
XP
471
Country
Brazil
@bubble2k16 I changed the main code to open zip files. It recognizes the rom inside the zip like file.zip#rom.smc, but when open it's only a black screen. Any tip about how can I try to fix it?
 

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
v0.4 is out:

- Experimental cheat feature. Requires you to have the .CHT file
(May corrupt your save game, use at your own risk)

- Added settings to enable turbo buttons (per game)

- Added settings to allow user to amplify volume (per game)
You can amplify between 1.0 - 3.0x with 0.25x steps in between.
(beware of sound clipping that results in terrible sounds)

- Palette hack for Secret of Mana to ensure that the dialog borders are blue
(the bottom status window still behaves oddly due to palette changes)

- Transparency fixes:
o Legend of Zelda's prologue's dark room
o Reported dark tints on several games like Doremi Fantasy, Bomberman, Secret of Mana, Chrono Trigger
o Gradient shading on dialog boxes for Chrono Trigger and Final Fantasy III (battles) appear correct.

- Fixed window clip problems.

- Fixed mode 7 glitches causing mode 7 bugs in Secret of Mana, NHL 94, Magical Quest 3

- Fixed a number of sprite clipping problems
o Megaman 7's Dr Wily's spaceship in the intro now pans in from the left correctly
o Tales of Phantasia's trainee's sprites (after the intro) now clips correct

- Fixed color inconsistency causing some white sprites to be visible on a white background
(eg. in NHL's EA Sports intro screen)

- Added speed hack for games that use the WAI instruction
(esp Donkey Kong Country 1, 2, 3 should see a good speed increase)

- Added hack to avoid hiding sprites even if they exceed the maximum number the real hardware can display.
Apparently, this fixes the missing cursor in Final Fantasy III.


- And other bugs.


EDIT: Forgot to mention, a small number of games actually run slower. Like Axelay... the fixed transparency effects now look correct in the game, but have too much for this port to take. :(

EDIT 2: I also added hacks to wait for about 10 seconds (up to a max of 60 seconds) before saving SRAM into SD for Final Fantasy Mystic Quest. This reduces the stutters.
 

Attachments

  • snes9x_3ds_v0.4.zip
    1.4 MB · Views: 730
Last edited by bubble2k16,

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
@mqk9999 - Of course, by all means, please go ahead to test the Japanese games! By the way, please continue to post any other problems you find in English or non-English games. There might be some things that I do not know yet. :) Like the Actraiser 2 problem you mentioned.

@suzsuzuki - Hmm... I'm not sure what's the problem. Can you send me your codes?

Oh if any gateway users can share if the current CIA is installable, that would be great.
 
Last edited by bubble2k16,

suzsuzuki

Well-Known Member
Member
Joined
Aug 25, 2016
Messages
403
Trophies
0
Age
36
XP
471
Country
Brazil
@mqk9999 - Of course, by all means, please go ahead to test the Japanese games! By the way, please continue to post any other problems you find in English or non-English games. There might be some things that I do not know yet. :) Like the Actraiser 2 problem you mentioned.

@suzsuzuki - Hmm... I'm not sure what's the problem. Can you send me your codes?
Nothing big, just added this line on 3dsmain.cpp (line 900)

Code:
!strstr(dir->d_name, ".zip") &&

And then the emulator can recognize zip files. I saw many codes related to zipped roms, then thought it will be able to open zipped roms
 

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
@suzsuzuki - Yes sure, please do! Help is always welcome. :) I am personally itching to fix the Power Rangers Fighting Edition graphical glitch, and the missing top left tile glitch.

But you can see where you'd like to add / fix stuff. :)
 
  • Like
Reactions: Coto

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • LeoTCK @ LeoTCK:
    dammit that thread got moved from offtopic to edge, well since that happened
  • Xdqwerty @ Xdqwerty:
    @LeoTCK, atleast it's still avaliable
  • LeoTCK @ LeoTCK:
    yes but it wasn't meant to be a comedy thread
  • LeoTCK @ LeoTCK:
    and edge of the forum is mostly comedy and games
  • LeoTCK @ LeoTCK:
    so I don't get why it got moved at all
  • Xdqwerty @ Xdqwerty:
    @LeoTCK, mods are probably hating you
  • LeoTCK @ LeoTCK:
    on most sites mods hated me, sooner or later, but usually over time I get either banned or the mods get used to me
  • LeoTCK @ LeoTCK:
    sometimes to the point of thanking me for my quick actions etc against spam and other stuff, but yea...its either they come to respect me or outright hate me
    +1
  • BigOnYa @ BigOnYa:
    If it's not game related, it will be moved to the Egde of the forum. Mods have moved a few of my threads also.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, it was in the off topic chat forum
  • BigOnYa @ BigOnYa:
    Well atleast they didn't delete it completely.
  • LeoTCK @ LeoTCK:
    hmm
  • Xdqwerty @ Xdqwerty:
    uoiea
  • LeoTCK @ LeoTCK:
    huh?
  • Xdqwerty @ Xdqwerty:
    Aeiou backwards
  • BigOnYa @ BigOnYa:
    ?tuw
  • Xdqwerty @ Xdqwerty:
    yltcaxE
    +1
  • AncientBoi @ AncientBoi:
    ¡¡¡ tttoN
  • Xdqwerty @ Xdqwerty:
    ssssey ioBtneicnA@
    +1
  • AncientBoi @ AncientBoi:
    :angry: ¡¡¡¡¡ oooooooooooooooooooooooN
  • Xdqwerty @ Xdqwerty:
    ?draeh ton uoy evaH
  • AncientBoi @ AncientBoi:
    Gives you "The 🖕 BIRD" :tpi::rofl2::rofl2::rofl2:
    +2
  • Xdqwerty @ Xdqwerty:
    :2lfor::2lfor::2lfor::ipt: "DRIB ð ehT" uoy seviG. *
    Xdqwerty @ Xdqwerty: :2lfor::2lfor::2lfor::ipt: "DRIB ð ehT" uoy seviG. *