Homebrew blargSnes -- SNES emulator for the 3DS (WIP)

Status
Not open for further replies.

xantoz

Well-Known Member
Newcomer
Joined
Nov 28, 2014
Messages
73
Trophies
0
Age
33
XP
100
Country
So I don't know whether this is unwanted information or not since it pertains to git versions entirely.

At one point (stupidly I didn't record from which commit I compiled this binary) Umihara Kawase was playable, albeit with a whole lot of Open Bus 2144 messages.

However at the most recent commit I get "!! SPC IO MIRROR READ 44" messages instead and the game doesn't respond to controls, just like it does with blargSnes 1.2 official release (albeit on the official release it gives Open bus 2144 messages and has more graphical glitches).

EDIT: It stops being playable at (everything during stages is completely frozen) at commit e8b55fb0eb244bb7f95e7d53ba887ea47b11f5d2, Fix VBlank timing.

Still don't know at what commit it starts working.
 

Arisotura

rise of melonism
OP
Member
Joined
Dec 5, 2009
Messages
839
Trophies
1
Age
30
Location
center of the Sun
Website
kuribo64.net
XP
2,498
Country
France
Haha Xenon Hacks you remind me of that guy who thought you could speed up an emulator with a magical setSpeed() function :P


xantoz well that's that it says on the tin...

2011129124331384.jpg


:P

Seriously though, I guess I finally have a test case for the SPC I/O port mirrors. I also hope that's why your game is hanging. Otherwise, that'd mean the incorrect VBlank timing made it work, hinting that there is something wrong somewhere else.
 
  • Like
Reactions: eco95

sj33

Well-Known Member
Member
Joined
Oct 22, 2013
Messages
4,072
Trophies
2
XP
4,728
Country
Japan
24y3329.jpg

fk2xdc.jpg


Here's the weird graphical bugs in Dragon Ball Z: Super Saiya Densetsu, the English patched version as you can see. The Raditz graphic has inverted colours, and the characters in-battle are garbled.

The game is still fully playable so hardly a big issue, just pointing it out in case other games suffer from something similar.
 

Onion_Knight

Well-Known Member
Member
Joined
Feb 6, 2014
Messages
878
Trophies
0
Age
45
XP
997
Country
fyi gpu stuff is undergoing a big revamp so aemstro and ctrulib will be pretty "unstable" in the coming weeks; you probably won't want to be on the bleeding edge.

I noted it; I started walking back aemstro when I used the current version to try and compile and it threw some python int conversion errors.
 

LumInvader

Well-Known Member
Member
Joined
Mar 30, 2013
Messages
702
Trophies
1
XP
1,784
Country
United States
Wow ! I finaly got latest revision and this is a bomb!
F-Zero ran flawlessly! it has a frameskip of 1, which is very good right now :)

Psp has been beaten by this ! I hated to play this shit on a aproxsoft render with a frameskip of 3 :nayps3:
At least Blargsnes renders lightning properly with mode7 in the same time :P
StapleButter you did an amazing job!

1.3 is definitely going to be HUGE :yay:
Frameskip of 3? You either don't have the correct build or have no idea what you're doing.

On the PSP, F-Zero runs perfectly fine on MECM builds with frameskip 1. In fact, ~95% of the games run full speed with either 0/1 frameskipping.
 
  • Like
Reactions: VinsCool and SLiV3R

sj33

Well-Known Member
Member
Joined
Oct 22, 2013
Messages
4,072
Trophies
2
XP
4,728
Country
Japan
^You can use the speed hacks too to give things an extra boost. I got F-Zero working at ~55fps, marginally below full speed. This is on a Vita w/ cfw so doesn't even support MECM. 'Snes9x TYLcm 0.4.2 Mod Rev.26' to be exact.

But still, blargSnes is already showing signs that it should surpass it.
 
  • Like
Reactions: LumInvader

LumInvader

Well-Known Member
Member
Joined
Mar 30, 2013
Messages
702
Trophies
1
XP
1,784
Country
United States
^You can use the speed hacks too to give things an extra boost. I got F-Zero working at ~55fps, marginally below full speed. This is on a Vita w/ cfw so doesn't even support MECM. 'Snes9x TYLcm 0.4.2 Mod Rev.26' to be exact.

But still, blargSnes is already showing signs that it should surpass it.
The big advantage blargSnes has is StapleButter. He's extremely active and is open to feedback from the gbatemp community. I don't want to pressure the guy, but I also get the feeling about blargSnes eventually surpassing the PSP builds.

And let's face it, as fast as the PSP builds are, full speed games still suffer from occasional random tearing even with v-sync enabled.
 

Arisotura

rise of melonism
OP
Member
Joined
Dec 5, 2009
Messages
839
Trophies
1
Age
30
Location
center of the Sun
Website
kuribo64.net
XP
2,498
Country
France
Speaking of the PSP emulator, how good is its audio with and without the ME?

