Shadow Warrior (1997)

From PCGamingWiki, the wiki about fixing PC games
(Redirected from Shadow Warrior)
Shadow Warrior
Shadow Warrior cover
Developers
3D Realms
Wanton Destruction Sunstorm Interactive
Twin Dragon Wylde Productions
Twin Dragon Level Infinity
Mac OS (Classic) Lion Entertainment Inc.
Publishers
GT Interactive
Devolver Digital
Mac OS MacSoft
Engines
Build
Release dates
DOS May 13, 1997[1]
Mac OS (Classic) October 1, 1997
Windows (DOSBox) November 15, 2012
macOS (OS X) (DOSBox) November 15, 2012
Linux (DOSBox) September 4, 2013[2]
Shadow Warrior (1997) on HowLongToBeat
Shadow Warrior (1997) guide on StrategyWiki
Shadow Warrior (1997) on MobyGames
Shadow Warrior (1997) on Wikipedia
Shadow Warrior
Shadow Warrior (1997) 1997
Shadow Warrior Classic Redux 2013
Shadow Warrior (2013) 2013
Viscera Cleanup Detail: Shadow Warrior 2013
Shadow Warrior 2 2016
Shadow Warrior 3 2021

For the enhanced version, see Shadow Warrior Classic Redux. For the reboot, see Shadow Warrior (2013).

Warnings

The macOS (OS X) version of this game needs a fix to work on macOS Catalina (version 10.15) or later (see API for details).

Key points

The game is free to download on GOG.com and Steam.[3]

General information

GOG.com Community Discussions for game series
GOG.com Support Page
Steam Community Discussions
Steam Community Discussions (free)
Former official game site
Shadow Warrior Central

Availability[edit]

Source DRM Notes Keys OS
Retail
DRM-free
DOS
Mac OS
Official website
DRM-free
Pre-packaged with DOSBox
Windows
GOG.com
DRM-free
Includes both expansion packs. Pre-packaged with DOSBox.[4]
Windows
macOS (OS X)
Linux
Mac App Store
Icon overlay.png
Includes both expansion packs.
macOS (OS X)
Steam
DRM-free after installation through Steam client (see notes)
Pre-packaged with DOSBox. Also available as part of Shadow Warrior Classic Redux.
Windows
macOS (OS X)
The game was made open source in 2005.

Version differences[edit]

Uniquely, the shareware version of the game used MIDI tracks instead of CD Redbook audio in order to keep the download size small.
The European release of Shadow Warrior had the shurikens (throwing stars) replaced with darts due to their heavy usage in organized crime and gang activity at the time. As the ban on said content was later nulled, a patch to uncensor the game was later released. All digital releases are uncensored.
There is a patch for the uncensored release that re-censores it here. A batch file is used for toggling it on and off. For the GOG release, it is required to edit the bat files or the autoexec section of dosbox_swarrior_single.conf to apply it to Twin Dragon as well.

Digital version differences[edit]

Shadow Warrior Classic (1997) - Steam[edit]

Free to play version of the game, published by Devolver Digital. It comes packaged with DOSBox and the base game, it's also the only version of the game that includes the Shadow Warrior's prototypes.

Shadow Warrior Classic Complete - GOG[edit]

Available for free, published by Devolver Digital. It comes packaged with DOSBox, the base game and the two expansions: Twin Dragon and Wanton Destruction.

Shadow Warrior (Classic) - Steam[edit]

Bundled with the "3D Realms Anthology Pack", published by 3D Realms (not available to purchase anymore). It came pre-packaged with the base game, the DOSBox emulator and the two available source ports: SWP (chosen by default on the Steam launcher) and JFSW.

Shadow Warrior Classic Redux[edit]

Modern version of the game with remastered visuals and a remix of the main theme, published by Devolver Digital. Besides the remastered version (OpenGL), it also includes the base game and the two expansion pre-packaged with DOSBox.

Demo[edit]

A four-level shareware episode is available in the downloads section of this page.

DLC and expansion packs

Name Notes
Twin Dragon Freeware, can be downloaded here
DOS
Wanton Destruction Freeware, can be downloaded here
Additional cut levels for the add-on can be downloaded here
DOS
A third addon named Deadly Kiss, developed by Simply Silly Software was never released. However a restoration project is in the works.

Essential improvements[edit]

DOSBox[edit]

