Jump to content
CamDawg

DFB - not included

Recommended Posts

This is a trio of threads in which I'm breaking down devSin's fixpack into three areas--stuff not included, stuff included, and stuff I can't figure out how/why it's doing.

 

// happy party patch -- not included
COPY_EXISTING ~HAPPY.2DA~ ~OVERRIDE~
 SET_2DA_ENTRY 0 1 4 ~-160~
 SET_2DA_ENTRY 0 2 4 ~-160~
 SET_2DA_ENTRY 1 1 4 ~-160~
 SET_2DA_ENTRY 18 3 4 ~-160~
 SET_2DA_ENTRY 19 3 4 ~-160~
BUT_ONLY_IF_IT_CHANGES

 

// adds new racial enemies for rangers
APPEND ~HATERACE.2DA~ ~ANKHEG          8441  101 99993~ UNLESS ~^ANKHEG\b~
APPEND ~HATERACE.2DA~ ~CARRION_CRAWLER 15966 104 15988~ UNLESS ~^CARRION_CRAWLER\b~
APPEND ~HATERACE.2DA~ ~GIANT           99994 142 99995~ UNLESS ~^GIANT\b~
APPEND ~HATERACE.2DA~ ~GIBBERLING      15971 109 15994~ UNLESS ~^GIBBERLING\b~
APPEND ~HATERACE.2DA~ ~GITHYANKI       34273 152 99996~ UNLESS ~^GITHYANKI\b~
APPEND ~HATERACE.2DA~ ~GNOLL           15972 110 15995~ UNLESS ~^GNOLL\b~
APPEND ~HATERACE.2DA~ ~ORC             34784 143 99997~ UNLESS ~^ORC\b~
APPEND ~HATERACE.2DA~ ~SKELETON        15976 115 15999~ UNLESS ~^SKELETON\b~
APPEND ~HATERACE.2DA~ ~WYVERN          9398  118 99998~ UNLESS ~^WYVERN\b~
APPEND ~HATERACE.2DA~ ~YUAN-TI         1323  154 99999~ UNLESS ~^YUAN-TI\b~

COPY_EXISTING ~HATERACE.2DA~ ~OVERRIDE~
 REPLACE ~99993~ @401
 REPLACE ~99994~ @402
 REPLACE ~99995~ @403
 REPLACE ~99996~ @404
 REPLACE ~99997~ @405
 REPLACE ~99998~ @406
 REPLACE ~99999~ @407
 REPLACE_TEXTUALLY ~UMBERHULK ~ ~UMBER_HULK~
BUT_ONLY_IF_IT_CHANGES

 

// changes to maze duration
COPY_EXISTING ~INTMOD.2DA~ ~OVERRIDE~
 SET_2DA_ENTRY 0 4 6 ~2~
 SET_2DA_ENTRY 1 4 6 ~2~
 SET_2DA_ENTRY 2 4 6 ~2~
 SET_2DA_ENTRY 3 4 6 ~1~
 SET_2DA_ENTRY 4 4 6 ~1~
 SET_2DA_ENTRY 5 4 6 ~1~
 SET_2DA_ENTRY 6 4 6 ~5~
 SET_2DA_ENTRY 7 4 6 ~5~
 SET_2DA_ENTRY 8 4 6 ~5~
BUT_ONLY_IF_IT_CHANGES

 

// changes to mage spell progression
COPY_EXISTING ~MXSPLWIZ.2DA~ ~OVERRIDE~
 FOR (ROW = 25; ROW < 40; ROW = ROW + 1) BEGIN
   SET_2DA_ENTRY ROW 1 10 ~6~
 END
 FOR (ROW = 26; ROW < 40; ROW = ROW + 1) BEGIN
   SET_2DA_ENTRY ROW 2 10 ~6~
 END
 FOR (ROW = 27; ROW < 40; ROW = ROW + 1) BEGIN
   SET_2DA_ENTRY ROW 3 10 ~6~
 END
 FOR (ROW = 28; ROW < 40; ROW = ROW + 1) BEGIN
   SET_2DA_ENTRY ROW 4 10 ~6~
 END
 FOR (ROW = 29; ROW < 40; ROW = ROW + 1) BEGIN
   SET_2DA_ENTRY ROW 5 10 ~6~
 END
 FOR (ROW = 30; ROW < 40; ROW = ROW + 1) BEGIN
   SET_2DA_ENTRY ROW 6 10 ~6~
   SET_2DA_ENTRY ROW 8 10 ~5~
 END
