Views: 1,383,930 | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 03-29-24 12:24 PM |
Guest: |
0 users reading blargSnes -- SNES emulator for the 3DS | 1 bot |
Main - Homebrew projects - blargSnes -- SNES emulator for the 3DS | Hide post layouts | New reply |
StapleButter |
| ||
Member blarg Level: 29 Posts: 158/184 EXP: 146400 Next: 1485 Since: 10-27-14 From: France Last post: 2411 days ago Last view: 2321 days ago |
if you're launching as a CIA, you might need to place a DSP binary on your SD card, I don't remember the path/filename ____________________ blargSNES -- SNES emu for 3DS More cool stuff |
profi200 |
| ||
Member Who knows? Level: 19 Posts: 48/70 EXP: 33309 Next: 2468 Since: 05-21-15 From: Germany Last post: 2755 days ago Last view: 2623 days ago |
https://github.com/smealum/ctrulib/blob/feb0b095e084df22a7626ecb0961d5ba51d9487d/libctru/source/ndsp/ndsp.c#L400
For CIA versions you must dump and place the binary there. |
Discostew |
| ||
Member Normal user Level: 17 Posts: 40/51 EXP: 20713 Next: 4030 Since: 05-21-15 Last post: 2854 days ago Last view: 2230 days ago |
Posted by profi200 Ah, so it only checks for a binary or "hb:dsp", the latter only available via the hax. Guess I'll need to dump the binary. As a note for those wanting to build a new cia, it still has a problem when suspending to the home menu and re-entering the application. I'll see what I can do about that. |
Cruel |
| ||
Newcomer Normal user Level: 7 Posts: 3/7 EXP: 1049 Next: 399 Since: 06-13-15 Last post: 2946 days ago Last view: 2868 days ago |
Run this to dump dsp binary to right location.
https://github.com/Cruel/DspDump |
Discostew |
| ||
Member Normal user Level: 17 Posts: 41/51 EXP: 20713 Next: 4030 Since: 05-21-15 Last post: 2854 days ago Last view: 2230 days ago |
Yep, found it, dumped it, used it. It works as a CIA now with the binary (and I guess it should work for those running *hax under 2.5).
Now to examine the visual problem when someone using the CIA build suspends the app to get to the Home menu and returns. It's rather interesting to see the Chrono Trigger demo thing that plays with it gone all white, as BGs still show up somewhat. |
Cruel |
| ||
Newcomer Normal user Level: 7 Posts: 4/7 EXP: 1049 Next: 399 Since: 06-13-15 Last post: 2946 days ago Last view: 2868 days ago |
Posted by Discostew Yeah, you'll need to reset some GPU stuff on apt resume. You could perhaps use sf2d as a simple example: https://github.com/xerpi/sf2dlib/blob/master/libsf2d/source/sf2d.c#L292 EDIT: afaik, it's mainly the shader that needs to be reset. |
Steveice10 |
| ||
Newcomer Normal user Level: 7 Posts: 7/7 EXP: 1067 Next: 381 Since: 02-25-15 Last post: 2987 days ago Last view: 2218 days ago |
Posted by Cruel IIRC it's the *entire* GPU state that needs to be reset, since the home menu had to set up its own GPU state over yours. |
Discostew |
| ||
Member Normal user Level: 17 Posts: 42/51 EXP: 20713 Next: 4030 Since: 05-21-15 Last post: 2854 days ago Last view: 2230 days ago |
Believe I got it working with suspending now. It was just a matter of using hte hooks I set up, then calling bglDeInit() on suspend, and calling bglInit() on Restore.
edit: Err....mostly working. It works when either in sleep mode or suspend mode, but with CIAs, you can suspend then sleep, and when doing that, it causes everything to halt on black screens..... |
UltiNaruto |
| ||
Newcomer Normal user Level: 6 Posts: 5/5 EXP: 617 Next: 290 Since: 11-19-15 Last post: 2987 days ago Last view: 2864 days ago |
Sorry @Discostew for not replying earlier, I should have watched the thread daily like I usually do. Anyway here's my package for building .cia and .3ds.
http://www.mediafire.com/download/66amnyqsrk639qw/build_blargSnesCia_1.3c.zip I had to remove ExeFs and PlainRegion since I use latest makerom version. It was a real pain in the ass to build .cia for my first time. ^^ |
O-bake |
| ||
Newcomer Normal user Level: 5 Posts: 3/3 EXP: 288 Next: 241 Since: 10-28-15 Last post: 2985 days ago Last view: 2754 days ago |
I am not sure if I got this right: Does everyone needs to do this firmware/DSP-dump or just people with a fw greater than 9.2?
Anyways, thank you guys for still working on this...much appreciated! |
Discostew |
| ||
Member Normal user Level: 17 Posts: 43/51 EXP: 20713 Next: 4030 Since: 05-21-15 Last post: 2854 days ago Last view: 2230 days ago |
Posted by O-bake From what I understand about using NDSP, if you're running *hax 2.5, then you don't need it. But, if you're running a lower version than 2.5, or are running the emulator via CIA or some other means outside of *hax, then you do. |
profi200 |
| ||
Member Who knows? Level: 19 Posts: 49/70 EXP: 33309 Next: 2468 Since: 05-21-15 From: Germany Last post: 2755 days ago Last view: 2623 days ago |
Just linking the issues page here: https://github.com/StapleButter/blargSnes/issues/30
Found these problems while trying a build from the veryhard branch. |
Blue Wizard |
| ||
Newcomer Normal user Level: 6 Posts: 1/5 EXP: 610 Next: 297 Since: 01-25-16 Last post: 2933 days ago Last view: 2928 days ago |
Just chiming in that ActRaiser has zero audio when running the aformentioned1.3"c" (veryhard?) .cia even with the DSP dump. Any reason why? Not so much asking for a fix as just curious why. |
Discostew |
| ||
Member Normal user Level: 17 Posts: 44/51 EXP: 20713 Next: 4030 Since: 05-21-15 Last post: 2854 days ago Last view: 2230 days ago |
Posted by Blue Wizard It's a problem that's been around for a bit once dsp syncing was being worked on. Some games worked with the changes, and some stopped working. StapleButter's recent work helped make the game runnable again, but audio is out for the time being. |
Blue Wizard |
| ||
Newcomer Normal user Level: 6 Posts: 2/5 EXP: 610 Next: 297 Since: 01-25-16 Last post: 2933 days ago Last view: 2928 days ago |
Posted by Discostew Thanks for the timely response. I'd rather it run without audio than hang at the title screen like before It's pretty impressive what all is being achieved here that can run on an o3ds compared to the libretro nightlies. Time to try out SoulBlazer and see how it goes |
Discostew |
| ||
Member Normal user Level: 17 Posts: 45/51 EXP: 20713 Next: 4030 Since: 05-21-15 Last post: 2854 days ago Last view: 2230 days ago |
Posted by Blue Wizard SoulBlazer suffers from what Actraiser does, which is having no audio (though some clicks here and there might crop up), and I have experienced some freezes upon transitions. |
Blue Wizard |
| ||
Newcomer Normal user Level: 6 Posts: 3/5 EXP: 610 Next: 297 Since: 01-25-16 Last post: 2933 days ago Last view: 2928 days ago |
Posted by Discostew Heartbreak not surprised though considering the similarities. Thanks for the heads up |
ShinyZeni |
| ||
Newcomer Normal user Level: 3 Posts: 1/1 EXP: 54 Next: 74 Since: 01-28-16 Last post: 2982 days ago Last view: 2947 days ago |
Hey, so I'm not sure if this has been reported or not. I noticed on the Wiki Compatibility List Super Metroid says "may crash on rare occasions" and the PAL one specifies "mostly in Maridia"
I have run into a consistent crash in this room: Most of the layers disappear and the game hangs. It's happened to me 3 times in a row so I know it's not just a fluke. Anyway, not sure what can be done to resolve this, but I figured I would report it because the game runs very well aside from this! Bummed I won't be able to do 100% on this right now though. Thanks for all the hard work on this project! |
Discostew |
| ||
Member Normal user Level: 17 Posts: 46/51 EXP: 20713 Next: 4030 Since: 05-21-15 Last post: 2854 days ago Last view: 2230 days ago |
Posted by ShinyZeni That room normally causes a crash on the official releases of blargSNES. The current unofficial ones don't seem to crash at that point, at least by my accounts when testing it with the unofficial ones. |
memz5k |
| ||
Newcomer Normal user Level: 3 Posts: 1/1 EXP: 54 Next: 74 Since: 02-03-16 Last post: 2976 days ago Last view: 2965 days ago |
Ive just recently tried out 1.3b on my 3DS XL and it runs really well, i would like to thank everyone in the development team for their hard work.
I look forward to future releases and hopefully some official .cia builds. Thanks |
Main - Homebrew projects - blargSnes -- SNES emulator for the 3DS | Hide post layouts | New reply |
Page rendered in 0.021 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 103/103, time: 0.011 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |