Hit effects are oversized
Closed this issue · 3 comments
And also the colors are wrong (shifted?), but that might be an other issue.
The following screenshot shows a simple bullet hit effect that is grossly oversized.
I have tracked the code to the ETG.c
file (Effects of The Gods). It would appear there is some assembly magic involved in executing the compiled effect bytecode.
I don't know to what point I can debug that...
I forgot to mention that this only happens with the 64bit version of the game.
I have tried to compile and run a 32bit version, and the effects render perfectly.
Therefore the problem must reside in the x86_64 assembly (marked with compilation flag __x86_64__
).
Mark Underwood has rewritten the etg code in C so it can be compiled on more platforms (I think that was part of the ARM port). I have tested it on 32bit and it seems to be working fine (except for the explosion textures, which don't render).
So if I could port this code to 64bit, maybe that would solve the issue.