Jump to content


Photo

Exclude Specific file name from patch_if statement?


  • Please log in to reply
1 reply to this topic

#1 Duality

Duality

    Deranged Mactel User

  • Member
  • 150 posts

Posted 18 November 2008 - 05:01 PM

*grumbles* Been too long since I actually did anything with weidu. How do you exclude a specific file name from a patch_if statement in a tp2 file? Is it even possible? Should I do it while using COPY_EXISTING_REGEXP? (and if so, how :P)

I need to exclude the charbase.cre file from being patched and I can't figure out how.

Edited by Duality, 18 November 2008 - 05:02 PM.


#2 Icendoan

Icendoan

    "An Infinite Deal of Nothing"

  • Member
  • 1723 posts

Posted 18 November 2008 - 11:48 PM

PATCH_IF SOURCE_RES !STRING_COMPARE ~filenameNoExt~ BEGIN
patch list
END

Icen
Proud member of the 'I HATE Elminster!' Club!

Mods in development: Keeping Yoshimo