Members The_oldman Posted November 29 Members Posted November 29 After extracted the files from UNITARY.dat, I found the models textures in there and I believe 3d data are also in the same file but I can't figure them out. eg: in UNITARY_002.dat offset 0x00172a10 is the first texture(MS05.tga). Right after that at offset 0x00192e50 is the second texture(MS05a.tga). And then I believe 3d data follows. You will see a similiar pattern appears and the name MS05.tga was there as well. But I have no idea how the 3d data format are? (Can't find any float data of verts etc) Any suggestion? Thanks in advance. OYW_Samples.rar
Engineers shak-otay Posted November 29 Engineers Posted November 29 (edited) Seems it's vif tags in the .dat files, for example 03802F69, where 0x2F (47) is the count for parts (vertices for example) of a sub mesh. There might be 232 of them: (using shorts, not floats) Edited November 29 by shak-otay update
Members The_oldman Posted Saturday at 08:15 PM Author Members Posted Saturday at 08:15 PM sorry I am still a bit lost. What is vif tag? Could you tell me which file sample are you used and where exactly the location(offset) did you use in you picture? Thank you once again.
Engineers shak-otay Posted Saturday at 09:12 PM Engineers Posted Saturday at 09:12 PM (edited) vif tags mark the start of blocks (vertices, uvs, etc). Simply search for them in a hex editor. (All samples seem to be chainsaws so it doesn't matter which one you choose). Edited Saturday at 09:12 PM by shak-otay
Members The_oldman Posted Saturday at 09:26 PM Author Members Posted Saturday at 09:26 PM so in this case. I use hex editor and search for "vif"?
Engineers shak-otay Posted Saturday at 09:58 PM Engineers Posted Saturday at 09:58 PM You search for 0380. Best would be to use these H2O files with hex2obj: In hex2obj_0.25b.exe load the model UNITARY_103.dat (you can load a single H2O file then and display a sub mesh) To care for all H2O files choose File "SaveAs Mmesh" (multiple mesh) to create obj files from all contained submeshes. After hex2obj processed the H2O files there should exist the same amount of obj files in the ob folder named from *_0.obj to *_xx.obj. (Since the automated tri strips algorithm doesn't really fit for PS2 everything is rather ugly, extra faces, etc.) UNITARY_103.dat_0391.zip
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now