Log In  
Follow
SethGeib

I am trying to create a script that will run Pico-8 natively on my Anbernic RG35XX Plus.

When I try to get it to run using the pico8_dyn raspi binary I am getting the following error:

SDL Error: SDL not built with haptic (force feedback) support

** FATAL ERROR: Unable to initialize SDL

I've been able to get it to boot, albeit without video, but this is requiring me to build my own version of SDL2, since haptic support is being required by Pico-8 and is not available in the RG35XX native SDL2 system files.

I'd like to avoid having to compile a new version of SDL2 just to "provide haptic support". Is there anything I can do do bypass this requirement in my native SDL2?

Here's my script so far:

#!/bin/bash

# Define variables
SCRIPT_DIR="$(dirname "$0")"
PICO_DIR="$SCRIPT_DIR/pico-8"

# Navigate to the script directory
cd "$SCRIPT_DIR"

# Function to check if a package is installed
is_package_installed() {
    dpkg -l "$1" &> /dev/null
}

# Install dependencies if they are not already installed
if ! is_package_installed wget; then
    apt-get update
    apt-get install -y wget
fi

if ! is_package_installed unzip; then
    apt-get update
    apt-get install -y unzip
fi

# Check if PICO_DIR exists, if not, download and extract Pico-8
if 

[ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=140769#p)
4
20 comments