Homebrew doom

  • Thread starter Thread starter elhobbs
  • Start date Start date
  • Views Views 208,152
  • Replies Replies 900
  • Likes Likes 34
I struggled quite a bit trying to get the sound to stay synchronized. Under 4.5 I could query csnd to get the playback position, but that was removed with newer updates. So now I use a timer but it does not work well. Essentially csnd is crap (or possibly I don't know how to use it correctly). I am hoping that the new Dsp code that fincs is working on will be an improvement.
Sounds good, hope you are able to get it working. What you've done thus far is already impressive and fully playable, so the rest is icing on the cake.
 
Last edited by blaydes99,
I keep getting this on VS Community 2015:
Code:
/prboom3ds-master/arm11/source/Mixer_3ds.cpp(17):137: error: cannot convert 'float' to 'void*' for argument '4' to 'Result csndPlaySound(int, u32, u32, void*, void*, u32)'
1>    ret = csndPlaySound(0x10, SOUND_REPEAT | SOUND_FORMAT_8BIT, m_speed, 1.0f, 0.0f, (u32*)m_soundBuffer, (u32*)m_soundBuffer, m_bufferSize);
1>                                                                                                                                           ^
1>  make[1]: *** [Mixer_3ds.o] Error 1
1>  make: *** [build] Error 2
 
I keep getting this on VS Community 2015:
Code:
/prboom3ds-master/arm11/source/Mixer_3ds.cpp(17):137: error: cannot convert 'float' to 'void*' for argument '4' to 'Result csndPlaySound(int, u32, u32, void*, void*, u32)'
1>    ret = csndPlaySound(0x10, SOUND_REPEAT | SOUND_FORMAT_8BIT, m_speed, 1.0f, 0.0f, (u32*)m_soundBuffer, (u32*)m_soundBuffer, m_bufferSize);
1>                                                                                                                                           ^
1>  make[1]: *** [Mixer_3ds.o] Error 1
1>  make: *** [build] Error 2
this is because you need a more current ctrulib installation. the latest version on git works.
 
Has anyone been able to get the CIA to work? I'm on N3DS and I downloaded a modified CIA for the N3DS that was recently posted (I believe in this thread) but I cannot find the post anymore.
The game gives an error because I don't have the prboom.wad. I've tried renaming doom2.wad to prboom.wad but then a I get a CRBRICK error.
Any help would be greatly appreciated.
 
Has anyone been able to get the CIA to work? I'm on N3DS and I downloaded a modified CIA for the N3DS that was recently posted (I believe in this thread) but I cannot find the post anymore.
The game gives an error because I don't have the prboom.wad. I've tried renaming doom2.wad to prboom.wad but then a I get a CRBRICK error.
Any help would be greatly appreciated.

You need the actual prboom wad. Renaming other ones won't help. You can try grabbing it from here: http://sourceforge.net/projects/prboom/files/prboom stable/2.5.0/. Get the win32 zip file and it will have the wad inside.
 
  • Like
Reactions: Whole lotta love
You need the actual prboom wad. Renaming other ones won't help. You can try grabbing it from here: http://sourceforge.net/projects/prboom/files/prboom stable/2.5.0/. Get the win32 zip file and it will have the wad inside.
That did it, thank you! I tried using PrBoom.wad but i think it was from an older version. Thanks!!!

Also, I want to thank the author of this port, it works great and I'm having a ton of fun with it.

Last time I played Doom was on my Tapwave Zodiac :)
 
Last edited by Whole lotta love,
  • Like
Reactions: daxtsu
Hmm pbroom used to work beautifully but on 2.5 it won't boot for me. Anybody else? N3dsxl ironhax 10.1
 
a new version is pushed to git.

the issue appears to be bug with ninjhax 2.5 (or possible ctrulib or home brew menu?). the entry point for C programs in the "main" function. int main(int argc, char **argv); essentially for passing parameters from the command line. generally the first parameter is the executable file and path - which is the only parameter you would expect on the 3ds. For some reason prboom3ds is receiving argc == 2. prboom3ds assumes any unqualified parameters are additional wad files. in this case the value is null so it fails because it thinks you asked for a file that doesn't exist.

edit: the issue is with the homebrew menu - and a fix has already been pushed to git https://github.com/smealum/3ds_hb_menu/commit/7db179e85a8bf97937a739cba3c7264a21aad36d

i wish I had looked at this before I spent a bunch of time tracking the issue down...
 
Last edited by elhobbs, , Reason: new info
Well in any case Doom is back in buisiness :) awesome. Tested and confirming it works
 

Site & Scene News

Popular threads in this forum