VOGONS

Common searches


Zdoom fork?

Topic actions

Reply 60 of 94, by blue-green-frog

User metadata
Rank Newbie
Rank
Newbie

Attached archive of binaries built from maintenance branch of zdoom (4/18/16). Included patches to compile zdoom and openal by mingw32/gcc46/nasm208/dx8. Changes were made to adapt software to Win95. Latest changes include modifications to zdoom configuration handling and gzdoom patches, such as removal of movie code and minor self-documenting code bits. User accepts sole responsibility for use of these unsupported binaries.

The libsndfile v1.0.25 and and mpg123 v1.19 binaries were built from unmodified source code. The libsndfile distribution has instructions for including flac, ogg, and vorbis (configure without largefile support).

Testing in modern Windows and an emulator running Windows 95 OSR2 (with riched20.dll). If testing in an emulator, set display option "rendering interpolation" to off and replace the default openal32.dll with the high latency version. However, if testing on real hardware with a modern CPU, then the high quality version has lower latency. The zdoom binary is a debug build for better compatibility with emulation, so instead use zdoom binary from "zdoom28-oal-mingw-95-5.zip" for optimized performance. The multithreaded audio library does not seem fully compatibility with emulation (tested with fmod4 and openal), so the debug build and high latency openal seems to workaround some of this issue. However, ideally zdoom would run entirely on a single thread for this kind of use (zdoom-v220/fmod3 is preferred but not compatible with latest mods).

Attachments

  • Filename
    zdoom28-oal-mingw-95-6.zip
    File size
    3.58 MiB
    Downloads
    105 downloads
    File comment
    zdoom-openal bins + patches
    File license
    Fair use/fair dealing exception

Reply 61 of 94, by dondiego

User metadata
Rank Member
Rank
Member

I've been reviewing your patches and i'm wondering why you've changed the handling of paths for config files. I see you've switched from GetUserFile to PROGDIR, was there any problem before? On the movie code i guess it didn't work, right?

LZDoom, ZDoom32, ZDoom LE
RUDE (Doom)
Romero's Heresy II (Heretic)

Reply 62 of 94, by blue-green-frog

User metadata
Rank Newbie
Rank
Newbie

In emulation of Win95, the main configuration file was not always loaded by mods, so I reverted changes wherever possible while referring to v220 as a reference. It seems to work better now.

The movie code was removed as suggested by a recent gzdoom commit:
https://github.com/coelckers/gzdoom/commit/15 … 1e88fda093e7465

Also, in emulation the sb16 opl2/3 music device works much better than sb midi out.

Reply 63 of 94, by dondiego

User metadata
Rank Member
Rank
Member

It doesn't compile, seems like the makefile is bad. I generate a makefile for codeblocks with cmake but i get a directx error (missing ddraw.h). The reference to DX i get in cmake is DX_dguid_LIBRARY, i'm using dx80_mgw.
I don't know how to add the DX libraries to the makefile.
Edit: it's compiling now, the cmakelists.txt file was bad, i've fixed it changing the D3D_INCLUDE_DIR variable to DDRAW_INCLUDE_DIR (was removed). Trying with -O3, i'm getting some warnings and this is slow.

Edit2: it's not linking, i get some errors:
CMakeFiles\zdoom.dir/objects.a(i_keyboard.obj):i_keyboard.cpp:(.text+0xc6): undefined reference to `c_dfDIKeyboard'
CMakeFiles\zdoom.dir/objects.a(i_mouse.obj):i_mouse.cpp:(.text+0x32f): undefined reference to `c_dfDIMouse2'
CMakeFiles\zdoom.dir/objects.a(i_mouse.obj):i_mouse.cpp:(.text+0x339): undefined reference to `c_dfDIMouse'
CMakeFiles\zdoom.dir/objects.a(i_mouse.obj):i_mouse.cpp:(.text+0x411): undefined reference to `c_dfDIMouse'

LZDoom, ZDoom32, ZDoom LE
RUDE (Doom)
Romero's Heresy II (Heretic)

