Jump to content
Sign in to follow this  
vovi

Pal2Pac.dll

Recommended Posts

I having problems with the pal2pac.dll. I make my own custom textures and up until a while ago visitor worked fine creating my texture transitions.

However, now everytime I try 'surface fill' or 'texture fill' I get the xp message 'this programs needs to close' and when I look at the details it says the module to blame is pal2pac.dll.

Even if I restart it over and over again it doesnt work.

Anyone else had this problem?

ANY suggestions PLEASE?

Share this post


Link to post
Share on other sites

hm would it help ya to make the transitions for you ?

or is it just about getting the error ? huh.gif

Share this post


Link to post
Share on other sites

buldozer comes with pal2pace.exe and pal2pac.dll.

the call is like this:

pal2pace -combine 4.tga 3.tga 2.tga 1.tga 1234.pac

(only tga -> pac possible as far as i know)

so for example - texture name:

e1f2g4a2

4 = a2 (top right)

3 = g4 (top left)

2 = f2 (down right)

1 = e1 (down left)

34

12

pal2pace -combine a2.tga g4.tga f2.tga e1.tga e1f2g4a2.pac

this is a 4 texture transition. so for a half half texture 2 two its like this:

pal2pace -combine g4.tga g4.tga e1.tga e1.tga e1e1g4g4.pac

you best work with some texteditor capable of handling regular expressions, like editpadpro.

search text:

([a-z0-9][a-z0-9])([a-z0-9][a-z0-9])([a-z0-9][a-z0-9])([a-z0-9][a-z0-9])

replacement text:

D:\pal2pace\pal2pace -combine \4.tga \3.tga \2.tga \1.tga \1\2\3\4.pac

(it looks for a string of two characters or numbers each and makes the output command for it)

ill explain more if you are interested.

smile_o.gif

Share this post


Link to post
Share on other sites

Please do explain more! You saying we could make full transitions (2,3 and 4 way) with just a simple execute command? If so, I'm very interested!

Share this post


Link to post
Share on other sites

Yep, I do use visitor for texturing, and wrptool for the rest. At least from now on. wink_o.gif But, it would be even better if there was a possibility (as another program, if needed) to create the transitions somewhere else than visitor. WRPTool doesn't make transitions, so they need to be made in an external program. If someone made a program which could handle transition making, I'd be a happy man. Though, I don't mind doing them in visitor... Just talking... ya know. biggrin_o.gif

Share this post


Link to post
Share on other sites

Whats the maximum resolution it can create transitions for?. I tried 1024x1024 and the actual transitions it made were 512x512.

Share this post


Link to post
Share on other sites

hm the first texture replacement for nogova textures of ours should have been 1024x1024 as they were based on berghoffs textures with that resolution.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×