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
If you're using a Makefile environment, just grab a copy of Steveice10's buildtools repo on github, put it in a 'buildtools' subfolder, then copy the Makefile from FBI's repo and tweak it for your libs and give it a new name/uniqueid/description for your project.
Okay, I have created a CIA file. However, sometimes the 3DS hangs when trying to terminate the game using the HOME button.
 

Dracari

Well-Known Member
Member
Joined
Apr 5, 2009
Messages
1,985
Trophies
1
XP
2,465
Country
United States
Download version 0.2 and create a file names LEFTHANDED.DAT in the same directory as lemmings.3dsx to swap L and R.


The original post has just been updated. Simply download version 0.2 (and report any bugs). Notice that the folder structure has changed. Please move the files from original Lemmings into the subfolder "orig".
Oh No! More Lemmings can be accessed by setting the rate greater than "Mayhem" (or by leaving the "orig" folder empty. However, then the original levels will be missing of course).
i've tried copying everything like in teh readme into thier proper folders and i keep locking up reguardless if the orig and ohno is in the same folder as the.3dsx or at SD Root.
 

mashers

Stubborn ape
Member
Joined
Jun 10, 2015
Messages
3,837
Trophies
0
Age
40
Location
Kongo Jungle
XP
5,074
Country
Thanks @bayleef! Left handed controls are working great! If I may make another request, I think it would be easier to control if the circle pad scrolled the screen directly rather than moving the cursor around. That way it would be possible to scroll the screen more directly and without having to wait until the cursor gets to the edge of the screen. I realise it's possible to drag the mini display in the bottom right corner bit I think circle pad scrolling might feel a bit smoother.

Thanks again for working on this :)
 
  • Like
Reactions: Quantumcat

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
i've tried copying everything like in teh readme into thier proper folders and i keep locking up reguardless if the orig and ohno is in the same folder as the.3dsx or at SD Root.
My folder structure is as follows (and it works):
/3ds/lemmings/lemmings.3dsx
/3ds/lemmings/orig/MAIN.DAT
/3ds/lemmings/orig/LEVEL000.DAT
/3ds/lemmings/orig/...
/3ds/lemmings/ohno/MAIN.DAT
/3ds/lemmings/ohno/LVEL000.DAT
/3ds/lemmings/ohno/...
(Additional: /3ds/lemmings/SAVEGAME.DAT and /3ds/lemmings/LEFTHANDED.DAT)
Maybe some file of the game is corrupted or missing? This is not tested by the game properly yet. Make sure that you have included all the files listed in orig/README.txt and ohno/README.txt. What is the exact failure? Does the game exit immediately or does it hang?
Below you can find the md5 sums of the files I use successfully.
original:
7d0488991e26882f4e3099aa6a6dfc72 GROUND0O.DAT
69c8eebaf1a33097080d3a76f1c3531a GROUND1O.DAT
d81d55c49e4265bc3b05e960ca22da8a GROUND2O.DAT
5e34c088f01cfc3a8c8ef398d0de578d GROUND3O.DAT
3c3279995ea61868b6a20d12ee0a0c5c GROUND4O.DAT
7924482f83d93abb12c4883a686b4300 LEVEL000.DAT
883c61683e75d4d1f76f79f3e08f5beb LEVEL001.DAT
2ecde636e4ddda745b684fb416058795 LEVEL002.DAT
c0593d91acd774b7fe2be1a3dfcaf0fb LEVEL003.DAT
400a9ce890075dd4754d06fb174bb5d7 LEVEL004.DAT
0c7319343d2b438dbd93754d50e5d727 LEVEL005.DAT
2488efbb2633c288fa37756132d8a1af LEVEL006.DAT
ea342218a9d85142ef20aabe73b4204f LEVEL007.DAT
961134d9973b9b79dd2bc74d25c0ae2b LEVEL008.DAT
525737407baa1d9a40ab45efdfee0b57 LEVEL009.DAT
bcaab6581213f311e05601d4a4123016 MAIN.DAT
941c3e1097f3e8d651d614670051fadf ODDTABLE.DAT
21eab0cd7fa14eda54a4a65ab7f5ff43 VGAGR0.DAT
860ae03aa82bf061e37341ed59f4b1ec VGAGR1.DAT
7a970ae33c062a038288350cd473cc27 VGAGR2.DAT
7b1128b5edfcf82fa735764342eb5da7 VGAGR3.DAT
2024a440de5bedd5f4327dc274a4ba21 VGAGR4.DAT
1d10093819f73efae67b92c521c4b5cc VGASPEC0.DAT
cd2ce9f2dc8ac18fcaedec41266db8ea VGASPEC1.DAT
24d633bbe8482fa25cd0f7d1dff4fe0a VGASPEC2.DAT
53900302009c70fb9dfa8f16445805af VGASPEC3.DAT


