Homebrew SNES9x for Old 3DS

laharl22

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
1,767
Trophies
0
Age
38
XP
615
Country
France
The CIA are completely instable quit the app with home crash the 3ds on dragon quest 6 freeze before a fight ff5 doesnt load not fullscreen mode and not sound it need many more improvement i stay at blargvc for the moment
 

djalmafreestyler

Well-Known Member
Member
Joined
Jan 31, 2011
Messages
637
Trophies
0
XP
342
Country
Brazil
The CIA are completely instable quit the app with home crash the 3ds on dragon quest 6 freeze before a fight ff5 doesnt load not fullscreen mode and not sound it need many more improvement i stay at blargvc for the moment

But .3dsx version works fine I think, at least with the games I tried.
 

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
Here are some what I have tested what doesn't work properly in blargsnes:

Dragon Ball Z Super Butoden 2 : Works perfectly, minor graphical bugs
BsZelda : Doesn't boot.
Mortal Kombat 2 : Doesn't boot.
Street Fighter Alpha : Unplayable due terrible graphical bugs.
Street Fighter II : Doesn't show up the title screen, but work perfect after that.
Super Punch Out : Work Perfectly, minor graphical bugs

Edit: forgot Super Mario Kart, works perfectly but lacks of mode 7.
 
Last edited by Billy Acuña,
  • Like
Reactions: djalmafreestyler

djalmafreestyler

Well-Known Member
Member
Joined
Jan 31, 2011
Messages
637
Trophies
0
XP
342
Country
Brazil
Here are some what I have tested what doesn't work properly in blargsnes:

Dragon Ball Z Super Butoden 2 : Works perfectly, minor graphical bugs
BsZelda : Doesn't boot.
Mortal Kombat 2 : Doesn't boot.
Street Fighter Alpha : Unplayable due terrible graphical bugs.
Street Fighter II : Doesn't show up the title screen, but work perfect after that.
Super Punch Out : Work Perfectly, minor graphical bugs

Edit: forgot Super Mario Kart, works perfectly but lacks of mode 7.

That's nice, I'll test DBZ 2 o/

Did you try with .3dsx or .cia version?
 

AtlasFontaine

Well-Known Member
Member
Joined
Jul 18, 2015
Messages
1,095
Trophies
0
Age
26
Location
Venezuela-Zulia.
XP
865
Country
Venezuela
Here are some what I have tested what doesn't work properly in blargsnes:

Dragon Ball Z Super Butoden 2 : Works perfectly, minor graphical bugs
BsZelda : Doesn't boot.
Mortal Kombat 2 : Doesn't boot.
Street Fighter Alpha : Unplayable due terrible graphical bugs.
Street Fighter II : Doesn't show up the title screen, but work perfect after that.
Super Punch Out : Work Perfectly, minor graphical bugs

Edit: forgot Super Mario Kart, works perfectly but lacks of mode 7.

Add that UMK3 also works but a little bit slower than blargg.
Star Fox 2 Boots until after the intro.
Yoshi's island can go to main menú.
Super Mario RPG Doesn't work, stays on black screen.
Mario All stars + World works almost perfectly (with some mini slowdowns).
 

DeslotlCL

GBAtemp's scalie trash
Member
Joined
Oct 28, 2015
Messages
2,847
Trophies
0
XP
2,755
Country
United States
I just noticed the smdh i made last night is enterely fucked up (curse me for using another smdh as a base). I made a new smdh from scratch and this one works fine (title, description and author).
 

Attachments

  • snes9x3ds_smdh.rar
    2.8 KB · Views: 289

DeslotlCL

GBAtemp's scalie trash
Member
Joined
Oct 28, 2015
Messages
2,847
Trophies
0
XP
2,755
Country
United States
With some slowdowns and graphical errors but otherwise working alright.
it runs at 60 fps in some areas (well, 59.5 but it's almost the same) but in ship deck it drops at under 50 fps and the sprites start to glitch themselves. It still runs at a nice playable speed so no complains here :)
 

AtlasFontaine

Well-Known Member
Member
Joined
Jul 18, 2015
Messages
1,095
Trophies
0
Age
26
Location
Venezuela-Zulia.
XP
865
Country
Venezuela
it runs at 60 fps in some areas (well, 59.5 but it's almost the same) but in ship deck it drops at under 50 fps and the sprites start to glitch themselves. It still runs at a nice playable speed so no complains here :)

There's something that I also didn't considered, BlargSnes uses frame skip in some areas to keep the speed as fast as possible on DKC2.
 
Last edited by AtlasFontaine,

DeslotlCL

GBAtemp's scalie trash
Member
Joined
Oct 28, 2015
Messages
2,847
Trophies
0
XP
2,755
Country
United States
There's something that I also wasn't considering, BlargSnes uses frame skip in some areas to keep the speed as fast as possible.
I think blargsnes runs it at 60 fps, but the music plays so slow to even enjoy it while playing :( the game doesnt run at a stable fps on snes9x_3ds but at least the music depends on the game speed itself (if it is running at 59.5 fps the musics sounds like it should sound)
 

Clector

Well-Known Member
Member
Joined
Mar 15, 2016
Messages
1,078
Trophies
0
Location
Not here
XP
460
Country
Bangladesh
EarthBound works, the only that I didn"t checked is if it trigger the Copy Protection, but most likely it doesn"t.
Only saying that of course BlargSnes run it at mostly constant 60 FPS without problems so you maybe want to play in it @nooby89 .
 
  • Like
Reactions: nooby89

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
Hi DiscostewSM,

Thanks for the heads up. The 1024x1024 view port limitation is quite shocking... I had a look at BlargSNES. Correct me if I am wrong, but you did it in a slightly different way I suppose. You actually ray-traced every scan line to see which tiles you hit, and then you cache those tiles in software into the large texture?

Instead of doing the four corners, I think it might be better to divide the entire 1024x1024 into 4 vertical strips, each addressed by a 512x512 view port. Fortunately, since all the 8x8 tiles of the texture are morton-interleaved but the tiles themselves are laid out in sequence, this actually makes things slightly easier.


The basis for the hardware-rendered Mode 7 is actually quite simple. Mode 7 is just a 1024x1024 layer that is scaled/rotated, and adjustable per scanline, so represent this as a texture buffer, then use it as a texture source per scanline to render to the buffers that you would do normal rendering of backgrounds. As to rendering to this large texture buffer in the first place, it requires some adjustments, because the 3DS has an issue with rendering to a destination that uses a window greater than a 1023x1016 (width greater than 1023 causes no polygons to be rendered, and height greater than 1016 causes the GPU to hang). So, render with a window area of 512x512 for each corner, and assign a polygon list for each that contains static coordinates, that only changes with regard to what tile is shown in each slot (which could be done when writing to SNES VRAM).

Now, there are additional settings for Mode 7, but first focus on the regular Mode 7 format first. I'm sure you've looked over blargSNES's code, so you should be able to see how I implemented Mode 7 there.


To the rest, yes I know there are teething issues. :) Let me have some time to work out mode 7 and the other kinks. Thanks to everyone who helped feedback on the games that don't boot!
 
  • Like
Reactions: AtlasFontaine

DiscostewSM

Well-Known Member
Member
Joined
Feb 10, 2009
Messages
5,484
Trophies
2
Location
Sacramento, California
Website
lazerlight.x10.mx
XP
5,489
Country
United States
Hi DiscostewSM,

Thanks for the heads up. The 1024x1024 view port limitation is quite shocking... I had a look at BlargSNES. Correct me if I am wrong, but you did it in a slightly different way I suppose. You actually ray-traced every scan line to see which tiles you hit, and then you cache those tiles in software into the large texture?

Instead of doing the four corners, I think it might be better to divide the entire 1024x1024 into 4 vertical strips, each addressed by a 512x512 view port. Fortunately, since all the 8x8 tiles of the texture are morton-interleaved but the tiles themselves are laid out in sequence, this actually makes things slightly easier.





To the rest, yes I know there are teething issues. :) Let me have some time to work out mode 7 and the other kinks. Thanks to everyone who helped feedback on the games that don't boot!

I think you're looking at an old method I used for hardware rendered Mode 7. Before, it traced what tiles would be visible according to how the layer was set, which is slow when the layer is zoomed out. The method I spoke about involves rendering a pre-made list to the 4 corners of what is to be the Mode7 layer texture (doing 4 corners because of the limitations of the 3DS hardware), then using that layer for the actual rendering to the screen, where zooming in or out won't have nearly an impact on performance. My new method also optimized a little, rendering to this big buffer only if the corner to be rendered has changes made (whether by the tilecels themselves, or the tile map).
 

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
I think you're looking at an old method I used for hardware rendered Mode 7. Before, it traced what tiles would be visible according to how the layer was set, which is slow when the layer is zoomed out. The method I spoke about involves rendering a pre-made list to the 4 corners of what is to be the Mode7 layer texture (doing 4 corners because of the limitations of the 3DS hardware), then using that layer for the actual rendering to the screen, where zooming in or out won't have nearly an impact on performance. My new method also optimized a little, rendering to this big buffer only if the corner to be rendered has changes made (whether by the tilecels themselves, or the tile map).

Do you happen to have the latest code somewhere :bow:
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://www.livescience.com/59831-cotton-candy-grapes.html#:~:text=To%20make%20the%20Cotton%20Can...