Hard Light Productions Forums

General FreeSpace => FreeSpace Discussion => Topic started by: Black Wolf on December 16, 2002, 11:06:31 am

Title: FS1 Briefing Animations in .clr format
Post by: Black Wolf on December 16, 2002, 11:06:31 am
Is there any way to view/create these?
Title: FS1 Briefing Animations in .clr format
Post by: CP5670 on December 16, 2002, 12:14:59 pm
What is a clr anyway?
Title: FS1 Briefing Animations in .clr format
Post by: Black Wolf on December 16, 2002, 12:17:00 pm
You remember all those little tiny animations that were in the top right hand corner of the FS1 Command briefings? Those weren't .anis. They were .clrs.
Title: FS1 Briefing Animations in .clr format
Post by: CP5670 on December 16, 2002, 12:56:04 pm
I don't really remember those, but it has been a while since I played FS1; where exactly are these files located? I did not even know they existed. :p
Title: FS1 Briefing Animations in .clr format
Post by: DTP on December 16, 2002, 12:56:16 pm
can´t seem to locate any .clr files within the FS1 VP´s
Title: FS1 Briefing Animations in .clr format
Post by: CP5670 on December 16, 2002, 01:02:55 pm
Wait, are you talking about the cache files? I think these are just temporarily generated by the game during runtime.
Title: FS1 Briefing Animations in .clr format
Post by: Black Wolf on December 16, 2002, 01:06:32 pm
Well, I can see the files i the Cache directory, not the VPs, so yeah, probably the cache files - how can they be generated in game? The animation has to exist somewhere, and apparently it's in these files - I just can't read them :(.
Title: FS1 Briefing Animations in .clr format
Post by: DTP on December 16, 2002, 01:22:12 pm
ahhh!

these are palette files, not PCX or ANI files.

i suspect that instead of having to take each palette from all of the files, they simply used a preset of palette files in order to render things faster, and somewhere within the original fs1 code there where code to deal with this. it seems however stripped from the fs2 code.

From the code we can read this, why there is not clr files in the a cache dir anymore.

Quote from Code
---------------

Added cfile functions to read/write rle compressed blocks of data.
 * Made palman use it for .clr files.  Made alphacolors calculate on the
 * fly rather than caching to/from disk.

----------------

so it might only be the Alpha colours that are cached in RLE, (RUN_LENGTH_COMPRESSION) format.

You cant use it for anything
Title: FS1 Briefing Animations in .clr format
Post by: vyper on December 17, 2002, 05:01:06 pm
erm... DATA\cbanims.vp --> interface (57)
all in nice little readable .ani's
Title: FS1 Briefing Animations in .clr format
Post by: DTP on December 18, 2002, 02:59:03 pm
Quote
Originally posted by vyper
erm... DATA\cbanims.vp --> interface (57)
all in nice little readable .ani's


come again, you did´nt read the entire thread, which is not that long :D.