Homebrew W.I.P. Nestopia port!

D

Deleted User

Guest
Author here. For the most part its working, but in order to get it to run faster, I'm working on hardware-accelerated rendering. Unfortunately, I haven't been able to get that to work on anything but citra so far, so for now it just freezes when you load a game.
 

Idaho

Well-Known Member
Member
Joined
Oct 3, 2013
Messages
888
Trophies
1
Age
29
XP
1,451
Country
France
Well keep up dude, I'm excited to see a playable release, the 3DS homebrew scene needs functional emulators and more good devs :D
 
  • Like
Reactions: Margen67
D

Deleted User

Guest
I'll keep trying, but I wouldn't get my hopes up just yet. Haven't been having much luck with getting GPU rendering to work on an actual 3DS.
 
  • Like
Reactions: Margen67

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
I'm really looking forward to seeing this. Nestopia was a really nice emulator to use, although VirtuaNES has the best NSF playback GUI ;D
 

DiscostewSM

Well-Known Member
Member
Joined
Feb 10, 2009
Messages
5,538
Trophies
2
Location
Sacramento, California
Website
lazerlight.x10.mx
XP
5,664
Country
United States
I'll keep trying, but I wouldn't get my hopes up just yet. Haven't been having much luck with getting GPU rendering to work on an actual 3DS.




If you take a look at the source code for BlargSNES, you can get an idea of how to do it. What that does is that it goes through each scanline, identifies differences from the previous scanline (like modes, background position, etc), stores them into sections, and then after the last scanline, goes through each section one at a time, grabbing the tiles that make up each section, converting them to direct-color textures that get stored into a texture cache, and mapping those onto 2 polygons (that form a rectangle) that are added to an array list. Sounds like a lot, but considering you're working with the NES and not the SNES, many of the steps are simplified.
 

jocopoco

Well-Known Member
Newcomer
Joined
Feb 13, 2014
Messages
90
Trophies
0
Age
44
XP
106
Country
k, thanks but I have problems with ctrcommon, which ctrulib verrsion are u using? Anyway I have also problems with my emu, is your hb requiring external files on sd?
 
D

Deleted User

Guest
If you take a look at the source code for BlargSNES, you can get an idea of how to do it. What that does is that it goes through each scanline, identifies differences from the previous scanline (like modes, background position, etc), stores them into sections, and then after the last scanline, goes through each section one at a time, grabbing the tiles that make up each section, converting them to direct-color textures that get stored into a texture cache, and mapping those onto 2 polygons (that form a rectangle) that are added to an array list. Sounds like a lot, but considering you're working with the NES and not the SNES, many of the steps are simplified.


One of my goals is to not touch the actual NES emulator code, allowing the libretro frontend code to be reused on other emulator cores. Of course, if that proves too slow, I can always delve into the NES rendering code and make some changes.

I actually have everything rendering fine on citra. I seem to be making an error somewhere in my use of GPU code, however, as it freezes on an actual 3DS.

Basically, my issue isn't with how I want to render it, but that I can't figure out what I'm doing wrong in the resulting code that makes it freeze.
 
  • Like
Reactions: SLiV3R

Idaho

Well-Known Member
Member
Joined
Oct 3, 2013
Messages
888
Trophies
1
Age
29
XP
1,451
Country
France
One of my goals is to not touch the actual NES emulator code, allowing the libretro frontend code to be reused on other emulator cores. Of course, if that proves too slow, I can always delve into the NES rendering code and make some changes.

I actually have everything rendering fine on citra. I seem to be making an error somewhere in my use of GPU code, however, as it freezes on an actual 3DS.

Basically, my issue isn't with how I want to render it, but that I can't figure out what I'm doing wrong in the resulting code that makes it freeze.

You should ask the big guys on #3dsdev then, if they don't have an answer they might at least help you finding one...
 

davhuit

Well-Known Member
Member
Joined
Nov 23, 2005
Messages
994
Trophies
0
XP
550
Country
France
Nice, good luck!

As someone said, it's too bad to see the lack of working 3DS emulators homebrew when most of them could now work without any downscaling at all and fullspeed/with sound

(Still hoping someone will try to emulate the Genesis, one day).

And nice choice about Nestopia, as it's a cycle-accurate emulator.
 
  • Like
Reactions: Margen67

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • NinStar @ NinStar:
    in that case, there is no such thing as homebrew launcher for aroma
  • NinStar @ NinStar:
    you have to launch your homebrews directly from the wii u menu
  • NinStar @ NinStar:
    there is a plugin that display them on the wii u menu, pretty sure it is enabled by default
  • crafthp434 @ crafthp434:
    so like it doesnt exist
  • crafthp434 @ crafthp434:
    yeah
    ?
  • NinStar @ NinStar:
    it doesn't exist, at least not for aroma
  • crafthp434 @ crafthp434:
    ohhhhh
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
    BigOnYa @ BigOnYa: @Xdqwerty you can use a "spawner" function on any object.