How to create whole package with pico-8 scripts and launch it with .sh file?

Hello everyone!

I’m developing a game in PICO-8 and want to port it to a console. My game consists of several .p8 files, which can easily be loaded into the ROMS folder and launched using the native PICO-8 application. I’ve already done this, and everything works fine on my console running muOS.

I’m curious—is it possible to bundle all .p8 scripts into a single .data file and write an .sh script that would automatically launch the game in PICO-8?

What I’m aiming for is to have just two files instead of multiple scripts:

  1. One file containing all the data and scripts (.data),
  2. And an executable .sh file to load and run the game.

Would this be feasible?