Jump to content

Sacred 2 console commands


Recommended Posts

Console commands were discovered a while ago, but there are more of them that remain unknown.

 

If you type "sys", "mem" or "print", the game will display the respective list of commands (see below). Some of known commands are not displayed (such as "sys haircolor"). There might be more command types.

 

Try at your own risk :)

 

~~~~~~

 

SYS commands (put sys in front of them, like "sys flush"):

 

cheat (unlock)

 

camtracksave

 

camtrackload

 

camtrackstartcapture (unlocks free camera mode, as described here)

 

camtrackstopcapture

 

flush (frees system memory by deleting no longer used info stored in it - despite that, doesn't seem to be really useful)

 

flush_rt

 

rebind (has something to do with rebinding textures or whatever)

 

saveps

 

savegroundmap

 

exportsectormaps

 

exportworldmap

 

importworldmap

 

campath <itemtype>

 

ss <factor> (screenshot)

 

tt (patchbaker screenshot)

 

scs (char screenshot)

 

sc (cubemap screenshot)

 

smm (minimap screenshot)

 

movie (only thing it seems to be doing is freezing the game)

 

AI

 

physics

 

lightlinks [0/1]

 

fadein (fades in after using the fadeout command- too quickly to be of any obvious use)

 

fadeout (gradually blackens the screen)

 

hwcursor

 

 

~~~~~~

 

MEM commands (put "mem" in front of them, like "mem mgr"):

 

mgr (shows how much memory sacred's programs are using)

 

dx

 

checkpoint

 

tracker

 

dump (see memtracker.ini)

 

 

~~~~~~

 

PRINT commands (put "print" in front of them, like "print mountinfo"):

 

ver

 

settings

 

sector

 

dict <name> (type "print dict" for a huge full list of possible weird options)

 

psys

 

hero (used to display character's coordinates on the map, but doesn't work now. Ride your mount and use "print mountinfo" to get them)

 

NPC <ref>

 

herostats

 

soundsystem

 

sound

 

obj

 

sobj

 

dobj

 

dobjsai

 

lobj

 

quadtree

 

vis

 

syncseed

 

numaients

 

bonus

 

achievements (displays the achievements of the current character)

 

lua

 

mountinfo (displays map coordinates of your mount)

 

linebreak (types a -------- line in the console window)

 

fpu

 

weather

Link to comment
Console commands were discovered a while ago, but there are more of them that remain unknown.

 

If you type "sys", "mem" or "print", the game will display the respective list of commands (see below). Some of known commands are not displayed (such as "sys haircolor"). There might be more command types.

 

Try at your own risk :blush:

 

~~~~~~

 

SYS commands (put sys in front of them, like "sys flush"):

 

cheat (unlock)

 

camtracksave

 

camtrackload

 

camtrackstartcapture (unlocks free camera mode, as described here)

 

camtrackstopcapture

 

flush (frees system memory by deleting no longer used info stored in it - despite that, doesn't seem to be really useful)

 

flush_rt

 

rebind (has something to do with rebinding textures or whatever)

 

saveps

 

savegroundmap

 

exportsectormaps

 

exportworldmap

 

importworldmap

 

campath <itemtype>

 

ss <factor> (screenshot)

 

tt (patchbaker screenshot)

 

scs (char screenshot)

 

sc (cubemap screenshot)

 

smm (minimap screenshot)

 

movie (only thing it seems to be doing is freezing the game)

 

AI

 

physics

 

lightlinks [0/1]

 

fadein (fades in after using the fadeout command- too quickly to be of any obvious use)

 

fadeout (gradually blackens the screen)

 

hwcursor

 

 

~~~~~~

 

MEM commands (put "mem" in front of them, like "mem mgr"):

 

mgr (shows how much memory sacred's programs are using)

 

dx

 

checkpoint

 

tracker

 

dump (see memtracker.ini)

 

 

~~~~~~

 

PRINT commands (put "print" in front of them, like "print mountinfo"):

 

ver

 

settings

 

sector

 

dict <name> (type "print dict" for a huge full list of possible weird options)

 

psys

 

hero (used to display character's coordinates on the map, but doesn't work now. Ride your mount and use "print mountinfo" to get them)

 

NPC <ref>

 

herostats

 

soundsystem

 

sound

 

obj

 

sobj

 

dobj

 

dobjsai

 

lobj

 

quadtree

 

vis

 

syncseed

 

numaients

 

bonus

 

achievements (displays the achievements of the current character)

 

lua

 

mountinfo (displays map coordinates of your mount)

 

linebreak (types a -------- line in the console window)

 

fpu

 

weather

 

 

Well done Trust!

 

I'll add these to the wiki.

 

Thanks!

:resp:

 

gogo

Link to comment

You should add the appearance options:

 

sys haircolor rrggbb -> hair colour change

 

sys hairstyle 73 -> short hair (there are others as well) - Be warned, this command can cause crashes!

 

Both are reset when you end the game and thus have to be entered again when you start the game again.

Link to comment

"Print Achievements" only shows the ones you've earned during that game session in MP, not sure about SP. If you haven't unlocked any in current game session, it will display only the character level ones (I.e Reputable, Legendary etc)

Link to comment
  • 1 year later...

does anybody remember how to turn on the various debug-log levels ?

 

specifically, I would be interested if there was a way to activate logging, but limiting it to only log drops for instance..

 

 

like in sacred uw,

if you had the log function enabled,

 

you could type "SYS DROPLOG" to see if logging drops into a separate file was currently activated or not.. (this was used for a workaround due to a bug in v2.25 that had to do with invisible item-drops when in party)

 

 

the reason why I would like something similar in Sacred 2 is, because im lazy :D

(and I would like to have log regarding what items I found during sessions, it would slow down gameplay too much noting everything down manually)

Link to comment
  • 9 years later...

Well, the High Elf has Shadow Step. If she dismounts toward the edge of a boundary she can use that to "jump" to other otherwise able to be explored a step and a cool-down at a time. There's a bit about that starts on this page, just about halfway down.

 

Link to comment
  • 2 years later...

A list of all XML files referenced by the sacred2.exe file:
Windows/Lan.xml
Windows/ClosedNetLobby.xml
Windows/ClosedNetLogin.xml
Windows/MessageBox.Editbox.xml
Windows/MessageBox.xml
Windows/Welcome.xml
Windows/MessageBox2.xml
Windows/ErrorBox.xml
Windows/Party.xml
Windows/QuestView.Star.xml
Windows/QuestAcceptDecline.xml
Windows/Quest.xml
Windows/Taskbar.xml
Windows/TradeInventory.xml
Windows/ToolTip.Channels.xml
Windows/AttributeToolTip.xml
Windows/SkillToolTip.xml
Windows/ComboToolTip.xml
Windows/SpellToolTip.xml
Windows/ItemToolTip.xml
Windows/PotionToolTip.xml
Windows/DefaultToolTip.xml
Windows/Attributes.xml
Windows/ChestInventory.xml
Windows/Combatarts.xml
Windows/Inventory_Dragonmage.xml
Windows/Inventory_Templeguard.xml
Windows/Inventory_Highelve.xml
Windows/Inventory_Inquisitor.xml
Windows/Inventory_Centurio.xml
Windows/Inventory_Dryadin.xml
Windows/Inventory_Seraphim.xml
Windows/QuestList.Separator.xml
Windows/QuestView.Counter.xml
Windows/QuestView.xml
Windows/HorseTraderDialog.xml
Windows/Blacksmith.xml
Windows/Combomaster.xml
Windows/MessageBox.SplitDialog.xml
Windows/HUD.xml
Windows/Inventory.xml
Windows/Logbook.xml
Windows/CampaignChoice.xml
Windows/CharChoice.xml
Windows/ClosedNetHoF.xml
Windows/OpenNetHoF.xml
Windows/IngameNetwork.xml
Windows/MainMenu/ErrorDlg.xml
Windows/GodChoice.xml
Windows/MainMenu/Hall_of_Heroes.xml
Windows/MainMenu/Loading.xml
Windows/MainMenu/LoadSave.xml
Windows/MainMenu/MainMenu.xml
Windows/MainMenu/MainMenuPres.xml
Windows/MainMenu/Multiplayer.xml
Windows/MainMenu/Net.xml
Windows/NetAccount.xml
Windows/MainMenu/Options.xml
Windows/MainMenu/Singleplayer.xml
Windows/OutGameMenu/OutGameMenu.xml
Windows/OutGameMenu/EnterKeycode.xml
Windows/OutGameMenu/Internet.xml
Windows/OutGameMenu/LoadSave.xml
Windows/OutGameMenu/Savegame.Entry.xml
Windows/OutGameMenu/Savegame.Entry_Empty.xml
Windows/OutGameMenu/Savegame.Entry_Incompatible.xml
Windows/OutGameMenu/LocalNetwork.xml
Windows/OutGameMenu/NewCharacter.xml
Windows/OutGameMenu/Keyboard_Binding.xml
Windows/OutGameMenu/Options_Keyboard.xml
Windows/OutGameMenu/Options_Sound.xml
Windows/OutGameMenu/Options_Game.xml
Windows/OutGameMenu/Options_GFX.xml
Windows/OutGameMenu/Options.xml
Windows/OutGameMenu/Specials.xml
Windows/OutGameMenu/Credits_Line.xml
Windows/OutGameMenu/Credits.xml
Windows/OutGameMenu/Videos.xml
Windows/Worldmap.xml
Windows/MountEquipment.xml
Windows/MouseCursor.xml
Windows/Orb.xml
Windows/PortalChooser.Entry.xml
Windows/PortalChooser.xml
Windows/TraderDialog.xml
Windows/ArenaFightDialog.xml
Windows/QuestCountDown.xml
Windows/QuestList.SQ.Caption.xml
Windows/QuestList.SQ.Title.xml
Windows/QuestList.SQ.Normal.xml
Windows/QuestList.CQ.xml
Windows/QuestList.MQ.xml
Windows/QuestList.xml
Windows/Sample.xml
Windows/TeamDialog.xml
Windows/VideoControl.xml
memdump.xml
ListSounds.xml
ListShaders.xml
ListBitmaps.xml
ListFonts.xml
ListFontGroupsDefault.xml
ListFontGroups.xml
Windows/BookList.Volume.xml
Windows/BookList.Title.xml
Windows/BookList.xml
Windows/BookView.xml
Windows/StatView.Icon.xml
Windows/StatView.Trophy.xml
Windows/StatList.xml
Windows/StatView.xml
Windows/QitemList.xml
Windows/QitemView.xml
Windows/CreatureList.xml
Windows/CreatureView.xml
Windows/DefaultContextMenu.xml
Windows/IngameMenu.xml
 

Link to comment

Here are the various switches to the exe file, Ice and Blood version:

-skipopenal
-presentation
-logfilter
-log=1
-log1
-nolog
-log=0
-log0
-showserver
-noconnect
-timer
-nocpubinding
-listenport
-resetoptions
-windowed
-exec
-continue
-quiet
-lock
-split
-version
-nodump
-minidump
-forceupdate
-unlockaddon
 

I have been trying to enable logging but without success. Attempts so far:

-log1 
-log=1
sys.loglevel (3) 

I'm attempting this because I haven't figured out how to make the output of debug more readable :/ The buffer history I can finally check with pageup and pagedown! I was hoping to get more of the map load details. The expected log file would be: debug.log

  • Respect! 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
Please Sign In or Sign Up