Reply 64 of 94, by blue-green-frog

User metadata
Rank Newbie
Rank
Newbie

I don't recall a missing ddraw.h error in the maintenance branch of zdoom. However, I never installed codeblocks either.

There is a basic tutorial on building zdoom here:
https://zdoom.org/wiki/Compile_ZDoom_on_Windows

Reply 65 of 94, by dondiego

User metadata
Rank Member
Rank
Member

I knew that tutorial, finally linked and despite the serious warnings it works but without sound. CMake was trying to link with the system dinput8.dll. I should have built the openal library first but i can't. I need your modified openal library (.a files) since i don't have the DX SDK, it's a big dowload and my internet connection is slow.
Edit: i can't find the dx8 sdk anyway, should work with dx80_mgw but i've added it to the path and cmake still can't find it.

LZDoom, ZDoom32, ZDoom LE
RUDE (Doom)
Romero's Heresy II (Heretic)

Reply 66 of 94, by dondiego

User metadata
Rank Member
Rank
Member

I've downloaded and installed the directx 8 sdk (dx8a_sdk.exe) but i keep getting the building without directsound support message. The sdk is installed in the c:\mssdk folder. Definitely i'll need your help to compile openal with directsound and mingw, i'd like to know how you've done it. I can't find any information on this subject. The included cmakelists.txt is supposed to use the environment variables.
Edit: building mpg123 will also be a problem.

LZDoom, ZDoom32, ZDoom LE
RUDE (Doom)
Romero's Heresy II (Heretic)

Reply 67 of 94, by dondiego

User metadata
Rank Member
Rank
Member

Never mind, i linked directly against the dlls and it works now. Only thing that intrigues me is i linked to libdinput8.a instead of dinput8.dll becouse i got those undefined references. May be there is a wrong version of dinput8.dll in my system, i don't know what i was supposed to do. So am i linking dinput8 statically now and not dynamically?
Fluidsynth doesn't work, i think this is normal for openal.

LZDoom, ZDoom32, ZDoom LE
RUDE (Doom)
Romero's Heresy II (Heretic)

Reply 68 of 94, by dondiego

User metadata
Rank Member
Rank
Member

It's released @GitHub, i've started a new thread.
ZDoom LE (Legacy Edition)
Edit: in the end compiling with -mtune=586 made a big difference, about 40% performance increase, on the pentium 90 the framerate went from 16 to 22 fps.

LZDoom, ZDoom32, ZDoom LE
RUDE (Doom)
Romero's Heresy II (Heretic)

Reply 71 of 94, by hail-to-the-ryzen

User metadata
Rank Member
Rank
Member

