Jump to content


Photo

Monster Mash


  • Please log in to reply
8 replies to this topic

#1 Intox

Intox
  • Member
  • 32 posts

Posted 12 May 2006 - 05:11 AM

Horred, as you know for my personal edutainment I've been in the process of computing the patch code as I can for the remaining ~2500 cre files in BP-Weidu-Beta. Your explanations have been of great help in my progress with it, and attached is what I pretty much hope to the final output. Starting with BPv176.rar & your latest .tp2, about 1892 files have been newly patched and hence should no longer need to be part of the bare files if I've done everything properly.

There are 6 clearly marked sections in the attached file. All relevant sections are designed to be appended to their respective parts in your latest tp2, except the "direct copy" section which is supposed to replace the previous block.

The sections are:

Sections 1-3) ITM_RMV.TBL, PROF_EFF.TBL and SPELLS.TBL

These tables follow the conventions already used (I think you mentioned developed by KD) in the setup-bpv176.tp2 and are supposed to just be added to the lists you already have.

Section 4) EFF.TBL

The list of creatures with effects BP added other than type 233. Also search through the text for "please manually patch" This table is non-functional but is for indication. While they could be recognised properly by my program with some work I don't yet know enough about which effects need what parameters so I suppose you will still have to write the patch code for these effects and add them to the tp2 patch code yourself at some stage in the future.

Section 5) "Direct copy section" ... i.e. "COPY ~BPv176/CRE/<CRE>.CRE~ ~override/<CRE>.CRE~".

These are the creatures remaining from setup-bpv176.tp2. i.e. Those not found in any other mod, but excluding those that had no changes whatsoever (i.e were identical - see list below). Also excluded are the BGT "culprits for mixed up strings" (also see below).

My search for existence in other mods was not 100% exhaustive, but the list of creatures being directly copied is quite short now, so it shouldn't be too hard for you to eventually go through determine for each one if they're needed or not.

Section 6) "Patch section". The newly patched creatures!


If you walk through the patch code you'll see it'll take at least some cleaning up, but I've tested it in-game and it all has worked fine so far summoning 100's of these creatures with no problems at all (phew).

Apart from what's mentioned here I have made no changes whatsoever to your mod, only converted the differences between two cre files into patch code suitable for your tp2.

At the moment the output is still still set to show everything, so you can see all the changes it found (whether it's patching the changes is determined by if the line is commented out with a "// " or not).

For any creatures that have been patched, I've carried over any "SAY NAME @..." from the setup-bpv176.tp2 copy section to the new patch code. Some of these may not be needed, but that's for you to search for and determine. For example, "SKELE2.cre".

The main things still missing are:

1) Any "Other Effects" listed in that EFF.TBL table. I suppose to release another .tp2 before this is complete, one would only have to removed all mention of these creatures from the patch code and tables and the original "COPY ~BPv176/CRE/.." for them put back in.

2) Items without slots. Search for "WARNING -- NO ITEM SLOT!" and also for "INVALID ITEM"

3) Implementation of your 3->9 "W" series scripts. How can I help do that?

4) And I may, forbit it, have missed something. If I should do another run with changed parameters let me know.

APPENDIX:

* The files which I determined to have NO CHANGE whatsoever (the files were "identical") were:

['CLTCUT02.CRE', 'CUTAMFIG.CRE', 'GORSTA01.CRE', 'GORSTA02.CRE', 'GORSTA03.CRE', 'GORSTA04.CRE', 'GORSTA05.CRE', 'GORSTA07.CRE', 'GORSTA09.CRE', 'GORSTA11.CRE', 'HDRAGRED.CRE', 'HGSKL01.CRE', 'NEVM2.CRE', 'SENANI05.CRE', 'SENPRI01.CRE', 'SEWYAG01.CRE', 'SHUGAR01.CRE', 'SHUGFG01.CRE', 'SHUGHO01.CRE', 'SHUGOD01.CRE', 'SHUGOD02.CRE', 'SHUGPR01.CRE', 'YSGP01.CRE']

* Based on your latest tp2, I think the remaining culprits for mixed up strings were:

['CHESS.CRE', 'CYDERM.CRE', 'D2FUE.CRE', 'DELTHY.CRE', 'DOPFUE.CRE', 'FLAMANG.CRE', 'FLAMBRID.CRE', 'FLAME.CRE', 'FORTHE.CRE', 'GHAST.CRE', 'GHASTD.CRE', 'GHASTS.CRE', 'GHOUL.CRE', 'GHOULLOR.CRE', 'GLART.CRE', 'GRAEL.CRE', 'HACK.CRE', 'HOBELITE.CRE', 'HOBGO5.CRE', 'HOBGOB.CRE', 'HOBGOBA.CRE', 'HOBGZHUR.CRE', 'HOBJOIA.CRE', 'IHOBGOB.CRE', 'IRON10.CRE', 'IRONELIT.CRE', 'ISKELET.CRE', 'IVANNE.CRE', 'KAISH2.CRE', 'KORAX.CRE', 'POE.CRE', 'RAIKEN.CRE', 'SAREVO.CRE', 'SAREVO2.CRE', 'SEWERF3.CRE', 'SILKE.CRE', 'WOLFD1.CRE']

