Fiddling with Cryo dune (CD Version) for fun:
- Trying to understand how the game works with Spice86 reverse engineering toolkit which allows to run real mode x86 ASM / C# hybrids.
- Rewriting the game in C# bit by bit.
SHA256 signature of supported dncdprg.exe: 5f30aeb84d67cf2e053a83c09c2890f010f2e25ee877ebec58ea15c5b30cfff9
The CD release of DUNE (version 3.7, the most widely available one), must be downloaded separately, as it is copyrighted material.
This projects requires the .NET 8 SDK.
See the releases section.
The CD release of DUNE (version 3.7, the most widely available one), must be downloaded separately, as it is copyrighted material.
Thanks to the hybrid ASM / .NET mode provided by Spice86, the game is fully playable, including sound and music.
The goal is to have more and more logic written in human readable C#.
To run it, ensure that you have DUNE.DAT and DNCDPRG.EXE together in the same folder.
Next, just run the project with dune CD executable as parameter:
git clone https://github.com/OpenRakis/Crygenic
cd Cryogenic/src
dotnet run --Exe C:/path/to/dunecd/DNCDPRG.EXE --UseCodeOverride true
Example with Adlib music and PCM voices:
cd Cryogenic/src/Cryogenic
dotnet publish
bin/Release/net8.0/publish/Cryogenic --Exe C:/path/to/dunecd/DNCDPRG.EXE --UseCodeOverride true -a "ADL220 SBP2227"
- Clone this repo, and build it:
git clone https://github.com/OpenRakis/Crygenic
cd Cryogenic/src
dotnet build