Homebrew Homebrew game Dune Legacy (Dune II remake)

  • Thread starter Thread starter carstene1ns
  • Start date Start date
  • Views Views 1,950
  • Replies Replies 9
  • Likes Likes 10

carstene1ns

Well-Known Member
Newcomer
Joined
Apr 1, 2018
Messages
81
Reaction score
241
Trophies
0
Website
f4ke.de
XP
729
Country
Germany
Dune II is the first modern RTS game and was released in 1992. Dune Legacy is a reimplementation/clone with improvements to the original gameplay.



Game Data:
You need to put all pak files from the original game into sdmc:/switch/dunelegacy/data directory, otherwise the game will close immediately.

Controls:
Since the game was made with Mouse and Keyboard in mind, the controller button mapping requires getting used to.
It is adapted from the PSVita port. You can always use the touch screen of the switch for controlling the game mouse.
The emulated mouse has a custom crosshair, since the original cursor is small.

- Move emulated mouse cursor: left stick (accelerate to double speed with pressing left stick)
- Scroll the map: right stick
- Attack: Y
- Stop/Guard: X
- Left click/Select: A or pressing right stick
- RIght click/Action: B
- Cycle through construction yards: ZL
- Cycle through factories/other builders: ZR
- Menu/back: +
- Pause: -

Special unit grouping with L/R and the d-pad (each direction is a group)
- Select units: direction
- Save units to group: L + direction
- Add group to current selection: R + direction

Additional Notes
- The Level editor and Multiplayer games (LAN) are working!
- Map scroll speed and emulated mouse speed can be changed in the the configuration file/ingame menus

Bugs
- Screenshots are not working (crashing, therefore disabled)
- After inserting text with swkbd (e.g custom map name, network host,...), the game needs another input to display it (wobble the right stick)
- It might crash on first start while doing some file copying (maps, config, etc.), though i hope I have fixed this already.

Download link: Zipped NRO. Just extract to dunelegacy directory and launch with hbmenu.
The engine data and some default maps are included in romfs.
Source Code: on GitHub

Happy gaming!
 
Last edited by carstene1ns,
This is super cool, takes me back to MSDOS and the early 90's. Thanks for the effort here. Mine crashed Atmosphere on first load, but after a reboot works great. You mentioned that mouse scroll can be changed in menu or config, I don't see that option. I extracted the NRO file and am looking in the /config folder and dont see anything in Dune Legacy.ini .. any advise on how to change the mouse speed? Id like the pressing left stick speed to be the standard/faster if possible. Again, thank you for the efforts and also tot hose who ported to PSVita.
 
  • Like
Reactions: mathew77
@carstene1ns
Thank you!..

- Map scroll speed and emulated mouse speed can be changed in the the configuration file/ingame menus
Can't change the mouse cursor speed anywhere, can you please take a look?.. :)

It seriously needs to be like 3x faster..
Also looks like save files aren't working properly, the game crashes when loading them. :(
 
Last edited by mathew77,
This is awesome!! But is it also possible to use Mouse and Keyboard? I know the Switch knows how to handle a mouse and a Keyboard
 
Mouse and Keyboard control should work when connected, since SDL2 initializes the HID service, but not tested here.

About the mouse speed: Yep, forgot to add this, just the map scroll could be changed in the first build.
In the config file is an option in the [General] section:
Mouse Speed = 15 # Controller cursor movement speed
(it can be added manually, if missing)
Edit: The newest build exposes this setting in the option screen. Sorry for the inconvenience.

Mine crashed Atmosphere on first load, but after a reboot works great.
Can you check if you have the singleplayer and multiplayer maps on sdcard? There should be a bunch of ini files, that get copied on first start. I suspect the crash happened there.

Also looks like save files aren't working properly, the game crashes when loading them. :(
I hope I can fix this, hopefully is not too difficult.
I have tested saving and loading and it worked for me...
 
Last edited by carstene1ns,
Cool! Takes me back to the DOS 6.22 era. Got Dune 2 together with Command and Conquer. Will surely test this release of yours!
 
  • Like
Reactions: digdat0
For some reason I can only play the first level. Once I finish the first level of any house, just before begining the second one for some reason I am "thrown" to the start menu. And then if I try to load anything, I am thrown back to the menu just before loading the playable level.

Thanks in advance for your help.
 
  • Like
Reactions: digdat0

Site & Scene News

Popular threads in this forum