Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 01-03-2017, 12:12 PM
Ropethunder Ropethunder is offline
Developer


Join Date: May 2010
Posts: 399
Default

Quote:
Originally Posted by paulgiamatti [You must be logged in to view images. Log in or Register.]
Wrote a process that deletes your current .old backups when you run patch_s3d_textures.bat ... Basically, if you ran patch_s3d_textures.bat while .old backup files already existed, it would revert to and then apply the transpfix.exe changes to those instead of applying the changes to your current S3Ds.
This is how it's supposed to work. If you run the .bat file multiple times it first reverts all of the previous changes so that it doesn't patch the same texture twice. The tool doesn't know and can't know whether a texture has been patched previously and performing this operation on a texture more than once will have unexpected results.

Imagine I have a file with the following numbers:

Code:
00010001000
Now lets say that the texture patcher swaps the first '1' encountered to '2' and you get this:

Code:
00020001000
If you run the patcher on the same file without replacing it with the original then all of the number '1' get set to '2' instead of just the first one:

Code:
00020002000
To clarify: the patcher will definitely and absolutely do weird things to textures if you run it multiple times without reverting to the original first. That's what the .old is for.
Last edited by Ropethunder; 01-03-2017 at 12:15 PM..
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:27 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.