Author Topic: Feature request: COPY_EXISTING_LARGE  (Read 768 times)

Offline Argent77

  • Planewalker
  • *****
  • Posts: 187
Feature request: COPY_EXISTING_LARGE
« on: July 30, 2017, 02:53:03 PM »
Would it be possible to add a function COPY_EXISTING_LARGE (and possibly COPY_EXISTING_LARGE_REGEXP as well) to WeiDU that could deal with game resources in a similar manner as COPY_LARGE can deal with regular files? There are many game resources (such as TIS files or cinematics) that are currently inaccessible otherwise.


COPY_EXISTING_LARGE optNoBackup fromFile toFile ...

Behaves like COPY_EXISTING except that the fromFiles can be of arbitrary size, but on the other side of the coin you can’t apply patches to the copying.

COPY_EXISTING_LARGE_REGEXP optNoBackup optGlob fromFileRegExp toDirOrFile ...

Behaves like COPY_EXISTING_LARGE except that fromFileRegExp may contain regular expressions. Additionally, toDirOrFile may reference matched groups in fromFileRegexp with \1, \2, etc. If toDirOrFile is an existing directory or lacks a file extension, it will be treated as a directory and all matching files in the game BIFFs will be copied there. Otherwise, toDirOrFile will be treated as a file.
If GLOB is specified, matching files in override will also be copied. If a file appears in both the BIFFs and the override folder, it will only be copied once.


With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: