Homebrew [Release] Lemmings for 3DS

  • Thread starter Thread starter bayleef
  • Start date Start date
  • Views Views 47,781
  • Replies Replies 148
  • Likes Likes 34
Status
Not open for further replies.
I guess you have not looked into the messy main.c yet.
At least for me this seems to be the only possible explanation for why I am getting thanks for that code.;)

Okay, more seriously: I'm looking forward to get help with the development. I encourage you (and anybody else who wants to help me) to suggest changes for everything that should be changed (maybe code organization, but even licence or author defined in Makefile). If I don't like these changes, I could still reject them.
However, if you want to change a lot of things (like organization of the code) or add a really big feature that takes a lot of time to implement, you may contact me before - just to avoid painful merging and/or wasting time by implementing the same feature multiple times parallel.
 
Last edited by bayleef,
I guess you have not looked into the messy main.c yet.
At least for me this seems to be the only possible explanation for why I am getting thanks for that code.;)

Okay, more seriously: I'm looking forward to get help with the development. I encourage you (and anybody else who wants to help me) to suggest changes for everything that should be changed (maybe code organization, but even licence or author defined in Makefile). If I don't like these changes, I could still reject them.
However, if you want to change a lot of things (like organization of the code) or add a really big feature that takes a lot of time to implement, you may contact me before - just to avoid painful merging and/or wasting time by implementing the same feature multiple times parallel.
I actually haven't looked at the source code yet. I was thanking you for the ongoing effort and for putting the source on GH :) Yeah I'll contact you before doing anything of any significance.
 
Version 0.3 is available. This version adds audio. However, to have audio, make sure that the you have copied the ADLIB.DAT files from DOS Lemmings game into the corresponding subfolders of /lemmings folder on your SD card.
Audio is played via NDSP service. Hence, you need a DSP firm dump.
 
Last edited by bayleef,
Hey thanks for this. The sound is working great but when i close the game it just hangs on the home screen saying "Closing software...". Im using A9LH, Luma3DS 6.1.3, FW 11.1.0-34E.
 
Hey thanks for this. The sound is working great but when i close the game it just hangs on the home screen saying "Closing software...". Im using A9LH, Luma3DS 6.1.3, FW 11.1.0-34E.
This is a known bug.
Okay, I have created a CIA file. However, sometimes the 3DS hangs when trying to terminate the game using the HOME button.
At the moment I don't know what causes the bug or how to fix it.
However, there is a workaround: Don't close the game by HOME button, but close it by pressing L + R in its main menu.
 
  • Like
Reactions: Vamosi
  • Like
Reactions: Quantumcat
This is fantastic- so nice to have a version of the game that renders at 3DS-native resolution!
 
@bayleef i finally figured out the problem, i've kept in Luma Config the SVC/A9 patched enabled for wtf ever reason this Breaks .3dsx homebrew i updated HBL + disabled that option and it works again. so you were right it was on my end.
 
@bayleef i finally figured out the problem, i've kept in Luma Config the SVC/A9 patched enabled for wtf ever reason this Breaks .3dsx homebrew i updated HBL + disabled that option and it works again. so you were right it was on my end.
I'm glad to hear that you solved this problem.
 
Nice job thanks, shame the audio of the dos version isn't as good as the Amiga version alas...
 
Nice job thanks, shame the audio of the dos version isn't as good as the Amiga version alas...
I was wondering why the sound was so different to how I remembered it. Sigh. Is there any weird hack someone can do to port the SFX over? There are only about 8 sounds in the game after all.
 
Is there any weird hack someone can do to port the SFX over? There are only about 8 sounds in the game after all.
The easiest would be to enable the game playing PCM wave files from the SD card for sound effects instead from ADLIB.DAT file (as an option). So, if you think you would be able to get these files from somewhere (and maybe the music from the Amiga version too), implementing the feature would take at most one or two hours to me (as long as I don't have a settings menu, the game may prefer wave files whenever it finds them).
Reading the effects directly from the Amiga ROM would be many orders of magnitude more complex to implement.
 
Last edited by bayleef,
From what I remember, Lemmings DS contains all the music and sound effects, might be an easy place to grab them.
Yes, but in xm format. Of course, it would be possible to play this at 3DS, but more effort to parse yet another file format. Of course, for the music the file size is dramatically smaller when stored as xm or mod instead of uncompressed wave. So, the question is: Does anybody want support for small xm (or mod) files that need not be converted to large wave files manually? I could do this too, but don't expect it within short time. (Or anybody who is interested could implement it and send me a pull request. I could help, just ask me.)
 
Last edited by bayleef,
  • Like
Reactions: sieroi
As the music was originally composed in tracker format, that's how it would make sense to me to play it, but you could always render them to wav if you prefer. Module playback for 3DS would be a really useful thing to have available in general, I thought it had already been done tbh but it looks like I might be wrong.
 
Module playback for 3DS would be a really useful thing to have available in general, I thought it had already been done tbh but it looks like I might be wrong.
To be honest, I don't know whether this has been done by someone else already. If it really has been done, it would be much easier to add it to the game of course.

The format of DOS Lemmings music is very different. In fact, it seems to be an (unknown) midi format. But it is not clear how it works... I figured out some details, but not enough to play it. However, ADLIB.DAT has a built-in parser in 8086 assembly. So I implemented a tiny (incomplete) 8086 emulator to run the original sound interpreter directly from ADLIB.DAT. It outputs raw port calls to adlib sound card (OPL2 chip), which I play using (slightly modified) DosBOX code. Btw., this is why I needed about two weeks for audio support. However, playing DOS Lemmings audio is a bit different than xm or mod file playing.

Additional remark: When I was young, I only had DOS Lemmings, so I like the DOS sound and music. Especially the Amiga opening sound that is played after the "Let's go" sounds strange to me. However, from a more objective point of view, the Amiga sound - and especially the music - seems to be of higher quality. Thus I can understand that some people want the Amiga audio in the game.
 
Last edited by bayleef,
  • Like
Reactions: Quantumcat
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum