dansanderson / picotool

Tools and Python libraries for manipulating Pico-8 game files. http://www.lexaloffle.com/pico-8.php
MIT License
367 stars 46 forks source link

Emoji support #49

Closed rickomax closed 2 years ago

rickomax commented 6 years ago

Seems PicoTool is not accepting the emoji-like symbols Pico-8 files uses:

C:\Users\ricko\AppData\Roaming\pico-8\carts>python XXX\p8tool luafmt test.p8 test.p8: Syntax error (remaining:b'\xf0\x9f\x85\xbe\xef\xb8\x8f,0)) then\n') at line 636 char 30

rickomax commented 6 years ago

Related to #36

Liquidream commented 5 years ago

Yup, having the same issue when trying to use luamin with code like:

if(btn(⬆️)) ship.thrust+=acc
if(btn(⬇️)) ship.thrust-=acc 
dansanderson commented 2 years ago

I believe this is the same as #36 so I'm resolving as a dupe. There's a potential solution in a pending PR that I hope to fold in soon.