Page 1 of 1

Royal Quest model viewer

Posted: Mon Aug 20, 2012 2:21 pm
by jowsss
Hi, i have unpacked the game files, I would be able to browse models, but most do not have such knowledge, can anyone help?

__
Привет, есть распакованные файлы игры, хотелось бы получить возможность просматривать модельки, но у самого таких познаний нет, может кто поможет?


files:
.ab (animblocks)
.mesh (meshes)
.dds (textures)

Re: Royal Quest model viewer

Posted: Mon Aug 20, 2012 4:16 pm
by Gh0stBlade
Vertices are fairly easy to load.

0x124 = Number Of Vertices
0x128 = Size of singular vert

So (NumVerts * 0x1C) then load it in Noesis. It appears to work but when i try load the faces it comes out wrong unfortunately.

Re: Royal Quest model viewer

Posted: Mon Aug 20, 2012 8:10 pm
by finale00
Faces are just a bunch of triangles. Just read int times 3 to get the number of indices and then bind the following buffer.
I wonder how they might be storing the UV's and normals though.

Maybe the just read a short and divide it by 32768


More samples. I can only guess what some of those integers in the header mean.

Re: Royal Quest model viewer

Posted: Tue Aug 21, 2012 3:04 am
by jowsss

Re: Royal Quest model viewer

Posted: Fri Aug 24, 2012 5:38 am
by jowsss
any good news?

Re: Royal Quest model viewer

Posted: Sat Aug 25, 2012 2:50 pm
by Karpati
jowsss wrote:any good news?
Just use the 3D Object Converter v5.0 (unpublished yet):
http://3dconverter.webege.com/develop

The .mesh file has the wrong references for the texture file.
If the .mesh and the .dds files are in same directory, the program will fix it automatically.

I uploaded some converted files:
http://3dconverter.webege.com/converted

Re: Royal Quest model viewer

Posted: Mon Aug 27, 2012 10:59 am
by jowsss
a great program, but I do something similar, but for the site, so that others can see