Improve performance in DOSBox[edit]

  • Change output=surface to output=openglnb.
  • Change memsize=16 to memsize=64.
  • Change core=normal to core=dynamic.
  • Change cycles=auto to cycles=max.
  • Change aspect=false to aspect=true.
  • Change fullresolution=original to fullresolution=0x0.
  • Change machine=svga_s3 to machine=vesa_nolfb if flickering occurs when running at resolutions higher than 320x200.

Patches[edit]

bMouse[edit]

bMouse is a DOS extension which improves mouse looking by removing the mouse filter which causes issues related to both axis not updating properly.

bMouse will cause the vertical aiming to be inverted. To fix this, go to the Setup Advanced Control Options from Control Setup, then at Advanced Mouse Setup change the Mouse Y Scale to negative number.

DOS/32A[edit]

DOS/32A is a more advanced extender and open source replacement to DOS4GW. It can improve both performance and stability of Shadow Warrior.

Source ports[edit]

Name Description
VoidSW Source port distributed alongside EDuke32, currently in public beta. OS X and Linux versions must be built from source.
Windows
macOS (OS X)
Linux
BuildGDX Source port based on libGDX framework for Java. Adds high resolutions support, OpenGL renderer, improved mouse controls, and fixes for the original game bugs. Can run official addons and custom made campaings straight from the main menu without the need to use installers or replace any original files.
Windows
macOS (OS X)
Linux
Raze Fork of EDuke32 to GZDoom architecture. Currently in Alpha. Also supports Blood, Redneck Rampage and Powerslave/Exhumed.
Windows
macOS (OS X)
Linux
JFSW Allows for OpenGL rendering. Supports high resolution textures.
Windows
SWP Offers limited widescreen support (16:10 aspect ratio only), anisotropic filtering and Vsync.
Windows

Game data[edit]

In-game general settings.
In-game general settings.

Configuration file(s) location[edit]

System Location
DOS <path-to-game>\SW.CFG
Windows <path-to-game> (mounted in DOSBox)[Note 1]
Mac OS (Classic)
macOS (OS X) <path-to-game> (mounted in DOSBox)[Note 1]
Linux <path-to-game> (mounted in DOSBox)[Note 1]
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/358400/pfx/[Note 2]
This game does not follow the XDG Base Directory Specification on Linux.

Save game data location[edit]

System Location
DOS <path-to-game>\GAME*.SAV
Windows <path-to-game> (mounted in DOSBox)[Note 1]
Mac OS (Classic)
macOS (OS X) <path-to-game> (mounted in DOSBox)[Note 1]
Linux <path-to-game> (mounted in DOSBox)[Note 1]
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/358400/pfx/[Note 2]

Save game cloud syncing[edit]

System Native Notes
GOG Galaxy
Steam Cloud

Video[edit]

In-game video settings.
In-game video settings.
Graphics settings (GOG.com version)
Graphics settings (GOG.com version)

Input[edit]

In-game mouse settings.
In-game mouse settings.

Use mouse wheel to change weapons[edit]

Bind "Next weapon" and "Previous weapon" keys to the mouse wheel[5]
  1. Get AutoHotkey
  2. Use this script whenever you play Shadow Warrior.
Only works on Windows.

Audio[edit]

In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Music, Sound effects
DOSBox cannot handle CD audio volume. See Change CD audio volume (DOSBox).
Surround sound
Subtitles
Closed captions
Mute on focus lost
Can be enabled through DOSBox's priority settings (use the pause emulation option).
Red Book CD audio
This game supports General MIDI for music.

Localizations

Language UI Audio Sub Notes
English

Change CD audio volume (DOSBox)[edit]

Edit configuration files
This fix is to be applied to all configuration files.

Below the imgmount command, add mixer CDAUDIO <value>:<value>, where <value> is a volume percentage.

Network[edit]

Multiplayer types

Type Native Notes
Local play
LAN play
Versus, Co-op
Online play
Versus, Co-op
Via DOSBox IPX tunneling (the GOG.com version is pre-configured).

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Self-hosting
Direct IP
See "Online play" notes.

Issues fixed[edit]

Twin Dragon uses its own copy of SW.CFG (GOG.com)[edit]

Twin Dragon normally overwrites the original second episode. GOG.com worked around this issue by making a duplicate installation dedicated to Twin Dragon. However, settings changes made to the base game do not carry over the the addon automatically.
Automate configuration file copy[6]
  1. Open dosbox_swarrior_single.conf
  2. Under :dragon, add the following lines betwen #tdragon.exe and cls.
