![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
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? |
![]() |
![]() |
#2 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
google cant find out everything so i need help here
|
![]() |
![]() |
#3 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
Peabody
__________________
System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2. |
|
![]() |
![]() |
![]() |
#4 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
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 |
![]() |
![]() |
#5 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
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. ![]() |
![]() |
![]() |
![]() |
#6 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
![]()
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. ![]() |
![]() |
![]() |
![]() |
#7 |
Ocean Warrior
![]() Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
|
![]()
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!
__________________
-------------------------------- This space left intentionally blank. Last edited by Nisgeis; 03-30-09 at 04:19 AM. |
![]() |
![]() |
![]() |
#8 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
![]()
Allrite, mystery solved.
![]() |
![]() |
![]() |
![]() |
#9 |
Ocean Warrior
![]() Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
|
![]()
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. ![]()
__________________
-------------------------------- This space left intentionally blank. |
![]() |
![]() |
![]() |
#10 |
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
![]()
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... |
![]() |
![]() |
![]() |
#11 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
got it, now got to find time to play with it
|
![]() |
![]() |
|
|