Jump to content

Console Commands for GemRB and ShadowKeeper


zelazko

Recommended Posts

How do I use console commands with gemrb? Standard cheat codes don't seem to work. I have set EnableCheatKeys=1 in my config file.

I want to cheat my way through Irenicus' starter dungeon by giving myself portal key with

CLUAConsole:CreateItem("Misc4g")

So I can get to second level almost immediately recruit Yoshimo, Drizzt and Kachiko and leave the dungeon in less than 5 minutes to further test my mod setup for potential issues but my damn console don't work and shadowkeeper gives me error. I can't also load the gemRB save with vailla bg2 game.

An Assertion failed in ObjCreature.cpp at line number 12244

 

 

// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [subcomponent Name -> ] Component Name [ : Version]
~DDRAWFIX/DDRAWFIX.TP2~ #0 #0 // DDrawFix -> Force DirectDraw Emulation: v1.0
~TOBEX/TOBEX.TP2~ #0 #100 // TobEx - Core: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #101 // Apply Concentration Check On Damage [WIP]: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #102 // Awaken On Damage: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #105 // No Spell Interruption On Zero Damage: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #106 // Use Caster Level On Mirror Image [C]: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #107 // Allow All Races to Dual Class: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #108 // Allow Equipping Armor in Combat: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #109 // Disable Experience Boost: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #111 // Disable Silence On Charm: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #113 // Remain Hidden On Pickpocket Success [C]: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #114 // Rest Spawns Advance Time: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #115 // Dialogue Greeting Subtitles: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #116 // Enable Animation Attack Sounds: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #117 // Universal Four Inventory Weapon Slots: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #118 // Subtitles For Standard Soundsets: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #120 // Drop Inventory on Disintegrate: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #121 // Drop Inventory on Frozen Death: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #122 // Drop Inventory on Stone Death: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #123 // Enable Auto-Pause On All Screens: Beta 0025
~TOBEX/TOBEX.TP2~ #0 #124 // Make All Attack Animations Genuine Attacks: Beta 0025
~SETUP-ASCENSION.TP2~ #0 #0 // Ascension v1.41 (requires ToB): v1.4.24 BWP Fix
~SETUP-ASCENSION.TP2~ #0 #1 // Tougher Abazigal (optional, requires ToB): v1.4.24 BWP Fix
~SETUP-ASCENSION.TP2~ #0 #2 // Original Tougher Demogorgon (optional, requires ToB): v1.4.24 BWP Fix
~SETUP-ASCENSION.TP2~ #0 #3 // Tougher Gromnir (optional, requires ToB): v1.4.24 BWP Fix
~SETUP-ASCENSION.TP2~ #0 #4 // Tougher Illasera (optional, requires ToB): v1.4.24 BWP Fix
~SETUP-ASCENSION.TP2~ #0 #5 // Tougher Yaga-Shura (optional, requires ToB): v1.4.24 BWP Fix
~SETUP-ASTSCRIPTPATCHER.TP2~ #0 #0 // Fix Various "astXXXby triggers in many scripts
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #0 // BG2 Fixpack - Core Fixes: v10
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #1000 // BG2 Fixpack - Game Text Update -> GTU Light (by Wisp): v10
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #3 // BETA Core Fixes (please check the readme!): v10
~SETUP-VCV10.TP2~ #0 #0 // Baldurdash Fix Pack for SoA-ToB, v1.76 WeiDU
~SETUP-VCV10.TP2~ #0 #2 // Restored Twisted Rune Quest (by Vlad)
~1PP/1PP.TP2~ #0 #101 // 1ppv4: Core paperdolls: v4.1.0 BWP Fix
~1PP/1PP.TP2~ #0 #103 // 1ppv4: Extended palette entries -> Full install (recommended): v4.1.0 BWP Fix
~1PP/1PP.TP2~ #0 #200 // 1ppv4: Core content patches: v4.1.0 BWP Fix
~1PP/1PP.TP2~ #0 #400 // 1ppv4: Core updates and item patches: v4.1.0 BWP Fix
~1PP/1PP.TP2~ #0 #401 // 1ppv4: Improved projectile effects: v4.1.0 BWP Fix
~SETUP-CTB.TP2~ #0 #0 // Check The Bodies: 1.13
~TETHYRFORESTPATCH/SETUP-TETHYRFORESTPATCH.TP2~ #0 #0 // Tethyr Forest Patch: 3b
~SETUP-ROT.TP2~ #0 #0 // Region Of Terror, v2.1: v2.1 BWP Fix
~SETUP-BGT.TP2~ #0 #0 // Baldur's Gate Trilogy - Core: 1.18 (28 Apr 13) BWP Fix
~BGGRAPHICS/SETUP-BGGRAPHICS.TP2~ #0 #0 // BGT Extended Night and Baldur's Gate Map Fixes: v1.8 BWP Fix
~TXTMUSIC/TXTMUSIC.TP2~ #0 #0 // Restored Textscreen Music for BG1TuTu, EasyTutu, and BGT-WeiDU: 9 (22 Mar 13)
~KLATU/SETUP-KLATU.TP2~ #0 #1010 // The Manual of War: 1.7 BWP fix
~KLATU/SETUP-KLATU.TP2~ #0 #1020 // Prepared Wishes: 1.7 BWP fix
~KLATU/SETUP-KLATU.TP2~ #0 #1050 // Appropriate XP Rewards for Cowled Enforcers: 1.7 BWP fix
~KLATU/SETUP-KLATU.TP2~ #0 #1080 // CtB: Fixed Harp of Myth Drannor: 1.7 BWP fix
~KLATU/SETUP-KLATU.TP2~ #0 #1090 // RoT: Remove cutscenes from Chateau Irenicus: 1.7 BWP fix
~KLATU/SETUP-KLATU.TP2~ #0 #2000 // Streamlined Wizard Spell Progression: 1.7 BWP fix
~KLATU/SETUP-KLATU.TP2~ #0 #2010 // Streamlined Sorcerer Spell Progression: 1.7 BWP fix
~ITEM_REV/ITEM_REV.TP2~ #0 #0 // Item Revisions by Demivrgvs: V4 Beta 10
~SETUP-VCV10.TP2~ #0 #1 // Restored Anti-Dragon Items and Powerful Swords (by Vlad)
~SETUP-VCV10.TP2~ #0 #3 // Improved Copper Coronet (by Vlad)
~SETUP-VCV10.TP2~ #0 #4 // Improved Shadows and Shadow Dragon (by Vlad)
~SETUP-VCV10.TP2~ #0 #5 // Restored Dak'kon's Blade (by Vlad)
~SETUP-VCV10.TP2~ #0 #8 // Third Path (by Vlad)
~SETUP-VCV10.TP2~ #0 #9 // Cromwell in Brynnlaw (by Vlad)
~SETUP-VCV10.TP2~ #0 #10 // Improved Character Minsc & Boo (by Vlad)
~SETUP-VCV10.TP2~ #0 #11 // Improved Character Anomen - Stats and Items (by Vlad)
~SETUP-VCV10.TP2~ #0 #12 // Improved Character Nalia - Stats and Items (by Vlad)
~SETUP-VCV10.TP2~ #0 #13 // Improved Character Aerie - Priest of Lathander (by Vlad)
~SETUP-VCV10.TP2~ #0 #19 // Merchant League Bank (BGT required!) (by Vlad)
~SETUP-VCV10.TP2~ #0 #20 // BGT Compatibility, Fixes and Improvements (BGT required!) (by Vlad)
~SETUP-VCV10.TP2~ #0 #22 // Stats and Portraits of Viconia and Jaheira. BG1 Viconia and Jaheira can get their BG2 portraits and stats (by Vlad).
~SETUP-VCV10.TP2~ #0 #23 // Improved Character Xan (BGT required!) (by Vlad)
~SETUP-RES_FIXER.TP2~ #0 #0 // Resource Fixer: v1
~BP/SETUP-BP.TP2~ #0 #0 // Big Picture, core component (required for most subcomponents): v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #10 // Patching all the existing innate spells, setting level to one.....: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #35 // Add Bags and Magic Throwing Daggers to Stores: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1170 // Treant Encounter: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1190 // Hell Trial Additions: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1200 // Horreds Lair: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1300 // Mae Var: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1330 // Tavern Brawl (In the Seven Veils): v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1350 // Planar Prison: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1375 // Planar Sphere Enhancements (including Tolgerias): v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1600 // Improved Suldanessallar: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1625 // Tanners Quest: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1650 // Trademeet Enhancements: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1675 // Wand of Orcus Add-In: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1700 // Windspear Hills Enhancements: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1120 // Kensai Ryu's Improved Crypt King: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1175 // Kensai Ryu's Gnome Fighter/Illusionist in the Docks: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1275 // Gebhard Blucher's Lich in the Docks: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1250 // Kuroisan the Acid Kensai, by Westley Weimer: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1425 // Red Badge, Poison-Based Encounter, by Westley Weimer: v181-b4611 BWP Fix
~BP/SETUP-BP.TP2~ #0 #1450 // The Ritual, by Westley Weimer: v181-b4611 BWP Fix
~SETUP-VCV10.TP2~ #0 #24 // TORTURED SOULS v7.06
~SETUP-VCV10.TP2~ #0 #25 // Items Upgrade (by Vlad)
~SETUP-BGTMUSIC.TP2~ #0 #2 // Baldur's Gate Trilogy - Music -> Full Baldur's Gate/Shadows of Amn/Throne of Bhaal Music (WARNING: patches BGMain.exe)
~SETUP-DARKHORIZONS.TP2~ #0 #0 // "Dark Horizons" Mod (Requires Tales of the Sword Coast, TuTu or BGT): BGT v212 BWP Fix
~DSOTSC/DSOTSC.TP2~ #0 #0 // Dark Side of the Sword Coast (DSotSC): v3.0 beta
~DSOTSC/DSOTSC.TP2~ #0 #1 // DSotSC Wizard spells: v3.0 beta
~DSOTSC/DSOTSC.TP2~ #0 #2 // DSotSC Priest spells: v3.0 beta
~DSOTSC/DSOTSC.TP2~ #0 #3 // More common encounters in vanilla areas: v3.0 beta
~DSOTSC/DSOTSC.TP2~ #0 #4 // Distribute DSotSC items also in vanilla content: v3.0 beta
~NTOTSC/NTOTSC.TP2~ #0 #0 // Northern Tales of the Sword Coast (NTotSC) for BGT-Weidu, BG:EE, and EET: 3.0.0
~NTOTSC/NTOTSC.TP2~ #0 #1 // Keelor the Dwarf: 3.0.0
~NTOTSC/NTOTSC.TP2~ #0 #2 // Llindellyn's Lucky Arrow: 3.0.0
~NTOTSC/NTOTSC.TP2~ #0 #3 // Nim Furlwing's Hunting Hounds: 3.0.0
~NTOTSC/NTOTSC.TP2~ #0 #6 // Will O'Hara NPC: 3.0.0
~NTOTSC/NTOTSC.TP2~ #0 #7 // Fighting Encounters: 3.0.0
~SETUP-BONEHILLV275.TP2~ #0 #0 // Secret of BoneHill (Requires BGT or Tutu): v2.75c BWP Fix
~DRIZZTSAGA/DRIZZTSAGA.TP2~ #0 #1 // The Drizzt Saga for BGEE/Tutu/BGT -> BP-BGT Worldmap version: all areas added to worldmap (requires BP-BGT Worldmap): v3.00
~DRIZZTSAGA/DRIZZTSAGA.TP2~ #0 #3 // Delayed start: Drizzt joins after Durlag's Tower: v3.00
~SETUP-VAULT.TP2~ #0 #0 // The Vault (erebusant's rework for BGT compatibility): v7.2 BWP Fix
~SETUP-VAULT.TP2~ #0 #1 // The Vault's item upgrades - Compatibility with Item Revisions. Recommended for consistency if you plan to install IR main component later: v7.2 BWP Fix
~BGQE/SETUP-BGQE.TP2~ #0 #0 // Slime Quest: v18
~BGQE/SETUP-BGQE.TP2~ #0 #1 // Beregost Family Quest: v18
~BGQE/SETUP-BGQE.TP2~ #0 #2 // Babysitting Quest, including the Carnival Encounter...: v18
~BGQE/SETUP-BGQE.TP2~ #0 #3 // Nashkel Monster Quest: v18
~BGQE/SETUP-BGQE.TP2~ #0 #4 // Fallen Paladin Quest: v18
~BGQE/SETUP-BGQE.TP2~ #0 #5 // Undying Love Quest: v18
~BGQE/SETUP-BGQE.TP2~ #0 #6 // Lovesick Half-Orc: v18
~BGQE/SETUP-BGQE.TP2~ #0 #7 // Unexpected Help Quest: v18
~BGQE/SETUP-BGQE.TP2~ #0 #8 // Many Little Paws: v18
~BGQE/SETUP-BGQE.TP2~ #0 #9 // Drunk near Beregost Temple: v18
~BGQE/SETUP-BGQE.TP2~ #0 #10 // A Warm Place for Noober: v18
~BGQE/SETUP-BGQE.TP2~ #0 #11 // Brage's Sword: v18
~BGQE/SETUP-BGQE.TP2~ #0 #12 // Legal Seachart Sources: v18
~BGQE/SETUP-BGQE.TP2~ #0 #13 // Additions to the House of the Lady and the Bitch Queen's Temple: v18
~BGQE/SETUP-BGQE.TP2~ #0 #14 // A Worried Farmer: v18
~BGQE/SETUP-BGQE.TP2~ #0 #15 // Bodies for a Good Cause: v18
~SETUP-TGC1E.TP2~ #0 #0 // The Grey Clan Episode One: In Candlelight, BGT-WeiDU edition v1.8 -> Normal edition: v1.8.T1 BWP Fix
~SIRINESCALL/SETUP-SIRINESCALL.TP2~ #0 #0 // The Lure of the Sirine's Call: v15
~SIRINESCALL/SETUP-SIRINESCALL.TP2~ #0 #1 // Extended Lighthouse area: v15
~SOA/SETUP-SOA.TP2~ #0 #1 // The Stone of Askavar for TotSC/Tutu/BGT/BGEE -> BP-BGT Worldmap version: all areas added to worldmap (requires BP-BGT Worldmap): 2.1
~AC_QUEST/SETUP-AC_QUEST.TP2~ #1 #0 // Ascalon's Questpack: 2.04
~BW_HERBS/SETUP-BW_HERBS.TP2~ #0 #0 // Herbs and Potions Add-in (BG1 / BG1Tutu / BGT) by Baronius: v1.0.3 BWP Tweak

 

 

