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
884
Trophies
1
Age
29
XP
1,415
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,484
Trophies
2
Location
Sacramento, California
Website
lazerlight.x10.mx
XP
5,500
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
884
Trophies
1
Age
29
XP
1,415
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
  • RedColoredStars @ RedColoredStars:
    There is zero instacart delivery to here. No door dash. No Uber. Notta. Its a small farming community
    +1
  • Sicklyboy @ Sicklyboy:
    eagerly awaiting 4x 8TB HDDs to get delivered today
  • RedColoredStars @ RedColoredStars:
    So I drive the 30 miles there, spend $100-$150 on groceries, and drive back home. Still saved $$$ after gas over shopping locally.
    +1
  • K3Nv2 @ K3Nv2:
    You'd think you could make deals with local farmers
  • AncientBoi @ AncientBoi:
    :unsure::unsure::unsure: I could make a killing there doing instcart there :D @RedColoredStars
  • RedColoredStars @ RedColoredStars:
    It makes the trip even more worth it if I'm out of my medication and need to stop by the medical dispensary. I try to line the two up to avoid extra trips.
    +1
  • RedColoredStars @ RedColoredStars:
    @AncientBoi, Except the town is pretty MAGA infested. People still flying TRUMP 2016 flags all over. They didnt get the memo the year changed since then. lol.
    +1
  • RedColoredStars @ RedColoredStars:
    They passed a city ordinance last month. No smoking cannabis in public. Not even eating gummies. $300 fine and misdemeanor charge if caught. People can walk down the street smoking cigs and tossing the butts all over, but God forbit someone take a couple puffs of their medication.
    +1
  • RedColoredStars @ RedColoredStars:
    First off, it's recreationally legal here. Secondly, I have a prescription from my doctor and approved by the state. But still a fucking criminal.
    +1
  • RedColoredStars @ RedColoredStars:
    Like at bars. Cant sit outside even in the smoking section and take a few puffs. Yet I have to breath the cig smoke from 20 people chain smoking all night in every direction around me.
  • K3Nv2 @ K3Nv2:
    Honestly I feel like Trump is going to crush Biden just because of the trial
  • RedColoredStars @ RedColoredStars:
    They cite
    public health and safety concerns" LMAO!!! Yet they do nothing about the poison drinking water quality.
  • K3Nv2 @ K3Nv2:
    The look at how they treated me card is powerful within dumb voters
  • RedColoredStars @ RedColoredStars:
    A Trump win is certainly a possibility. If he's reelected, 4 more years then no one has to worry about him being president ever again. I survived last time, I'll survive it if there's a next time. Don't know how anyone could vote for the guy, but I'm also not anyone else but me.
    +1
  • K3Nv2 @ K3Nv2:
    Honestly things were cheaper with Trump but that's tounge and cheek could be exactly the same outcome if he won reelection
  • RedColoredStars @ RedColoredStars:
    All of the fake "Christians" vote for him even though he's broken like 8 of the 10 commandments... that we know of. Maybe all 10. LOL
    +1
  • K3Nv2 @ K3Nv2:
    A president is just a public figure within America
  • K3Nv2 @ K3Nv2:
    South park put it will there's always a bite between a turd sandwhich or a giant douce
    +1
  • RedColoredStars @ RedColoredStars:
    I like when he says stuff like "They are preventing me from talking!!!" Wait. What? You mean the person that is literally talking right now.. is being prevented from talking? LOL! Gag order also does not apply to taking the stand. He's free to say whatever he'd like. lolol
    +1
  • NinStar @ NinStar:
    holy fuck this discsussion sucks, where are my sisters
  • K3Nv2 @ K3Nv2:
    Well if it sucks stop blowing turd sandwhich
    +1
  • Xdqwerty @ Xdqwerty:
    @NinStar, convince your parents to make a sister for you
  • NinStar @ NinStar:
    parents? what parents?
  • K3Nv2 @ K3Nv2:
    People who screwed each other to make you
    +2
    K3Nv2 @ K3Nv2: People who screwed each other to make you +2