BUT_ONLY_IF_IT_CHANGES

 

// area flag changes, already included
COPY_EXISTING_REGEXP GLOB ~^AR0323\.ARE$~ ~OVERRIDE~
~^AR0600\.ARE$~ ~OVERRIDE~
~^AR030[35789]\.ARE$~ ~OVERRIDE~
~^AR03[12][12]\.ARE$~ ~OVERRIDE~
~^AR0[47]06\.ARE$~ ~OVERRIDE~
~^AR05\(0[1456789]\|1[012345]\|2[23]\)\.ARE$~ ~OVERRIDE~
~^AR090[124567]\.ARE$~ ~OVERRIDE~
~^AR1\(101\|305\)\.ARE$~ ~OVERRIDE~
 WRITE_BYTE 0x48 0x00
BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING ~AR0044.ARE~ ~OVERRIDE~
 WRITE_BYTE 0x48 0x03
BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING ~AR1607.ARE~ ~OVERRIDE~
 WRITE_BYTE 0x48 0x05
BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING ~AR0042.ARE~ ~OVERRIDE~
~AR2806.ARE~ ~OVERRIDE~
 WRITE_BYTE 0x48 0x13
BUT_ONLY_IF_IT_CHANGES

PRINT @3
COPY_EXISTING_REGEXP GLOB ~^AR\(19\|63\)00\.ARE$~ ~OVERRIDE~
 WRITE_BYTE 0x48 0x17
BUT_ONLY_IF_IT_CHANGES

PRINT @3
COPY_EXISTING_REGEXP GLOB ~^AR2102\.ARE$~ ~OVERRIDE~
~^AR0\(203\|331\|418\|526\|606\|804\)\.ARE$~ ~OVERRIDE~
~^AR05\(1[789]\|2[01]\)\.ARE$~ ~OVERRIDE~
~^AR1\(203\|402\|501\)\.ARE$~ ~OVERRIDE~
~^AR290[1235]\.ARE$~ ~OVERRIDE~
 WRITE_BYTE 0x48 0x20
BUT_ONLY_IF_IT_CHANGES

PRINT @3
COPY_EXISTING_REGEXP GLOB ~^AR004[15]\.ARE$~ ~OVERRIDE~
 WRITE_BYTE 0x48 0x4b
BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING ~AR0700.ARE~ ~OVERRIDE~
 WRITE_BYTE 0x48 0x4f
BUT_ONLY_IF_IT_CHANGES

PRINT @3
COPY_EXISTING_REGEXP GLOB ~^AR031[567]\.ARE$~ ~OVERRIDE~
 WRITE_BYTE 0x48 0x80
BUT_ONLY_IF_IT_CHANGES

 

// area scripts already covered
COPY_EXISTING ~AR0323.ARE~ ~OVERRIDE~
 WRITE_ASCII 0x94 ~AR0323~
BUT_ONLY_IF_IT_CHANGES

COPY_EXISTING ~AR0324.ARE~ ~OVERRIDE~
 WRITE_ASCII 0x94 ~AR0324~
BUT_ONLY_IF_IT_CHANGES

 

// kit.ids already fixed
COPY_EXISTING ~KIT.IDS~ ~OVERRIDE~
 REPLACE_TEXTUALLY ~0x00000001~ ~0x4001~
 REPLACE_TEXTUALLY ~0x00000002~ ~0x4002~
 REPLACE_TEXTUALLY ~0x00000004~ ~0x4003~
 REPLACE_TEXTUALLY ~0x00000008~ ~0x4004~
 REPLACE_TEXTUALLY ~0x00000010~ ~0x4005~
 REPLACE_TEXTUALLY ~0x00000020~ ~0x4006~
 REPLACE_TEXTUALLY ~0x00000040~ ~0x0040~
 REPLACE_TEXTUALLY ~0x00000080~ ~0x0080~
 REPLACE_TEXTUALLY ~0x00000100~ ~0x0100~
 REPLACE_TEXTUALLY ~0x00000200~ ~0x0200~
 REPLACE_TEXTUALLY ~0x00000400~ ~0x0400~
 REPLACE_TEXTUALLY ~0x00000800~ ~0x0800~
 REPLACE_TEXTUALLY ~0x00001000~ ~0x1000~
 REPLACE_TEXTUALLY ~0x00002000~ ~0x2000~
 REPLACE_TEXTUALLY ~0x00004000~ ~0x4000~
 REPLACE_TEXTUALLY ~0x00008000~ ~0x4007~
 REPLACE_TEXTUALLY ~0x00010000~ ~0x4008~
 REPLACE_TEXTUALLY ~0x00020000~ ~0x4009~
 REPLACE_TEXTUALLY ~0x00040000~ ~0x400A~
 REPLACE_TEXTUALLY ~0x00080000~ ~0x400B~
 REPLACE_TEXTUALLY ~0x00100000~ ~0x400C~
 REPLACE_TEXTUALLY ~0x00200000~ ~0x400D~
 REPLACE_TEXTUALLY ~0x00400000~ ~0x400E~
 REPLACE_TEXTUALLY ~0x00800000~ ~0x400F~
 REPLACE_TEXTUALLY ~0x01000000~ ~0x4013~
 REPLACE_TEXTUALLY ~0x02000000~ ~0x4014~
 REPLACE_TEXTUALLY ~0x04000000~ ~0x4015~
 REPLACE_TEXTUALLY ~0x08000000~ ~0x4010~
 REPLACE_TEXTUALLY ~0x10000000~ ~0x4011~
 REPLACE_TEXTUALLY ~0x20000000~ ~0x4012~
 REPLACE_TEXTUALLY ~0x40000000~ ~0x0000~
 REPLACE_TEXTUALLY ~ASSASIN~ ~ASSASSIN~
BUT_ONLY_IF_IT_CHANGES

APPEND ~KIT.IDS~ ~0x0000 WILDMAGE~ UNLESS ~^0x0000\bW~
APPEND ~KIT.IDS~ ~0x0000 SPECIALCLASS~ UNLESS ~^0x0000\bS~

 

COPY ~FIXPACK/RESOURCES/BITMAPS/AR0700LM.BMP~ ~OVERRIDE~

~FIXPACK/RESOURCES/BITMAPS/AR0700LN.BMP~ ~OVERRIDE~

Share this post


Link to post

It was my understanding that maze didn't work properly anyway. Is this something that needs a different fix?

Share this post


Link to post

I recommend a duplicate entry for ASSASSIN / ASSASIN in the kit.ids. Some mods might be written to check for ASSASIN, and this fix could break 'em.

Share this post


Link to post

In general, adding to IDSes isn't going to cause any problems. I think filling in GTIMES.IDS, for example, is a Good Idea.

Share this post


Link to post

If people do want to include the Maze update (to make it match the manual), this is what I'm now doing locally:

  FOR (row = 0; row < 3; row = row + 1) BEGIN
   SET_2DA_ENTRY ~%row%~ 4 6 ~2~
   SET_2DA_ENTRY ~%row%~ + 3 4 6 ~1~
   SET_2DA_ENTRY ~%row%~ + 6 4 6 ~5~
 END

 

Ooh, so pretty.

 

@Ghreyfain: Note that these are items that are marked as *not* to be included.

Edited by devSin

Share this post


Link to post

I believe the Maze Spell alteration to bring it into line with the manual is already included in iiTweak.

Maybe.

Share this post


Link to post

Yeah. I can't remember who I actually stole it from (I think it was Sim; I know I stole the HATERACE update and the idea for the holy symbol updates from his tweaks). But it may have been Unfinished Business or something else. Maybe even the G3Tweaks (probably not, as I think the most I snatched until recently was Cam's map).

 

EDIT: Maybe Oversight, then?

Edited by devSin

Share this post


Link to post

I think I've seen the bigg, igi, and Galatygon all have some variation of the maze fix. I'm not sure which version is which though.

Share this post


Link to post
In general, adding to IDSes isn't going to cause any problems. I think filling in GTIMES.IDS, for example, is a Good Idea.

 

Right, adding's fine. Replacing's not good, though. Having both ASSASSIN and ASSASIN in the IDS won't do anything bad, nor would having extra GTIMES stuff.

Share this post


Link to post
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...