Jump to content


Photo

BP Mysteries


  • Please log in to reply
2 replies to this topic

#1 Miloch

Miloch

    Barbarian

  • Modder
  • 6573 posts

Posted 28 May 2010 - 11:56 AM

The BP code assigns a scrlslv2.itm to Haegan.cre and another scrlslv1.itm to Resuna.cre. Neither of these exists either in BP, the vanilla game nor any other mod from what I can tell. Nothing similar either, so they don't appear to be typos. The oldest BP I could find is v161 from the Wizard's site, and they're not there either (though they are hardcoded on the CREs in that version). Does anyone know of an older version somewhere that might have more "missing" content, or were these just things that were never implemented or what?

Also, does anyone know where the WeiDU patching Python utility that Intox wrote in 2006 might be? I scanned through this post and this one but though I can see the output, I can't see the actual utility anywhere (one post where it may have been had the attachment removed). It might be useful for converting the remaining resources that are still getting overwritten. I was going to try my hand at making such a utility directly in WeiDU but it would be a task so I don't want to bother if someone else has done it.

Finally, BP assigns a pure black colour to a lot of CREs, hobgoblins being one example. I don't see the reason for this and it doesn't seem intentional either - perhaps it has to do with some part of the conversion not understanding that colour values 200 and above are actual valid entries from randcolr.2da, so I think they should be commented out.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#2 horred the plague

horred the plague

    Scourge of the Seven Seas

  • Modder
  • 1899 posts

Posted 05 June 2010 - 01:42 PM

You don't 'really' expect me to remember why little things were/were not done, from 2003-2005 era--now do you? :P

Truthfully, I have no idea why a lot of the things here were done, looking back from 2010. Some may have come from one or more of the many mods that used to be part of BP (non-weidu). Others may be freakouts from the ancient TeamBG tools. I recall that cre editor being a special, rare treat to employ.

I got them all color changes yanked out, and the item ref's too. Thanks for keeping an eye out.

BPv180 is about ready to roll off the shelf, with an eye on more major steps---so if you saw anything else little or big, now is the time.

#3 Miloch

Miloch

    Barbarian

  • Modder
  • 6573 posts

Posted 05 June 2010 - 02:26 PM

I did comment out the adding of those non-existent items in my version. I've also corrected a few things that could cause crashes and updated the code so it patches all CREs instead of overwriting them (I wrote a crude utility to do this in WeiDU, probably equivalent to Intox's tool, wherever that ended up). There were a few still CREs getting overwritten, but I diffed them and they were *all* only XP Value changes. I think you said somewhere you weren't going to include them and let XPMod do that instead, but some looked valid so I generated patches for them (things like setting summoned CRE XP values to zero for example). Here's the list, if you want to go over it:
COPY_EXISTING ~ceskel01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2275 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~chalcy02.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 5520 //XP value (was 25000)
  END
BUT_ONLY

COPY_EXISTING ~daumber.cre~  ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1645 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~deck622.cre~  ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2850 //XP value (was 20000)
  END
BUT_ONLY

COPY_EXISTING ~elearsu.cre~  ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 0 //XP value (was 10000)
  END
BUT_ONLY

COPY_EXISTING ~elemchan.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 8780 //XP value (was 56000)
  END
BUT_ONLY

COPY_EXISTING ~elemsunn.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 9180 //XP value (was 58000)
  END
BUT_ONLY

COPY_EXISTING ~elfirsu.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 0 //XP value (was 10000)
  END
BUT_ONLY

COPY_EXISTING ~firmon04.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1825 //XP value (was 3000)
  END
BUT_ONLY

COPY_EXISTING ~fsmumm.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1600 //XP value (was 3000)
  END
BUT_ONLY

COPY_EXISTING ~golbon01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2150 //XP value (was 18000)
  END
BUT_ONLY

COPY_EXISTING ~gromg02.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 4500 //XP value (was 12500)
  END
BUT_ONLY

COPY_EXISTING ~gromg04.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 6500 //XP value (was 12500)
  END
BUT_ONLY

COPY_EXISTING ~grreven.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1720 //XP value (was 3000)
  END
BUT_ONLY

COPY_EXISTING ~grtomb01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1900 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~hgskl04.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 5680 //XP value (was 10000)
  END
BUT_ONLY

COPY_EXISTING ~hlshade.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 11700 //XP value (was 22000)
  END
BUT_ONLY

COPY_EXISTING ~hlshang.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 14850 //XP value (was 50000)
  END
BUT_ONLY

COPY_EXISTING ~jarlich.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 13865 //XP value (was 22000)
  END
BUT_ONLY

COPY_EXISTING ~lacedo02.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 980 //XP value (was 1800)
  END
BUT_ONLY

COPY_EXISTING ~lassal.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 3005 //XP value (was 8500)
  END
BUT_ONLY

COPY_EXISTING ~mindva01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 5220 //XP value (was 14000)
  END
BUT_ONLY

COPY_EXISTING ~mindvam.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 5215 //XP value (was 14000)
  END
BUT_ONLY

COPY_EXISTING ~mummy.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1600 //XP value (was 3000)
  END
BUT_ONLY

COPY_EXISTING ~nevm5.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 475 //XP value (was 975)
  END
BUT_ONLY

COPY_EXISTING ~plyspid.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 780 //XP value (was 2000)
  END
BUT_ONLY

COPY_EXISTING ~reven01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2125 //XP value (was 3000)
  END
BUT_ONLY

COPY_EXISTING ~riftcr01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 717 //XP value (was 0)
  END
BUT_ONLY

COPY_EXISTING ~riftcr02.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1900 //XP value (was 0)
  END
BUT_ONLY

COPY_EXISTING ~rskel02.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1975 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~rskel03.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 541 //XP value (was 975)
  END
BUT_ONLY

COPY_EXISTING ~sahbeh03.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 3390 //XP value (was 8000)
  END
BUT_ONLY

COPY_EXISTING ~senlich.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 12370 //XP value (was 22000)
  END
BUT_ONLY

COPY_EXISTING ~sensmsp.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 860 //XP value (was 9000)
  END
BUT_ONLY

COPY_EXISTING ~senspi01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 11300 //XP value (was 18700)
  END
BUT_ONLY

COPY_EXISTING ~servsu.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2610 //XP value (was 9000)
  END
BUT_ONLY

COPY_EXISTING ~shthass3.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1620 //XP value (was 650)
  END
BUT_ONLY

COPY_EXISTING ~skelwa.cre~   ~override~
              ~skelwa01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1975 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~smspid02.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1750 //XP value (was 2700)
  END
BUT_ONLY

COPY_EXISTING ~spidph01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 870 //XP value (was 1400)
  END
BUT_ONLY

COPY_EXISTING ~spidsm01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 460 //XP value (was 300)
  END
BUT_ONLY

COPY_EXISTING ~spidsm02.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 900 //XP value (was 9000)
  END
BUT_ONLY

COPY_EXISTING ~spidsw01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 650 //XP value (was 2000)
  END
BUT_ONLY

COPY_EXISTING ~spidswsu.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 650 //XP value (was 1250)
  END
BUT_ONLY

COPY_EXISTING ~spidvo01.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2050 //XP value (was 2700)
  END
BUT_ONLY

COPY_EXISTING ~spspid06.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 795 //XP value (was 1400)
  END
BUT_ONLY

COPY_EXISTING ~spspid07.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 650 //XP value (was 2000)
  END
BUT_ONLY

COPY_EXISTING ~sumtan01.cre~ ~override~
              ~sumtan02.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2176 //XP value (was 20000)
  END
BUT_ONLY

COPY_EXISTING ~suundead.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2355 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~tanskw1.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2505 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~thief5.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 248 //XP value (was 445)
  END
BUT_ONLY

COPY_EXISTING ~tomegol2.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1575 //XP value (was 8000)
  END
BUT_ONLY

COPY_EXISTING ~tomegol3.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 1710 //XP value (was 8000)
  END
BUT_ONLY

COPY_EXISTING ~uddoor01.cre~ ~override~
              ~uddrow01.cre~ ~override~
              ~uddrow04.cre~ ~override~
              ~uddrow27.cre~ ~override~
              ~uddrow28.cre~ ~override~
              ~uddrow29.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2140 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~uddoor03.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2190 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~uddoor07.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 995 //XP value (was 2000)
  END
BUT_ONLY

COPY_EXISTING ~uddrow02.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2852 //XP value (was 9000)
  END
BUT_ONLY

COPY_EXISTING ~uddrow03.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2140 //XP value (was 5000)
  END
BUT_ONLY

COPY_EXISTING ~uddrow06.cre~ ~override~
              ~uddrow08.cre~ ~override~
              ~uddrow11.cre~ ~override~
              ~uddrow13.cre~ ~override~
              ~uddrow16.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 875 //XP value (was 975)
  END
BUT_ONLY

COPY_EXISTING ~uddrow10.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2105 //XP value (was 1800)
  END
BUT_ONLY

COPY_EXISTING ~uddrow12.cre~ ~override~
              ~uddrow14.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 545 //XP value (was 975)
  END
BUT_ONLY

COPY_EXISTING ~uddrow15.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 610 //XP value (was 975)
  END
BUT_ONLY

COPY_EXISTING ~uddrow22.cre~ ~override~
              ~uddrow23.cre~ ~override~
              ~uddrow24.cre~ ~override~
              ~uddrow25.cre~ ~override~
              ~uddrow26.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 875 //XP value (was 650)
  END
BUT_ONLY

COPY_EXISTING ~uddrow31.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2530 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~uddrow33.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 2080 //XP value (was 4000)
  END
BUT_ONLY

COPY_EXISTING ~udvamp.cre~ ~override~
  PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN
    WRITE_LONG 0x14 4802 //XP value (was 14000)
  END
BUT_ONLY
I'm working on the ITMs and SPLs now to try to get the existing ones patched instead of overwritten (about halfway through the items). If you want, I can attach my version once I finish and test it, shouldn't take longer than another day or so hopefully. Or if you want to attach your changes, I can diff them with my file so there's no conflicts then attach that version too, whatever works. Also, I included Wisp's patch updates to the mxspl tables. Hope you don't mind me helping out a bit and that we're not doing duplicate work :unsure:.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle