shithub: duke3d

Download patch

ref: 1ae3ca89f9e9176d01cc83f0544cccbb3653341f
parent: 9bb4db58a341dedd5fa0f4904b589efdbe3871be
author: Tanguy Fautre <[email protected]>
date: Sat Feb 15 11:10:03 EST 2020

More Linux MIDI chasing, updated README

--- a/Game/src/midi/sdl_midi.c
+++ b/Game/src/midi/sdl_midi.c
@@ -29,7 +29,7 @@
     if (Mix_Init(MIX_INIT_MID) != MIX_INIT_MID)
     {
         printf("Mix_Init: %s\n", Mix_GetError());
-        return MUSIC_Error;
+        //return MUSIC_Error; // Do not fatal on missing MIDI subsystem.
     }
 
 	if(Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 1024)==-1) {
--- a/README.md
+++ b/README.md
@@ -14,12 +14,17 @@
 
 After reading both Fabien Sanglard's Game Engine Black Books on [Wolfenstein 3D](https://github.com/fabiensanglard/gebbwolf3) and [Doom](https://github.com/fabiensanglard/gebbdoom), I slowly got curious on how Duke 3D would perform on a modern computer (an Intel Core i9-9900K) with a modern Operating System (Windows 10 and Ubuntu 18.04). After cloning his Chocolate Duke 3D git repository, I had to spend a bit of time getting the project up and running. While doing that, I've been keeping on adding some improvements.
 
-* Ported from SDL to SDL2.
-* Consolidated build systems with CMake.
-* Added a proper continuous integration system (via GitHub Actions)
-* Added many fixes for 64-bit support (thanks to Rohit Nirmal's own fork as a source of inspiration).
-* Many minor fixes too small to be listed here.
+* Ported to SDL2.
+* Ported to vcpkg and CMake.
+* Added continuous integration (via GitHub Actions).
+* Added 64-bit support.
 
+### Known Issues
+
+* 64-bit: Save games do not work.
+* Linux: MIDI does not play (vcpkg does need configure sdl2-mixer for it).
+* Engine: Leaning left/right falls back to low-res rendering.
+
 ## Requirements
 
 An original copy of [Duke Nukem 3D](https://3drealms.com/catalog/duke-nukem-3d_27/). Specifically the DUKE3D.GRP file from the original CD in binary working directory.
@@ -33,9 +38,9 @@
 ```
 
 **Linux (GCC Makefile)** [![Linux CI Status](https://github.com/GPSnoopy/BelgianChocolateDuke3D/workflows/Linux%20CI/badge.svg)](https://github.com/GPSnoopy/BelgianChocolateDuke3D/actions?query=workflow%3A%22Linux+CI%22)
-```bash
+```
 # get all native libraries needed for SDL2 in vcpkg
-> sudo apt-get install libsdl2-dev timidity
+> sudo apt-get install libsdl2-mixer-dev
 > ./vcpkg_linux.sh
 > ./build_linux.sh
 ```