Giter Site home page Giter Site logo

Comments (9)

burner1024 avatar burner1024 commented on September 22, 2024

what's your weidu.log

from bg2-tweaks-and-tricks.

eyre-j avatar eyre-j commented on September 22, 2024

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 [ : Version]
~TOBEX/TOBEX.TP2~ #0 #100 // TobEx - Core: v28
~TOBEX/TOBEX.TP2~ #0 #101 // Apply Concentration Check On Damage [WIP]: v28
~TOBEX/TOBEX.TP2~ #0 #102 // Awaken On Damage: v28
~TOBEX/TOBEX.TP2~ #0 #103 // Blindness As Spell Description: v28
~TOBEX/TOBEX.TP2~ #0 #104 // Disable Stoneskin Grey Colour [C]: v28
~TOBEX/TOBEX.TP2~ #0 #105 // No Spell Interruption On Zero Damage: v28
~TOBEX/TOBEX.TP2~ #0 #106 // Use Caster Level On Mirror Image [C]: v28
~TOBEX/TOBEX.TP2~ #0 #107 // Allow All Races to Dual Class: v28
~TOBEX/TOBEX.TP2~ #0 #109 // Disable Experience Boost: v28
~TOBEX/TOBEX.TP2~ #0 #111 // Disable Silence On Charm: v28
~TOBEX/TOBEX.TP2~ #0 #112 // Level One Proficiency Restrictions: v28
~TOBEX/TOBEX.TP2~ #0 #113 // Remain Hidden On Pickpocket Success [C]: v28
~TOBEX/TOBEX.TP2~ #0 #115 // Dialogue Greeting Subtitles: v28
~TOBEX/TOBEX.TP2~ #0 #116 // Enable Animation Attack Sounds: v28
~TOBEX/TOBEX.TP2~ #0 #117 // Universal Four Inventory Weapon Slots: v28
~TOBEX/TOBEX.TP2~ #0 #118 // Subtitles For Standard Soundsets: v28
~TOBEX/TOBEX.TP2~ #0 #119 // Remove all race-class restrictions: v28
~TOBEX/TOBEX.TP2~ #0 #120 // Drop Inventory on Disintegrate: v28
~TOBEX/TOBEX.TP2~ #0 #121 // Drop Inventory on Frozen Death: v28
~TOBEX/TOBEX.TP2~ #0 #122 // Drop Inventory on Stone Death: v28
~TOBEX/TOBEX.TP2~ #0 #123 // Enable Auto-Pause On All Screens: v28
~TOBEX/TOBEX.TP2~ #0 #124 // Make All Attack Animations Genuine Attacks: v28
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #0 // BG2 Fixpack - Core Fixes: v13
~BG2FIXPACK/SETUP-BG2FIXPACK.TP2~ #0 #1001 // BG2 Fixpack - Game Text Update -> GTU Classic (from Baldurdash, by Kevin Dorner): v13
~BGT/BGT.TP2~ #0 #0 // Baldur's Gate Trilogy - Core: v1.21
~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)
~TNT/TNT.TP2~ #0 #46 // Sensible Otiluke's Resilient Sphere: v8.18

Result:
otiluke_bgt_still_held

from bg2-tweaks-and-tricks.

eyre-j avatar eyre-j commented on September 22, 2024

Further investigation reveals that the main component of BG2Fixpack changes spwi413.spl with the addition of the spwi413a, spwi413a, and spwi413c sub-spells. Vanilla BG2 has only spwi413.spl. All versions of the spell use opcode 185 for the hold effect, as highlighted in the screen shots below.

Vanilla BG2 Otiluke's Resilient Sphere:
bg2_vanilla_otiluke

BG2Fixpack Otiluke's Resilient Sphere:
bg2_bgfixpack_corefixes_otiluke

TNT code is attempting to patch spwi413a only, and is passing opcode 175 rather than opcode 185:
tnt_ors_component
tnt_opcode_defs

from bg2-tweaks-and-tricks.

burner1024 avatar burner1024 commented on September 22, 2024

OK, I see that opcode is a typo in the underlying library.

spwi413c appears to be a more recent addition to bg2fixpack. There's also a number of other shell spells mentioned. Could you check those too for the opcodes?

from bg2-tweaks-and-tricks.

eyre-j avatar eyre-j commented on September 22, 2024

The other spells (spcl415.spl, spcl415a-c.spl) are related to the Set Special Snare ability. In vanilla, only spcl415.spl exists; fixpack adds spcl415a. The spell itself uses opcode 175 for the first ranged ability, and opcode 185 for the second ranged ability; opcode 185 appears to be used as part of a ORS-like set of effects defined in the second ranged ability. See the NI screenshots below:

Vanilla:

  • spcl415_vanilla

Fixpack:

  • spcl415_fixpack

from bg2-tweaks-and-tricks.

burner1024 avatar burner1024 commented on September 22, 2024

ok I'll just wipe 175 and 185 everywhere

from bg2-tweaks-and-tricks.

eyre-j avatar eyre-j commented on September 22, 2024

It turns out that spwi413b has no hold effect (it only protects against a concurrent ORS), so only spwi413a and spwi413c need to be patched. Also, I think 175 should be kept for the first Set Special Snare (spcl415, spcl415a) ranged ability, since it appears to be unrelated to ORS. See here for more details.

from bg2-tweaks-and-tricks.

burner1024 avatar burner1024 commented on September 22, 2024

Right. And EE appears to use a shell spell too, but only a, no c. What a mess.

from bg2-tweaks-and-tricks.

burner1024 avatar burner1024 commented on September 22, 2024

Ok, should be working now.
Thanks for detailed report.

from bg2-tweaks-and-tricks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.