It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hello,

I think this is my first post on GOG. Anyways, played this game when I was a kid, and I remember using a Unit Editor to tilt the odds in my favor (or go on a destruction spree.) I saw that WAR_EDIT.exe was listed in the directory, but nothing was mapped to it. This is just a rework of the dosbox_warcraft_single.conf to add two options:

3) Unit Editor
4) WarCraft: Edited

I've tested the new options, including the move of Exit Program from 3 to 5. It seems pretty straightforward, and may be useful for those with mod executables they wish to add to the launcher. I think the only critical step is to make sure that the if errorlevel x goto section is in order.

I also recommend backing up this .conf file before implementing. I don't know what the [code] tag is in these forums to retain spacing, so my apologies for it being a hot mess. I'm also too new to the forum to link the file. There was an attempt.

A couple notes about the unit editor: I'm overly cautious, so before any edits, I "Save configuration file" as DEFAULT. Then I Save as Modded for the one I work on. You can give descriptive names, like HumanAdv, OrcAdv, etc. Make your edits, Save configuration file, and Configure WAR_HACK.EXE with current settings. This will map the current unit table to War_hack.exe (and create it if this is your first time using Unit Editor.)

This is the step that actually writes these settings, everything else will save them to a config file.

Quick rundown to change config files would be:
- Open Unit Editor
- Load configuration file
- Note that configuration file that is loaded is shown at the top of the blue box
- Configure war_hack.exe
- Exit back to the launcher
- 4) WarCraft: Edited

Photo at the bottom to show proper spacing. Feel free to tear this thing apart.

[ipx]
ipx=false

[autoexec]
# Lines in this section will be run at startup.
@echo off
mount c ".."
mount C "..\cloud_saves" -t overlay
imgmount d "..\war1.cue" -t iso
c:
goto launcher

:launcher
cls
ECHO ÉÍÍÍÍÍÍÍÍÍÍÍ&I acute;ÍÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍ&Iacut e;ÍÍÍÍÍ»
ECHO º ------------------------------------------ º
ECHO º WarCraft Launcher º
ECHO º ------------------------------------------ º
ECHO º 1) WarCraft: Orcs & Humans º
ECHO º 2) Game DOS Settings º
ECHO º 3) Unit Editor º
ECHO º 4) WarCraft: Edited º
ECHO º ------------------------------------------ º
ECHO º 5) Exit Program º
ECHO º ------------------------------------------ º
ECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍ&Iacut e;ÍÍÍÍÍÍÍÍÍÍÍÍÍ&Iac ute;ÍÍÍÍÍÍÍÍÍÍÍÍÍ&I acute;ÍÍͼ

choice /c12345 /s Which program do you want to run? [1-5]: /n
if errorlevel 5 goto exit
if errorlevel 4 goto warhack
if errorlevel 3 goto unit
if errorlevel 2 goto setup
if errorlevel 1 goto game

:game
cls
war.exe
goto exit

:setup
cls
setup.exe
goto launcher

:unit
cls
war_edit.exe
goto launcher

:warhack
cls
war_hack.exe
goto exit

:exit
exit
Attachments:
launcher.png (40 Kb)
Post edited December 12, 2021 by hostaris
Hello,

I think this is my first post on GOG. Anyways, played this game when I was a kid, and I remember using a Unit Editor to tilt the odds in my favor (or go on a destruction spree.) I saw that WAR_EDIT.exe was listed in the directory, but nothing was mapped to it. This is just a rework of the dosbox_warcraft_single.conf to add two options:

3) Unit Editor
4) WarCraft: Edited

I've tested the new options, including the move of Exit Program from 3 to 5. It seems pretty straightforward, and may be useful for those with mod executables they wish to add to the launcher. I think the only critical step is to make sure that the if errorlevel x goto section is in order.

I also recommend backing up this .conf file before implementing. I don't know what the [code] tag is in these forums to retain spacing, so my apologies for it being a hot mess. I'm also too new to the forum to link the file. There was an attempt.

A couple notes about the unit editor: I'm overly cautious, so before any edits, I "Save configuration file" as DEFAULT. Then I Save as Modded for the one I work on. You can give descriptive names, like HumanAdv, OrcAdv, etc. Make your edits, Save configuration file, and Configure WAR_HACK.EXE with current settings. This will map the current unit table to War_hack.exe (and create it if this is your first time using Unit Editor.)

This is the step that actually writes these settings, everything else will save them to a config file.

Quick rundown to change config files would be:
- Open Unit Editor
- Load configuration file
- Note that configuration file that is loaded is shown at the top of the blue box
- Configure war_hack.exe
- Exit back to the launcher
- 4) WarCraft: Edited

Photo at the bottom to show proper spacing. Feel free to tear this thing apart.

[ipx]
ipx=false

[autoexec]
# Lines in this section will be run at startup.
@echo off
mount c ".."
mount C "..\cloud_saves" -t overlay
imgmount d "..\war1.cue" -t iso
c:
goto launcher

:launcher
cls
ECHO ÉÍÍÍÍÍÍÍÍÍÍÍ&a mp;I acute;ÍÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍ&I acut e;ÍÍÍÍÍ»
ECHO º ------------------------------------------ º
ECHO º WarCraft Launcher º
ECHO º ------------------------------------------ º
ECHO º 1) WarCraft: Orcs & Humans º
ECHO º 2) Game DOS Settings º
ECHO º 3) Unit Editor º
ECHO º 4) WarCraft: Edited º
ECHO º ------------------------------------------ º
ECHO º 5) Exit Program º
ECHO º ------------------------------------------ º
ECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍ&I acut e;ÍÍÍÍÍÍÍÍÍÍÍÍÍ& ;Iac ute;ÍÍÍÍÍÍÍÍÍÍÍÍÍ&a mp;I acute;ÍÍͼ

choice /c12345 /s Which program do you want to run? [1-5]: /n
if errorlevel 5 goto exit
if errorlevel 4 goto warhack
if errorlevel 3 goto unit
if errorlevel 2 goto setup
if errorlevel 1 goto game

:game
cls
war.exe
goto exit

:setup
cls
setup.exe
goto launcher

:unit
cls
war_edit.exe
goto launcher

:Warhawk
cls
war_hack.exe
goto exit

:exit