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

fast64 exports cutscenes that don't work when compiling with IDO #369

Open
Dragorn421 opened this issue Jun 29, 2024 · 0 comments
Open

fast64 exports cutscenes that don't work when compiling with IDO #369

Dragorn421 opened this issue Jun 29, 2024 · 0 comments
Labels
oot Has to do with the Ocarina of Time 64 side

Comments

@Dragorn421
Copy link
Contributor

See https://github.com/zeldaret/oot/blob/264581ff3fa28dade7544b0827ced1b1de683388/include/z64cutscene_commands.h#L24-L37

fast64 doesn't use CS_FLOAT for writing floats in cutscene data
When compiling with gcc this is fine because the float a ends up in CMD_F(a) {.f = (a)},
but when compiling with ido the float ends up cast to int, essentially becoming garbage when later read back as float by the game

This is not urgent to fix, as using gcc in a modding context is the better choice anyway, but it should be at least a known limitation / gotcha for now

@Dragorn421 Dragorn421 added the oot Has to do with the Ocarina of Time 64 side label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oot Has to do with the Ocarina of Time 64 side
Projects
None yet
Development

No branches or pull requests

1 participant