ohno:
81e93297c5239227ff4e50dd41220af3 DLVEL000.DAT
70c184eade45cb00bb9ca17419f2f8f5 DLVEL001.DAT
f66bcca49af88be6f4798916ed43b240 DLVEL002.DAT
da88943c8a61a2d7e7436ec8c2215c79 DLVEL003.DAT
66e9ed99628729c19984610b99244f8a DLVEL004.DAT
c4e9b0b89cb824728c4f5c32e15e51b7 DLVEL005.DAT
d51ccbdad2aeba0a52bf1b20e666f5fd DLVEL006.DAT
0f2da3026e2beaa2c500af149508264d DLVEL007.DAT
5437c26f1ece398e90eb7ecfac7c5452 DLVEL008.DAT
19cbd2897fdcac71d8e431d51c6c814d DLVEL009.DAT
4d66752093ddbc6863bd15e770b56496 DLVEL010.DAT
00577de0093a906cdbbc482f7cf3a71f DLVEL011.DAT
0921f6a2bc43f179330b842b9ff914dc DLVEL012.DAT
f25355fb4c78e3cdbe5beee72c0d629b GROUND0O.DAT
9d714a90e1e722982392f2c1fd16baa3 GROUND1O.DAT
9130892f37c5f50cdd37afa70055535e GROUND2O.DAT
47260b5b4d46a6bddddec58bd69f4cf8 GROUND3O.DAT
c2fd7d806a4355bb6231ef82003746e5 MAIN.DAT
a143c5e558a6d3fd0c6319880c3e6038 VGAGR0.DAT
fa8787fdc959dcf2e76a33d24e4584d9 VGAGR1.DAT
347ead16f89b0f3857503ea7b35bdc33 VGAGR2.DAT
de87d5d795a564ba7bbee466d0fce8b8 VGAGR3.DAT

f I may make another request, I think it would be easier to control if the circle pad scrolled the screen directly rather than moving the cursor around. That way it would be possible to scroll the screen more directly and without having to wait until the cursor gets to the edge of the screen.
Thank you for your interest. However, if one uses the keys instead the touch screen (like me), the actual control may be easier to use. I don't want to introduce a further hack like the LEFTHANDED.DAT, so please wait until I will add control settings to the menu. However, I noticed the importance to add this feature to the next release.
 
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
Thank you for your interest. However, if one uses the keys instead the touch screen (like me), the actual control may be easier to use. I don't want to introduce a further hack like the RIGHTHANDED.DAT, so please wait until I will add control settings to the menu. However, I noticed the importance to add this feature to the next release.
Thanks for your feedback on my suggestion :) I do agree that adding files which flag settings isn't the best solution, but I do really appreciate you adding the LEFTHANDED.DAT flag file for me :) Once you've got a settings menu these kinds of things will be much easier to implement.

