Heretic: Shadow of the Serpent Riders

Heretic: Shadow of the Serpent Riders

53 ratings
Vanilla Heretic with Modern Controls
By JiggaWatt
Modifications to Steam's supplied DOSBox and a few helpers allow WASD + Mouse controls for a mostly Vanilla experience.
3
2
3
   
Award
Favorite
Favorited
Unfavorite
Introduction
By adjusting Steam's default DOSBox configuration we can improve the Vanilla display, sound, and performance of the game. I'll also explain how to setup the game for WASD + Mouse look by removing the standard movement controls of the mouse vertical axis and mapping it to keyboard commands. This will give you a more modern control feel for a Vanilla install.
Basic tweaks to DOSBox config
Open the installed DOSBox config file in your Steam game directory. It should be located in ~\base\heretic.conf

Increase the available memory in DOSBox. The default is 16. This is useful if you are experiencing choppiness during gameplay.
memsize=31

Use a scaler to improve the pixelated look. The default is none. I find "hq3x" to offer the best compromise of sharpness and smoothing.
scaler=hq3x

Disable PC Speaker if you are not using it. The default is on.
pcspeaker=false

Disable Joystick support if you are not using it. The default is on.
joysticktype=none

Allow DOSBox to determine the language layout of the keyboard. Default is none.
keyboardlayout=auto
Modify Sound Settings
Out-of-the-box the configuration is setup to use a Soundblaster 16 emulation. You might want to experiment with Gravis UltraSound or General Midi for improved sound.

Prep for Gravis UltraSound
If you'd like to use Gravis UltraSound emulation you will need to locate the GUS files to be configured in DOSBox. For more information on setting up Gravis Ultrasound in DOSBox I recommend this discussion over on Vogons[www.vogons.org]

Once you have the files, modify DOSBox Config. Configure the GUS files in the [gus] section:
ultradir=G:\

Mount the GUS files by adding the following in the [autoexec] section to the directory specified above:
mount G C:\GUS\ULTRASND411
The first portion defines what drive will be mounted inside DOSBox, which is G: for this example. The path to be mounted will be the path to files on your machine, which is C:\GUS\ULTRASND411 for this example.

Choose Music settings for the game
Begin by running the SETUP.EXE in DOSBox. The easiest way is to drag the SETUP.EXE file in the "base" folder onto dosbox.exe. When you save your changes the result will be updates made to the HERETIC.CFG file. If you understand the settings you can modify the cfg directly and bypass the Setup interface. I recommend taking a backup of this file in-case you need to rollback to the defaults.

Select the "Choose Music Sound Card" setting. The default is set to "Sound Blaster". I recommend experimenting with Gravis UltraSound or General Midi for better music. This is totally subjective to your preference so experiment and decide which of these 3 sounds best to you.

If you choose "General Midi" then port 330 is fine. If you choose "Gravis UltraSound" you will not need to choose a port.

Choose Sound settings for the game
In Setup, select the "Choose Sound FX Card". If you chose "General Midi" for music I recommend using "Sound Blaster" for the FX. If you choose "Sound Blaster" for the FX, choose your Port, IRQ, and DMA settings according to the sbbase,irq, and dma settings in the [sblaster] section of the config, respectively.

If you chose "Gravis UltraSound" for music, well, then you'd better choose it for FX as well. :)

You'll be asked to choose the number of sound FX to mix. The default is 3. I recommend increasing this to the maximum of 8, which should be no trouble for DOSBox.

Finally, choose the "Save & Launch Heretic" option. Quit Heretic and DOSbox.
Modify Control Configurations
Heretic like many early DOS games did not default to a WASD control scheme and had very limited mouse configuration. You cannot change or disable the standard behavior of the forward/backward movement tied to mouse along it's vertical Y axis. Let's start by making the basic changes to facilitate WASD.

Run SETUP.EXE in DOSBox. Select "Controller Type" and choose accordingly. Next, choose "Configure Controller" and choose "Keyboard".



Configure WASD
Move Forward = W
Move Backward = S
Strafe Left = A
Strafe Right = D

Configure Inventory
I recommend updating the Inventory Left & Right buttons to Q & E, or Q & Z for better keyboard control of these options. In the next section I'll explain how to tie these to the mouse scroll wheel.

Configure Look
I also recommend updating the Look buttons if you'd like to tie the up & down to the mouse vertical axis, which I'll explain in the next section. Due to how we'll emulate the buttons I don't recommend using the default of the "Delete". Instead choose "Page Up" for Up and "Page Down" for down, but you won't be using the buttons.

Once you're done with your changes press F10 to save your changes. You shouldn't need to change Mouse configuration defaults. Choose "Save & Launch Heretic" to save and quit.
Disable Mouse Vertical Axis (Novert)
Download a DOS command program called Novert[www.doomworld.com] that disables the vertical Y axis commands of the mouse within DOSBox. In the next section we will fix what the Y axis does in a windows program outside of DOSBox.

Extract the .com file to the "base" folder.

Update the DOSBox conf to run Novert. In the [autoexec] section add:
mount C .\base c: novert
Configure Mouse Emulation
Use a windows program called GlovePIE[glovepie.software.informer.com] to configure mouse inputs to emulate keyboard commands.

