ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax
It is currently Sun Jan 29, 2023 11:45 am

All times are UTC




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: Help recognize data type
PostPosted: Tue Jan 17, 2023 9:24 am 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 165
Hi folks. Another speck!
Almost figured it out. But there is always something i simply can't get over it. The thing is i need to find out what data type can possibly be used in this sample. I need get x,y,z coordinates. Luckily there's no rotation at all. Only pos X pos Y pos Z.
To make it clear i captured some info from my research.

As you can see i find coordinates for cluster. Working units: cm
Image

But can't find coordinates for meshes. I seek that address 9264 but can't see anything related to the values shown in maya. BTW i captured that scene with clusters and align meshes to it to get at lest approx position.
Image
Image

Searched on net for RenderWare data types and found this. Anyway this is RenderWare 3.6 at least from what i saw in memory dump. Unfortunately there is limited info about others RW games.
Code:
http://www.tnlc.com/rw/api/rwv21011.htm



EDiT: Sorry guys for misleading... I find some clues. I was wrong with offset. Also i find out possible data type. Maybe byte or ubyte, still not sure but now i know more about values.
Code:
94 7F 03 33 B1 7F B3 31

This data represents values for 2 meshes in cluster. One mesh 4 bytes.
In my theory for all byte or ubyte:x,y,z,brightnes < I was doing test with it. I put 0 on it and mesh disappear. When i put anything above 0 mesh appear. The higher value the brighter mesh was.

I also tinker with cluster pos if it take effect and it does.
Image

So these are correct values for those two meshes. But how they are converted to be like as on image in maya???
Image

OK after some test it seems to be more clear. The 127 byte value is a center of mesh pos. So i think that every value below 127 goes right and any value above 127 goes left. Since ubyte has value of 255. Does anyone got it?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited