egordorichev / pemsa

Runtime emulation for PICO-8
MIT License
101 stars 4 forks source link

Pack/unpack not in global scope #10

Closed cominixo closed 3 years ago

cominixo commented 3 years ago

When trying to run a cart that calls any of these functions, they are not defined in the global scope. PICO-8 seems to use the default ones in lua's table library so it should be fine to just use that.

egordorichev commented 3 years ago

Easy enough to fix with unpack = table.unpack & etc. Added to my todo. Also, it would be really helpful if you could mention the carts that you are testing. Having a list of working carts would help us a lot, here is our current datasheet.

cominixo commented 3 years ago

I'm mostly testing Celeste (which should be 1:1 now after the foreach fix) and Celeste Mods, but most of these were random finds as well, without testing any specific carts.