After I installed components marked red these Shadowkeeper errors started to pop up. Before I could just use shadowkeeper to insert myself portal key.

 

Thanks khelban12 the cheat code for portal key you provided works. :)

Edited by zelazko
Link to comment

How do I use console commands with gemrb? Standard cheat codes don't seem to work. I have set EnableCheatKeys=1 in my config file.

I want to cheat my way through Irenicus' starter dungeon by giving myself portal key with

CLUAConsole:CreateItem("Misc4g")
So I can get to second level almost immediately recruit Yoshimo, Drizzt and Kachiko and leave the dungeon in less than 5 minutes to further test my mod setup for potential issues but my damn console don't work and shadowkeeper gives me error. I can't also load the gemRB save with vailla bg2 game.

 

If you want to leave Irenicus's dungeon quickly in order to test something, besides movetoarea, you can also install the excellent mod dungeon begone.

 

I started a playthrough with SCS 2-3 days ago and i didn't have the problem you described with the portal key being unfetchable. Anyway, regarding the console, some commands are slightly different. Try 'CreateItem(1, "MISC4G")'. 1 means which player will get the item and then the item resref. You can also add optional arguments like which inventory slot. The gemrb wiki documents all console commands.

 

 

An Assertion failed in ObjCreature.cpp at line number 12244

 

I have noticed this too in some cases that i needed to run the vanilla engine (for example to quickly sell items from the bag of holding) but i didn't try to debug it. Maybe it has to do with the area or something like that because every time that i got an assertion, i saved from germb somewhere else and then the vanilla engine could load the save fine.

Link to comment
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...