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

world textures- vehicles and characters are not HD #23

Open
MaKiPL opened this issue Feb 4, 2020 · 5 comments
Open

world textures- vehicles and characters are not HD #23

MaKiPL opened this issue Feb 4, 2020 · 5 comments
Labels
long-term Long term means only workaround solution is provided as real issue cannot be located so far Patch request A request for implementation an unofficial patch/feature to the base game

Comments

@MaKiPL
Copy link
Owner

MaKiPL commented Feb 4, 2020

No description provided.

@MaKiPL MaKiPL added the Patch request A request for implementation an unofficial patch/feature to the base game label Feb 4, 2020
@Sebanisu
Copy link
Contributor

Sebanisu commented Jun 1, 2021

They all collide
default squall is in the top left of wmset_015_0 but when selphie takes over she uses the same part of the texture. So the game is overwriting it's buffer or something when we aren't overriding the texture. We need a way to detect which party members etc. So we know what texture to load. Or if possible we could override the individual textures somehow. The original tim files are all separate. The game combines them. This might not be possible. The game doesn't seem to use the tim x,y locations.

Vehicles like cars and trucks seem to use the top right. I haven't really checked all them. I think we'll see similar issues.

@mcindusmods
Copy link

We could always use hashcodes for those exceptions if there are no other options.

@Sebanisu
Copy link
Contributor

I'm not sure when we'd be able to hash. If we could get more values from memory related to knowing what texture needs loaded we could do it with out hashes. Like if we could read who is party leader or what kind of vehicles are on the map. Or if we could detect which tims the game is loading we could set flags saying which main character texture was most recently read or something.

@MaKiPL
Copy link
Owner Author

MaKiPL commented Sep 16, 2021

Yeah, world map segments use atlas to render.
If you want to change the chunk of pre-uploaded to VRAM texture you use this:
https://docs.microsoft.com/en-us/windows/win32/opengl/gltexsubimage2d

This will allow pushing only Selphie texture without editing whole texture.

@MaKiPL MaKiPL added the long-term Long term means only workaround solution is provided as real issue cannot be located so far label Jan 3, 2023
@MaKiPL
Copy link
Owner Author

MaKiPL commented Aug 21, 2024

Balamb garden:
obraz
DrawElements:
obraz
TexCoordPointer access:
obraz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long-term Long term means only workaround solution is provided as real issue cannot be located so far Patch request A request for implementation an unofficial patch/feature to the base game
Projects
None yet
Development

No branches or pull requests

3 participants