Homebrew [Release] Lemmings for 3DS

Status
Not open for further replies.

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
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,

mashers

Stubborn ape
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
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.
 

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
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,

Vamosi

Well-Known Member
Newcomer
Joined
Apr 14, 2007
Messages
48
Trophies
0
XP
480
Country
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.
 

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
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

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,112
Trophies
3
Age
42
Website
Visit site
XP
2,681
Country
  • Like
Reactions: Quantumcat

sieroi

Well-Known Member
Member
Joined
Apr 29, 2015
Messages
147
Trophies
0
Age
37
XP
842
Country
This is fantastic- so nice to have a version of the game that renders at 3DS-native resolution!
 

Dracari

Well-Known Member
Member
Joined
Apr 5, 2009
Messages
1,985
Trophies
1
XP
2,465
Country
United States
@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

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
@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.
 

0bvious

Well-Known Member
Member
Joined
Oct 1, 2007
Messages
174
Trophies
1
XP
884
Country
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.
 

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
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,

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
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

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,858
Trophies
2
XP
28,902
Country
United Kingdom
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.
 

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=uLN9qrJ8ESs