shinovon / KEmulator

KEmulator nnmod
https://nnp.nnchan.ru/kem
61 stars 8 forks source link

Galaxy on Fire 2; random canvas rotation and shift #43

Open BaalNetbek opened 2 months ago

BaalNetbek commented 2 months ago

Game: Galaxy on Fire 2, M3G and Mascot Capsule KEmulator nnmod 2.16, 2.16.2 Swerve and LWJGL.

What seems randnomly when loading new scene, eg. leaving a station, (once per game open in my experience) game's 3D canvas randomly shifts and may rotate. Once it is deformed it's stays that way (doesn't deform twice) even when returning to station or reentering space.
To force it trigger I just fly in and out of station Bug doesn't happen in older builds with such low resolution. In older Kemulator versions bug happened to me very rarely when modding the game (even in mascot capsule version) but now it's consistant.

From my testing bug seems to be independet from speed and resoultion.

Older nnmod too have this bug. I'm not sure yet how early I was introduced. 1.0.3 and 0.9.8 don't have that bug. Swerve: obraz

LWJGL obraz

LWJGL (not modded game) obraz

Swerve 240x320: obraz

shinovon commented 2 months ago

Can i have jars with games?

BaalNetbek commented 2 months ago

gof2.zip I think sure about the resolution not having influence. It can definitely be triggered at 240x320 but it seems to be easier to at higher resolutions.

BaalNetbek commented 2 months ago

past intro game saves rms.zip + the mod from screenshot it's not relevant to the bug but I think worth mentioning

BaalNetbek commented 2 months ago

Sorry I sent wrong saves previously. rms.zip new

BaalNetbek commented 1 week ago

The bug sometimes happen in initial loading screen when launching the game.

BaalNetbek commented 1 week ago

The broken state can be reverted to normal state in v2.16 by rotating screen twice (Ctrl+Y). In v2.15.2 screen becomes all white after rotating.

Feodor0090 commented 1 week ago

I feel that sizeChanged has some setup flows, KEm must call that initially but it does not. Rotating screen calls sizeChanged so attempt to rotate "fixes" that.