LarryG on 3/1/2009 at 22:30
Thanks, NV. I'm sure this will be of help to LOTS of folk!
The fix that you did for PCX, you now check for the both GIF and PCX, or what?
LarryG on 3/1/2009 at 22:36
When running this now, I get a couple of messages I do not understand, probibly because I'm too new at all this.
1) Can anyone explain how to "compress" a texture family. I appear to have done it naturally on some of my texture families and not on others. The warning I am getting is "Uncompressed families: LG_Ceiling4 LG_Ceiling2 T1concastle LG_Walls"
B) What is an "environmental ambiant"? The warning is "The following objects have auxiliary schemas defined, but are not environmental ambients: ..."
Nameless Voice on 3/1/2009 at 22:40
Quote Posted by LarryG
The fix that you did for PCX, you now check for the both GIF and PCX, or what?
Yes. I should probably have added TGA and BMP too, since Dark supports those in theory. (Though why you'd want to use either for terrain textures is another matter).
Quote Posted by LarryG
1) Can anyone explain how to "compress" a texture family.
compress_family familyname
That removes all unused textures from that family from the texture palette.
Quote Posted by LarryG
B) What is an "environmental ambiant"?
Basically, background "music".
LarryG on 3/1/2009 at 23:07
Quote Posted by Nameless Voice
Yes. I should probably have added TGA and BMP too, since Dark supports those in theory. (Though why you'd want to use either for terrain textures is another matter).
Yeah, that would make it better, jic.
Quote Posted by Nameless Voice
compress_family familyname
That removes all unused textures from that family from the texture palette.
Duh! I knew that. I wasn't making the connection. It's not that the family isn't compressed on the disk, it's that the the family isn't compressed in the mission! I should been able to figure that out.
Quote Posted by Nameless Voice
Basically, background "music".
So not having ambient music is an error? Or is it that I defined ambiant music in the schema and it isn't working? As I recall this warning is on objects that I copied from Yandros and had a sound assigned in the schema. I hadn't figured out how to make that work yet, and had postponed looking into it until "later".
R Soul on 3/1/2009 at 23:44
It becomes environmental if you select 'Environmental' from the flags section of the AmbientHacked property. It means the sound comes from all speakers equally, as background music might.
I'm not sure why it reports an aux schema on a non-environmental ambient though, but because Telliamed wrote the program you can assume there is a reason.
Yandros on 4/1/2009 at 02:40
This subject came up over at my place in the Hammerite Imperium test forum, and S_Hole posted this:
Quote Posted by "S_Hole @ The Weary Taffer"
not knowing a thing about dromed, i did this
Code:
strings miss19.mis | find ".bin" | sort > binlist.txt
which resulted, after cleaning out duplicates, this;
Code:
aivazovsk.bin
bookstk2.bin
butspr.bin
candlering.bin
ceillamp1.bin
feather.bin
hmarnpew.bin
roerichmed.bin
storm2.bin
table1.bin
throne2.bin
txpbase3.bin
txpillar1.bin
txpillar2.bin
txpillar6.bin
WalCndle.bin
no idea how accurate that is
I assume this is the Linux
strings command. Note that I'm sure there are many, many more models used than that, but it's interesting.
Nameless Voice on 4/1/2009 at 03:09
One point: people don't usually include the ".bin" in the Shape->Model Name property, so it's probably not an accurate list.
LarryG on 4/1/2009 at 03:33
Meanwhile, this now works for my needs (I renamed NV's version of the executable so I would be clear which I was running):
Code:
@echo off
REM To find all custom objects:
REM 1) rename obj directory
REM 2) open the mission in DromEd and enter the following commands:
REM hilight_obj_type -1
REM hilight_add_prop ModelName
REM 3) Save as Miss25.MIS to the Thief directory
REM 4) Run this program
REM
REM To find all custom textures (PCX or GIF):
REM 1) rename fam directory
REM 2) Save as Miss25.MIS to the Thief directory
REM 3) Run this program
REM
chkmissNV Miss25.mis > Chkmiss.txt
@echo on
Pause
So, thanks R Soul and NV!
Nameless Voice on 4/1/2009 at 03:37
Code:
@echo off
REM To find all custom objects:
REM 1) open the mission in DromEd and enter the following commands:
REM hilight_obj_type -1
REM hilight_add_prop ModelName
REM 2) Save as Miss25.MIS to the Thief directory
REM 3) Run this program
REM
REM To find all custom textures (PCX or GIF):
REM 1) Save as Miss25.MIS to the Thief directory
REM 2) Run this program
REM
move obj hide-obj
chkmissNV Miss25.mis > Chkmiss-Objects.txt
move hide-obj obj
move fam hide-fam
chkmissNV Miss25.mis > Chkmiss-Textures.txt
move hide-fam fam
Pause
This should be easier.
LarryG on 4/1/2009 at 04:04
Show off!
Oh. DromEd seems to reserve the fam directory, so you should close DromEd before running the BAT file, otherwise the rename of fam will fail. Sometimes, closing DromEd is not enough, and you have to logoff and log back on to free up the directory.