pjft [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=42170 Converting HTML5 export to PNG? <p>Hi. Apologies for bothering, especially on my first post.</p> <p>I find lots of great PICO-8 games that are published over on itch.io but not on the BBS. I was trying to figure out if there'd be a way to convert the HTML5 output to a proper cartridge that we can load on PICO-8.</p> <p>I got as far as getting the byte array from the .js file (_cartdat), but then trying to export it to a binary file seems to create a corrupted cartridge.</p> <p>I tried over C, just load it into a char[] and then write it to a file. I have a 32kb file, but it's neither a PNG nor does it load.</p> <p>Is there anything else I should be looking for, or should I just give up on it?</p> <p>Thanks.</p> https://www.lexaloffle.com/bbs/?tid=36593 https://www.lexaloffle.com/bbs/?tid=36593 Sat, 25 Jan 2020 20:52:56 UTC