By the way, I realise that you want to clean up the code before uploading the source, and that's exactly how I have felt with all of my 3DS projects. If you get to the point where you would like any help with this project, you can of course upload to GitHub for others to fork, add features, and then submit pull requests to have the changes merged into the main repo. I do understand that it's nice to have full control of your own projects, particularly in the early stages; I did exactly the same with Gridlauncher, keeping it closed source for quite a while because I didn't want other people implementing features that I really wanted to work on. But once you do decide to open the source for this, I would gladly work on adding features if you feel any help would be needed :)
 

Dracari

Well-Known Member
Member
Joined
Apr 5, 2009
Messages
1,985
Trophies
1
XP
2,465
Country
United States
My folder structure is as follows (and it works):
/3ds/lemmings/lemmings.3dsx
/3ds/lemmings/orig/MAIN.DAT
/3ds/lemmings/orig/LEVEL000.DAT
/3ds/lemmings/orig/...
/3ds/lemmings/ohno/MAIN.DAT
/3ds/lemmings/ohno/LVEL000.DAT
/3ds/lemmings/ohno/...
(Additional: /3ds/lemmings/SAVEGAME.DAT and /3ds/lemmings/LEFTHANDED.DAT)
Maybe some file of the game is corrupted or missing? This is not tested by the game properly yet. Make sure that you have included all the files listed in orig/README.txt and ohno/README.txt. What is the exact failure? Does the game exit immediately or does it hang?
Below you can find the md5 sums of the files I use successfully.
original:
7d0488991e26882f4e3099aa6a6dfc72 GROUND0O.DAT
69c8eebaf1a33097080d3a76f1c3531a GROUND1O.DAT
d81d55c49e4265bc3b05e960ca22da8a GROUND2O.DAT
5e34c088f01cfc3a8c8ef398d0de578d GROUND3O.DAT
3c3279995ea61868b6a20d12ee0a0c5c GROUND4O.DAT
7924482f83d93abb12c4883a686b4300 LEVEL000.DAT
883c61683e75d4d1f76f79f3e08f5beb LEVEL001.DAT
2ecde636e4ddda745b684fb416058795 LEVEL002.DAT
c0593d91acd774b7fe2be1a3dfcaf0fb LEVEL003.DAT
400a9ce890075dd4754d06fb174bb5d7 LEVEL004.DAT
0c7319343d2b438dbd93754d50e5d727 LEVEL005.DAT
2488efbb2633c288fa37756132d8a1af LEVEL006.DAT
ea342218a9d85142ef20aabe73b4204f LEVEL007.DAT
961134d9973b9b79dd2bc74d25c0ae2b LEVEL008.DAT
525737407baa1d9a40ab45efdfee0b57 LEVEL009.DAT
bcaab6581213f311e05601d4a4123016 MAIN.DAT
941c3e1097f3e8d651d614670051fadf ODDTABLE.DAT
21eab0cd7fa14eda54a4a65ab7f5ff43 VGAGR0.DAT
860ae03aa82bf061e37341ed59f4b1ec VGAGR1.DAT
7a970ae33c062a038288350cd473cc27 VGAGR2.DAT
7b1128b5edfcf82fa735764342eb5da7 VGAGR3.DAT
2024a440de5bedd5f4327dc274a4ba21 VGAGR4.DAT
1d10093819f73efae67b92c521c4b5cc VGASPEC0.DAT
cd2ce9f2dc8ac18fcaedec41266db8ea VGASPEC1.DAT
24d633bbe8482fa25cd0f7d1dff4fe0a VGASPEC2.DAT
53900302009c70fb9dfa8f16445805af VGASPEC3.DAT


