Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find and document entities room data #94

Open
kemenaran opened this issue Jul 27, 2019 · 1 comment

Comments

@kemenaran
Copy link
Collaborator

commented Jul 27, 2019

For now a few pieces of the room-loading code are well-documented:

However the code indicating which entities are in a given room, and what is their initial position is still undocumented.

TODO

  • Find the entities room data
  • Document the code loading this data

References

@kemenaran kemenaran changed the title Find and document the room data for entities Find and document entities room data Jul 27, 2019

@kemenaran

This comment has been minimized.

Copy link
Collaborator Author

commented Aug 16, 2019

The data responsible for this has been dumped and added to the disassembly (see data/entities/*.asm).

The format is similar to the room objects: each room has an entities list, made of an entity ID and a position.

However the data/entities/entities.asm is not properly formatted yet. It would need proper cross-referencing with the pointers table. This requires writing a small Python script to properly parse the data and emit nicely formatted assembly files. Probably by augmenting map-parser.py to handle this kind of data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.