SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   what is a ZHF file and how to open it? (https://www.subsim.com/radioroom/showthread.php?t=149957)

Webster 03-28-09 10:53 PM

what is a ZHF file and how to open it?
 
in corotios truk mod he made ZHF files for the data/ terrain/ data file.

i know he made them because they arent in the stock game.

how can i open them and see whats inside and maybe do something with files like that myself?

Webster 03-29-09 08:37 PM

google cant find out everything so i need help here

peabody 03-29-09 10:05 PM

Quote:

Originally Posted by WEBSTER (Post 1074070)
in corotios truk mod he made ZHF files for the data/ terrain/ data file.

i know he made them because they arent in the stock game.

how can i open them and see whats inside and maybe do something with files like that myself?

I dont' know what they are either but they are in my stock game inside another folder. data/terrain/data/W158N022

Peabody

Webster 03-29-09 10:38 PM

well corotio has two brand new ones he added for the truk atol mod but i see nothing about how to open or make that file extentions


just trying to learn another area of modding if i can

jimbob 03-30-09 01:28 AM

Right-click and try to open with other common programs.

Like Notepad, 7zip etc mediaplayers and whathaveyous..
I'd try even S3D, hehe...

If its a packed file most likely 7zip will be able to open it and extract it.

Or with the notepad you can read whats innit. Should give you something.

Maybe remove it and see if it affects the game somehow,
thought it is hard to tell without knowing what its spose to do...

Also, with Hex editor you could probably see the header which might tell you
more about the file.

Experiment!

That's all she wrote.

:haha:

jimbob 03-30-09 03:04 AM

Allrite, did a check and I got 2 files on the backup folders.
Both 1.4 and 1.5 version stock has these files.

\Terrain\Data\W158N022\W158N022.ZHF
\Terrain\Data\W158N022\W178N029.ZHF

I did check out them but they didn't have any meaningfull words innit.
Not with Hex editor atleast. 7zip failed also so I don't think they are packed
any normal way, if at all.

So, 1 folder up there's files like:

\Terrain\Data\TerrainData.BFD
\Terrain\Data\TerrainData.BFI

BFD search.

BFI search.

I guess so the 1gig file TerrainData.BFD holds the data.
and TerrainData.BFI might be some sorta index for it.

Check this out.

Im no real hacker so im just guessing here.

I suppose these are files (data library) for the terrain editor or somesuch
that Ubisoft used.

Question is, what app did they use?

Might be home brew apps.

:arrgh!:

Nisgeis 03-30-09 04:02 AM

The ZHF are the height files for the terrain. Ref did a really nice terrain editor which he released for everyone to use. I'll see if I can find it.

EDIT: OK, here it is, I *think* ZHF files are the terrain files, it's been a long time... http://www.subsim.com/radioroom/show...terrain+editor
Better be quick though, it's only up on FF and it's the 30th!

jimbob 03-30-09 04:17 AM

Allrite, mystery solved.

:salute:

Nisgeis 03-30-09 04:24 AM

I'm not 100% sure, but I'm fairly sure.

The W158N022.ZHF is a location on the globe, ie W158 is West 158 degrees and N022 is North 22 degrees. There's a main data file which is over a gig and is the whole world and any patches you want to make to the world you put in that sub folder. Each square is a one degree by one degree patch and Ref's arrange the editor so you can extract a square into a depth file (black and white values representing height) and you can change it in a paint program and then import it back in. A very clever little program and very useful if you want to do that sort of thing. :yeah:to Ref.

Anvart 03-30-09 06:16 AM

TerEdit:
http://www.mediafire.com/?sharekey=5...e6ba49b5870170

Webster 03-30-09 09:04 AM

got it, now got to find time to play with it


All times are GMT -5. The time now is 07:32 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.