the cutting room mirror

Homeworld (Classic)

Warp.script Debug Feature#

There is a debugging feature hidden in the final release. Creating a file name Warp.script in the game directory (where Homeworld.exe reside). Creating this script file allows the user to preset the start mission, RU's quantity and the starting fleet. Then start the game in single player mode.

Script Commands#

The commands are parameters separated by a space. The commands are:

Command

Description

values

WarpTo [number]

the mission number to start.

[number] can be from 1 to 16

WarpStartRU [number]

the amount of start RU's

[number] is the amount of RU's (if this command is not present the mission starts with 0 RU's)

WarpFleet [ship-name] [amount]

The ship type that will be part of you fleet and the amount of it.

[ship-name] is the name of the ship. [amount] is the amount of ships of this class in your fleet.

The ship name list:

Ship name

Comments

AdvanceSupportFrigate

Support frigate

AttackBomber

Carrier

CloakedFighter

CloakGenerator

DDDFrigate

Drone Frigate

DFGFrigate

Another Drone Frigate?

GravWellGenerator

HeavyCorvette

HeavyCruiser

HeavyDefender

Defender

HeavyInterceptor

Interceptor

IonCannonFrigate

LightCorvette

LightDefender

LightInterceptor

Scout

MinelayerCorvette

MissileDestroyer

Mothership

You can spawn as many motherships as you want.
each one with its own ships factory and ship dockers.

MultiGunCorvette

Probe

ProximitySensor

RepairCorvette

ResearchShip

ResourceCollector

ResourceController

SalCapCorvette

Salvage corvette

SensorArray

StandardDestroyer

Destroyer

StandardFrigate

Assault frigate

Drone

A simple Drone

TargetDrone

HeadShotAsteroid

The HeadShot asteroid from mission 15.

CryoTray

Completely useless but you can spawn it anyway.

P1Fighter

Turanic Raiders fighter

P1IonArrayFrigate

Turanic Raider's Ion Array Frigate

P1MissileCorvette

Turanic Raider's Missile Corvette

P1Mothership

The Turanic Raider's Carrier

P1StandardCorvette

Turanic Raider's Standard corvette

P2AdvanceSwarmer

Kadeshi's Advance Swarmer

P2FuelPod

Kadeshi's Fuel Pod

P2Mothership

Kadeshi's mothership

P2MultiBeamFrigate

Kadeshi's Multi Beam Frigate

P2Swarmer

Kadeshi's Swarmer

P3Destroyer

P3 race Destroyer. It has no model, appears as the DefaultShip.

P3Frigate

P3 race Frigate. It has no model, appears as the DefaultShip.

P3Megaship

The mythical Megaship.

FloatingCity

The Bentusi's Trader ship. Very powerfull and madly fast!

CargoBarge

Completely useless but you can spawn it anyway.

MiningBase

Field generator from mission 14.

ResearchStation

From mission 10.

JunkYardDawg

Junkyard dog from mission 13.

JunkYardHQ

Junk yard office from mission 13. Completely useless.

Example of Warp.script file:

WarpTo 4
WarpStartRU 100000

WarpFleet ResourceCollector 4
WarpFleet ResourceController 1
WarpFleet IonCannonFrigate 8
WarpFleet P2MultiBeamFrigate 10

Command-line Options#

Executing the .exe file with an invalid parameter will display a window with all the available commands. HW_command_line_window.png

Invalid or unrecognised command line option: '/'

SYSTEM OPTIONS
    /heap <n> - Sets size of global memory heap to [n].
    /prepath <path> - Sets path to search for opening files.
    /CDpath <path> - Sets path to CD-ROM in case of ambiguity.

PROCESSOR OPTIONS
    /enableSSE - allow use of SSE if support is detected.
    /forceSSE - force usage of SSE even if determined to be unavailable.
    /enable3DNow - allow use of 3DNow! if support is detected.

SOUND OPTIONS
    /dsound - forces mixer to write to DirectSound driver, even if driver reports not certified.
    /dsoundCoop - switches to co-operative mode of DirectSound (if supported)
    to allow sharing with other applications.
    /waveout - forces mixer to write to Waveout even if a DirectSound supported object is available.
    /reverseStereo - swap the left and right audio channels.

DETAIL OPTIONS
    /rasterSkip - enable interlaced display with software renderer.
    /noBG - disable display of galaxy backgrounds.
    /noFilter - disable bi-linear filtering of textures.
    /noSmooth - do not use polygon smoothing.
    /stipple - enable stipple alpha with software renderer.
    /noShowDamage - Disables showing ship damage effects.

VIDEO MODE OPTIONS
    /safeGL - don't use possibly buggy optimized features of OpenGL for rendering.
    /triple - use when frontend menus are flickering madly.
    /nodrawpixels - use when background images don't appear while loading.
    /noswddraw - don't use DirectDraw for the software renderer.
    /noglddraw - don't use DirectDraw to setup OpenGL renderers.
    /sw - reset rendering system to defaults at startup.
    /noFastFE - disable fast frontend rendering.
    /fullscreen - display fullscreen with software renderer (default).
    /window - display in a window.
    /noBorder - no border on window.
    /640 - run at 640x480 resolution (default).
    /800 - run at 800x600 resolution.
    /1024 - run at 1024x768 resolution.
    /1280 - run at 1280x1024 resolution.
    /1600 - run at 1600x1200 resolution.
    /device <dev> - select an rGL device by name, eg. sw, fx, d3d.
    /nohint - disable usage of OpenGL perspective correction hints.

TEXTURES
    /nopal - disable paletted texture support.

MISC OPTIONS

The MISC OPTION title has no options in this list.

Disabled Options#

There are other options disabled in the source code. Some are commented out, others are not compiled by #IF prepropcessor blocks dependant of compilations variables.

DEBUGGING OPTIONS
    /debugToFile - output debugging info to a file.
    /ranCallerDebug - debug non-deterministic calling of random numbers.
    /autosavedebug autosaves game frequently
SYSTEM OPTIONS
    /freemouse - Mouse free to move about entire screen at startup.  Use <CTRL>F11 to toggle during play.
    /ignoreBigfiles - don't use anything from bigfile(s)
    /logFileLoads - create log of data files loaded
SOUND OPTIONS
    /noSound - turn all sound effects off.
    /noSpeech - turn all speech off.
DETAIL OPTIONS
    /nilTexture - don't ever load textures at all.
    /noEffects - disable all effects (Debug only).
    /NoFETextures - turns off front end textures
VIDEO MODE OPTIONS
    /d16 - run in 16 bits of colour.
    /d24 - run in 24 bits of colour.
    /d32 - run in 32 bits of colour.
    /truecolor - try 24bit modes before 15/16bit.
    /slowBlits - use slow screen blits if the default is buggy.
    /gl - select default OpenGL as renderer.
    /d3d - select Direct3D as renderer.
CHEATS AND SHORTCUTS
    /cheapShips - ships only cost 1 RU.
    /sensorLevel <n> - set initial sensors level (0.. 2).  Default is 0.
    /noCompPlayer - disable default computer players
    /notactics - Disables tactics.
    /noretreat - disables the 'retreat' feature of tactics
VISUALIZATION
    /dockLines - show dock lines.
    /gunLines - show gun lines.
    /lightLines - show light lines (Debug only).
    /boxes - render bounding bowties on the ships.
    /textFeedback - enable text feedback for in game commands.
    /specialTextures - enable special debugging textures.
    /morphDebug - enable debugging of morphed mesh rendering code.
    /lodScaleDebug - enable fixing a LOD scale factor.
    /showExtents - draw elliptical universe extents.
    /loadFreeLog - enable logging of what was loaded and freed between missions.
COMPUTER PLAYER AND STATS
    /aiplayerLog - enable AI Player Logging
    /determCompPlayer - makes computer players deterministic
    /gatherStats- enable gathering of stats
    /showStatsFight=<i,j> to show stats fight i,j
    /showStatsFancyFight=filename.script
NETWORK PLAY
    /captaincyLogOff - turns off captaincy log file
    /captaincyLogOn - turns on captaincy log file
    /logOff - turns of network logging file
    /logOn - turns network logging file on
    /logOnVerbose - turns verbose network logging file on
    /logFilePath=filepath.txt
    /debugSync autosaves game frequently, records packets, logonverbose
    /noWon - no WON stuff
    /forceLAN - allow LAN play regardless of version
    /noAuth - Disables WON Login
    /shortWon - short circuit WON stuff
    /statLogOn - generates game stats log file
    /BryceAndDrewAreGods=<X>!<Y>   X = size of SyncDumpWindow  Y = granularity in universe Frames
NIS OPTIONS
    /testNIS <nisFile> - enables NIS testing mode using [nisFile].
    /testNISScript <scriptFile> - enables NIS testing mode using [scriptFile].
    /nisCounter - display nis time index info by default.
    /nisNoLockout - don't lock out the interface when playing an NIS.
RECORDED DEMOS
    /demoRecord <fileName> - record a demo.
    /demoPlay <fileName> - play a demo.
    /disableAutoDemos - don't automatically play demos.
    /autoDemoWait <seconds> - time to wait on main screen before starting a demo.
    /disableFakeRenders - disable feature where playback will try to keep up with recorded demo.
TEXTURE
    /allowPacking - use the packed textures if available (default).
    /disablePacking - don't use the packed textures if available.
    /onlyPacking - only display packed textures.
MISC OPTIONS
    /password <password> - specify password to enable certain features.
    /noPlug - don't display relic logo on pause.

Hidden Options#

These options are hidden but can be executed:

DEBUGGING OPTIONS
    /debug - Enable debug window.
    /nodebugInt - Enable debug window.
VIDEO MODE OPTIONS
    /noSavedMode - disable recovery of previous display mode.
    /minny - run at 320x240 resolution.
    /d3dDeviceCRC - generate d3dDeviceCRC.txt for video troubleshooting.
    /noPause - don't pause when you alt-tab.
    /noMinimize - don't minimize when you alt-tab.
CHEATS AND SHORTCUTS
    /disableAVI - don't display intro sequences.
VISUALIZATION
    /NoBind - disable key bindings so that debug keys work.
NETWORK PLAY
    /logOff - turns of network logging file
    /logOn - turns network logging file on
    /logOnVerbose - turns verbose network logging file on
    /logFilePath=filepath.txt
RECORDED DEMOS
    /packetRecord - record packets of this multiplayer game
    /packetPlay <fileName> - play back packet recording
MISC OPTIONS
    /smCentreCamera - centres the SM world plane about 0,0,0 rather than the camera.
    /pilotView - enable pilot view.  Focus on single ship and hit Q to toggle.