ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.23k stars 223 forks source link

Tomb Raider 2013 Linux Port: Unimplemented Opcode (FF) 65 23 57 08 C7 C7 F8 FE #425

Open Firlaev-Hans opened 3 years ago

Firlaev-Hans commented 3 years ago

The Feral Interactive Linux Port of Tomb Raider 2013 doesn't launch: log.txt

Firlaev-Hans commented 3 years ago

Next one: Unimplemented Opcode (70) 65 21 58 10 65 8B 40 08 log.txt

Firlaev-Hans commented 3 years ago

Another one...

7027|0x819eaa4: Unimplemented Opcode (33) 65 0F AF 41 04 65 89 41
7027|SIGSEGV @0xf0c6fb10 (???(/lib/arm-linux-gnueabihf/libc.so.6/0xf0c6fb10)) (x86pc=0x6482c02b/???:"???", esp=0xf01b04dc, stack=0xef9b1000:0xf01b1000 own=(nil) fp=0xf01b04f8), for accessing 0x8820a0a8 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
7027|Double SIGSEGV (code=1, pc=0xf0c6fb10, addr=0x8820a0a8)!
Firlaev-Hans commented 3 years ago

Now it just segfaults

10562|SIGSEGV @0xe6499e4c (???(0xe6499e4c)) (x86pc=0x819eaa4/./TombRaider:"./TombRaider/_ZNKSt9type_info15__is_function_pEv + 10981", esp=0xf52d1510, stack=0xf4ad2000:0xf52d2000 own=(nil) fp=0x58683bd7), for accessing 0x6ff7dbc9 (code=1/prot=0), db=0x6653fbd0(0xe6499b3c:0xe6499ea8/0x819ea05:0x819eab2/./TombRaider/_ZNKSt9type_info15__is_function_pEv + 10981:clean, hash:10861e96/10861e96)
10562|Double SIGSEGV (code=1, pc=0xe6499e4c, addr=0x6ff7dbc9)!
10562|SIGSEGV @0xf5d90b10 (???(/lib/arm-linux-gnueabihf/libc.so.6/0xf5d90b10)) (x86pc=0x6488102b/???:"???", esp=0xf52d14dc, stack=0xf4ad2000:0xf52d2000 own=(nil) fp=0xf52d14f8), for accessing 0x8820a0a8 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
10562|Double SIGSEGV (code=1, pc=0xf5d90b10, addr=0x8820a0a8)!
Firlaev-Hans commented 3 years ago

...

6986|0x819eac3: Unimplemented Opcode (FF) 65 D3 68 1C 83 FF 00 0F
6986|SIGSEGV @0xed310b10 (???(/lib/arm-linux-gnueabihf/libc.so.6/0xed310b10)) (x86pc=0x63fb602b/???:"???", esp=0xec850efc, stack=0xec052000:0xec852000 own=(nil) fp=0xec850f18), for accessing 0x8820a0a0 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
6986|Double SIGSEGV (code=1, pc=0xed310b10, addr=0x8820a0a0)!
Firlaev-Hans commented 3 years ago
9310|0x819ed72: Unimplemented Opcode (0C) 65 29 77 24 BA 4F 86 C8
9310|SIGSEGV @0xf5658b10 (???(/lib/arm-linux-gnueabihf/libc.so.6/0xf5658b10)) (x86pc=0x637bd02b/???:"???", esp=0xf4b98eec, stack=0xf439a000:0xf4b9a000 own=(nil) fp=0xf4b98f08), for accessing 0x8820a0a8 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
9310|Double SIGSEGV (code=1, pc=0xf5658b10, addr=0x8820a0a8)!
ptitSeb commented 3 years ago

Is this game doing everything from GS: segment?!! So many opcodes with the 65 (GS:) prefix!!!

Firlaev-Hans commented 3 years ago

Is this game doing everything from GS: segment?!! So many opcodes with the 65 (GS:) prefix!!!

Sorry but I don't have the slightest idea what that means Anyways...

Error: PltReolver: Symbol curl_global_init(ver 2: curl_global_init@CURL_OPENSSL_4) not found, cannot apply R_386_JMP_SLOT 0xa404c94 (0x81993c6) in ./TombRaider
9550|SIGSEGV @0xf664dfdc (???(/lib/arm-linux-gnueabihf/libc.so.6/0xf664dfdc)) (x86pc=0x6498917b/???:"???", esp=0xf5b87ecc, stack=0xf5389000:0xf5b89000 own=(nil) fp=0xf5b87f18), for accessing 0x3 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
9550|Double SIGSEGV (code=1, pc=0xf664dfdc, addr=0x3)!
ptitSeb commented 3 years ago

Ok, that's odd, "curl_global_init" is already wrapped. I don't understand why it wouldn't find it

Firlaev-Hans commented 2 years ago

Okay I just tried it again today: Unimplemented Opcode (FF) 65 31 47 1C 0F B6 44 24

Firlaev-Hans commented 2 years ago

Back to this again:

Error: PltReolver: Symbol curl_global_init(ver 2: curl_global_init@CURL_OPENSSL_4) not found, cannot apply R_386_JMP_SLOT 0xa404c94 (0x81993c6) in ./TombRaider
10533|SIGSEGV @0xeeb68fdc (???(/lib/arm-linux-gnueabihf/libc.so.6/0xeeb68fdc)) (x86pc=0x6581417b/???:"???", esp=0xee0a2eac, stack=0xed8a4000:0xee0a4000 own=(nil) fp=0xee0a2ef8), for accessing 0x3 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
10533|Double SIGSEGV (code=1, pc=0xeeb68fdc, addr=0x3)!
10533|SIGSEGV @0xc6 (???(0xc6)) (x86pc=0x63e8002b/???:"???", esp=0xee0a2e78, stack=0xed8a4000:0xee0a4000 own=(nil) fp=0xee0a2e94), for accessing 0xc6 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0)
10533|Double SIGSEGV (code=1, pc=0xc6, addr=0xc6)!