PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
39 stars 9 forks source link

ERROR: program tried to execute code outside VM #10

Closed SanskritFritz closed 3 years ago

SanskritFritz commented 5 years ago

Hi. I compiled the source first from git branch 1.6 and then from the wop-1.6.0-full.zip file with a simple make. Both binaries crash with the following error message:

Loading vm file vm/ui.qvm...
File "vm/ui.qvm" found in "./wop/wop_006.pk3"
...which has vmMagic VM_MAGIC_VER2
Loading 1305 jump table targets
VM file ui compiled to 937144 bytes of code
ui loaded in 1977664 bytes on the hunk
********************
ERROR: program tried to execute code outside VM
********************
recursive error after: program tried to execute code outside VM

The precompiled binaries from the wop-1.6.0-full.zip file don't have this problem, they run fine. I searched on google, and found the same problem, but I just couldn't find the solution. Can you please help me?

mgerhardy commented 3 years ago

You need to create a pk3dir or new pk3 with the updated ui qvms in. The qvm file is from wop 1.6 - the binaries are 1.6.1 - they are not compatible.

mgerhardy commented 3 years ago

If it is still an issue, please reopen - otherwise I'm trying to get the tickets closed for 1.6.1 and close this for now.

SanskritFritz commented 3 years ago

Woa, development picked up again, this report was a long time ago :smile: Thanks for the tip, I'll go for the new version now anyway.