Views: 1,609,346 | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 11-21-24 04:00 PM |
Guest: |
0 users reading blargSnes -- SNES emulator for the 3DS | 4 bots |
Main - Homebrew projects - blargSnes -- SNES emulator for the 3DS | Hide post layouts | New reply |
StapleButter |
| ||
Member blarg Level: 30 Posts: 158/184 EXP: 151361 Next: 14508 Since: 10-27-14 From: France Last post: 2648 days ago Last view: 2558 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: 34508 Next: 1269 Since: 05-21-15 From: Germany Last post: 2993 days ago Last view: 2861 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: 21459 Next: 3284 Since: 05-21-15 Last post: 3091 days ago Last view: 2467 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: 1087 Next: 361 Since: 06-13-15 Last post: 3183 days ago Last view: 3105 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: 21459 Next: 3284 Since: 05-21-15 Last post: 3091 days ago Last view: 2467 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: 1087 Next: 361 Since: 06-13-15 Last post: 3183 days ago Last view: 3105 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: 1104 Next: 344 Since: 02-25-15 Last post: 3224 days ago Last view: 2455 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: 21459 Next: 3284 Since: 05-21-15 Last post: 3091 days ago Last view: 2467 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: 641 Next: 266 Since: 11-19-15 Last post: 3224 days ago Last view: 3102 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: 299 Next: 230 Since: 10-28-15 Last post: 3222 days ago Last view: 2991 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: 21459 Next: 3284 Since: 05-21-15 Last post: 3091 days ago Last view: 2467 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: 34508 Next: 1269 Since: 05-21-15 From: Germany Last post: 2993 days ago Last view: 2861 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: 634 Next: 273 Since: 01-25-16 Last post: 3171 days ago Last view: 3165 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: 21459 Next: 3284 Since: 05-21-15 Last post: 3091 days ago Last view: 2467 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: 634 Next: 273 Since: 01-25-16 Last post: 3171 days ago Last view: 3165 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: 21459 Next: 3284 Since: 05-21-15 Last post: 3091 days ago Last view: 2467 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: 634 Next: 273 Since: 01-25-16 Last post: 3171 days ago Last view: 3165 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: 56 Next: 72 Since: 01-28-16 Last post: 3219 days ago Last view: 3184 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: 21459 Next: 3284 Since: 05-21-15 Last post: 3091 days ago Last view: 2467 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: 56 Next: 72 Since: 02-03-16 Last post: 3213 days ago Last view: 3202 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.027 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. |