Attached Zdoom v117c binaries for DOS (music is not available). Built by djgpp v203, gcc/gpp v295-3, and nasm v098 (instructions in the archive); and also attached the PTC v073 library. The build is dependent on these third-party libraries: PTC graphics, MIDAS sound, and Allegro v30 (although I didn't try building without it). Patches included in instructions.

These binaries are untested and unsupported. User takes responsibility for their use.

It may be possible to merge the v117c DOS subsystems with a later version of Zdoom.

Attachments

  • Filename
    zdoomdos.zip
    File size
    513.13 KiB
    Downloads
    68 downloads
    File comment
    zdoom v117c for DOS
    File license
    Fair use/fair dealing exception
  • Filename
    ptc073.zip
    File size
    545.04 KiB
    Downloads
    94 downloads
    File comment
    PTC library for DOS
    File license
    Fair use/fair dealing exception

Reply 72 of 94, by hail-to-the-ryzen

User metadata
Rank Member
Rank
Member

Built a zdoom v117c binary with the sound library used in the MBF Doom port (DOS). However, it is not working yet. This shows one possible way for music support.

Also, the Eternity DOS port seems to use the same sound engine as the MBF port. The Eternity engine is more recent than zdoom v117c, so it may be an interesting alternative for testing against popular map packs.

The attached difference file is between zdoom v117c and v122. It shows the refactoring of the code and additional features. However, file names have been changed between versions, so the difference file will not apply with the Patch tool. Instead it provides a reference for porting features.

Attachments

  • Filename
    zdoom-117-122.zip
    File size
    406.09 KiB
    Downloads
    77 downloads
    File comment
    zdoom difference file between v117 and v122
    File license
    Fair use/fair dealing exception

Reply 73 of 94, by hail-to-the-ryzen

User metadata
Rank Member
Rank
Member

Attached a patch for building Eternity v3.31.10 for DOS. The source is available here:
https://www.doomworld.com/idgames/source/ee33110s

Depends on Allegro 3.x. Tested with Allegro 3.0, but the DOS build is not yet functional even though there is video and audio output.

The Eternity DOS binaries for v3.31-beta7 work, however: http://eternity.mancubus.net/ee-old/ee331b7-dos.zip. That archive also has non-executable files that the eternity port depends upon (probably they use a slightly different version, but sufficient for initial testing).

Attachments

  • Filename
    eternity-djgpp.diff
    File size
    7.94 KiB
    Downloads
    75 downloads
    File comment
    Patch for Eternity v3.31.10 (djgpp)
    File license
    Fair use/fair dealing exception

Reply 74 of 94, by hail-to-the-ryzen

User metadata
Rank Member
Rank
Member

The above Eternity DOS build (v3.31.10) seems to work fine. The issue was the non-executable files. This version is newer than v3.31-beta7, so the files should be copied from the v3.31.10 archive here:
http://www.gamers.org/pub/idgames/source/ee33110w.zip

The attached archive includes the Eternity binary and the required non-executable files. These binaries are untested and unsupported. User takes responsibility for their use.

Attachments

  • Filename
    eternity-dos-v33110.zip
    File size
    1.05 MiB
    Downloads
    74 downloads
    File comment
    Eternity for DOS v3.31.10
    File license
    Fair use/fair dealing exception

Reply 75 of 94, by hail-to-the-ryzen

User metadata
Rank Member
Rank
Member

Attached difference file between Eternity v33110 and v33302. Will serve as a reference in porting the changes to DOS.

Attachments

  • Filename
    eternity-v33110-v33302.diff
    File size
    1020.96 KiB
    Downloads
    60 downloads
    File comment
    Eternity difference file between v33110 and v33302
    File license
    Fair use/fair dealing exception

Reply 76 of 94, by hail-to-the-ryzen

User metadata
Rank Member
Rank
Member

Attached Eternity DOS build (v3.33.02). Includes a patch. The binary is built by djgpp and the non-executable files are from the win32 release. These binaries are untested and unsupported. User takes responsibility for their use.

Goal is to test further before trying this dos sound subsystem in zdoom.

Attachments

  • Filename
    eternity-dos-v33302.zip
    File size
    1.1 MiB
    Downloads
    70 downloads
    File comment
    Eternity for DOS v3.33.02
    File license
    Fair use/fair dealing exception

Reply 77 of 94, by hail-to-the-ryzen

User metadata
Rank Member
Rank
Member

Eternity v33302 (DOS) will load Back to Saturn X megawad after making this change to the wad's EDFROOT file. The file may be edited in SLumpEd.

--- EDFROOT-Orig	2017-04-23 01:44:46 -0400
+++ EDFROOT-Eternity 2017-04-23 01:43:51 -0400
@@ -1,5 +1 @@
stdinclude("root.edf")
-
-gameproperties {
- credit.background FWATER15
-}

Reply 78 of 94, by dondiego

User metadata
Rank Member
Rank
Member
hail-to-the-ryzen wrote:

Attached Eternity DOS build (v3.33.02).

Interesting. I'll try it, thanks.

LZDoom, ZDoom32, ZDoom LE
RUDE (Doom)
Romero's Heresy II (Heretic)

Reply 79 of 94, by dondiego

User metadata
Rank Member
Rank
Member

It works well but i can't get music in dosbox with any of the options. No music with official beta either.

LZDoom, ZDoom32, ZDoom LE
RUDE (Doom)
Romero's Heresy II (Heretic)