Caradavin on 4/8/2014 at 23:39
Hi again, I am using the common palettes created by Nameless Voice. I have used these several times before without any problems but this time there is an issue. I use repalettize to texture family, and it processes all the files just fine and creates .pcx files in my folder just fine but then at the very end of the process, it deletes all the .pcx files and says it cannot find the link specified and leaves me with no pcx files or palette! This has never happened before. Here is the macro data:
echo off
rem Bright conversion script
rem for
rem BRUSH TEXTURE FAMILIES
rem
rem by Nameless Voice
rem
rem Usage: First, save the textures (resized if necessary) in BMP format, and place them in a new folder.
rem Next, copy this batch file into the same folder and run it.
rem
rem The textures will be converted to a common palette and a Full.gif will be created automatically.
rem
rem Note: You need IrfanView installed to use this batch file. (Freeware; get it here: (
http://www.irfanview.com) )
rem Note: You need to specify the path to Bright and IrfanView using 'SET' lines below.
rem Settings:
rem The path to Bright:
set BrightPath=D:\Thief2ED\Tools\Bright183
rem The path to IrfanView:
set IrfanViewPath=D:\Program Files\IrfanView
rem The path to output files to:
rem use 'set OutputPath=.' to save files to the current folder.
set OutputPath=.\Output
rem The batch script itself:
if exist *.pcx echo All .pcx files in this folder will be lost.
if exist *.pcx echo Press Ctrl-C to abort or
if exist *.pcx pause
if exist *.pcx del *.pcx
echo Conversion process started...
"%BrightPath%\bright.exe" -8 -colmask 255 0 255 -common -o -writepal Full.pcx *.bmp
if not exist "%OutputPath%" md "%OutputPath%"
"%IrfanViewPath%\i_view32.exe" *.pcx /convert="%OutputPath%\*.gif"
del *.pcx
pause
Please, can someone help me?
Nameless Voice on 5/8/2014 at 00:08
It sounds like you either don't have IrfanView installed, or the path to it (D:\Program Files\IrfanView - right up near the top of the script) is incorrect.
IrfanView is used to convert the output of bright (in pcx format) to gif format (which is much more convenient.)
Is there any actual benefit to using shared palettes now that we have NewDark, though?
Caradavin on 5/8/2014 at 00:28
Quote Posted by Nameless Voice
It sounds like you either don't have IrfanView installed, or the path to it (D:\Program Files\IrfanView - right up near the top of the script) is incorrect.
IrfanView is used to convert the output of bright (in pcx format) to gif format (which is much more convenient.)
Is there any actual benefit to using shared palettes now that we have NewDark, though?
I'm gonna be completely honest with you, Nameless, I don't know what you mean. Do I not need to use palettes now? I was out of commission for years and when I was last making missions we still needed to do that. I'm guessing that is not the case anymore. I saw mention of it here and there, but didn't look further into it. I guess I'd better get to reading stuff.
Yandros on 5/8/2014 at 00:31
Nope, new textures can be full colour and go in a fam folder without a full.pcx, PNG format works fine. Assuming you're using NewDark, of course.