I assume you also don't get the cutscenes... Reason for it is, that filenames in LFD subfolder are all uppercase. Most of them must be lowercase, and a couple of them upper. More about it here: github.com/luciusDXL/TheForceEngine/pull/101. Fixing this, will help with the cutscenes and the fonts.
And for the sound, I had to compile it with Pulseaudio support, to get normal sound effects and midi music. Latter however only with software synthesizer running in the background.
Last Edit: Dec 21, 2022 13:03:44 GMT by spacekomet
Hm, how about extending the TFE_Filesystem to scan the game folders for the requested file (i.e. readdir(), then do strnicmp() with the requested file and the found ones. The first match is then opened?)
Also, how about implementing SDL Audio support instead of RTaudio and RTmidi? I might just do that as a programming exercise...
So I just implemented case-sensitive file searching, and it works beautifully. The menu, videos and sound do work (no music yet). It's fully playable with the software and GPU renderer (tried mesa-intel and nvidia).
Grab a patch on top of the 1.0.0 source tree here:
[...] and midi music. Latter however only with software synthesizer running in the background.
Which soundfont do you use? The one I have gave me the most beautiful rendition of the StarWars Theme on a Piano I've ever heard, but it doesn't really fit. Do you have one that gets closer to the real sound?
For me the only real sound was always Adlib. Newer had any sound card with proper midi support in DOS days.
All together I tried 3 different soundfonts: 0:07 FluidR3_GM.sf2 (comes with fluidsynth) 1:43 Roland SC-55.sf2 (comes with TFE) 3:19 Timbres of Heaven (XGM) 4.00(G).sf2 (can be downloaded here midkar.com/soundfonts/)
Here is a comparison:
(you can use timestamps in the description to jump directly to the intro for each case)
To my (untalented) ears last one sounds the best, however volume must be lowered slightly, because by default is noticeably louder. Closest to the original is probably Roland.
PS: I'm not an expert in this, and if there are better soundfonts or better way to play midi music (without dedicated devices of course), please share.
Last Edit: Dec 29, 2022 20:40:07 GMT by spacekomet
I have been trying to build this on Xubuntu 22.04. It builds with warnings but I cannot point it at my Dark Forces install. It tells me game source data cannot be found..... The Windows version in WINE works without sound but can see the Dark Forces files
Ok...got further. The game now starts, sound effect works and midi music works :-). I put the path in the ini before and it didnt work but does now? Agent Menu issues. And the Pistol is missing?? I can punch guards and get blaster rifle but no pistol start with fist. Cannot load DarkPilo.cfg is in console. On Xubuntu the browse button does browse. I tried on Manjaro browse button did nothing. BTW thanks heaps maybe I should be patient and wait for actual release
Correction: Manjaro is fine just in Xubuntu the pistol is missing and agent menu issues???