#playdate-sdk #playdate #sdk #utilities

nightly playdate-simulator-utils

Cross-platform utils to deal with Playdate Simulator

6 releases

0.1.5 Apr 18, 2024
0.1.4 Apr 13, 2024

#716 in Development tools

Download history 390/week @ 2024-03-31 272/week @ 2024-04-07 197/week @ 2024-04-14 16/week @ 2024-04-21 28/week @ 2024-04-28 13/week @ 2024-05-05 2/week @ 2024-05-12 23/week @ 2024-05-19 7/week @ 2024-05-26 10/week @ 2024-06-02 25/week @ 2024-06-09

65 downloads per month
Used in 2 crates

MIT/Apache

33KB
765 lines

Playdate Simulator Utils

Cross-platform utils to do things with Playdate Simulator.

Usage:

let pdx = PathBuf::from("path/to/my-game.pdx");
let sdk = PathBuf::from("path/to/playdate-sdk");

// Create a future with command execution:
simulator::run::run(&pdx, Some(&sdk)).await;

// Or create a command and do whatever:
let mut cmd = simulator::run::command(&pdx, Some(&sdk)).unwrap();
let stdout = cmd.output().unwrap().stdout;
println!("Sim output: {}", std::str::from_utf8(&stdout).unwrap());

Prerequisites

  1. Rust nightly toolchain
  2. Playdate SDK with Simulator
    • Ensure that env var PLAYDATE_SDK_PATH points to the SDK root. This is optional, but good move to help the tool to find SDK, and also useful if you have more then one version of SDK.

State

Early development state.

There is just one method to run pdx with sim now.


This software is not sponsored or supported by Panic.

Dependencies

~0.4–13MB
~145K SLoC