Skip to content

Latest commit

 

History

History
276 lines (254 loc) · 40.7 KB

AMIWIND_CONSOLE_COMMANDS.md

File metadata and controls

276 lines (254 loc) · 40.7 KB

AmiWind console commands

Generated from config/debug-commands.txt with AmiWind v0.0.68-dev8.

Open the console with F10 or the backquote key and type a command, for example dbg headlamp on. This page is generated from config/debug-commands.txt, the catalogue the game itself reads, by tools/console_commands_doc.py; do not edit it by hand.

At start-up, on every map load and with the version command the console shows the game and CHIM versions, the AmiQuake version and where help is (on a map load the AmiQuake line ends with SERVER (<game code CRC>)):

AmiWind v<version> / CHIM v<CHIM version>
AmiQuake: VERSION 1.09
Type: "dbg help" for help.

Long listings (dbg, dbg help, dbg help <word>) are shown one console screen at a time, with the line ---------- [ more: ENTER | stop: q ] ---------- between the pages: Enter shows the next page, q stops the listing; any other key ends it and works as usual.

The original game's console commands (tgm, coc, SetStrength and the rest) also work, typed as in the original: the table of them.

Playtesting

Command Also Arguments and notes
dbg give dbg additem [ID [N] / money [N]] no argument: every item of the game in a list box by kind, its name with its record id beside it (type to search by name or id; Enter picks one, then a count from 1 to 1000); ID [N]: N of that item (1 to 99999, default 1); saved like any grant, with a message (docs/INVENTORY.md)
dbg animkit - [on/off / list / groups / play / cycle [all] / stage [1..8] / stop / speed <0.1..4> / pick [on/off / cast / sneak / idle]] animation kit (docs/ANIMKIT.md): on/off gaits by speed; list/groups, play, cycle, stage: the target's groups; pick: every group by state
dbg arena dbg arenapit, dbg arenatest, dbg battlearena, dbg playground [opponent / list / next / prev / here/pit/floor / seed N / rematch / setup / exit] Vivec Arena combat minigame (also dbgmode arenapit, testarena): title, fight, result, then Enter rematch / S same seed / N, B next, previous / P pick / Esc leave; opponent = Arena fighter, gallery # or NPC record ID; Ctrl+X returns (not saved)
dbg aw charplane dbg gallery, dbg modelgallery, dbg npcgallery [number/name/ID; next/previous/body/exit]
dbg aw hors - [0] (alone: a new game, reset as New Game does, as Hors (Nord / Barbarian / Steed) who walked out of the census office: papers handed in, Sellus's package, directions and journal, the dagger and Fargoth's ring, menus and controls on, at the exit door facing out; 0: Hors after Census at Seyda Neen's centre; in play or from the main menu)
dbg bench dbg halloweenbench [halloween [skeletons]] the standard benchmark (docs/REAL_HARDWARE.md; also aw halloweenbench, dbg halloween bench): 600 fixed frames of the Halloween scene, FPS small at the bottom left, then the result (drawing and disk measured apart) on the console and in bench/halloween-BUILD-NNN.txt
dbg cast - [NAME [target / touch / self / fail] [npc] [area FEET] [dur S] [shape egg/sphere] [repeat] / list / stop / orb 0-3 / shell egg/sphere / view tint/veil; no argument: status] a spell's look and sound (docs/MAGIC_EFFECTS.md, dbg magicfx 1/2); shell: egg (default) or sphere; view: your own shell in first person, tint (default) or veil
dbg cast casting - [on/off; no argument toggles] the player's casting switch (default on): off lowers the magic and the attack button is the fight again
dbg cast now - cast the selected spell once, as the attack button does with magic ready (docs/MAGIC_EFFECTS.md)
dbg cast ready - raise or lower the magic (the R key): the hands come up as for a fight and the attack button casts the selected spell; a message says when no spell is selected
dbg cast spell - [list / none / N / mN / grant N] your spells: no argument or list shows the known spells, the selected one, the counts of casts, magic items used and your active effects; N or mN selects a spell or a made spell; none clears it; grant N gives you spell row N and selects it (for tests)
dbg cast start - the starting spells chosen for the character: what the start gave and why (report)
dbg cast strike - for tests: the held enchanted weapon's blow lands on the actor in reach and its enchantment casts; prints the count of strikes cast
dbg census legacy - [0 / 1; no argument prints it] the older name of census type: 1 = legacy, 0 = original
dbg census type - [amiwind / legacy / original (0 / 1 / 2); no argument prints it] census office registration (default amiwind, not saved; set before the office): amiwind = the scripts with AmiWind's own (the clerk talks as you walk up and holds you, lines boxed, nothing taken before his review); legacy = old hand-written; original = scripts alone
dbg characterchange dbg quickchar [race class birthsign review / all] reopen the pier race, gender, head and hair menu over the current scene; confirm to apply (after registration)
dbg choosecompanion dbg pickcompanion same as companion pick
dbg combat - [on/off / seed N / readout on/off / music on/off / dice / style amiwind/original / block hold/auto / flee / sounds / bestattack / contact on/off / spells on/off / loadout NAME/off / resistnormal N/off / slots N / calm] melee combat: no argument = status; bestattack = Options > Prefs; contact off = ray only (defaults: all on, block auto)
dbg combattest - [opponent] same as arenapit; combattest gallery (or floor): the empty floor test, current hands, then idle/draw/lower/punch/center/help/exit
dbg companion - [pick/choose/test/off/distance N/mimic speed on/off] NPC follower test (not saved): no argument = status and counters; pick = attack the NPC under the red crosshair; test = spawn one beside you; off = it goes home / is removed; distance 48..512 (default 96); mimic speed (default on)
dbg companiontest - [on/off] same as companion test / companion off; no argument: status
dbg creatures dbg despawn, dbg kill, dbg spawn [on/off, true/false or 1/0; no argument toggles] the outdoor creatures (default on; not saved): off removes the wild creatures alive (their state kept) and spawns none, to compare frame rate, memory and behaviour; on brings them back as their cells join again
dbg cycleitems - [start [N] / from N / kind KIND / here / status / stop] the item tester in the light test corridor (docs/ITEM_CYCLING.md): every item the hands can hold in turn: hands empty, held, the 20 s walk, its attack; the grip checked every frame; a console line per item, CYCLEITEMS RESULT at the end; its line at the top left
dbg daycycle gallery - [here/off] (eight-stage camera tour; here keeps this view; Esc returns)
dbg dbattack - (Tribunal; where Rest is offered) an 8-hour rest on which Tribunal's dbAttackScript attacks for certain: its roll made sure for that rest, the real path runs (asleep, its PlaceAtPC puts the Dark Brotherhood assassin by you, WakeUpPC, the fight, DBAttack 1); each step and any failure on the console
dbg dbgtorch dbg debugtorch, dbg gear, dbg give dbgtorch, dbg give debugtorch, dbg give spell, dbg give weapons, dbg inventory grant, dbg torch, dbg weapon same as torch: one more debug torch in the inventory, with a message
dbg demowind - [on / off / next / prev / effect 1-4 / dist 0-7 / status] DemoWind (docs/DEMOWIND.md): the effects test kit, fullscreen, no world; each effect with its ms a frame and bytes on screen (1 and 2 the skies, 3 and 4 the Ghostfence curtain rippling as before and with the original's layers); Left/Right effect, Up/Down distance to Red Mountain, Esc off
dbg give money dbg give coin, dbg give rich [N] N gold (default 1000000; at most 999999999, the gold limit, which every gold gain keeps to), saved like any grant, with a message
dbg halloween - [dagoth / skeletons / bench [skeletons] / fps on/off / camera wide/director / stop / status] Halloween scene (docs/HALLOWEEN.md, an image with the cast): skeletons, Desele's dancers, Dagoth Ur dance on the beat; dagoth (default) or skeletons alone; bench: the standard benchmark, one result line
dbg halloweentest - [same words as halloween] the Halloween scene with the FPS counter on (bottom left)
dbg hosterror - [script / client / now] test aid: an error in play on purpose, in the next script step, in the next server message read or now; the place loads again (the same error within a minute: the last autosave, then the previous map) and the OK box says why (dbg loadfail N for a load)
dbg levelup dbg skill progress [use SKILL [N [TYPE]] / raise SKILL [N] / book ID / read REF / check / rest [HOURS] / bed REF] levelling: no argument = level, progress, multipliers, each skill's progress; use = N skill uses (TYPE 0..3); raise = N raises; book = a skill book's first read; check = the level-up box when due; rest = HOURS (default 8), then the box when due (saved)
dbg lightgallery - [off] lighting switches at this spot in a strip below the view: night mode, tint, lamps, glow, headlamp, horizon veil, time preview; arrows change, Esc done
dbg lighttest - [1 / center / stop / exit] the dark light test corridor (docs/ITEM_CYCLING.md): the game's scripts paused, nothing on screen but the held items' names and ids; 1 also walks 20 s forward, looking down at the hands from 10 to 15 s; Ctrl+X or exit returns
dbg loadfail - [N [error/memory/lump/hang] / timeout [S]] test aid: the next N map loads fail (0 off); 1: the way back and the OK box naming the error, 2: the way back fails too (the last autosave), 3: the previous map, 4: the load menu; kinds: error, memory, lump (bad data in a lump), hang (never ends); timeout S: a stuck load fails after S s (120; 0 off)
dbg loadtrace - [on / off / dump] the load trace (off by default; console aw_loadtrace 0/1): every file open, read, seek and close kept in memory with its time and load stage, printed and written to RAM:amiwind-loadtrace.txt when a scene is ready; dump: now
dbg maxstats dbg maxstat every attribute and skill to 100 and the level to 83 (the highest the game's levelling reaches), health, magicka and fatigue worked out again by the character's own rules and full; the sheet before and after on the console
dbg memcensus - [owners [on/off]] (the free Fast RAM and its largest block now, the map and the Hunk in use, in one console line; owners: the live blocks of 4 KiB or more by the address that asked for them, counted only after owners on, off by default)
dbg netstat - [reset] the frame message: method (aw_net_method) and budget, room and its growth; the last frame's updates in sight, bytes wanted, sent, waiting; since the map or the reset: the fullest frame against the room, waits, frame time, the client's reading time; the models with the most bytes
dbg nightgallery - [here/off] (23:00 wide view, Masser, Secunda, stars; Esc returns)
dbg opening dock - [fixed / direct; no argument: the opening's state] the dock guard's walk in the opening (default fixed: along the middle of the pier to his place beside the census office door, then he faces you; direct: the earlier walk, for comparison; not saved); no argument prints the opening's state, the guard's place, walk and its check counts
dbg race - [N / NAME] [m / f] swap the race (number or name) and sex in place (docs/PLAYER_BODY.md); no argument: the races with numbers, the current race and sex; stats, class, level kept; what the new race cannot wear goes back to the inventory, a line per item; old body and arm parts released; model table read back (a save keeps it)
dbg recorder - [on/off / start / stop / play FILE / status] gameplay recorder (docs/GAME_RECORDER.md): no argument arms it; Ctrl+R records from a save taken at the start, (RECORDING) on the version line, and names the file at the stop; play 001 replays recordings/001.awr, (PLAYBACK), checkpoints compared, one RECORDER RESULT line
dbg restartgame - (ends the running game cleanly, memory back to the boot level, then the startup logo and the main menu, as at boot; also after a failed load)
dbg restorestats dbg restore stats, dbg stats restore health, magicka and fatigue back to their maximum; the sheet before and after on the console
dbg set playerrace dbg set race [ID / NAME / list] zero-based race list; switch appearance in place; retain gender/class/name/equipment/level/stats; choose valid head and hair
dbg setlvl dbg setlevel [1..83; no argument: a list box to type the level in] the level, as the game's SetLevel sets it, with the health each level-up between gives (Endurance x fLevelUpHealthEndMult a level; off again going down); no attribute is raised; the sheet before and after on the console
dbg shroompicker - [1..10/list] (default 1; preserves inventory and picked state)
dbg shroomtracker - (picked mushrooms in this save; excludes empty plants)
dbg torchgallery dbg torchtest [npc ID/name] same as torchtest: one NPC in the dark room, V toggles your torch
dbg tpscene - [list/headselection] (fresh debug scene; resets unsaved progress)
dbg ver dbg version (the AmiWind build version, the build commit and date as the image records them, and the CHIM engine version)

Audio

Command Also Arguments and notes
dbg door sounds - on/off (default on)
dbg footsteps - [on/off, true/false or 1/0; no argument toggles] your own footsteps (default off, saved; also Options > Audio): by your boots (bare, light, medium, heavy), in water and swimming; NPC and creature footsteps stay on (aw_npc_footsteps)
dbg music - [on/off, true/false or 1/0; no argument toggles; then the switch and the stream] background music (default on; not saved): off closes the stream at once and opens none until on again
dbg music custom - [play / stop; no argument: status] the custom OST player (an image built with --custom-ost FILE): play your own track alone, the playlist and its auto-advance waiting; stop gives the playlist back; without a custom track: silence, never the OST
dbg mwscript dbg mwscript result, dbg mwscript stats, dbg mwscript status [on/off, true/false or 1/0; no argument: what it does] (default on, saved) the game's compiled scripts (docs/MWSCRIPT_BYTECODE.md): sounds, NPC lines, music cues, journal, globals, object state, AIWander; not-yet functions logged once. Answers with the file (id1/mwscript.awm: format, scripts, bytes kept) and the counts
dbg ost play - 00..98 / original music filename stem (spaces as underscores)
dbg sound - [MOMENT [N] / list] a sound event on the actor aimed at, else you:hello idle intruder thief hit attack flee alarm taunt pain swish miss armorhit block damage critical punch punch2 bowdraw bowshoot crossbowdraw crossbowshoot throw projectilehit cast spellhit spellfail knockdown death creatureattack roar moan scream land; N: class, school, size

Video

Command Also Arguments and notes
dbg atmos - 0..3 (saved, default 2): 1 rain, snow and storm ash outdoors (off until measured), 2 chimney, fire and steam smoke; 3 both
dbg cam - [mark NAME / recall NAME / list / orbit [photo] [speed DEG] [ref N / mark NAME] / orbit off / pan / track] (docs/CAMERA_MARKS.md) mark saves place, view, time, headlamp, fog; recall: a public mark (bm1..bm5, sn1..sn5, vivec-palace) or yours, as dbg tp; orbit circles the crosshair target, player detached: +/- speed, 0 holds, wheel zoom, right click or Esc ends
dbg cam pan dbg pan cam [DEGREES] [HOLD] [speed DEG] [photo] / off: a tripod pan for video from the view now: DEGREES default 360 (negative: to the left), HOLD s on the opening and closing frame (default 3), eased start and stop; speed default the field of view over 6 s (15 deg/s); player detached; nothing on screen; Esc or right click ends (docs/CAMERA_MARKS.md)
dbg cam track - [SPEED] forward N / to MARK [HOLD] [speed U] [photo] / off: a steadicam glide for video from the view now: N map units along the heading (negative: back) or to a mark on this map, turning to its view; eased start and stop, HOLD s on each end frame (default 3), SPEED default 32 units/s; camera noclip, player stays; Esc or right click ends
dbg camera dbg pov, dbg thirdperson [first / third / toggle / distance 7.5..200 / vanity on/off/now / death on/off / retry on/off / body on/off / stances on/off / sway 1/2/bench / motion restart on/off / die] player view: no argument = status; vanity = idle orbit; motion restart off = the earlier body animation, to compare; die = test death (docs/THIRD_PERSON.md)
dbg camera fpview - [on/off] the first-person view of the original (default on, saved): its own field of view and the arms lag the pitch; off is the world's projection with the arms following the whole pitch
dbg camera hands - [on/off] the first-person arms assembled from what is worn (default on, saved); off shows the baked arms
dbg camera held - (read only) the light in the left hand against the hand it is drawn in, in the view now (first or third person): the item, the hand's vertices, and how far the light's attach point and its nearest vertex are from them (the look book's grip check, docs/LOOKBOOK.md)
dbg camera parts - [on/off] the third-person player body assembled from what is worn (default on, saved); off shows the baked body
dbg campfires - [on/off, true/false or 1/0] fires outdoors (default on; not saved): on = campfires, braziers, fire pits, torches and flame lamps burn and light the objects around them (and, at night, the ground near the nearest); off = no flame and no fire light outdoors, at once (interiors keep their fires)
dbg crosshair dbg crosshairs [on/off or 1/0; no argument toggles / colour NAME / shape NAME / style] show the crosshair (saved; default on; also Options > Prefs); colours Warm white (default), Yellow, Green, Blue; shapes Cross (default), Open cross, Small cross, Dot (saved); a number or a name's start is enough, no name lists them; style prints all three
dbg cull - far detail (saved; also Options > Video > Far detail): 1 Full (everything to the fog), 3 Light, 4 Strong (default; saves from before v0.0.42 keep Full), 6 Strong + small faces (distant models drop out sooner: faster); also 0 none, 2 fog-exact (same picture as 1), 5 small faces only, 7 debug view; on = 1, off = 0; +8 fog rule, +16 cut groups (see those)
dbg cursortype - [1 / 2; no argument shows the value] the mouse cursor in every window (saved; also Options > Prefs > Mouse cursor): 2 Morrowind's own pointer from your game data (default), 1 AmiWind's drawn cursor; an image without the original's pointer always shows AmiWind's
dbg curtain - [0 / 1; no argument shows the value] the Ghostfence curtain (default 0; not saved): 0 its texture ripples (Quake's warp, as before); 1 the original's three layers slide at their own speeds and sway, composed into one glowing texture with a slow pulse (needs id1/world/curtain.awc, written by the builder)
dbg cut groups - [on/off, 1/0; no argument toggles] whole-structure cuts (saved as aw_cull + 16; default off until the in-game A/B): the pieces of one long structure (walkways, town walls, bridges, the Ghostfence, hillside rocks; the frame map's .cut file) are drawn, fogged and left out together, tested on the structure's box; 0 each piece on its own
dbg draw distance dbg drawdistance, dbg fog distance [100..4096 local units / auto; default auto] the outdoor fog/draw distance: a number is your own value everywhere (Fog distance auto off), auto = each region's own default (300 most places); no argument says which, and what limits it here
dbg fog - on/off or 1/0 (default on: exterior and interior fog; the console value 2 = exterior fog only, interiors without their cell fog as before)
dbg fog auto - [on/off or 1/0] fog distance auto (saved; default on; also Options > Video > Fog distance auto): each region uses its own default from id1/world/region-draw.txt (300 most places); off = your own fog distance everywhere; the location fog still only shortens it
dbg fog indoors - [100..4096 local units] the indoor fog distance, its own value (saved; default 300; also Options > Video > Fog distance indoors): where a large room's fog is full and its drawing stops; aw_fog_distance stays the outdoor one
dbg fog large rooms - [on/off or 1/0] fog in large rooms (saved; default on; also Options > Video > Fog in large rooms): rooms at least 1,024 units across fade into their fog at the indoor fog distance and draw nothing past it; off = they draw as small rooms
dbg fog location dbg foglocation 1/0 places in id1/world/fog-locations.txt (the HUD title's place or region, or the map) set their own day/night fog distance (Ald'ruhn 300, Balmora 300 day, 250 night; default 1 on)
dbg fog region trial - [on/off or 1/0] the region table's trial rows (saved; default off): on = Solstheim's regions take 540 with fog distance auto, the distance still being measured before it becomes the default; off = 300 there as everywhere
dbg fog rule - [on/off, 1/0; no argument toggles] no distance cut before the fog is opaque (saved as aw_cull + 8; default off until the in-game A/B): the Light/Strong far detail cut-offs and the small-faces step start at the fog distance, so nothing pops out of clear air; 0 the cut-offs as before (faster)
dbg ghostfence - [on/off, true/false or 1/0] animated scrolling textures (default on; not saved): on = the Ghostfence curtain, waterfalls and other turbulent textures ripple over time; off = drawn straight and still (unlit, as they are built; also stills water in interiors)
dbg glow - [on/off, true/false or 1/0] the glow of the Ghostfence pylons and the plume of the blight cloud over Dagoth Ur (default off until its frame cost is measured; not saved): each emitter of the original drawn as one sprite baked from its own particle system, hidden when a script disables it
dbg glow draw - [0..16; default 8] how many glowing plumes are drawn at once, the nearest in front (not saved)
dbg glow range - [256..8192 local units; default 2048] how far a glowing plume is drawn (not saved)
dbg killhud dbg photomode [on/off, true/false or 1/0; no argument toggles; hud: Ctrl+Alt+H] clean shots: hides bars, crosshair, hands, prompts, names, subtitles and overlays; full view; fog off and free camera (aw_photomode_nofog, aw_photomode_noclip, aw_photomode_hands); Ctrl+F fog, Ctrl+H dbg hud; off returns to the start point (not saved; Options > Video > Photo mode)
dbg land fill dbg landfill 1/0 (default 1): Land Fill Independence v1, enabled LAND passes with fog on or off; 0 disables for A/B
dbg land method - 1/0 legacy resident LAND rasterizer (default 0, experimental); separate from the CHIM far layer
dbg magicfx - [0 / 1 / 2; no argument shows the value] the look of spells (docs/MAGIC_EFFECTS.md): 0 off, 1 sprites and particles (the game's default, saved), 2 also their light
dbg noclipbob dbg noclipwobble same as noclipwobble
dbg photomode ui - [on/off or 1/0] photo mode's own notice box and hints (saved; default on; off hides them; the Halloween scene turns them off while it runs)
dbg playvid dbg playvideo, dbg videoplay, dbg vidplay <1..17 / 01..17 / catalogue name> (drains queued game audio first)
dbg render order - 1 legacy / 2 mesh intersections (default)
dbg seethrough - [0/1/2 or on/off; no value lists them] see-through textures (default 1; not saved): 1 = cobwebs, hanging moss and leaves drawn with their see-through parts instead of solid rectangles; 2 = also seen from behind; 0 = solid rectangles as before; build option --chim-fence-twosided-faces mirror builds the back sides in
dbg seethroughplaced - [0 / 1; no argument shows the value] see-through faces of placed models (default 0; not saved): 1 = drawn from each placement's own origin (outdoor trees, vines and moss with their see-through parts; needed by the rally-game trees); 0 = as before (most of them not drawn, the rest solid)
dbg setpov - [1 first / 2 vanity / 3 third / off; no argument: the state] lock the view (for test stills): no idle vanity camera, Toggle POV, wheel or camera command changes it until off; a message on the screen and in the console (docs/THIRD_PERSON.md)
dbg treecrowns - [0 to 5; no argument shows the value] how trees with an alternative in the image are drawn, from the next map load (saved; default 0; Options > Video > Tree crowns): 0 the originals, 1 star crowns, 2 to 5 rally-game trees of a test image (2 crown, 3 slices, 4 crown and simple trunk, 5 slices and simple trunk)
dbg vanitycam dbg vanitycamera same as vanitycamera

World / Travel

Command Also Arguments and notes
dbg breath - (no argument) breath under water and drowning (docs/PLAYER_MOVEMENT.md): the breath left of fHoldBreathTime, head under water, Water Breathing, drowning damage taken, and what god mode held back (world damage, script and spell losses)
dbg dbgmap - [on/off, true/false or 1/0; no argument toggles] the debug map (M), map version 1: its DEBUG / IN-GAME / WORLD / LOCAL buttons, lava colour and legend; off: map version 2, the default (the original's map in the menus' frame, the place in its title); saved as aw_map_version, from the next opening
dbg door dbg doorlocks [status / list; no argument: open or close the hinged door under the crosshair, locks ignored] ordinary hinged doors (docs/DOOR_MAPPING.md): status counts the table and this map's doors, list prints each (reference, edict or CHIM, how far open, lock)
dbg door roulette - [SEED] one random interior: loads you straight into a room of this disk at the room's own start and prints which (name, map id, cell number) and the seed; the same SEED loads the same room again (random tests of interior loading)
dbg god dbg godmode [on/off, true/false or 1/0; no argument toggles] Quake god mode (no damage of any kind: blows, lava, falls, drowning, spells and scripts; the HUD shows GOD) (not saved)
dbg map compass - 1/0 the compass strip at the top of the view: north and the hot marker's direction, here / near / far (default 0, saved; docs/WORLD_MAP_AND_JOURNAL.md)
dbg map format - 2 draws the v2 world map layers (default) / 1 draws a v2 map as the v1 map (terrain and settlements only)
dbg map lava - 1/0 molten lava pools on the world map (M), v2 maps only (default 1, saved)
dbg map marker - [find TEXT / show NAME or N / add NAME / del NAME or N / clear / hot [off / NAME]; no argument lists them] the named map markers (also the marker command): find lists them with their region, show opens the map on one, add sets one at the player, clear asks Yes/No, hot sets the hot marker (saved)
dbg map markers max - 1-4096 how many named map markers can be set (default 256, saved); lowering it keeps the markers already set
dbg map tp dbg tp map select a destination on the world map (alias)
dbg maptype - [1 / 2; no argument prints it] the map's version (M): 2 the default (the original's map in the menus' frame, the place in its title, no debug buttons, no lava colour), 1 the debug map before it (also dbg dbgmap on/off); saved as aw_map_version, from the next opening
dbg noburden dbg noweight, dbg unburdened [on/off, true/false or 1/0; no argument toggles] no burden (not saved; off at New Game): the carried weight counts in no rule, no slower walk, run, swim or jump, no extra fatigue, never over-encumbered; the inventory's bar shows the load over 999999; a message says on or off (docs/INVENTORY.md)
dbg noclip - -
dbg recover - -
dbg reset location - 0
dbg scene - ship/town/balmora/
dbg scene change dbg tp menu (scene picker)
dbg superspeed - [on/off, true/false or 1/0; no argument toggles; then the speeds] the old fixed fast walk/run (cl_forwardspeed, Shift x cl_movespeedkey), not the original's speed from Speed, Athletics and load; endless stamina; Speed, Athletics, Acrobatics read as 100 while on (default off; not saved; also plain superspeed)
dbg tp - [X Y [Z] original coords (Z: floor at/below) / mark (map marker) / seydaneen / prisonship / balmora / vivec (the city, else the Arena) / teluvirith / heartchamber / suran / suranclub / aldruhn / khuul / arenapit / mournhold / solstheim / ravenrock / skaal / a map, room or place; alone: list, All/Exteriors/Interiors/Beings; mid-load: runs on arrival]
dbg unstuck - (nearest clear standing spot below or beside you; never into a wall or water; leaves noclip)
dbg view - x y z yaw pitch
dbg worldbounds - [on/off, true/false or 1/0; no argument toggles] the sea current along the edge of the open world that turns you back (an AmiWind extension; on in a default build) (not saved)

Sky / Lighting

Command Also Arguments and notes
dbg 24hrcycle dbg daytimecycle [seconds per hour 0.25..60, default 1; off] steps through 24 game hours, showing each hour that long (default 24 s in all); Esc stops
dbg cloudcontrol - legacy/new or 1/2 (legacy also disables midnight clearing)
dbg clouds - on/off true/false 1/0 (default on, independent of sun)
dbg cloudtype - classic/veil or 1/2 (classic default)
dbg date dbg set time, dbg settime, dbg time the game date and time in every form the game shows it: the journal (18 Last Seed (Day 3)), the rest and wait window (with 9 a.m.), a saved game, the lore form with the era year (18 Last Seed, 3E 427) and day/month/year (18/08/427); month names from the game data
dbg dayclouds - 0..100% in 10:00..14:00 core; 09:00..10:00/14:00..15:00 fade; dawn/sunset protected
dbg daynight - [on/off] off holds the clock at 12:00 midday (sky, light, lamps, windows; survives map changes, not saved); on resumes from the current time; no argument toggles
dbg daynightcycle - on/off true/false 1/0 (automatic time; explicit set/wait still work)
dbg emissive - [0 or 1] glowing lanterns, flames, lava and mushrooms (default 1); no argument: query
dbg exterior luma dbg luma exterior, dbg luma outdoor [0..4] no argument: query
dbg guardtorch - [on/off/auto] (all guard torches; auto follows guards_torch_cycle: dark hours with nothing falling) or light radius 0.1..2.0 of the player torch (default 0.33, the original torch's reach)
dbg headlamp dbg hlamp [on/off, true/false or 1/0] torch light without holding a torch (not saved)
dbg horizon veil - 0..15 (default 0 off) haze the lowest sky bands into the far fog colour so distant gaps read as haze
dbg indoor luma dbg interior luma, dbg interiorluma, dbg luma indoor, dbg luma interior [0..4] (brightness-enabled builds; static interior multiplier; default 1.0; no argument queries)
dbg lamp lights - [0..4] nearest exterior lamps, lanterns, torches and fires lit at night, each a torch's worth (default 2; 0 off)
dbg lamps - status of the night lamps here: map, night, cached and lit lamps, night windows
dbg light hue - [R G B 0..255] colour of torch, lamp and window light (default 255 210 140); no argument: current
dbg luma - no argument: current indoor and outdoor luma, then how to set them
dbg night light - 1 light-space night (default): lamps, glows and torches keep their light / 0 old whole-frame night remap
dbg night tint - 0..100 hue strength of the night tint with night light 1 (default 100)
dbg night windows - 1/0 window glass glows at night (default 1; an AmiWind addition, the original windows never glow)
dbg nightclouds - auto/clear/partial/overcast (night-only, stable game-day prototype)
dbg nightsky - on/off true/false 1/0 (night layer including moons; default on)
dbg nightskymode - legacy/clear or 0/1 (midnight clear default, return by 04:00)
dbg outdoorlantern - [0.25..3.0] light radius of exterior lamps and lanterns at night, relative to the torch (default 1.0)
dbg sky - on/off true/false 1/0 (sky/fog presentation; time control is separate)
dbg skyhaze - 1/0 (default 1): the sky fades toward the fog colour as the draw distance gets shorter (none at 540 and beyond), so fogged buildings and sky meet in one haze; 0 = the sky as before
dbg skyline fill dbg skylinefill 1/0 object silhouetting horizon: sky below fogged far scenery takes the fog colour; experimental and buggy (sprites need their shapes from the alpha channel); tested but subpar results, kept for future improvement (default 0: land-outline horizon)
dbg skyspeed - [0..100] (cloud multiplier; default 0.00333333333 = 1/300 of old speed)
dbg skytype - 1/2/3 or V1/V2/V3 (V3 extra stronk default)
dbg starsky - on/off true/false 1/0 (stars and nebula; default on)
dbg startwinkle - on/off true/false 1/0 (slow, faint pulse of a few bright stars; default on, saved; off = steady stars)
dbg sun - on/off true/false 1/0 (default on, clock still advances)
dbg timeofday - [0..23.999 or morning/night/midday/day/evening/sunset/sunrise/dusk/dawn]
dbg torch flame - [classic/brightbase/sparks or 1/2/3] no argument: current style
dbg torch radius - [32..288] (player + admitted guard lights; default 192, classic 144)
dbg torch strength - [0..1] (player + admitted guards; default 0.7; local light only)
dbg warm light - 1/0 torch, lamp and window light takes the light hue (default 1)
dbg weather - [on/off / skyonly / auto / clear cloudy foggy overcast rain thunder ash blight snow blizzard] region weather: sky, fog and land light from the region's chances (default on, saved; skyonly: sky and fog only; off: clear sky); a name forces it until auto; no argument: the weather, region id (ChangeWeather, ModRegion take it), chances

Ui / Console

Command Also Arguments and notes
dbg console bg color - black/blue/gray or R G B
dbg console font - small/normal
dbg effects - (no argument) the active effects on you (docs/HUD_ACTIVE_EFFECTS.md): each icon's effect and sources, the pictures held and read, the strip lines the debug HUD gives them
dbg font - readable/retro
dbg hudeffects - [on/off, true/false or 1/0] the active-effect icons under the view and on the Stats window (default on, saved): up to three rows, the last place "+N" for the ones that do not fit; off hides them (V in the Stats window still lists every active effect)
dbg mw help - the original game's console commands that work in AmiWind (tgm, coc, player->AddItem, SetStrength and the rest; docs/CONSOLE_COMMANDS_MORROWIND.md), page by page from the disk; also dbg help mw
dbg mw target - [ID / clear; no argument: the finder] the target of the original's commands typed without id->: a list of this map's references with an id, nearest first (name, id, kind, distance), typed to filter; Enter sets it and the input line shows [id->]; clear: the player again
dbg ui dialogue - 1/2/3/4 (default 3)
dbg ui font - 16/14/12/fallback
dbg ui ink - original/readable
dbg ui labels - below/topright/hudleft
dbg ui layout - 1 legacy / 2 full width / 3 padded content (default)
dbg ui namelabels - amiwind/morrowind (amiwind: name and action only below the view, the default; morrowind: also the framed box over the view)
dbg ui palette - (no argument) the palette the screen is drawn through now: game palette (with its colour shifts), game palette (unshifted), title art palette (the title menu only), loading art palette or black palette; a menu of a running game always reads game palette
dbg ui paused - [1/0] the Paused caption on the menu Escape opens in play (default 1, saved): 0 shows the AmiWind logo there, as on the title menu (the original game has no caption)
dbg ui preview - -
dbg ui targetnames - on/off (after creation)
dbg ui targetplace - below/topright/hudleft
dbg ui textbox - [1/2; no argument: the setting] text box type for spoken lines and notices: 1 the strip rises in and blackens the strip under the view, 2 the same box drawn at once with nothing outside it covered, the stat bars stay visible (default 2, saved; also Options > Prefs > Text box)
dbg ui topiccolours - 1/0 the topic list's colours: a topic whose answer is for this speaker alone in blue, one with nothing new left in grey (default 1, saved; also Options > Prefs > Topic colours); no argument: the setting

Input

Command Also Arguments and notes
dbg input trace dbg inputtrace on/off true/false 1/0 (alias; default off)
dbg sensitivity - [0.1..20, one decimal; no argument prints it] mouse sensitivity, Quake's sensitivity setting (saved; default 3, unchanged; also Options > Controls > Mouse sensitivity, 0.5..10 in steps of 0.5)

Diagnostics

Command Also Arguments and notes
dbg all dbg overlay on/off
dbg blockers - -
dbg cell - (original Morrowind cell here: exterior grid CELL x,y, or interior INT n with its full cell ID; the debug HUD shows the same at the end of its shorter row)
dbg compass - on/off true/false 1/0 (default off)
dbg coords - on/off
dbg dimensions - -
dbg ent - print and pin the current crosshair target; raw entity, source id/ref when retained, model and position. Snapshot, not live; merged scenery may have no source identity.
dbg eyeheight - [offset above player origin]
dbg fps - on/off
dbg fpu - (CPU and FPU support library status: 68040.library/68060.library resident or none)
dbg fpucount - [0/1] once a second: per-frame counts of brush model rotations (and rebuilds), direction vectors, table sine/cosine lookups and NPC targeting (average/peak)
dbg hands - -
dbg heap - (current hunk clearance and load peak)
dbg hud - on/off true/false 1/0 (no argument toggles); click-to-pin raw target identity (not saved), shown under the stat bars; a CHIM placement is named by mesh, reference and cell. Attack selects while on; right click or off leaves it and restores attacks after releasing the button. Use dbg overlay for overlays without inspection.
dbg hud type - 1 original / 2 compact (default)
dbg logs live - [on/off, true/false or 1/0] write the diagnostic logs (DEBUG.TXT, walk-profile.csv, frame-stalls.csv, heap-audit.log, cell-load-profile.tsv, music-events.csv, ...) as they happen, for benchmarks; default off: kept in memory (oldest lines drop) and written at Exit game or with dbg savelogs (saved once set)
dbg npcfloors - (read-only ground-contact report)
dbg npclod - [auto/0/1/2/3 / target <0..3/auto> / show on/off / bands / stats] NPC model levels (--npc-lod on builds): 0..3 forces a level on every NPC, auto = distance bands; target = the NPC under the crosshair; show labels level, triangles, KiB, distance; bands sets the edges live; stats (not saved)
dbg npcs - [talk [ID]] the NPCs of the area with their positions; talk: open the dialogue window with the nearest NPC that has topics (or record ID), turned to face it, as Talk (E) does
dbg pos - -
dbg probe - (slow floor audit)
dbg rcount - [0/1/2/3/4] once a second: renderer counts per frame (brush models, faces, clip fragments, edges, spans, surface cache, alias models) and timing split; 2 = remote state file only; 3 = 2 + brush-slot profile (walk/emit split, distance x size table, leaves per placement); 4 = 3 printed
dbg save status - the autosave as it stands (read only): on or off and how many are kept, how many autosaves this character has, when the next is due, what holds it back now (a fight, a menu, the air, ...), a save waiting for a script step, and the last save's outcome (written, or why not)
dbg savelogs - write the in-memory diagnostic logs to the game folder now (also done at Exit game)
dbg sealevel - on/off
dbg show fps - [on/off]
dbg showram - on/off
dbg sweep - [actors/plants/doors/lights/statics] each entity class of the loaded area: what the image ships (map entities, door bank, harvest catalogue) against what is live; names each failure (actor without model or animation, disabled but drawn, harvestable but not pickable, door without a link; hidden ones counted); last line SWEEP RESULT ok/FAIL (read only)