Jump to content

Assertion failed in CCGameEffect.cpp at line number 1536


ericp07

Recommended Posts

Hello,

 

Testing was going along well enough, and today I installed BG2 Tweaks to test it in my configuration. Started a new mp test game, importing a protagonist I'd had saved. Rounded up Imoen, Jaheira, and Minsc, and brought the party into the room with the golem. Clicked the Rest button, and got a CTD with the "Assertion Failed" message :)

 

Here's the WeiDU Log:

 

// 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

~SETUP-BG2FIXPACK.TP2~ #0 #0 // BG2 Fixpack - Core Fixes

~SETUP-BG2FIXPACK.TP2~ #0 #1 // BG2 Fixpack - Game Text Update

~SETUP-BG2FIXPACK.TP2~ #0 #2 // Super Happy Fun Lucky Modder Pack

~SETUP-BG2FIXPACK.TP2~ #0 #3 // BETA Core Fixes (please check the readme!)

~SETUP-BG2FIXPACK.TP2~ #0 #100 // Party Gets XP for Sending Keldorn to Reconcile With Maria

~SETUP-BG2FIXPACK.TP2~ #0 #101 // Improved Spell Animations

~SETUP-BG2FIXPACK.TP2~ #0 #102 // Cromwell's Forging Actually Takes a Day

~SETUP-BG2FIXPACK.TP2~ #0 #103 // Mixed-Use Dagger Fixes

~SETUP-BG2FIXPACK.TP2~ #0 #104 // Ghreyfain's Holy Symbol Fixes

~SETUP-BG2FIXPACK.TP2~ #0 #106 // Giants Receive Penalties When Attacking Halflings, Dwarves, and Gnomes

~SETUP-BG2FIXPACK.TP2~ #0 #107 // Remove Dual-Classing Restriction from Archers and Stalkers

~SETUP-BG2FIXPACK.TP2~ #0 #108 // Remove Second Attribute Bonus for Evil Path in Wrath Hell Trial

~SETUP-BG2FIXPACK.TP2~ #0 #109 // Corrected Summoned Demon Behavior

~SETUP-BG2FIXPACK.TP2~ #0 #110 // Additional Script Fixes

~SETUP-BG2FIXPACK.TP2~ #0 #111 // Bard Song Fixes

~SETUP-BG2FIXPACK.TP2~ #0 #112 // Wizard Slayers Cause Miscast Magic on Ranged Attacks

~SETUP-BG2FIXPACK.TP2~ #0 #113 // Additional Alignment Fixes

~SETUP-BG2FIXPACK.TP2~ #0 #114 // Change Free Action to Protect Against Stun

~SETUP-ALLISON.TP2~ #0 #0 // Allison (One-Day NPC)

~SETUP-BTL.TP2~ #0 #0 // Beyond the Law - Kova & Kiyone

~SETUP-BTL.TP2~ #0 #1 // Alternate Soundset for Kiyone - Female4

~SETUP-BTL.TP2~ #0 #2 // Better Balanced BTL Items

~SETUP-BTL.TP2~ #0 #3 // Portraits for Minor Non-Joinable BTL NPCs

~SETUP-SHEENA.TP2~ #0 #0 // Install A Half Dragon Tale - Version 5.5

~SETUP-KITANYA.TP2~ #0 #0 // Kitanya Conversation/Romance Mod for BG2

~SETUP-KITANYA.TP2~ #0 #1 // Wizardslayer Bugs Fix

~SETUP-KITANYA.TP2~ #0 #2 // Wizardslayer Enhancements

~SETUP-AMBER.TP2~ #0 #0 // Amber the NPC MOD for BGII:SoA

~SETUP-AMBER.TP2~ #0 #1 // Multiplayer-friendly flirting for Amber

~SETUP-AURENASEPH.TP2~ #0 #0 // Auren Aseph V6 for BG2:ToB

~SETUP-AURENASEPH.TP2~ #0 #1 // Alternate Auren Portrait -> Portrait 1 (From Neverwinter Nights Vault)

~SETUP-FADE.TP2~ #0 #0 // Fade: An NPC for Baldur's Gate II

~SETUP-SAERILETH.TP2~ #0 #0 // Saerileth Romance Mod v12 (BG2:SoA & TOB NPC) created by nethrin and Sillara

~SETUP-SARAHSOA.TP2~ #0 #0 // Sarah NPC Romance Mod for BG2:SoA V1

~SETUP-XAN.TP2~ #0 #0 // Xan NPC MOD for Baldur's Gate II, v6

~SETUP-XAN.TP2~ #0 #5 // BG1-like flaming sword animation

~MORITURI.TP2~ #0 #0 // Morituri Kit version 3

~NPCKIT.TP2~ #0 #30 // Improved Specialist Mage Descriptions

~NPCKIT.TP2~ #0 #31 // Replace Berserker Kit with Battlerager for Dwarves

~NPCKIT.TP2~ #0 #400 // Anomen Gains Helm Kit on Passing Knighthood Test

~NPCKIT.TP2~ #0 #410 // Anomen Gains Berserker Kit on Failing Knighthood Test

~NPCKIT.TP2~ #0 #420 // Prevent CN Anomen Gaining a Holy Symbol

~NPCKIT.TP2~ #0 #2200 // Give Mazzy a Proper Truesword of Arvoreen Kit

~NPCKIT.TP2~ #0 #2300 // Change Minsc's Title to Rashemaar Ranger

~NPCKIT.TP2~ #0 #2800 // Give Sarevok a Proper Deathbringer Kit

~SETUP-SPSTUFF.TP2~ #0 #4 // Creslyn's BG2 Item Pack

~SETUP-SEMI_MULTI_CLERICS.TP2~ #0 #0 // Semi-multi-clerics

~SETUP-DIVINE_REMIX.TP2~ #0 #0 // Divine Remix Core Components (Required for Everything)

~SETUP-DIVINE_REMIX.TP2~ #0 #100 // Cleric Remix

~SETUP-DIVINE_REMIX.TP2~ #0 #109 // Install Battleguard of Tempus Cleric Kit

~SETUP-DIVINE_REMIX.TP2~ #0 #127 // Install Feywarden of Corellon Cleric Kit

~SETUP-DIVINE_REMIX.TP2~ #0 #200 // Druid Remix

~SETUP-DIVINE_REMIX.TP2~ #0 #412 // Install Justifier Ranger Kit

~SETUP-DIVINE_REMIX.TP2~ #0 #415 // Install Wilderness Runner Ranger Kit

~SETUP-DIVINE_REMIX.TP2~ #0 #600 // Install Battleguard of Tempus Kit for Branwen

~SETUP-KIVAN.TP2~ #0 #0 // Kivan of Shilmista

~SETUP-KIVAN.TP2~ #0 #6 // Select Kivan's Portrait -> Install Herd's Alternative Portrait for Kivan.

~SETUP-KIVAN.TP2~ #0 #7 // Install ToB Portion of the Mod

~SETUP-YASRAENA.TP2~ #0 #0 // Yasraena v7 (BG2:SoA & TOB NPC) created by nethrin & Sillara of the Tamari

~SETUP-SOLAUFEIN.TP2~ #0 #0 // Solaufein Romance for Baldur's Gate II (SoA & ToB)

~SETUP-KELSEY.TP2~ #0 #0 // Kelsey v2.1: for BG2 - SoA

~SETUP-KELSEY.TP2~ #0 #1 // Kelsey/Solaufein Content: Banter and Romance Conflict OPTIONAL, RECOMMENDED ONLY for use with Solaufein V60 AND ABOVE

~SETUP-KELSEY.TP2~ #0 #2 // Install Alternate Kelsey portrait set #1 by Karse Soze (regular Kelsey)?

~SETUP-KELSEYTOB.TP2~ #0 #0 // Kelsey: ToB - Version 2

~SETUP-KELSEYTOB.TP2~ #0 #1 // Kelsey/Solaufein Romance Conflict (OPTIONAL, RECOMMENDED ONLY for use with Solaufein V60 AND ABOVE)

~SETUP-KELSEYTOB.TP2~ #0 #4 // Alternate Kelsey portrait set #1 by Karse Soze (regular Kelsey) (set 2 of 3)?

~SETUP-WIKAEDE.TP2~ #0 #0 // Wikaede One-Day NPC v3.4

~CHLOE.TP2~ #0 #0 // Chloe NPC mod v1.2

~MOINESSEAVATARS.TP2~ #0 #0 // Install Longhaired Female Elven Mage Avatars

~MOINESSEAVATARS.TP2~ #0 #1 // Install Female Cleric and Druid Avatars

~MOINESSEAVATARS.TP2~ #0 #2 // Install Male Half-Orc Paperdoll

~MOINESSEAVATARS.TP2~ #0 #3 // Install Longhaired Female Human Fighter Avatars in Full Plate Armor

~MOINESSEAVATARS.TP2~ #0 #4 // Install Male Human Barbarian Avatars

~MOINESSEAVATARS.TP2~ #0 #5 // Install Male Human Mage Avatars

~MOINESSEAVATARS.TP2~ #0 #6 // Install Female Human Mage Avatars

~MOINESSEAVATARS.TP2~ #0 #7 // Install Ninja Avatars (replaces Male Monk)

~MOINESSEAVATARS.TP2~ #0 #8 // Install Ninja Avatars (replaces Female Monk)

~MOINESSEAVATARS.TP2~ #0 #9 // Install Female Human Rogue Avatars

~MOINESSEAVATARS.TP2~ #0 #10 // Install Male Vampire Avatars

~MOINESSEAVATARS.TP2~ #0 #11 // Install Female Vampire Avatars

~1PP.TP2~ #0 #0 // 1PP: Everything but Potions

~1PP.TP2~ #0 #1 // New Potion Graphics

~SETUP-ACEALTMUSIC.TP2~ #0 #0 // BGII Alternate Soundtrack

~SETUP-BW_HERBS_BG2.TP2~ #0 #0 // Herbs and Potions Add-in for BG2 by Baronius, v1.0.3

~SETUP-COM_ENCOUNTERS.TP2~ #0 #0 // Chosen of Mystra's Encounters (Requires Throne of Bhaal)

~SETUP-FOODMOD.TP2~ #0 #0 // Chosen of Mystra's Food and Herbal Mod (Requires Throne of Bhaal)

~SETUP-LOTRITEMS.TP2~ #0 #0 // Replace Items in the Game with LotR items?

~TB#QUEST.TP2~ #0 #2 // A large battle

~TB#QUEST.TP2~ #0 #3 // Underdark Mage Duel

~SETUP-DC.TP2~ #0 #0 // Dungeon Crawl, v1

~SETUP-RE.TP2~ #0 #1 // Storms and Lightning, by berelinde (Weathermistress Ada, adult content)

~SETUP-RE.TP2~ #0 #2 // Aimi's Magic, by berelinde (adult content)

~SETUP-RE.TP2~ #0 #3 // Anishai's Deft Hands, by cmorgan

~SETUP-RE.TP2~ #0 #4 // An Evening with Aran, by Kulyok

~SETUP-RE.TP2~ #0 #5 // Bjornin's Desire, by jastey (adult content)

~SETUP-RE.TP2~ #0 #7 // Trademeet with Guildmistress Busya, by magrat

~SETUP-RE.TP2~ #0 #8 // The Gambling Cambion, by Kulyok

~SETUP-RE.TP2~ #0 #9 // Chanelle's Gifts, by cmorgan (adult content)

~SETUP-RE.TP2~ #0 #10 // A Night with Coran, by magrat

~SETUP-RE.TP2~ #0 #12 // A Tryst with a Pirate Lord, by Kulyok (Desharik, adult content)

~SETUP-RE.TP2~ #0 #13 // A Lonely Dryad, by Kulyok (adult content)

~SETUP-RE.TP2~ #0 #16 // Elhan's Expansion, by Kulyok

~SETUP-RE.TP2~ #0 #17 // Firkraag's Unsheathed Sword

~SETUP-RE.TP2~ #0 #18 // Gaelan's Contract, by Evaine Dian

~SETUP-RE.TP2~ #0 #19 // A Walk with Garren Windspear, by Kulyok

~SETUP-RE.TP2~ #0 #20 // Enter Haer'Dalis, by Kulyok

~SETUP-RE.TP2~ #0 #21 // Hendak's Heart, by jastey

~SETUP-RE.TP2~ #0 #22 // Ilona, a Merchant's Daughter, by Kulyok

~SETUP-RE.TP2~ #0 #23 // Jarlaxle's Fascinations, by Catseye

~SETUP-RE.TP2~ #0 #24 // A Night with Lais in Imnesvale, by Kulyok

~SETUP-RE.TP2~ #0 #25 // Laran's Promise, by berelinde (adult content)

~SETUP-RE.TP2~ #0 #26 // The Love Song of Logan, Lord Coprith, by Ajnos

~SETUP-RE.TP2~ #0 #27 // Mekrath and Nymphology, by Kulyok

~SETUP-RE.TP2~ #0 #28 // Mira's Special Stock, by berelinde

~SETUP-RE.TP2~ #0 #30 // Rebecca the Gypsy, by Kulyok

~SETUP-RE.TP2~ #0 #32 // Old Ribald's Speciality, by Evaine Dian

~SETUP-RE.TP2~ #0 #33 // Sir Ryan Trawl, by Kulyok

~SETUP-RE.TP2~ #0 #34 // Saemon, a Pirate, by Kulyok (adult content)

~SETUP-RE.TP2~ #0 #35 // Dreaming of Sendai, by Kulyok

~SETUP-RE.TP2~ #0 #36 // Sheri the Bardess, by cmorgan (adult content)

~SETUP-RE.TP2~ #0 #37 // Solaufein in the Lust Chambers, by jastey

~SETUP-RE.TP2~ #0 #38 // Phaere's Reward, by berelinde (Talak, pleasure slave, adult content)

~SETUP-RE.TP2~ #0 #39 // Spell Research with Teos, by Kulyok

~SETUP-RE.TP2~ #0 #40 // A fling with Yoshimo, by Kulyok

~SETUP-SELUNEARMOURY.TP2~ #0 #0 // Selune's Armoury v1

~1PP_FLAMINGSWORDS.TP2~ #0 #0 // One Pixel Productions: Flaming Swords v1

~TB#TWEAKS.TP2~ #0 #100 // Nature's Beauty Tweak. (v2)

~TB#TWEAKS.TP2~ #0 #150 // Imprisonment Fix. (v2)

~TB#TWEAKS.TP2~ #0 #200 // Flesh to Stone Fix. (v2)

~TB#TWEAKS.TP2~ #0 #300 // Drop Weapons in Panic Effect Removal. (v2)

~TB#TWEAKS.TP2~ #0 #1000 // Unlimited Limited Wish & Wish. (v2)

~TB#TWEAKS.TP2~ #0 #1200 // More cheating Wishes: -> Convenient Wish. (v2)

~TB#TWEAKS.TP2~ #0 #2600 // Faster Romances: -> Heavy. (v2)

~SETUP-Z#MISC.TP2~ #0 #0 // Alternate, Accelerated Ust Natha Route

~SETUP-Z#MISC.TP2~ #0 #1 // Improved Statue of Riddles

~SETUP-Z#MISC.TP2~ #0 #2 // Transfer Yoshimo's XP to either Imoen or the Party

~SETUP-Z#MISC.TP2~ #0 #3 // Solo With a Party AI Script

~SETUP-Z#MISC.TP2~ #0 #17 // Expanded Spell Progression for Rangers

~SETUP-Z#MISC.TP2~ #0 #18 // Expanded Spell Progression for Bards

~SETUP-Z#MISC.TP2~ #0 #19 // Expanded Spell Progression for Paladins

~SETUP-Z#MISC.TP2~ #0 #22 // XP Evener Script

~SETUP-Z#MISC.TP2~ #0 #23 // Item STR Stat Bonuses - Set to Inc (Patch)

~SETUP-Z#MISC.TP2~ #0 #24 // Item Stat Bonuses (less STR) - Set to Inc (Patch)

~1SYLM-SETUP.TP2~ #0 #0 // Sylmar - Elves vs Orcs

~SETUP-BG2CPM.TP2~ #0 #0 // BG2 Character Portrait Mod

~SETUP-BG2_TWEAKS.TP2~ #0 #100 // Commoners Use Drab Colors

~SETUP-BG2_TWEAKS.TP2~ #0 #110 // Icon Improvements

~SETUP-BG2_TWEAKS.TP2~ #0 #130 // Force All Dialogue to Pause Game

~SETUP-BG2_TWEAKS.TP2~ #0 #1010 // More Interjections

~SETUP-BG2_TWEAKS.TP2~ #0 #1020 // Alter HP Triggers for NPC Wounded Dialogues

~SETUP-BG2_TWEAKS.TP2~ #0 #1030 // Reveal Wilderness Areas Before Chapter Six

~SETUP-BG2_TWEAKS.TP2~ #0 #1040 // Improved Athkatlan City Guard

~SETUP-BG2_TWEAKS.TP2~ #0 #1050 // Gradual Drow Item Disintegration

~SETUP-BG2_TWEAKS.TP2~ #0 #1080 // Add Bags of Holding

~SETUP-BG2_TWEAKS.TP2~ #0 #1120 // Stores Sell Higher Stacks of Items

~SETUP-BG2_TWEAKS.TP2~ #0 #1150 // Shapeshifter Rebalancing

~SETUP-BG2_TWEAKS.TP2~ #0 #1170 // Bonus Merchants (Baldurdash)

~SETUP-BG2_TWEAKS.TP2~ #0 #1220 // Allow Cromwell to Upgrade Watcher's Keep Items

~SETUP-BG2_TWEAKS.TP2~ #0 #2020 // Two-Handed Bastard Swords

~SETUP-BG2_TWEAKS.TP2~ #0 #2030 // Two-Handed Katanas

~SETUP-BG2_TWEAKS.TP2~ #0 #2040 // Universal Clubs

~SETUP-BG2_TWEAKS.TP2~ #0 #2050 // Description Updates for Universal Clubs Component

~SETUP-BG2_TWEAKS.TP2~ #0 #2060 // Weapon Styles for All

~SETUP-BG2_TWEAKS.TP2~ #0 #2090 // Change Experience Point Cap -> Remove Experience Cap

~SETUP-BG2_TWEAKS.TP2~ #0 #2120 // Allow Arcane Spellcasting in Heavy Armor

~SETUP-BG2_TWEAKS.TP2~ #0 #2140 // Expanded Dual-Class Options

~SETUP-BG2_TWEAKS.TP2~ #0 #2150 // Wear Multiple Protection Items -> P&P Restrictions

~SETUP-BG2_TWEAKS.TP2~ #0 #2160 // Alter Weapon Proficiency System -> Rebalanced Weapon Proficiencies

~SETUP-BG2_TWEAKS.TP2~ #0 #2200 // Multi-Class Grandmastery (Weimer)

~SETUP-BG2_TWEAKS.TP2~ #0 #2210 // True Grandmastery (Baldurdash)

~SETUP-BG2_TWEAKS.TP2~ #0 #2240 // Un-Nerfed THAC0 Table

~SETUP-BG2_TWEAKS.TP2~ #0 #2250 // Un-Nerfed Sorcerer Spell Progression Table

~SETUP-BG2_TWEAKS.TP2~ #0 #2260 // Alter Mage Spell Progression Table -> Un-Nerfed Table (Blucher)

~SETUP-BG2_TWEAKS.TP2~ #0 #2270 // Alter Bard Spell Progression Table -> Un-Nerfed Table (Blucher)

~SETUP-BG2_TWEAKS.TP2~ #0 #2280 // Alter Cleric Spell Progression Table -> Un-Nerfed Table (Blucher)

~SETUP-BG2_TWEAKS.TP2~ #0 #2290 // Alter Druid Spell and Level Progression Tables -> No Level Progression Changes, Un-Nerfed Druid Spell Table Only (Blucher)