ohno:
81e93297c5239227ff4e50dd41220af3 DLVEL000.DAT
70c184eade45cb00bb9ca17419f2f8f5 DLVEL001.DAT
f66bcca49af88be6f4798916ed43b240 DLVEL002.DAT
da88943c8a61a2d7e7436ec8c2215c79 DLVEL003.DAT
66e9ed99628729c19984610b99244f8a DLVEL004.DAT
c4e9b0b89cb824728c4f5c32e15e51b7 DLVEL005.DAT
d51ccbdad2aeba0a52bf1b20e666f5fd DLVEL006.DAT
0f2da3026e2beaa2c500af149508264d DLVEL007.DAT
5437c26f1ece398e90eb7ecfac7c5452 DLVEL008.DAT
19cbd2897fdcac71d8e431d51c6c814d DLVEL009.DAT
4d66752093ddbc6863bd15e770b56496 DLVEL010.DAT
00577de0093a906cdbbc482f7cf3a71f DLVEL011.DAT
0921f6a2bc43f179330b842b9ff914dc DLVEL012.DAT
f25355fb4c78e3cdbe5beee72c0d629b GROUND0O.DAT
9d714a90e1e722982392f2c1fd16baa3 GROUND1O.DAT
9130892f37c5f50cdd37afa70055535e GROUND2O.DAT
47260b5b4d46a6bddddec58bd69f4cf8 GROUND3O.DAT
c2fd7d806a4355bb6231ef82003746e5 MAIN.DAT
a143c5e558a6d3fd0c6319880c3e6038 VGAGR0.DAT
fa8787fdc959dcf2e76a33d24e4584d9 VGAGR1.DAT
347ead16f89b0f3857503ea7b35bdc33 VGAGR2.DAT
de87d5d795a564ba7bbee466d0fce8b8 VGAGR3.DAT


Thank you for your interest. However, if one uses the keys instead the touch screen (like me), the actual control may be easier to use. I don't want to introduce a further hack like the LEFTHANDED.DAT, so please wait until I will add control settings to the menu. However, I noticed the importance to add this feature to the next release.
it just hangs after pressing A in HBL but runs fine via the CIA. (i did just recently update the HBL's payload
 

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
By the way, I realise that you want to clean up the code before uploading the source, and that's exactly how I have felt with all of my 3DS projects. If you get to the point where you would like any help with this project, you can of course upload to GitHub for others to fork, add features, and then submit pull requests to have the changes merged into the main repo.
It would be great to get some help with the project. However, at the moment the quality of some parts of the code is unreasonable for any helping hand. I guess, the in-game code is halfway okay (besides too many global variables), but the code for the menu is like mayhem or havoc. Many nested while(1)-loops that are sometimes left by a goto back to parts of the init code above these loops. Additionally, some source file names do not describe file's content properly.

But once you do decide to open the source for this, I would gladly work on adding features if you feel any help would be needed :)
Thank you. In the future, any help will be welcome.:)

it just hangs after pressing A in HBL but runs fine via the CIA. (i did just recently update the HBL's payload
Is the "Loading 3DS Lemmings" message displayed or does it hang before? If the message is not displayed, the reason won't be missing files, because any access to SD card is done after displaying the message. Do other homebrew apps work? O3DS or N3DS? (At the moment, I can test on O3DS only.) On the other hand if the message is displayed, it is likely that some files cannot be accessed correctly. I try to exit the game in this case, but probably I have not covered every possible situation yet, so the game may hang.
 
Last edited by bayleef,

MartinDocNewland

Searching for the truth
Member
Joined
Jul 7, 2012
Messages
594
Trophies
0
XP
491
Country
Copy the files from original DOS Lemmings into the subfolder "orig" and/or the files from Oh No! More Lemmings into the subfolder "ohno". These files are not included since they are protected by copyright law. Don't use "Oh No! More Lemmings!" or "Holiday Lemmings", because they are not supported yet.

Does anyone else spot the mistake in the first post?
 

Dracari

Well-Known Member
Member
Joined
Apr 5, 2009
Messages
1,985
Trophies
1
XP
2,465
Country
United States
It would be great to get some help with the project. However, at the moment the quality of some parts of the code is unreasonable for any helping hand. I guess, the in-game code is halfway okay (besides too many global variables), but the code for the menu is like mayhem or havoc. Many nested while(1)-loops that are sometimes left by a goto back to parts of the init code above these loops. Additionally, some source file names do not describe file's content properly.


Thank you. In the future, any help will be welcome.:)


