4dsdev
Views: 1,611,496 Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 12-02-24 07:30 PM
Guest:

0 users reading blargSnes -- SNES emulator for the 3DS | 2 bots

Main - Homebrew projects - blargSnes -- SNES emulator for the 3DS Hide post layouts | New reply

Pages: 1 2 3 4 5 ... 10 11 12 13 14 15 16 17
StapleButter
Posted on 01-24-16 02:36 AM Link | #902
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
Posted on 01-24-16 02:45 AM Link | #903
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
Posted on 01-24-16 03:22 AM Link | #904
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
Posted on 01-24-16 03:27 AM (rev. 3 of 04-24-16 08:38 PM) Link | #905
Run this to dump dsp binary to right location.

https://github.com/Cruel/DspDump

Discostew
Posted on 01-24-16 03:45 AM (rev. 2 of 01-24-16 03:47 AM) Link | #906
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
Posted on 01-24-16 03:52 AM (rev. 2 of 01-24-16 03:54 AM) Link | #907
Posted by Discostew
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.

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
Posted on 01-24-16 04:14 AM Link | #908
Posted by Cruel
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.

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
Posted on 01-24-16 04:40 AM (rev. 2 of 01-24-16 05:29 AM) Link | #909
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
Posted on 01-24-16 09:50 AM Link | #910
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
Posted on 01-25-16 04:04 PM Link | #911
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
Posted on 01-25-16 06:06 PM Link | #912
Posted by O-bake
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!


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
Posted on 01-25-16 06:12 PM Link | #913
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
Posted on 01-25-16 08:20 PM (rev. 3 of 01-25-16 08:24 PM) Link | #915
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
Posted on 01-25-16 09:12 PM Link | #916
Posted by Blue Wizard
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.


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
Posted on 01-26-16 12:11 AM (rev. 2 of 01-26-16 12:12 AM) Link | #917
Posted by Discostew
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.


Thanks for the timely response. I'd rather it run without audio than hang at the title screen like before :P

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
Posted on 01-26-16 12:23 AM Link | #918
Posted by Blue Wizard
Thanks for the timely response. I'd rather it run without audio than hang at the title screen like before :P

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


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
Posted on 01-26-16 12:40 AM Link | #919
Posted by Discostew
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.


Heartbreak :( not surprised though considering the similarities. Thanks for the heads up

ShinyZeni
Posted on 01-28-16 05:27 PM Link | #920
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:

[image]

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
Posted on 01-28-16 08:02 PM Link | #921
Posted by ShinyZeni
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:

[image]

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!


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
Posted on 02-03-16 11:03 PM Link | #926
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
Pages: 1 2 3 4 5 ... 10 11 12 13 14 15 16 17

Main - Homebrew projects - blargSnes -- SNES emulator for the 3DS Hide post layouts | New reply

Page rendered in 0.099 seconds. (2048KB of memory used)
MySQL - queries: 28, rows: 103/103, time: 0.039 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.