~SETUP-BG2_TWEAKS.TP2~ #0 #2300 // Triple-Class HLA Tables

~SETUP-BG2_TWEAKS.TP2~ #0 #2312 // Add Save Penalties for Spells Cast by High-Level Casters (BETA) -> Arcane & Divine Magic

~SETUP-BG2_TWEAKS.TP2~ #0 #2320 // Trap Cap Removal (Ardanis/GeN1e)

~SETUP-BG2_TWEAKS.TP2~ #0 #2330 // Remove Delay for Magical Traps (Ardanis/GeN1e)

~SETUP-BG2_TWEAKS.TP2~ #0 #2340 // Remove Summoning Cap for Celestials (Ardanis/GeN1e)

~SETUP-BG2_TWEAKS.TP2~ #0 #3000 // Higher HP on Level Up -> Maximum

~SETUP-BG2_TWEAKS.TP2~ #0 #3012 // Maximum HP for NPCs (the bigg) -> For Party-Joinable NPCs Only

~SETUP-BG2_TWEAKS.TP2~ #0 #3050 // Remove fatigue from restoration spells

~SETUP-BG2_TWEAKS.TP2~ #0 #3121 // Happy Patch (Party NPCs do not fight or complain about reputation) -> NPCs can be angry about reputation but never leave (Salk)

~SETUP-BG2_TWEAKS.TP2~ #0 #3125 // Neutral Characters Make Happy Comments at Mid-Range Reputation

~SETUP-BG2_TWEAKS.TP2~ #0 #3150 // Turn Off The Hideous Cloak-of-Mirroring, Spell-Trap, and Physical Mirror Animations

~SETUP-BG2_TWEAKS.TP2~ #0 #3183 // Romance Cheats

~SETUP-BG2_TWEAKS.TP2~ #0 #3190 // Rest Anywhere (Japheth)

~SETUP-BG2_TWEAKS.TP2~ #0 #3200 // Sellable Items (Icelus)

~SETUP-BG2_TWEAKS.TP2~ #0 #4010 // Improved Fate Spirit Summoning

~SETUP-BG2_TWEAKS.TP2~ #0 #4020 // ToB-Style NPCs

~SETUP-BG2_TWEAKS.TP2~ #0 #4031 // Consistent Stats: Edwin -> Use BG2 Values

~SETUP-BG2_TWEAKS.TP2~ #0 #4041 // Consistent Stats: Jaheira -> Use BG2 Values

~SETUP-BG2_TWEAKS.TP2~ #0 #4061 // Consistent Stats: Minsc -> Use BG2 Values

~SETUP-BG2_TWEAKS.TP2~ #0 #4071 // Consistent Stats: Viconia -> Use BG2 Values

 

Any clues as to how to solve this will be most welcome. I have only three more mods to install and test after this one, so I'm hoping to sort everything out soon.

 

Thanks,

Eric

Link to comment

Searching the Web for the error I got (and which I get whenever clicking the Rest button) revealed exactly bupkus (sp?), but I've realized that the solution is not to simply uninstall and scrap BG2 Tweaks. Instead, I'll reinstall it, and this time be careful to not install any components that affect item graphics. That's my first suspicion of what's being messed with and causing problems, and the second is a "rest anywhere" component...but I don't recall now if that comes from BG2 Tweaks or another mod :)

 

So, back to testing! If I can overcome this obstacle, I'll move ahead with Refinements and Virtue, and that will hopefully be the end of mod installs for me. After tests pass, I will bless the configuration and post the final WeiDU log in case anyone else would like to follow the mod install order...especially you fellow Mac users out there :)

 

Happy gaming,

Eric

(Future creator of a joinable NPC ranger and a kit for her)

Link to comment

This is almost certainly another effects index error. If you have the old index checker TP2, you can run it and report the results; otherwise, Cam will direct you to the G3 debugger and then write a simple fix.

 

You might be able to fix this in the meantime if you have the fix I made up for the Marching Mountains crash... opening the TP2 in BBEdit or TextWrangler or whatever, find the line

COPY_EXISTING ~GIAblah.ITM~ OVERRIDE
~GIAblah.ITM~ OVERRIDE
~GIAblah.ITM~ OVERRIDE
~ThatModBow.ITM~ OVERRIDE
PATCH_IF (SOURCE_SIZE blahblah...)

and change it to

COPY_EXISTING_REGEXP GLOB ~^.+\.ITM$~ ~OVERRIDE~
PATCH_IF (SOURCE_SIZE blahblah...)

(e.g., change the file list, the "file" "override" pairs, replacing them with the new C_E_R GLOB "pattern" "override" action). Run that and see what it reports (IIRC, it runs the generic check afterward, so you should know if there are any files that remain corrupted). This won't help if the problem is with a spell, however, but it might report the error (can't remember how much I edited it when isolating the MM crash).

 

Any time you see a CGameEffect assertion at L:1536, it's a bugged item or spell.

Link to comment
This is almost certainly another effects index error. If you have the old index checker TP2, you can run it and report the results; otherwise, Cam will direct you to the G3 debugger and then write a simple fix.

 

