Comments (1)
I wrote a Python parser using construct
as a tool to investigate the file further. It works for data/dbg/dbg_HOB
but not for other files - although the headers can be successfully parsed in some cases (I hope to add more functionality to make it able to handle stuff it doesn't understand yet, rather than just stopping - maybe I need to rewrite it in a more "offset-based" way).
A nice feature of construct
is that it is symmetric, so (in theory) the same data structure can be used for parsing or for writing a file. For now it is just a computer-readable version of the spec...
Using this parser (and manual work with a hex editor), some interesting things I've noticed:
object_effects
: this array (based on the strings) looks like it might describe parts of the object with reflective/emissive properties, like cockpit canopy glass, engine/engine glow, and the chrome on/data2/koelsch_HOB
.unknown_matrices_maybe_orientation
: these structs don't seem to contain any offsets and have strings like "ab", "scnd", "zf", "zt", "zb", "zr", "zl", and "trl" (these names look similar for the player craft I looked at, but are different in e.g.data/imp_stuff/atat_HOB
). I call them "matrices" but I don't know what they are for sure.imp_stuff/tieinter_HOB
seems to have another header following the 0xFFFFFFFF of the first one. The offsets to the two parts of this header are right after the offsets for the "normal" header, they are the first 8B of what is normally 12B of zeros in the Object struct.
from rerogue.
Related Issues (8)
- Hello, i'm looking for command to use this discover ... and can it work too for Rogue Squadron 2 and Rogue Squadron 3 on PS2 ?? games are from factor 5 too, and the same struture folder HOT 6
- Correct Method of Compiling & Running Documentation? HOT 9
- Speech MORT format codec parsing/decoding HOT 17
- Need help with hmp2obj HOT 10
- Use DAT files directly in all tools HOT 4
- TXT file datas types HOT 14
- Python bundle (un)pack; opkg files; craft animation/weapons config? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rerogue.