Where is the .TER file stored?

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
User avatar
blue banana
Sabre
Posts: 332
Joined: Sat Feb 19, 2011 2:08 pm
Location: Banana Land, UTC−6:00 MDT
Contact:

Where is the .TER file stored?

Post by blue banana »

I am trying to find the raw heightmaps from BZ2 (I believe it is the .ter file), but sadly I cannot find any of them. Could someone tell me where they are?
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Where is the .TER file stored?

Post by General BlackDragon »

For Stock maps, they are in the .pak files, for custom maps, usually along with the rest of the files.

usually somewhere in the missions directories... (be it in the .pak, addon, or whatever)
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: Where is the .TER file stored?

Post by Red Spot »

Modding BZ2 101: Unpack all .pak files. 8-)
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Where is the .TER file stored?

Post by Nielk1 »

It is more than just the heightfields btw. The data includes the height, textures (per cluster/layer), and RGB/RGBA (per vertex/layer), as well as some generated data such as a type indicator for flat, slope, lava, etc.

If you just want it for BZ2, fine, but if you want the data for something else I will probably have to help you read the format.

Unless you just plan to stuff it into the existing copies of Winter that are floating about.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Where is the .TER file stored?

Post by General BlackDragon »

He probably just wants to use winter to get the heightmap to convert bz2 maps to bz1
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
blue banana
Sabre
Posts: 332
Joined: Sat Feb 19, 2011 2:08 pm
Location: Banana Land, UTC−6:00 MDT
Contact:

Re: Where is the .TER file stored?

Post by blue banana »

How do you unpack .pak files?
User avatar
blue banana
Sabre
Posts: 332
Joined: Sat Feb 19, 2011 2:08 pm
Location: Banana Land, UTC−6:00 MDT
Contact:

Re: Where is the .TER file stored?

Post by blue banana »

Where are Greenhearts maps' .ter files, more specifically the Fortress map?
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Where is the .TER file stored?

Post by General BlackDragon »

in the pak files, under missions/multiplayer/

those should be in the missions/multiplayer/3rdparty/greenheart/ folder in the pak file?
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
blue banana
Sabre
Posts: 332
Joined: Sat Feb 19, 2011 2:08 pm
Location: Banana Land, UTC−6:00 MDT
Contact:

Re: Where is the .TER file stored?

Post by blue banana »

No, those files arent there. I have checked every folder and I actually havent seen any .ter files for any map. Right now I am just looking in the .pak files.
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Where is the .TER file stored?

Post by MrTwosheds »

You probably have more than 1 install of bz2...Make sure you are looking at the right patch13.pak, they change.
Got both .ter and .trn in the patch13.pak/addon/missions/multiplayer/3rdparty/greenheart map pack/mpifort
For Bz2_V1_3_6_4
The Silence continues. The War Of Lies has no end.
User avatar
blue banana
Sabre
Posts: 332
Joined: Sat Feb 19, 2011 2:08 pm
Location: Banana Land, UTC−6:00 MDT
Contact:

Re: Where is the .TER file stored?

Post by blue banana »

Ah, I found them.

And yes, I am trying to convert BZ2 maps to a BZ1 map. If converting the .ter file into a heightmap file for BZ1 is along the right lines (by Winter, perhaps), I would like it if someone can tell me how to do this. :)
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Where is the .TER file stored?

Post by General BlackDragon »

yes u use winter to export the heightmap then use bmptohgt
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
blue banana
Sabre
Posts: 332
Joined: Sat Feb 19, 2011 2:08 pm
Location: Banana Land, UTC−6:00 MDT
Contact:

Re: Where is the .TER file stored?

Post by blue banana »

Looks like I am missing a .dll file MSVCR71. That sucks.

Are there alternatives, or would it be better to do this on another computer?
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: Where is the .TER file stored?

Post by Red Spot »

Search for it on your system, you'll likelly have it .. like 12 or more times.
It comes with office, countless (steam) games, etc. You may just need to copy it to Winters folder.
Post Reply