You might be able to fix this in the meantime if you have the fix I made up for the Marching Mountains crash... opening the TP2 in BBEdit or TextWrangler or whatever, find the line

COPY_EXISTING ~GIAblah.ITM~ OVERRIDE
~GIAblah.ITM~ OVERRIDE
~GIAblah.ITM~ OVERRIDE
~ThatModBow.ITM~ OVERRIDE
PATCH_IF (SOURCE_SIZE blahblah...)

and change it to

COPY_EXISTING_REGEXP GLOB ~^.+\.ITM$~ ~OVERRIDE~
PATCH_IF (SOURCE_SIZE blahblah...)

(e.g., change the file list, the "file" "override" pairs, replacing them with the new C_E_R GLOB "pattern" "override" action). Run that and see what it reports (IIRC, it runs the generic check afterward, so you should know if there are any files that remain corrupted). This won't help if the problem is with a spell, however, but it might report the error (can't remember how much I edited it when isolating the MM crash).

 

Any time you see a CGameEffect assertion at L:1536, it's a bugged item or spell.

 

OK, good news and bad news: I do have IndexChecker, and I've copied the above change to be made before running it. Dopey me has forgotten how to run it; if I just try to launch the file in the Terminal, I'm told that I don't have permission (absurd!). I didn't try using Install-mod.sh, though, so I can give that a try. What's the correct procedure?

 

I also uninstalled some components from BG2 Tweaks, but still get the CTD on rest with the same error, so I completely uninstalled the mod and deleted all associated files (still have the downloaded archive, though).

 

Please advise. I won't touch anything till I know what to do next :)

 

Thanks!

Eric

Link to comment

It had the "weidu" executable along with the TP2 (cd /path/to/bg2-soa; ./weidu testo.tp2); you can download the WeiDU 203 release if you don't still have a copy; after unzipping the archive, you can use the weidu-mac executable the same as above (using ./weidu-mac testo.tp2 in Terminal).

Link to comment

OK, thanks! Here's the result of running the modified testo.tp2:

 

Silverbird:/BGII - SoA ericp$ ./weidu-mac testo.tp2

[./weidu-mac] WeiDU version 20300

[./Chitin.key] 182 BIFFs, 41794 resources

[./dialog.tlk] 138338 string entries

[./weidu-mac] Using scripting style "BG"

In state 504, I expected one of these tokens:

[0] EOF

[3] <<<<<<<<

[10] EXTEND_TOP_REGEXP

[12] GET_DIRECTORY_ARRAY

[14] REQUIRE_FILE

[15] DEFINE_ACTION_MACRO

[17] ADD_MUSIC

[24] EXTEND_TOP

[25] VERBOSE

[27] APPEND_COL

[28] ADD_PROJECTILE

[39] DEFINE_PATCH_MACRO

[42] LOAD_TRA

[48] REQUIRE_COMPONENT

[61] DEPRECATED

[67] CLEAR_MEMORY

[69] AT_INTERACTIVE_NOW

[72] COPY

[74] OUTER_PATCH

[80] UNINSTALL

[83] GET_FILE_ARRAY

[87] PRINT

[91] ADD_KIT

[93] FAIL

[94] MKDIR

[97] BEGIN

[98] COPY_EXISTING_REGEXP

[99] COPY_LARGE

[103] ACTION_READLN

[105] ACTION_DEFINE_ARRAY

[107] AT_UNINSTALL

[111] AT_INTERACTIVE_UNINSTALL

[116] STRING_SET_RANGE

[117] OUTER_SPRINT

[118] CLEAR_IDS_MAP

[120] STRING_SET

[121] COPY_KIT

[124] AT_EXIT

[125] COPY_ALL_GAM_FILES

[133] LAUNCH_ACTION_MACRO

[142] COMPILE

[146] OUTER_WHILE

[150] APPEND

[155] RANDOM_SEED

[166] REQUIRE_PREDICATE

[174] FORBID_COMPONENT

[175] INSTALL_BY_DEFAULT

[181] REINCLUDE

[182] EXTEND_BOTTOM

[183] FORCED_SUBCOMPONENT

[193] SILENT

[197] COPY_EXISTING

[200] ACTION_PHP_EACH

[209] AT_NOW

[210] FORBID_FILE

[211] STRING_SET_EVALUATE

[212] GROUP

[216] EXTEND_BOTTOM_REGEXP

[218] NO_LOG_RECORD

[222] AT_INTERACTIVE_EXIT

[225] OUTER_SET

[229] APPEND_OUTER

[230] OUTER_FOR

[235] INCLUDE

[238] OUTER_PATCH_SAVE

[239] OUTER_TEXT_SPRINT

[244] SUBCOMPONENT

[251] ACTION_FOR_EACH

[253] COPY_RANDOM

[263] BIFF

[266] ACTION_IF

[272] DESIGNATED

[277] ACTION_BASH_FOR

[280] ADD_SPELL

Parse error (state 504) at ~~

 

[testo.tp2] PARSE ERROR at line 7 column 1-19

Near Text: COPY_EXISTING_REGXP

GLR parse error

 