#sync shadow warrior configuration
@copy ..\SW.CFG
Additionally it is possible to keep saves synced between the two installations by adding COPY C:\*.SAV C:\dragon\ between SW.EXE and COPY C:\dragon\*.SAV C:\.

Game loses binds (GOG.com)[edit]

Both vanilla and Wanton Destruction executables refresh new copies of themselves with each run (Twin Dragon is unaffected by this issue). This imitates the functionality of the Wanton.exe utility included with the DLC but unfortunately causes an issue with using DOS32A's binding method as any modification to the executables will be reverted on the next run.
Bind DOS32A to the executables[7]
  1. Go to <path-to-game> and delete the main SW.EXE (not Twin Dragon's SW.EXE).
  2. Copy wanton.dat and sw.dat to a new folder and rename them to Wanton.EXE and SW.EXE.
  3. For online play, it is required to copy Setmain.exe to this folder as well.
  4. With DOSBox, bind both files with DOS32A's sb /r command.
  5. Restore their original .dat extensions and move them back to their original folders.
  6. Open dosbox_swarrior_single.conf and under the :wanton section, add @COPY sw.dat sw.exe under sw.exe.
Attempting to bind DOS32A directly to the Wanton and SW dat files shows mixed results and may not work for everyone as the bind utility does not like files that don't have the .exe extension.
Sinc most of Twin Dragon's files are duplicates of the vanilla files, setmain.exe is exactly the same for both and can merely be copied over to Twin Dragon's directory after binding. This however should not be done to Twin Dragon's sw.exe as it differs from the vanilla version and thus should be bound separately.
Launch the game via DOS32A[citation needed]
Make sure DOS32A is copied into the Shadow Warrior folder. Also revert any changes made with the last method (can be done this with the Verify/Repair option in GOG Galaxy).
  1. Start Shadow Warrior with DOS/32A by using the command DOS32A followed by the executable name, i.e. SW.EXE for vanilla.
  2. Edit these commands into the game's configuration file.
    • For Twin Dragon, use the command C:\DOS32A instead, specifying DOS32A's location (root folder).

Re-enable music in Twin Dragon[edit]

Because of financial issues, developer decided to ship Twin Dragon without its music track.[8] Unfortunately, they also disabled the music completely in the process.
Use a patched executable[9]
  1. Download this and extract the archive in <path-to-game>.
  2. Overwrite the original sw.exe or make a backup copy of it.

Can't disable slope-tilting[edit]

Use Raze

Other information[edit]

API[edit]

Technical specs Supported Notes
Glide
An unfinished beta patch for 3DFX can be found on Shadow Warrior's official 3D Realms download page. It is based on the version used by Blood, though with additional fixes.
Software renderer
Default mode in DOSBox and only mode in classic version (without 3Dfx patch).
DOS video modes VGA, SVGA
Executable 32-bit 64-bit Notes
Windows
For 64-bit, use a source port.
macOS (OS X)
For 64-bit, use a source port.
Linux
For 64-bit, use a source port.

High resolution pack[edit]

Adds high resolution textures and 3D models. Instructions to download it here (point the SVN client to http://svn.eduke32.com/sw_hrp/).
Alternatively, an old pack from ProAsm is available here.
Only works on source ports.

Other downloads[edit]

All downloads for the game can be found on the official game site.

System requirements[edit]

DOS
Minimum Recommended
Operating system (OS) 6.2
Processor (CPU) Intel Pentium 66 MHz
System memory (RAM) 16 MB
Hard disk drive (HDD) 60 MB
Video card (GPU) VGA
Windows
Minimum
Operating system (OS) XP, Vista
Processor (CPU) 1.8 GHz
System memory (RAM) 512 MB
Hard disk drive (HDD) 1 GB
Video card (GPU) DirectX 7 compatible
macOS (OS X)
Minimum
Operating system (OS) 10.6.8 or later
Processor (CPU) Intel Core Duo 2 GHz+
System memory (RAM) 1 GB
Hard disk drive (HDD) 1 GB
Video card (GPU) 64 MB of VRAM

Notes

  1. 1.0 1.1 1.2 1.3 1.4 1.5 File/folder structure within the installation folder reflects the path(s) listed for DOS and/or PC booter game data.
  2. 2.0 2.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/358400/ in addition to or instead of this directory. The app ID (358400) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References