Comments (2)
I believe I understand now how they are supposed to work since I had to use them in the new save-game parser here:
It looks like these are actually references to other VObs in the same archive. Their index
field contains the index of the object being referenced. Basically, any object within the archive can be referenced this way.
Implementing this fully, as originally intended, in phoenix would require additional memory overhead since we'd have to (at least) store the start position of each object in the VOb. We probably wouldn't be able to fully implement them anyways since the original archive implementation was tightly integrated in the game engine so this kind of reference would actually be able to grab a fully initialized VOb pointer and put it right there.
This means, the only real way to handle these is to save the object indices only where required and then use the references on a case-by-case basis. This means we need to find where §
-VObs are actually used and make sure we're parsing them correctly (looking at you cs_camera
).
from zenkit.
Hm it looks like this feature is not generally used within most archives. For now, it looks like we don't need to worry about supporting this in general.
from zenkit.
Related Issues (20)
- Multiple "not fully parsed" messages in Gothic 1 HOT 6
- Issues with TheChroniclesOfMyrtana mod HOT 23
- Procedure entry point failure at runtime when linking phoenix HOT 6
- Out of memory crash while parsing `ORCGRAVEYARD.ZEN` HOT 3
- [v1.1.1] Missing catch/re-throw on `sto_` calls
- DaedalusVM - external_function call - shared_ptr seems to point to nowhere any longer HOT 2
- `npc_type` mismatch between G1 and G2 HOT 5
- Syntax error while pasrsing `orctempel.zen` HOT 2
- Parse of "JustWhite" lighting preset resulting in wrong color HOT 3
- Parse of empty model-source HOT 7
- Reconsider usage of `unordered_set/map` HOT 4
- Incorrect parsing of `mds::event_tag`
- `Vfs::child` : Name comparison fails due to extra whitespace HOT 6
- Vfs: Node names may be cut off if the contain spaces HOT 2
- CI tests fail after 9e8458ed
- High order functions HOT 5
- Improvals to function calls HOT 4
- Support `-flto` HOT 2
- Performance consern regardless `zenkit::Polygon` HOT 6
- ZenKit migration issues HOT 8
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 zenkit.