[testo.tp2] ERROR at line 7 column 1-19

Near Text: COPY_EXISTING_REGXP

Parsing.Parse_error

ERROR: parsing [testo.tp2]: Parsing.Parse_error

ERROR: problem parsing TP file [testo.tp2]: Parsing.Parse_error

 

FATAL ERROR: Parsing.Parse_error

 

Press ENTER to exit.

 

Clearly, something's wrong here. Please advise.

 

- E

Link to comment
What changes did you make (include the 3 lines above and below the C_E_R and copy/paste here)?

 

When I read your post about what lines to look for, and what changes to make, I took it exactly as posted: I omitted the three lines after C_E_R. Looks like I should add them back in, yes? I did enter the C_E_R line exactly as you wrote it. So, I'll add the three lines back, and run it again, then post the results here.

 

- E

Link to comment

Sometimes I feel like a complete moron...

 

This is the C_E_R line from the original testo.tp2, before the coding was added to fix the fire giants, with the three lines above and below it, before changes:

 

BEGIN "TEST-O" INSTALL_BY_DEFAULT NO_LOG_RECORD

 

PRINT "+ Checking items and spells ..."

COPY_EXISTING_REGEXP GLOB "^.+\.ITM$" TEMP "^.+\.SPL$" TEMP

PATCH_IF (SOURCE_SIZE > 0x72) BEGIN

READ_ASCII 0x0 h (3)

READ_LONG 0x64 ao

 

I've found that I no longer have the file that includes the fire giant fixes (I apparently overwrote it by mistake). I changed the C_E_R line to read:

 

COPY_EXISTING_REGXP GLOB ~^.+\.ITM$~ ~OVERRIDE~

 

Notice that REGEXP now reads REGXP. I thought I'd copied it exactly as posted. All I can do now is fix that part, and re-run the file, then post results here.

 

- E

Link to comment

Don't bother making that change -- this looks like only the index checker (not the fixer), and it's more useful to check both items and spells.

 

You can just run the TP2 as-is, and then post the results (if any) here (copy/paste the feedback from Terminal).

Link to comment

OK, here's the result of running testo.tp2 again:

 

Silverbird:/BGII - SoA ericp$ ./weidu-mac testo.tp2

[./weidu-mac] WeiDU version 20300

[./Chitin.key] 182 BIFFs, 41794 resources

[./dialog.tlk] 138338 string entries

[./weidu-mac] Using scripting style "BG"

In state 506, I expected one of these tokens:

[0] EOF

[2] ~~

[3] <<<<<<<<

[10] EXTEND_TOP_REGEXP

[12] GET_DIRECTORY_ARRAY

[13] INSERT_BYTES

[14] REQUIRE_FILE

[15] DEFINE_ACTION_MACRO

[17] ADD_MUSIC

[20] REPLACE_BCS_BLOCK

[21] PATCH_REINCLUDE

[23] INNER_PATCH

[24] EXTEND_TOP

[25] VERBOSE

[26] DEFINE_ASSOCIATIVE_ARRAY

[27] APPEND_COL

[28] ADD_PROJECTILE

[30] READ_SLONG

[31] DESCRIBE_ITEM

[36] SPACES

[37] INSERT_FILE

[38] GET_OFFSET_ARRAY2

[39] DEFINE_PATCH_MACRO

[41] COMPILE_D_TO_DLG

[42] LOAD_TRA

[43] INNER_ACTION

[46] TEXT_SPRINT

[52] SET_2DA_ENTRIES_NOW

[53] PATCH_RANDOM_SEED

[54] APPEND_FILE_EVALUATE

[55] APPLY_BCS_PATCH_OR_COPY

[57] TO_UPPER

[59] SAY_EVALUATED

[60] EVALUATE_BUFFER

[62] PATCH_GAM

[64] REMOVE_STORE_ITEM

[66] REMOVE_KNOWN_SPELL

[67] CLEAR_MEMORY

[69] AT_INTERACTIVE_NOW

[70] PRETTY_PRINT_2DA

[72] COPY

[74] OUTER_PATCH

[76] PATCH_VERBOSE

[79] GET_STRREF

[80] UNINSTALL

[83] GET_FILE_ARRAY

[84] READ_2DA_ENTRY

[85] ADD_MEMORIZED_SPELL

[86] SPRINTF

[87] PRINT

[88] IF_SIZE_IS

[89] REPLACE_BCS_BLOCK_REGEXP

[91] ADD_KIT

[92] READ_2DA_ENTRY_FORMER

[93] FAIL

[94] MKDIR

[95] WRITE_LONG

[97] BEGIN

[98] COPY_EXISTING_REGEXP

[99] COPY_LARGE

[101] SPRINT

[103] ACTION_READLN

[104] READ_BYTE

[105] ACTION_DEFINE_ARRAY

[106] READ_SHORT

[107] AT_UNINSTALL

[108] SAY

[110] REPLACE_TEXTUALLY

[111] AT_INTERACTIVE_UNINSTALL

[113] DECOMPILE_BCS_TO_BAF

[114] ADD_MAP_NOTE

[116] STRING_SET_RANGE

