Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wondering if there is a howto for/on Windows ? #336

Open
ArfyFR opened this issue Nov 4, 2019 · 7 comments
Open

Wondering if there is a howto for/on Windows ? #336

ArfyFR opened this issue Nov 4, 2019 · 7 comments
Assignees

Comments

@ArfyFR
Copy link

ArfyFR commented Nov 4, 2019

I tried it !
I downloaded and installer http://www.openwatcom.org/download.php

Open a CMD.exe
Setup the ENV:
..\..\WATCOM\owsetenv.bat
Copy the
rev.c.in
to
rev.c

Modified the line 39
const uint8 g_opendune_revision_modified = !!MODIFIED!!;
to
const uint8 g_opendune_revision_modified = 0;

then in same CMD.exe wccbuild.bat.
=> OK bin\opendune.exe created
I copied as asked the original Dune2 1.07 data files (including dune2.exe) to data/.
But launching it yelds:
Not compatible ...

I also tried to launch the DOS4G provided in Watcom ... same result.

So, installed DOS2BOX
https://sourceforge.net/projects/dosbox/
mount the drive where I compiled it (opendune and watcom should be on same drive)
typed

cd OPENDU~1\BIN
<pathTo>\DOS4GW.EXE OPENDUNE.EXE

And there it is =)

@glx22
Copy link
Member

glx22 commented Nov 4, 2019

For windows you can use gcc or MSVC to build a native version. wccbuild.bat (and Watcom) is to build a DOS version.

@ArfyFR
Copy link
Author

ArfyFR commented Nov 4, 2019

washed his eyes
Ok found the "projects" directory with Visual C++ solutions ;)

@ArfyFR
Copy link
Author

ArfyFR commented Nov 4, 2019

For windows you can use gcc or MSVC to build a native version. wccbuild.bat (and Watcom) is to build a DOS version.

Perhaps update the README with it ;)

@miniupnp
Copy link
Contributor

the first line of wccbuild.bat states it is for building under DOS.

however, maybe we should add a small building documentation

@miniupnp
Copy link
Contributor

@ArfyFR you built for DOS successfully, maybe you should write compiling instructions for it. I'm not sure I will be able to do it again myself.

The watcom build was more like a proof of concept ;)

@ArfyFR
Copy link
Author

ArfyFR commented Nov 22, 2020

@ArfyFR you built for DOS successfully, maybe you should write compiling instructions for it. I'm not sure I will be able to do it again myself.

The watcom build was more like a proof of concept ;)

You mean rewrite my first post #336 (comment) ?

@miniupnp miniupnp self-assigned this Nov 10, 2021
@miniupnp
Copy link
Contributor

You mean rewrite my first post #336 (comment) ?

You we should write that in a .txt file somewhere :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants