marinesciencedude / xenia-canary-mousehook

Xbox 360 Emulator Research Project, Mousehook included
https://xenia.jp
Other
31 stars 3 forks source link

Gears of War 2 hangs after enabling foreign language #35

Open Andryshik345 opened 1 week ago

Andryshik345 commented 1 week ago

Validation

Describe what's going wrong

KB and mouse works fine, if english setting is enabled in xenia's config, but as soon as I enable different language (e.g. Russian), the game hangs (crashes?) right on the start screen after pushing START button (Enter in bindings). I went even further just to be sure: tried to connect the gamepad, pushed START button, turned it off and then tried to push A button (LShift or Space in bindings). But the game still freezes at that moment.

Describe what should happen

Should work with different languages just like with english one ;p.

If applicable, provide a callstack here, especially for crashes

No response

If applicable, upload a logfile and link it here

xenia.log

Clippy95 commented 1 week ago

This seems to happen only on TU0 and you get past it on TU6 but mouse doesn't work, didn't think of switching languages. means that cameras are multi-pointers and would need a re-work.

EDIT: it seems like for Gears 2+ the chain might go like this 40BE3D68 0x1BC -> 0x1B0 -> 0x40 -> 0x62/0x66 the problem with attempting to fix this is I'm afraid that that could be not reliable and it'd break somehow, so my apologizes this might not get fixed any time soon

EDIT2: Alright it seems like the proper offset for this in Gears 2 at least is GEngine? (0x8312327C) -> 0x32C -> 0x0 -> 0x40 -> 0x62/66 camera. Gears 3: GEngine (0x834290BC) -> 0x4A0 -> 0x0 -> 0x40 -> / 0x62/66

Clippy95 commented 6 days ago

The crash on TU0 is due to rightscale address, disabling use_right_stick_workaround_gears1and2 will get you through but mouse doesn't work like I've said. EDIT: This here will work but, you'll have to disable the workaround and maybe make the ue3 timer something like 10 or 15, xenia_canary.zip