Cheats and Marvin Mode - Gothic-Unity-Project/Gothic-Unity GitHub Wiki
Marvin mode is the built-in debug and cheat mode of Gothic 1 and 2. This page lists the original keys, codes and console commands, and which of them Gothic Unity supports.
Tip
Turn Marvin mode on / off (in a game world, not in the main menu):
- Open the menu.
- click the pulsing Gothic-Unity logo 3 times (in VR, each click vibrates the hand)
or type
marvin(on) or42(off) on a keyboard - Close the menu. "testmode on" or "WHAT WAS THE QUESTION?" appears top left.
- Marvin in Gothic Unity
- Legend
- References
- Activation / deactivation
- Marvin mode keys
- Status screen codes
- Console commands
In VR, the Marvin menu is a panel at the left hand with three tabs:
- Logs - game log, filterable by severity and category.
- Marvin - console, see below. Works only after a game has been started or loaded.
- Inspector - select an object (or the hero) and change its values.
Like the original F2 console, typed on a virtual keyboard below the panel.
- Only valid input: keys leading to an unknown command or value are greyed out.
-
Auto-complete: the line completes itself (
C→CHEAT). -
Suggestions: buttons show matching commands or values (waypoints, items, NPCs, guilds), paged for long lists.
Free values show a placeholder like
<HOUR>. - Recent commands: the last 5 successful commands, one tap to run again (current session only).
| Command | What it does |
|---|---|
cheat full |
Fill hit points and mana |
cheat level |
Hero gains 5 levels (+50 LP, +60 max HP, +100 max mana, all refilled) |
cheat guild <GUILD> |
Set the hero's guild (GIL_* guilds of the running game) |
goto waypoint <WAYPOINT> |
Teleport to a waypoint of the current world |
insert <INSTANCE> [<AMOUNT>] |
Item into the inventory, or NPC/monster in front of the hero (max. 10). Amount 1-999, default 1 |
set time <HOUR> <MINUTE> |
Set the game time. NPC routines follow with the next game minute |
Note
cheat level and cheat guild only exist in Gothic Unity. cheat guild only changes the guild values - no
armor, attitudes or dialogs like when joining a guild.
| Mark | Meaning |
|---|---|
| ✓ | G1 / G2: confirmed by at least one source |
| ✅ | VR: supported (green = works in VR) |
| ≈ | VR: similar, but not the same as the original |
| ? | G1 / G2: not confirmed. Both games share the engine console, so it likely works |
| – | Not available |
Sources are of mixed quality. [1]-[3] (OpenGothic) only confirm that an entry exists, not for which game.
- [1] OpenGothic command table: https://github.com/Try/OpenGothic/blob/master/common/marvin.cpp
- [2] OpenGothic F-keys: https://github.com/Try/OpenGothic/blob/master/common/mainwindow.cpp
- [3] OpenGothic K / O / F8: https://github.com/Try/OpenGothic/blob/master/common/game/playercontrol.cpp
- [4] gothic.wiki, G2 cheat codes: https://gothic.wiki/w/Cheat_codes_in_Gothic_II
- [5] mogelpower, G2 keys + commands: https://www.mogelpower.de/cheats/Gothic-2_PC_23543.html
- [6] colony-guide, G2 NotR console commands: https://colony-guide.com/gothic-2-notr/guides/cheats-console-commands/
- [7] GIGA, G2 overview: https://www.giga.de/tipp/gothic-2-cheats-fuer-god-mode-geld-der-marvin-mode/
- [8] dlh.net, G1 keys + commands: https://www.dlh.net/de/cheats/6786/gothic.html
- [9] GameRevolution, G1 commands (v1.07): https://www.gamerevolution.com/?p=29427
- More (World of Gothic): https://wiki.worldofgothic.de/doku.php?id=diverses:konsolen-befehle, https://www.worldofgothic.de/gothic/gothic_cheats.htm
| How | G1 | G2 | VR | Notes | Ref |
|---|---|---|---|---|---|
Type marvin in the status screen (B), close it |
✓ (from v1.07) | ✓ | ≈ menu instead of status screen, or 3 logo clicks | "testmode on" top left | [4][5][7][8][9] |
Start parameter -devmode
|
? | ✓ | – | [4] | |
Type 42 in the status screen |
? | ✓ | ≈ also 42 in menu, or 3 logo clicks |
Marvin off, tries to undo other cheats | [4] |
Opened with F2 in the original games.
| Command | What it does | G1 | G2 | VR | Ref |
|---|---|---|---|---|---|
cheat god |
God mode toggle | ✓ | ✓ | – | [1][5][7][8][9] |
cheat full |
Full heal (G2: HP + mana) | ✓ | ✓ | ✅ | [1][5][8][9] |
cheat eat |
Restore HP | ✓ | ? | – | [9] |
kill (G1 also cheat kill) |
Kill focused NPC, no XP | ✓ | ✓ | – | [1][5][8][9] |
insert <instance> |
Spawn item, monster or NPC | ✓ | ✓ | ✅ (+ optional amount) | [1][5][7][8][9] |
edit abilities (G1 also eab) |
Edit attributes, level, XP, LP | ✓ | ✓ | ≈ cheat level, Inspector |
[5][7][8] |
edit ai, edit species
|
AI / species settings | ? | ✓ | – | [6] |
remove |
Back to the hero after transforming | ✓ | ? | – | [8] |
firstperson |
First-person view | ? | ✓ | – | [5] |
cheat guild <GUILD> |
Set the hero's guild (Gothic Unity only) | – | – | ✅ | – |
| Command | What it does | G1 | G2 | VR | Ref |
|---|---|---|---|---|---|
goto waypoint <WP> |
Teleport to waypoint | ✓ | ✓ | ✅ | [1][5][7][8][9] |
goto pos <x> <y> <z> |
Teleport to coordinates | ✓ | ? | – | [1][8][9] |
goto vob <name> [n] |
Teleport to VOB / NPC | ✓ | ? | – | [1][8][9] |
goto camera |
Hero to camera position (with F6, then F4) | ✓ | ? | – | [1][8] |
aigoto <WP> |
Hero walks there by AI | ✓ | ? | – | [1][8] |
save position / load position
|
Store / restore hero position | ✓ (load) | ✓ | – | [6][8][9] |
toggle turns |
Hero can't turn | ? | ✓ | – | [6] |
| Command | What it does | G1 | G2 | VR | Ref |
|---|---|---|---|---|---|
set time <h> <m> |
Set game time | ✓ | ✓ | ✅ | [1][5][8] |
toggle time |
Show time | ? | ? | – | [1] |
ztimer multiplyer <f> / ztimer realtime
|
Game speed / back to normal | ? | ✓ | – | [1][6] |
zstartrain, zstartsnow
|
Weather | ? | ✓ | – | [1][5][6] |
ztrigger <vob> / zuntrigger <vob>
|
Fire a VOB trigger (doors, movers) | ? | ? | – | [1] |
spawnmass <n>, spawnmass giga <n>
|
Spawn random monsters | ? | ✓ | – | [1][5] |
save / save game, load game
|
Save / load | ✓ | ✓ | – | [1][6][8][9] |
save zen |
Export the world | ? | ? | – | [1] |
LC1, LC2
|
Switch level (dev leftover) | ? | ? | – | [1] |
print |
Screenshot | ✓ | ? | – | [8][9] |
version |
Game version | ✓ | ✓ | – | [1][5][8][9] |
autocomplement on/off |
Auto-complete commands | ✓ | ? | ≈ always on | [8][9] |
hurtswampschark, harpie, lurker, lichtbringer
|
G1 extras (creatures / quest artifact) | ✓ | – | – | [8][9] |
| Command | What it does | G1 | G2 | VR | Ref |
|---|---|---|---|---|---|
camera autoswitch, camera mode
|
Camera switching / mode | ? | ✓ | – | [1][6] |
toggle camera, toggle camdebug, toggle inertiatarget
|
Camera toggles / debug | ? | ✓ | – | [1][6] |
toggle noclip |
Camera through walls | ? | ✓ | – | [6] |
| Command | What it does | G1 | G2 | VR | Ref |
|---|---|---|---|---|---|
play ani <name> |
Play animation on hero | ? | ? | – | [1] |
play faceani, zstartani, zoverlaymds apply/remove, remove overlaymds
|
Face ani / overlays | ? | ? | – | [1] |
toggle aniinfo, ztoggle modelskeleton, ztoggle rootsmoothnode, ztoggle vobmorph
|
Animation debug | ? | ✓ (aniinfo) | – | [1][6] |
| Command | What it does | G1 | G2 | VR | Ref |
|---|---|---|---|---|---|
zrmode mat/wire/flat/wmat |
Render modes | ? | ✓ | – | [1][6] |
zfogzone |
Removes fog - breaks saves | ? | ✓ | – | [1][6] |
set clipfactor (set clippingfactor), zset levelclipscaler, zset vobfarclipscaler, zset nearclipz
|
View distance | ? | ✓ | – | [1][6] |
ztoggle vobbox, ztoggle showtraceray
|
Debug overlays | ? | ✓ | – | [1][6] |
toggle wayboxes, toggle waynet, toggle freepoints, ztoggle showzones, ztoggle showportals, ztoggle helpervisuals
|
Debug overlays | ? | ✓ (freepoints, showzones) | – | [1][6] |
toggle frame, toggle desktop
|
FPS / hide HUD | ? | ? | – | [1] |
toggle screen, zvideores <w> <h> <bpp>
|
Screen / resolution | ? | ✓ (zvideores) | – | [1][6] |
ztoggle timedemo |
Benchmark flight | ? | ✓ | – | [1][6] |
Other ztoggle … (lightstat, tnl, rendervob, renderportals, renderorder, ambientvobs, …), zmark, zprogmeshlod, zhighqualityrender
|
Engine internals | ? | ? | – | [1] |
| Command | What it does | G1 | G2 | VR | Ref |
|---|---|---|---|---|---|
toggle music, toggle musiccontrol
|
Music on/off, location-based music | ? | ✓ | – | [6] |
stop jingle / play jingle, stop fx / play fx
|
Music / sound effects off / on | ? | ✓ | – | [5] |
play theme <name>, play sound <name>
|
Play music theme / sound | ? | ✓ | – | [6] |
play video <name> (intro, Credits, Extro_kdf, Extro_pal, Extro_djg, …) |
Cutscene videos (names are G2) | ? | ✓ | – | [6] |
None supported in Gothic Unity yet.
| Key | What it does | G1 | G2 | Ref |
|---|---|---|---|---|
| F2 | Open / close console | ✓ | ✓ | [2][4][5][8][9] |
| F3 | Fullscreen ↔ window | ✓ | ✓ | [2][5][8] |
| F4 | Normal camera (reset to hero) | ✓ | ✓ | [2][5][8] |
| F5 | Freeze camera position | ✓ | ✓ | [2][5][8] |
| F6 | Free camera, hero stays | ✓ | ✓ | [2][5][8] |
| F7 | Jump to another section / pinned camera | ✓ | ✓ | [2][5][8] |
| F8 | Refill HP + mana, revive; with a movement key the hero flies | ✓ | ✓ | [3][5][8] |
| F9 | Pause time | ? | ✓ | [2][5] |
| F10 | Next frame (while paused) | ? | ✓ | [2][5] |
| K | Move a few metres forward, through walls | ✓ | ✓ | [3][5][8] |
| O | Control the focused NPC; again on yourself to return | ✓ | ✓ | [3][5][8] |
| H | Hero hurts himself | ✓ | ✓ | [5][8] |
| Z | Hero walks in circles | ✓ | ✓ | [5][8] |
| C | Focused NPC attacks | ? | ✓ | [5] |
| F | First-person view | ? | ✓ | [5] |
| G | Show frame rate | ? | ✓ | [5] |
| Alt+P | Show position | ? | ✓ | [2][5] |
| Alt+O | Debug info | ? | ✓ | [5] |
| Alt+K | Combat system info | ? | ✓ | [5] |
| Alt+E | Environment values | ? | ✓ | [5] |
| Alt+U | Show waynet | ? | ✓ | [5] |
| Alt+Ü | Toggle active camera | ? | ✓ | [5] |
Outside Marvin mode (G2) [4]: Ctrl+Alt+F8 resets the player's position, Shift+Esc opens a blocked main menu, F1-F4 change view distance.
Typed in the status screen like marvin. Documented for G2 only. Only marvin / 42 are supported in Gothic
Unity (in the menu, see the tip on top).
| Code | What it does | G1 | G2 | Ref |
|---|---|---|---|---|
marvin / 42
|
Marvin mode on / off | ✓ / ? | ✓ | [4][8] |
guardian |
Player invincible | ? | ✓ | [4] |
taki |
Fill health + mana | ? | ✓ | [4] |
defoe |
Control the focused NPC | ? | ✓ | [4] |
verne |
Switch to another NPC | ? | ✓ | [4] |
spy |
Info about the focused NPC | ? | ✓ | [4] |
clock / realtime
|
Show game time / time since start | ? | ✓ | [4] |
frate |
Show FPS | ? | ✓ | [4] |
melville |
Rain | ? | ✓ | [4] |
southpark / clerks
|
Everything 300 % speed / slow motion | ? | ✓ | [4] |
highlander / eowyn
|
Focused NPC 300 % speed / slow motion | ? | ✓ | [4] |
garfield, shrike, godzilla, kingkong, grommit
|
Everyone fat / thin / huge / tiny / flat | ? | ✓ | [4] |
caipirinha / maitai
|
Render without textures / wireframe | ? | ✓ | [4] |
garrett, hesse
|
1 ore nugget | ? | ✓ | [4] |
lares |
Lares' ornament piece | ? | ✓ | [4] |
thequeenisdead |
Scroll: summon undead Mud | ? | ✓ | [4] |