Skip to content

Document WorldMapViewModel - #208

Open
vswarte wants to merge 8 commits into
mainfrom
feat/start-world-map-view-model
Open

Document WorldMapViewModel#208
vswarte wants to merge 8 commits into
mainfrom
feat/start-world-map-view-model

Conversation

@vswarte

@vswarte vswarte commented Feb 6, 2026

Copy link
Copy Markdown
Owner

No description provided.

@vswarte
vswarte force-pushed the feat/start-world-map-view-model branch from f343899 to f72a86f Compare February 16, 2026 07:42
@vswarte
vswarte requested review from axd1x8a and nex3 and removed request for nex3 February 16, 2026 07:43
@vswarte
vswarte marked this pull request as ready for review February 16, 2026 07:43
Comment thread crates/eldenring/src/cs/menu_man.rs Outdated
Comment thread crates/eldenring/src/cs/menu_man.rs Outdated
Comment thread crates/eldenring/src/cs/menu_man.rs Outdated
Comment thread crates/eldenring/src/cs/menu_man.rs Outdated
}

#[repr(C)]
pub struct WorldMapViewModelUnk50 {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using UnknownStruct for structs where we don't know the names of the struct or any fields.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use such a generic name if this type grants it an easier name to communicate with?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean the UnknownStruct that's defined in the shared package. So in this case, instead of defining this struct, you'd just write unk50: UnknownStruct<0x20>, and then fill it out later once you know anything about the semantics.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am not sure how sensible this is in this situation since we do know the layout for the most part (obtained by inspecting the constructor)

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although I do see a point in not exposing these types, hmm give me a few to think on this

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My feeling is that if we have no information on the actual meaning of the struct or any of its fields, the layout isn't really useful at all. You'd need to see it in use to make any sense of it, which effectively means you'd need Ghidra access anyway, so keeping that layout data in Ghidra isn't causing any harm.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha - fixing

Comment thread crates/eldenring/src/position.rs Outdated
Comment thread crates/eldenring/src/position.rs Outdated
vswarte and others added 5 commits February 17, 2026 03:49
Co-authored-by: Natalie Weizenbaum <nex342@gmail.com>
Co-authored-by: Natalie Weizenbaum <nex342@gmail.com>
Co-authored-by: Natalie Weizenbaum <nex342@gmail.com>
Co-authored-by: Natalie Weizenbaum <nex342@gmail.com>
@vswarte
vswarte requested a review from nex3 February 18, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants