![]() |
|
|
|
#1
|
|||||
|
Quote:
| ||||
|
#2
|
|||
|
Amazing! thanks for the continued updating of textures.
| ||
|
#3
|
||||
|
Am I wrong in thinking it's not patching anything when I run the batch file for a second time, after deleting my .old backups? I'm confused as to why it isn't listing the files like it does when initially run against S3Ds that haven't been patched before. On the second pass, it checks for .old files and doesn't find any, then proceeds to patch, but it appears as if it doesn't actually write to anything - which would be a good thing. Am I misunderstanding this?
Quote:
| |||
|
#4
|
|||
|
Further proof:
[You must be logged in to view images. Log in or Register.] After installing new textures to global4_chr.s3d, it recognized and selectively patched only those textures, while skipping through the rest of the S3Ds. So basically, no matter how many times you run patch_s3d_textures.bat, it will never patch and then repatch the same texture twice. In light of this I've gone ahead and replaced the .old purge in the batch file. | ||
|
#5
|
|||||
|
Quote:
Only SOME forms of texture patching is skipped such as removing magic pink (-mp option) but others which correct things such as black splotches (-rt option) will blindly patch multiple times. You cannot rely upon the file size to examine these changes as the size may or may not change depending on the supplied options. I am the author of this tool and I'm telling you that by not reverting to the original before each patch you are adding additional cumulative error; the changes will be subtle at first but increase over time as some palettes are normalized. Don't do it. I am linking again to my original post which I would encourage you to examine closely: https://www.project1999.com/forums/s...d.php?p=259375 Quote:
| ||||
|
Last edited by Ropethunder; 01-04-2017 at 01:13 PM..
| |||||
|
#6
|
||||
|
Quote:
Would there be a way to definitively check if those textures are being written to despite the lack of output? Is there something I can check in a texture's raw data that would change after it's patched? | |||
|
Last edited by paulgiamatti; 01-04-2017 at 01:48 PM..
| ||||
|
#7
|
|||
|
I wrote this tool almost six years ago so I'm no longer well versed in its behavior. Some of the code will exit early on certain conditions but others will press on.
A way you can test which options are patching multiple times would be to use a diff tool to compare the old and the new for differences. This is still not reliable because certain options will react differently depending on the palette of the texture being examined. There is no good reason to remove the backup/restore functionality as this will ensure that you will always start with a known-good version. | ||
|
Last edited by Ropethunder; 01-04-2017 at 02:41 PM..
| |||
|
#8
|
|||||
|
Quote:
Quote:
| ||||
|
#9
|
|||
|
Added an -mp entry to patch_s3d_textures.bat for the Ulak weapon, which had its transparency broken similarly to helm visors, etc.
before & after: [You must be logged in to view images. Log in or Register.] transparency patcher: https://dl.dropboxusercontent.com/u/...ncypatcher.zip | ||
|
#10
|
|||
|
when's this going live
__________________
Smac - Iksar Grave Lord Mackenze - Human WarderPulsate - High Elf Phantasmist Mackaroni <Seal Team> - Human Monk | ||
![]() |
|
|