Other than these, I haven't removed any creatures from the direct copy section unless they were patched by my program or had no changes, but these have been removed (are not in my output).

* Fields. I haven't patched over any "Refs" or "Unused" fields, even if there were changes. If I've made an error it is probably in ignoring these fields. CreatureFlags was something I was unsure about (In NI, creature flags like '83886081' brings up a lot of unknowns) but I decided you must have edited them for a reason and so I patched it. If you want to check them (I think just 18 of them, just search through the file for "CreatureFlags" and same goes with searching for changes to any other field).

* Whether you can use my results or not, I thought I'd bring 2 your attention that in setup-bpv176.tp2, BPINVISB.cre, before the first "SAY NAME"; is missing a return.


Well, I can see now that although it may (here's hoping) save hours of manual labour it was a bit of a fools errand for me, as my original goal was only to find a way to fix the strrefs issue and start playing. How little I knew. However in the process of making it to this stage I have learned. Thanks for your help with it all.

Ok, I think I'm done with this for now, unless I'm needed. If you do find it useful, find an error, or want a copy without all the "// " in-file comments please let me know.

Attached Files


Edited by Intox, 12 May 2006 - 05:14 AM.


#2 horred the plague

horred the plague

    Scourge of the Seven Seas

  • Modder
  • 1899 posts

Posted 12 May 2006 - 11:32 AM

I cannot thank you enough for doing this, Intox. When the world gets through directing my life in n- directions, I will most definitely give this a thorough looking through, and get it incorporated into BPv177. You can pretty much guarantee yourself a slot in the BP credits list for this one. (ooo... ahhh... :P )

If I see things that did not work out, I will let you know specifically (esp. if it a means of enhancing your "learning experience" throughout this valiant effort). Thanks again!

:Bow:

:cheers:

Horred

P.S: Allow me to say thanks for all the gamers who will benefit from your work, as well...you ROCK! :new_thumbs:

#3 melkor_morgoth75

melkor_morgoth75

    Lord

  • Modder
  • 1509 posts

Posted 28 May 2006 - 10:06 PM

:Bow: :Bow:

Great work mate ... thanks for a gamer like me ...

Now i look forward to see new BP_177 :cheers:

mm75

Tired of the same boring spawned creatures u face in BG? Try BGSpawn


#4 Intox

Intox
  • Member
  • 32 posts

Posted 06 July 2006 - 02:05 AM

I cannot thank you enough for doing this, Intox... You can pretty much guarantee yourself a slot in the BP credits list for this one. (ooo... ahhh...  :P  )

:Bow:

:cheers:

Horred

P.S: Allow me to say thanks for all the gamers who will benefit from your work, as well...you ROCK! :new_thumbs:


Great to see you release a new version!

You konw, I worked so long and hard on translating those 1000's of files to weidu that I would love some recognition if my input had helped. Seeing you brought out a new version (177) with no recognition to me I suppose I should have said to you that I would love some acknowledgement.

That aside, I'm loving the game more than ever and congratz on the new version!

Kindest Regards,

intox.

#5 Intox

Intox
  • Member
  • 32 posts

Posted 06 July 2006 - 02:10 AM

Well Wow, actually I looked closer, and you did credit me, so I'm very sorry for the embarrasing (to me) stuff-up there, and for my last post. all I ever wanted was to be credited, and you did remember. :D

#6 ronin

ronin
  • Modder
  • 2114 posts

Posted 06 July 2006 - 02:15 AM

were you maybe "intoxicated" at the time you read the readme the first time?

:D

ronin

#7 Intox

Intox
  • Member
  • 32 posts

Posted 06 July 2006 - 02:25 AM

What, 5 mins between the first reading and the next? That's a quick sobering! Mostly I was just interested to know that what I'd done had actually helped, but as the name implies... yes possibly! But I blame it on MS word search :)

Edit: added "But I blame it on MS word search :)"

Edited by Intox, 06 July 2006 - 02:27 AM.


#8 ronin

ronin
  • Modder
  • 2114 posts

Posted 06 July 2006 - 02:27 AM

Was only joking with you, awesome work dewd!!

:cheers:

ronin

#9 Intox

Intox
  • Member
  • 32 posts

Posted 06 July 2006 - 02:30 AM

You should have played with my BGII thief that originally owned the name "Intox", then you'd be reluctant to thank me. Seeing him turn into the Bhaalspawn was something else!

Edited by Intox, 06 July 2006 - 02:30 AM.