Aller au contenu

Photo

override bug


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
Thought Process

Thought Process
  • Members
  • 191 messages
As some have noticed, override directories do not currently work correctly. I'm going to detail the problem so people will avoid the issue entirely since it can cause problems.

Due to the new hashing system, the game tracks hashes rather than file names.

In most cases, when the game goes to load an overriden file (such as scripts, textures, etc), it no longer knows the name and attempts to open an invalid file (the directory it's in, actually) -- this is why overrides are broken. If it fails to open the file due to this bug, it will not look anywhere else for the file.

This means that if you are creating an ERF with files you want to override via a patch ERF, do not keep your "source" directory you're using to build that ERF inside any paths the game will read -- it will see the file on the disk and try to use that (and fail), rather than from your patch ERF.

Files that will work in override:
*.gda
chargenmorphcfg.xml

Files that will not work in override (example):
*.ncs
*.dds
*.mor/*.mop
*.msh/etc

This is certainly a bug and hopefully a future patch can resolve this issue.

Modifié par Thought Process, 15 mars 2011 - 03:37 .