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

Implement the mapper tool (extraction of geometry data from the client) #48

Open
alexrp opened this issue Aug 15, 2023 · 6 comments
Open
Assignees
Labels
area: build Issues related to the build system. area: geometry Issues related to world geometry and navigation. area: infrastructure Issues related to infrastructure (GitHub, CI, etc). area: research Issues related to reverse engineering of the game. area: spatial Issues related to spatial reasoning (geometry and navigation). area: tools Issues related to the internal CLI tools. state: approved Enhancements and tasks that have been approved.
Milestone

Comments

@alexrp
Copy link
Member

alexrp commented Aug 15, 2023

https://github.com/tera-arise/arise/tree/master/src/tools/mapper

Lots of research to be done here still.

@alexrp alexrp added state: approved Enhancements and tasks that have been approved. type: feature area: tools Issues related to the internal CLI tools. labels Aug 15, 2023
@alexrp alexrp added this to the v1.0 milestone Aug 15, 2023
@alexrp alexrp self-assigned this Aug 15, 2023
@alexrp alexrp added the area: research Issues related to reverse engineering of the game. label Aug 15, 2023
@alexrp
Copy link
Member Author

alexrp commented Aug 15, 2023

@foglio1024
Copy link
Member

foglio1024 commented Aug 15, 2023

Depends on:

  • Umodel
  • GPK_Repack CLI (included)

EDIT: pushed updated wip code to: https://github.com/Foglio1024/tera-map-tools

@alexrp
Copy link
Member Author

alexrp commented Aug 16, 2023

We would probably use this: https://github.com/ikpil/DotRecast

@alexrp
Copy link
Member Author

alexrp commented Aug 17, 2023

Informally assigning @foglio1024 since he's doing some investigation into topology stuff in the leaked official server files.

@alexrp alexrp added the area: geometry Issues related to world geometry and navigation. label Aug 20, 2023
@alexrp
Copy link
Member Author

alexrp commented Aug 20, 2023

Following the reverse engineering of the geometry format used by the leaked official servers, I've converted that data to a custom format that's much more compact (4 GB -> 970 MB). It will be stored in the arise-geometry repository, which will be used as a shallow submodule in this repository.

This geometry data is for patch 100.02 so it is obviously out of sync with the client we're targeting (115.02), but it will get us started. The goal is still to extract the geometry from the client ourselves.

@alexrp alexrp changed the title Implement the mapper tool (extraction of terrain data from the client) Implement the mapper tool (extraction of geometry data from the client) Aug 20, 2023
@alexrp alexrp added area: build Issues related to the build system. area: infrastructure Issues related to infrastructure (GitHub, CI, etc). labels Aug 20, 2023
alexrp added a commit that referenced this issue Aug 24, 2023
@alexrp alexrp modified the milestones: v1.0, v2.0 Sep 12, 2023
@alexrp alexrp added the area: spatial Issues related to spatial reasoning (geometry and navigation). label Sep 13, 2023
@alexrp alexrp modified the milestones: v2.0, Future Jan 1, 2024
alexrp added a commit that referenced this issue Jan 26, 2024
This just converts to our (much more compact) format for now.

Beginnings of #48.
@alexrp
Copy link
Member Author

alexrp commented Jan 26, 2024

The mapper tool can now take retail geometry/path data and convert it to our custom (and much more compact) formats.

The next step will be to integrate path data generation into the mapper tool so the only inputs are geometry files.

Then eventually we'll generate geometry from map files directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Issues related to the build system. area: geometry Issues related to world geometry and navigation. area: infrastructure Issues related to infrastructure (GitHub, CI, etc). area: research Issues related to reverse engineering of the game. area: spatial Issues related to spatial reasoning (geometry and navigation). area: tools Issues related to the internal CLI tools. state: approved Enhancements and tasks that have been approved.
Projects
None yet
Development

No branches or pull requests

3 participants