Use the GDK's xg_xs.dll for exact texture layouts when it is installed #25

Open
opened 2026-11-29 00:20:02 +00:00 by edsuuu · 0 comments
edsuuu commented 2026-11-29 00:20:02 +00:00 (Migrated from github.com)
Contributor

Imported from edsuuu/VI-BR-PORT. Originally posted by edsuuu on 2026-11-29T00:20:02Z.


The game asks the console's texture library (xg_xs.dll) how its textures are laid out in memory (tiling, mip placement, sizes). We answer with our own implementation of that layout.

When a player has the Microsoft GDK installed, the real xg_xs.dll could be loaded instead (never shipped with the project), to get the console's exact layouts, and to compare ours against it where they differ.

<!-- greyfinch-sync:edsuuu/VI-BR-PORT:issue:6672873205 --> Imported from [edsuuu/VI-BR-PORT](https://github.com/edsuuu/VI-BR-PORT/issues/25). Originally posted by [edsuuu](https://github.com/edsuuu) on 2026-11-29T00:20:02Z. --- The game asks the console's texture library (`xg_xs.dll`) how its textures are laid out in memory (tiling, mip placement, sizes). We answer with our own implementation of that layout. When a player has the Microsoft GDK installed, the real `xg_xs.dll` could be loaded instead (never shipped with the project), to get the console's exact layouts, and to compare ours against it where they differ.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
edsuuu/VI-BR-PORT#25
No description provided.