Log In  

Hi

I'm a fresher of pico-8, so I want to read some exist object code.

The default font is hard to read in launcher, so I try to use some editor like vs-code to open the cartridge file(*.p8.png), but it seems like it is a binary file and unreadable.

Anyone have some advises?

P#117960 2022-09-25 20:22

You can open the cartridge in Pico-8 and save it as a .p8 file (without the .png extension). That will save it in text format, and you can then open it in your preferred editor.

Or, you can read the code on the BBS. Every cartridge on the BBS has an option to view the code below it.

P#117961 2022-09-25 21:30

Simple load it in pico-8 and save it as "<name>.p8" - this should create a ASCII-File, which can be open with nearly any editor.

otherwise you can try jaP8e - https://www.lexaloffle.com/bbs/?tid=49307 - it can display the source code in p8-font or in font with higher resolution (selectable in the "zoom"-menu)

P#118106 2022-09-28 11:28

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 02:24:08 | 0.007s | Q:12