Using custom game DLLs for Half-Life DC?
Well after inspecting the file structure of HLDC there are no external DLLs to find which means that HL's dlls are statically compiled inside the HalfLifeDC.exe. HOWEVER there are still some possibilities to use third party DLLs with HLDC:
makes it clear that it should still possible to load external dlls.
The question is if it's enough to just add a folder "dlls" inside the Barney folder(Barney\dlls\yourhl.dll)
or the path must be specified absolutely (CDROM:\Barney\dlls\yourhl.dll)
Well since the WinCE devkit is easy to find on the web nowadays. I've been trying to compile PC HL SDK source files for DC's WinCe. I had to change the makefile(Single-Player Source\dlls\hl.dsp) for that. I used Sintendo's Makefile as an example to make HLSDK source compile using DC's compiler.
STATUS: I'm down from >100 complier errors to 2 errors.
I had to
--------------------Configuration: DCDCSnes9x - Win32 (WCE SH4) Release--------------------
Command line warning D4025 : overriding '/Qsh4' with '/Qsh4r7'
Creating library WCESH4Rel/SintendoDC.lib and object WCESH4Rel/SintendoDC.exp
corelibc.lib(pegwmain.obj) : error LNK2001: unresolved external symbol _WinMain
WCESH4Rel/SintendoDC.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
SintendoDC.exe - 2 error(s), 1 warning(s)
-replace calloc() function calls to malloc().
-change stricmp() to strcmp()
-in util.cpp put function replacements for time.h, which is not available in wince
probably some more stuff I don't remember.
EDIT: Managed to compile hl.dll!