Is the "Loading 3DS Lemmings" message displayed or does it hang before? If the message is not displayed, the reason won't be missing files, because any access to SD card is done after displaying the message. Do other homebrew apps work? O3DS or N3DS? (At the moment, I can test on O3DS only.) On the other hand if the message is displayed, it is likely that some files cannot be accessed correctly. I try to exit the game in this case, but probably I have not covered every possible situation yet, so the game may hang.
no message a flat out hang before Loading lemmings its not that it goes black and hangs the second i press A on it in HBL it does this, but no other apps Work.

this is what i mean that it just locks up,
 
Last edited by Dracari,

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
Version 0.2.1 has just been released. Only minor changes, but support for Xmas and Holiday Lemmings has been added. As always, please report any bugs.

Now I'm going to work on source code release (cleaning the source code).
 
Last edited by bayleef,

Dracari

Well-Known Member
Member
Joined
Apr 5, 2009
Messages
1,985
Trophies
1
XP
2,465
Country
United States
So it does not seem to be a problem with this specific game, but with your HBL. I cannot give support for this, sorry.
only thing i can think of was before i had manually downloaded the otherapp Payload for HBL, and before i gave this a try i let HBL CIA manually Redownload its own. it runs fine otherwise ala the cia version of your port.
 

bayleef

Well-Known Member
OP
Newcomer
Joined
Sep 15, 2015
Messages
83
Trophies
0
XP
254
Country
Gambia, The
Version 0.2.2 has been released.
Main changes:
  • Source code release (see original post)
  • Support for all Lemmings demo versions now. If you add all demos together, you can play up to about 20 different levels without owning a copy of Lemmings (just download the demo versions and copy them into the correct subfolder at your SD card).
  • 3dsx version scans for /lemmings folder first (for same savegames on parallel setup with cia version); if it does not exist, it uses local paths (as earlier).
The code has not been cleaned up completely and is still a bit messy. However, the worst parts have been cleaned.
 
Last edited by bayleef,

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
Country
United States
Clone of Lemmings for DOS. Version 0.2.2

Setup:
Download the attatched file lemmings.zip, It contains .cia and .3dsx version.
Fill the subfolders of /lemmings folder with data from DOS Lemmings (see README.txt files in these subfolders). These files are not included in the archive since they are protected by copyright law. In order to run the software, at least one subfolder must be filled. You may fill any combination of subfolders, dependent on the Lemmings game you own.
However, there exist free demo versions (that include only 4-5 levels each), which are all supported by Lemmings for 3DS now! Since the demos were released for free, it should be legal to link to a download location. You can find free demo versions of Lemming games here.



Source code: https://github.com/esoteric-programmer/lemmings_3ds

Known issues and wish list: https://github.com/esoteric-programmer/lemmings_3ds/issues

Version 0.2.2
- Support demo versions:
- Original Lemmings Demo
- Oh No! More Lemmings Demo
- Holiday Lemmings 1993 Demo
- Holiday Lemmings 1994 Demo
- Cleaned source
- Source release
- Bugfixes

Version 0.2.1
- Support Xmas and Holiday Lemmings
- Bugfix

Version 0.2
- Support "Oh no! More Lemmings" -> introduced folder structure (see README.txt)
- Timer runs 13% slower (previously it was too fast)
- Wrap around during level selection: FUN30 <-> FUN01; TRICKY30 <-> TRICKY01; and so on
- Start-up time reduced
- exit game with L+R (only in main menu)
- added left handed control (see README.txt)

Version 0.1
- Initial release

Sweet nostalgia. Nice work, can't wait to try it.
 
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: But I bet that would be more for a flashcart than a consumer repro board.