[117] OUTER_SPRINT

[118] CLEAR_IDS_MAP

[120] STRING_SET

[121] COPY_KIT

[122] REPLACE_EVALUATE

[123] SET_IDS_SYMBOL_OF_INT

[124] AT_EXIT

[125] COPY_ALL_GAM_FILES

[126] END

[127] QUOTE

[133] LAUNCH_ACTION_MACRO

[134] PATCH_PHP_EACH

[142] COMPILE

[143] COUNT_REGEXP_INSTANCES

[145] READ_SSHORT

[146] OUTER_WHILE

[147] READ_STRREF

[149] COUNT_2DA_COLS

[150] APPEND

[151] PATCH_SILENT

[152] READ_ASCII

[153] REPLACE

[155] RANDOM_SEED

[157] ADD_KNOWN_SPELL

[158] DELETE_BYTES

[160] COMPILE_BAF_TO_BCS

[167] PATCH_DEFINE_ARRAY

[176] PATCH_FOR_EACH

[177] SET_BG2_PROFICIENCY

[181] REINCLUDE

[182] EXTEND_BOTTOM

[184] READ_SBYTE

[185] BUT_ONLY_IF_IT_CHANGES

[186] WRITE_FILE

[187] WRITE_ASCII_TERMINATED

[188] APPLY_BCS_PATCH

[192] WRITE_SHORT

[193] SILENT

[194] DECOMPILE_DLG_TO_D

[196] PATCH_BASH_FOR

[197] COPY_EXISTING

[199] PATCH_CLEAR_ARRAY

[200] ACTION_PHP_EACH

[201] REMOVE_CRE_ITEM

[202] INNER_PATCH_SAVE

[205] IF

[206] SET_2DA_ENTRY_LATER

[207] ADD_CRE_ITEM

[209] AT_NOW

[210] FORBID_FILE

[211] STRING_SET_EVALUATE

[213] SET_2DA_ENTRY

[214] READ_LONG

[216] EXTEND_BOTTOM_REGEXP

[217] ADD_STORE_ITEM

[219] SET

[222] AT_INTERACTIVE_EXIT

[223] REMOVE_MEMORIZED_SPELL

[225] OUTER_SET

[228] FOR

[229] APPEND_OUTER

[230] OUTER_FOR

[231] EDIT_SAV_FILE

[232] WHILE

[234] APPEND_FILE

[235] INCLUDE

[238] OUTER_PATCH_SAVE

[239] OUTER_TEXT_SPRINT

[242] COUNT_2DA_ROWS

[245] GET_OFFSET_ARRAY

[246] WRITE_BYTE

[247] WRITE_ASCII

[250] IF_EVAL

[251] ACTION_FOR_EACH

[253] COPY_RANDOM

[256] PATCH_READLN

[257] WRITE_EVALUATED_ASCII

[258] SNPRINT

[259] PATCH_PRINT

[263] BIFF

[265] PATCH_IF

[266] ACTION_IF

[268] INNER_PATCH_FILE

[269] TO_LOWER

[270] INSERT_2DA_ROW

[271] EXTEND_MOS

[273] UNLESS

[274] REPLACE_CRE_ITEM

[275] LAUNCH_PATCH_MACRO

[277] ACTION_BASH_FOR

[279] READ_2DA_ENTRIES_NOW

[280] ADD_SPELL

[282] PATCH_INCLUDE

Parse error (state 506) at STRING_CONCAT

 

[testo.tp2] PARSE ERROR at line 8 column 27-27

Near Text: ^

GLR parse error

 

[testo.tp2] ERROR at line 8 column 27-27

Near Text: ^

Parsing.Parse_error

ERROR: parsing [testo.tp2]: Parsing.Parse_error

ERROR: problem parsing TP file [testo.tp2]: Parsing.Parse_error

 

FATAL ERROR: Parsing.Parse_error

 

Press ENTER to exit.

 

This is either identical, or very similar, to the previous result. What can be done now?

 

- E

Link to comment
Did you make any changes to the TP2? The original code that you posted (from the checker) should work correctly...

 

None other than the line you advised to change. I understand that it's a change in the destination to which something gets copied (to the override folder instead of to the temp folder). The bit about REGEXP vs. REGXP still bothers me, though...can't help but wonder if that's causing a problem when running the TP2.

 

- E

Link to comment

Did you make any changes to the TP2? The original code that you posted (from the checker) should work correctly...

 

None other than the line you advised to change. I understand that it's a change in the destination to which something gets copied (to the override folder instead of to the temp folder). The bit about REGEXP vs. REGXP still bothers me, though...can't help but wonder if that's causing a problem when running the TP2.

 

- E

 

Shoot! Never mind about that last statement. I believe I corrected REGEXP before running the TP2 the last time.

 

My brain's in knots over this...

 

- E

Link to comment

_REGXP is invalid. This is failing likely because of bad quoting or because the editor you're using isn't playing nice.

 

Download this TP2 (Option-click to download; or right-click and select Download Linked File), move it to the BG2 folder and run ./weidu-mac testo.tp2 -- this should check and fix any errors; you can post the report here afterward.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...