NOTE: Unfortunately this program has recently (as of 2016) been abandoned. If you have another program that will allow mouse buttons to emulate keyboard commands feel free to use it instead. Be sure to scan your download for malware as there are no longer official download sites for GlovePIE. You may try FreePIE[andersmalmgren.github.io] as an alternative.

Extract the GlovePIE files to any location, i.e. C:\Apps\GlovePIE

Create GlovePIE Script
Open PIEFree.exe and paste in the following scripts:
// Configure Mouse Look Key.PageUp = delta(Mouse.DirectInputY) < -1 // Up Key.PageDown = delta(Mouse.DirectInputY) > 1 // Down Key.Enter = Mouse.RightButton // Select/Use Inventory // Cycle Inventory with scrollwheel Key.Z = Mouse.WheelDown // Prev Key.Q = Mouse.WheelUp // Next

I mentioned before how I recommended changing the Look keys to not use the "Delete" key. That's due to potential hazards of having a program emulate the delete key outside of DOSBox while GlovePIE is running.

Adjust the keys according to what you choose for Look Up & Down keys and Inventory Left & Right. Reverse the equations for PageUp and PageDown to invert your look controls. Here I've chosen to have Right-click emulate the select and use inventory button "Enter".

Save the script to your ~\GlovePIE\MouseScripts\ folder as "Heretic.pie". Close GlovePIE.

Modify Game Launcher to run your custom GlovePIE script
In your Steam game folder edit "heretic.bat". Add the following statement at the top of the .bat file and adjust the paths accordingly.
start /B C:\App\GlovePIE\piefree.exe -C:\App\GlovePIE\MouseScripts\Heretic.pie

You can now launch your game from the batch file and will open GlovePIE and begin running your custom script.

Unfortunately this will not modify the Steam game launch to begin running your custom GlovePIE script. If you would like to launch your game from Steam you will need to make sure GlovePIE is already open and running your script.

NOTE: When you exit Heretic you will want to make sure you stop & exit GlovePIE. Be careful what you emulate with GlovePIE since it will cause odd behavior outside of DOSBox while a script is running.

Now you're all set to use your mouse to look up and down, and standard left & right, within the game!
15 Comments
Fartcruise 5 Jun @ 4:27am 
People that read this and scroll down to read this guy who probably would make you convert your family into GZLife, just go to Dosbox's website and download the current, change it and put the same settings that were said above.

Le no chicken will make your gameplay feel way too different from vanilla, trust me.
Poet 28 Sep, 2024 @ 8:09am 
Ultimately if you are reading this you should just check out GZDoom. It's one-click, no config, has a ton of customizable options, provides mouse look, Vulkan / OpenGL support, sound options, and more.

If you are still looking for the more vanilla approach, here are some notes:

Novert: Follow the steps in comments to use "Novert.com" in the config file.

GlovePIE: There is a much better alternative called "GlovePIEPreservation" on Github. It also hasn't been updated since 2022, but seems to work great as of late 2024. Initially, I had downloaded something called FreePIE but it was maybe just a similar app? It ran python scripts so was not compatible with this tutorial's script.

What I still miss is A and D for strafe (you can adjust this), but then you REALLY need mouse look. There are a few ways to do this in the vanilla game, and even some custom scripts out there.
Chaos Goblin 26 Sep, 2024 @ 12:27am 
I cannot open the setup.exe, I have never learned to use dosbox so can anyone give me tips?
CyDragonV2 16 Aug, 2024 @ 12:06am 
I dug around online and found another zip for the gravis ultrasound and I just put the unzipped folder into the Base directory. and I made sure to have Gravis selected for Music and Sound FX
CyDragonV2 15 Aug, 2024 @ 11:44pm 
I went to the site that has a link to the Gravis Sound files but some sad corpo had to DMCA it so where can I download for an easy drag and drop into my Heretic Directory (I found out eventually of the Heretic + Hexen series by looking through ebay of PC CD/DVD games and it turns out that the same people helped with my most fav game series that uses similar things came from them which that game series is Orcs and Elves
RoseBuster 19 Sep, 2023 @ 2:10am 
At last I find some guide for tweaking the authentic vanilla game. None of this source port nonsense.
Need for Speed - Most Wanted 26 Jan, 2023 @ 6:01pm 
that novert thing doesn't work
Zabla 28 Nov, 2021 @ 3:28pm 
For me not working the GlovePIE script or theFreePIE.
I followed everything as instructed but when I run the heretic.bat file this shows up: "No found Heretic. Please check that the path is correct. Or something like that.
I checked 5 times and the path is correct.
I don't understand. :lunar2019sleepingpig:
MiniEngineer 1 Nov, 2021 @ 11:36am 
For the people saying "novert" doesn't work
I had to change it to:

mount C .\base
c:
novert.com

In my heretic.cfg
JiggaWatt  [author] 2 Sep, 2021 @ 9:02pm 
You may have to adjust the configuration depending on how you're executing DosBox, what path you're in, what path DosBox is in, and where your files are located. If you're experiencing player movement via mouse, then something is wrong with your "novert" configuration and you should experiment with the configuration.

This guide was also based on where the current Steam install placed my files. My main decision was where to put my "heretic.bat" file that I used to run the game, and the commands inside in order to run the heretic.exe in DosBox, with my specific conf file.

Hope that helps!