From what I see in the code, it does blocking audio output (wait until the buffer is done playing). With mixing inbetween, that should cause crackling...
 

LumInvader

Well-Known Member
Member
Joined
Mar 30, 2013
Messages
702
Trophies
1
XP
1,784
Country
United States
Speaking of the PSP emulator, how good is its audio with and without the ME?

From what I see in the code, it does blocking audio output (wait until the buffer is done playing). With mixing inbetween, that should cause crackling...
My experience is mainly with the ME builds, but I haven't noticed any crackling. It's audio performs as expected pretty much.
 

dronesplitter

Well-Known Member
Member
Joined
Sep 30, 2007
Messages
595
Trophies
0
XP
421
Country
United States
Poor sound was always what I got from SNES on PSP. No crackle but the sounds didn't match well at all with the real thing.
 

sj33

Well-Known Member
Member
Joined
Oct 22, 2013
Messages
4,072
Trophies
2
XP
4,728
Country
Japan
Sound was definitely better in CATSFC. With the PSP emulators the priority was trying to get something approaching full speed, so we tolerated inaccurate sound.
 

Myria

Well-Known Member
Member
Joined
Jul 24, 2014
Messages
464
Trophies
0
Age
42
XP
852
Country
United States
That hackers managed to get SNES games on 3DS faster than Nintendo Virtual Console is a travesty. A Link to the Past should be on the 3DS alongside its sequel A Link Between Worlds.
 
  • Like
Reactions: MajinCubyan

MajinCubyan

The Funky Super Saiyan
Member
Joined
Nov 24, 2014
Messages
783
Trophies
2
Age
35
Location
Orre
XP
2,124
Country
United States
That hackers managed to get SNES games on 3DS faster than Nintendo Virtual Console is a travesty. A Link to the Past should be on the 3DS alongside its sequel A Link Between Worlds.

I been saying put SNES on VC forever now. I feel like I been filling out the Club Nintendo surveys for nothing. Haha.
 

Kazanye

Member
Newcomer
Joined
Nov 30, 2014
Messages
12
Trophies
0
Age
39
XP
55
Country
France
Mh, I see.


Nintendo doesn't bring SNES classics to the 3DS because they want to push the WiiU ;)

In the end, not really a good choice though. They could make some money if they released SNES VC games to the 3DS, really.

Well, the fact that they brought back colored ABXY buttons onto the New 3DS definitely hints at SNES VC games coming exclusively to the New 3DS in the near future. Really, I don't believe they would bring about a new handheld model just for the sake of slightly improved graphics and better 3D. Nintendo want perfect, or at least near-perfect emulation of their older consoles, and I believe that's why they wanted a faster processor to guarantee flawless execution of their amazing timeless SNES classics.

But hey, who needs a fancy New 3DS now ? :P
 

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Poor sound was always what I got from SNES on PSP. No crackle but the sounds didn't match well at all with the real thing.


That would be due in part to the fact they used emulators based off Snes9x 1.43, inaccurate sound all around, that, and they rely a lot on frameskip AFAIK.

Mh, I see.


Nintendo doesn't bring SNES classics to the 3DS because they want to push the WiiU ;)


In the end, not really a good choice though. They could make some money if they released SNES VC games to the 3DS, really.

Oh definitely, you're proven that the 3DS is more than capable of running Snes emulation and is only getting better. Keep up the good work :) People do what Nintendon't.
 
  • Like
Reactions: MajinCubyan

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Nonsense. The vast majority of ME games run without frameskip -- over 80%.


I stand corrected, my apologies. But I do still stand by the fact the audio emulation accuracy is still garbage on the PSP's Snes emulators. Being based off of 1.43, this kills a lot of the sound effects and SPC700 (S-SMP) timing is way off; BlargSnes has accurate sound effects in most cases. Special chip games barely run at all. The 3DS might have a chance at least with the SA-1, which I hear has a similar clock speed to the main Snes CPU.
 

weatMod

Well-Known Member
Member
Joined
Aug 24, 2013
Messages
3,305
Trophies
2
Age
47
XP
3,351
Country
United States
Well, the fact that they brought back colored ABXY buttons onto the New 3DS definitely hints at SNES VC games coming exclusively to the New 3DS in the near future. Really, I don't believe they would bring about a new handheld model just for the sake of slightly improved graphics and better 3D. Nintendo want perfect, or at least near-perfect emulation of their older consoles, and I believe that's why they wanted a faster processor to guarantee flawless execution of their amazing timeless SNES classics.

But hey, who needs a fancy New 3DS now ? :P


"Nintendo want perfect, or at least near-perfect emulation of their older consoles"

well if that is the case then they need to go back to the drawing board because their NES VC emulator is fucking crap
 
  • Like
Reactions: phr3ak
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu