CamDawg Posted December 31, 2004 Share Posted December 31, 2004 Baldurdash fixes a couple of missing area scripts, but I say let's go whole hog and help modders. This will patch any area file of the form ARxxxx.are (where x is a number) to use ARxxxx as their area script, only if it does not have one assigned. COPY_EXISTING_REGEXP GLOB ~AR[0-9][0-9][0-9][0-9]\.are~ ~override~ READ_ASCII 0x94 "script" PATCH_IF ("" STRING_COMPARE "%script%" = 0) BEGIN READ_LONG 0x9A "temp" WRITE_EVALUATED_ASCII 0x94 ~\1~ WRITE_LONG 0x9A "%temp%" END BUT_ONLY_IF_IT_CHANGES Link to comment
CamDawg Posted January 16, 2005 Author Share Posted January 16, 2005 Coded as of alpha 1. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.