Open RkShaRkz opened 8 months ago
64 86 8B 30 03 00 00
is xchg byte ptr fs:[rbx+0x330], cl
, it's not yet implemented in box64 yes.
Ok, I added this opcode on the interpreter only for now. It should allow the program to load further.
While the program definatelly continues further, and the game seems to start running, it crashes shortly after that (before main menu or intro is shown) and the following info can be seen with LOG=3
Run X86 (0x557d2a50), RIP=0x1005932ea, Stack=0x10118f698 is32bits=0
Run X86 (0x557d2a50), RIP=0x100593321, Stack=0x10118f698 is32bits=0
End of X86 run (0x557d2a50), RIP=0x100593321, Stack=0x10118f698, unimp=1, emu->fork=0, emu->uc_link=(nil), emu->quit=0
2304|0x100593321: Unimplemented Opcode (03 00 00 C3) 64 66 45 39 9C F2 74 03 00 00 74 14 48 8D BC
return 0x0
End of X86 run (0x557d2a50), RIP=0x100593321, Stack=0x10118f698, unimp=0, emu->fork=0, emu->uc_link=(nil), emu->quit=1
cc @ptitSeb @ksco the original problem has been resolved however the binary is running into a different unimplemented opcode. Do i just leave it as a part of this issue, or we mark this issue resolved and I open a new issue?
Oh sorry I missed this, I'll add the missing opcode. I think it's OK to stay on this issue, as it's the same kinda issue.
Added that opcode above, can you try again?
Added that opcode above, can you try again?
ofc. i'll let you know what happens sometime tomorrow, or sunday if life gets in the way :)
Added that opcode above, can you try again?
Ok, it's not complaining about any more unimplemented things, however it's crashing. I'm investigating the real reason why, but so far i think it's hitting a SIGSEGV after failing to create a .darwinia
folder in root.
Feel free to resolve the issue as far as i'm concerned :) @ksco
I own this game on both GOG and Steam, but I don’t think it’s the same version as yours, could you send me a copy via the email on my profile? It’s a small game, hoping this isn’t too much trouble for you.
I own this game on both GOG and Steam, but I don’t think it’s the same version as yours, could you send me a copy via the email on my profile? It’s a small game, hoping this isn’t too much trouble for you.
sent.
I took a look, but don't know where the segfault came from. :(
oh btw windows version of the game work great with box64 + wine.
I took a look, but don't know where the segfault came from. :(
oh btw windows version of the game work great with box64 + wine.
Did you hit the segfault at all or... ?
since i'm running this on an ARM device, is wine included with box64 out of the box or... ?
also, regular x86 darwinia 2.0.0.5 works fine with box86.
we're mainly using box86/box64 as a translation layer to run linux games on arm devices, however we still have zero games working with box64. but if it has wine out of the box then perhaps windows games can be tried as well.
but i think we just can't use wine, since i think it needs x11, and we don't have x11 on the device. in fact, anything that needs x11 is a no-go. if it doesn't need x11 then i don't know why it hasn't been tried yet and have no good excuse :D
While trying to run darwinia 10k (darwinia 10000th anniversary version) i ran into this problem.
In fact, the common log just says this:
and i'm unsure whether the crash-on-start is caused by the libz missing simbols or the unimplemented opcode, but i'm guessing it's the opcode.