Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
Search found 1031 matches
- Wed Aug 15, 2018 10:46 am
- Forum: Tutorials
- Topic: Writing an Obj Convertor in C
- Replies: 8
- Views: 9949
Re: Writing an Obj Convertor in C
Now we do it upward, starting from the implement of this function. Below is an implement with detailed comments. Some formatting about the comments in the codes: /*--*/ Comment for the following block /**/ Comment for the following structure // Comment for current line int Nif2Obj(FILE *fpXPR, char ...
- Wed Aug 15, 2018 10:44 am
- Forum: Tutorials
- Topic: Writing an Obj Convertor in C
- Replies: 8
- Views: 9949
Re: Writing an Obj Convertor in C
You need to be clear about the main steps of extracting all models: 1. Locate to a submesh group. In this case we'll search for the FI marker 00 01 02 15; 2. Call the function to convert the submesh group we located; 3. Repeat the above process untill we reach the end of file. For the function to ha...
- Wed Aug 15, 2018 10:42 am
- Forum: Tutorials
- Topic: Writing an Obj Convertor in C
- Replies: 8
- Views: 9949
Re: Writing an Obj Convertor in C
For convenience of demonstration, I'll put here the structure of the nif model format: long TotalFIsize long NULL long SubmeshCount for i = 0 < SubmeshCount { long FIstartIndex[i] long FIcount[i] } long MarkerCount // 0x00000001 long FaceMarker // 0x00010215 short FaceIndices[] byte aByte long Total...
- Wed Aug 15, 2018 10:37 am
- Forum: Tutorials
- Topic: Writing an Obj Convertor in C
- Replies: 8
- Views: 9949
Re: Writing an Obj Convertor in C
II. half-float Conversion We don't care about the details of how half-float is implemented, so we just introduce a third party library for half-float conversion: C source code to convert between IEEE double, single, and half precision . We'll need only the "ieeehalfprecision.c" within. Tw...
- Wed Aug 15, 2018 10:34 am
- Forum: Tutorials
- Topic: Writing an Obj Convertor in C
- Replies: 8
- Views: 9949
Re: Writing an Obj Convertor in C
Start coding: There're still some preparation to be done. Our PC uses little-endian for storage of data so we need a small function for conversion of endianness. Besides, we need a half-float to float/double convertion for vertices since half-float is not a basic data type in C. Now let's solve the...
- Wed Aug 15, 2018 10:24 am
- Forum: Tutorials
- Topic: Writing an Obj Convertor in C
- Replies: 8
- Views: 9949
Re: Writing an Obj Convertor in C
About OBJ format: Obj is a simple, flexible ascii 3D format. In an obj file, different elements are distinguished by an unique tag, where position is marked as 'v', UV as "vt", normals as "vn", face as 'f'. And comment starts with a '#'. Every member of every element carries a c...
- Wed Aug 15, 2018 10:19 am
- Forum: Tutorials
- Topic: Writing an Obj Convertor in C
- Replies: 8
- Views: 9949
Writing an Obj Convertor in C
Attention : This topic is subject to the Programming Section under the tutorial An Imitable Workflow for Reverse Engineering A Game Model . Part III. Writing an Obj Convertor in C In this part I'll demonstrate you how to write a simple obj convertor in C (using C11 function models) for the nif file...
- Wed Aug 15, 2018 2:43 am
- Forum: 3D/2D models
- Topic: Armored Core 4 .000 files
- Replies: 17
- Views: 4513
Re: Armored Core 4 .000 files
Script updated. Select only .000 files as input.Portugalotaku wrote:It seems the script does not work on the sequential files.
- Tue Aug 14, 2018 1:44 pm
- Forum: 3D/2D models
- Topic: Garrysmod model to a .obj
- Replies: 5
- Views: 1445
Re: Garrysmod model to a .obj
Decompress the txt file with the following BMS comands: idstring "AD2F" goto 0xB getct STR string 0x1 string STR s "%d" Zsize for i = 0 < 9 getct STR string 0x1 next i goto 0x7 0 SEEK_CUR savepos Offset comtype LZMA_86HEAD goto 5 0 SEEK_CUR get Size long get Name basename string ...
- Mon Aug 13, 2018 4:17 am
- Forum: 3D/2D models
- Topic: Armored Core 4 .000 files
- Replies: 17
- Views: 4513
Re: Armored Core 4 .000 files
Thanks for the help, though sadly I cannot use hex2obj. Well, you don't want to extract all stuffs manually, of course. Which platform are the samples from btw? PS3? Now to figure out where the textures are... They're in the same file though I didn't care for them in the first place. So here's is a...
- Sun Aug 12, 2018 5:12 am
- Forum: 3D/2D models
- Topic: Armored Core 4 .000 files
- Replies: 17
- Views: 4513
Re: Armored Core 4 .000 files
Anyone knows how to open these? You can unzip the data with the following BMS commands. endian big goto 0x24 get Zsize long get Offset long goto 0x8 0 SEEK_CUR get Size long get Name string string Name + ".dcp" clog Name Offset Zsize Size Then you can extract the geometry within using hex...
- Sat Aug 11, 2018 12:35 pm
- Forum: Game Archive
- Topic: corolla sport virtual showroom [.pak]
- Replies: 1
- Views: 989
Re: corolla sport virtual showroom [.pak]
It's definitely NOT built with Unity, but Unreal engine. You can load it directly with umodel.nosfornos wrote: and built with unity engine, it's easily rippable if you extract pak file.
Anyway here's a BMS script written before I realized the above fact, which will unpack the file you uploaded.
- Tue Jul 31, 2018 2:59 pm
- Forum: Tutorials
- Topic: Extracting simple models
- Replies: 505
- Views: 327619
Re: Extracting simple models
Well, my opinions: for me h2o always something like "every time from scratch" because when I want to use it I always start from tutorial for it to then proceed with the format I want. If you'd never thought about what you were doing with your tool, you're never about to truely understand h...
- Sun Jul 22, 2018 10:34 am
- Forum: 3D/2D models
- Topic: UModel (Unreal Engine) - Normals Request
- Replies: 10
- Views: 3604
Re: UModel (Unreal Engine) - Normals Request
To be quite honest while I know Umodel reads normals, they sure as hell don't display them properly. Hopefully GG models don't employ special type of normals. From my rough glance on the source Umodel seems to auto calculate normals if the mesh contians no normals (or unsupported ones?). If that's ...
- Sun Jul 22, 2018 6:12 am
- Forum: 3D/2D models
- Topic: UModel (Unreal Engine) - Normals Request
- Replies: 10
- Views: 3604
Re: UModel (Unreal Engine) - Normals Request
Are you actually aiming to help? If so I wish you luck. I don't think questioning people like that is a polite way to ask for help. The upk files are compressed and I do not intend to spend any time on the format. But if UE Viewer actually read the normals when displayed, it should not be too diffi...
