0% found this document useful (0 votes)
26 views1 page

KNULLI Modular Script Configuration

This Bash script is designed for modular use with KNULLI, allowing specific script lines to be sourced for ports. It sets environment variables for 32-bit ports and defines options for running Godot games. Additionally, it includes a placeholder function for platform-specific operations.

Uploaded by

Paulo Ubiratan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views1 page

KNULLI Modular Script Configuration

This Bash script is designed for modular use with KNULLI, allowing specific script lines to be sourced for ports. It sets environment variables for 32-bit ports and defines options for running Godot games. Additionally, it includes a placeholder function for platform-specific operations.

Uploaded by

Paulo Ubiratan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

#!

/bin/bash
#
# SPDX-License-Identifier: MIT
#

## Modular - KNULLI
#
# A modular file that is sourced for specific script lines required by ports
running on KNULLI.
#
# usage `[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "$
{controlfolder}/mod_${CFW_NAME}.txt"`

PORT_32BIT="${PORT_32BIT:-"N"}"

if [[ "$PORT_32BIT" == "Y" ]]; then


export SPA_PLUGIN_DIR="/usr/lib32/spa-0.2"
export PIPEWIRE_MODULE_DIR="/usr/lib32/pipewire-0.3/"
fi

# Use for Godot 2


GODOT2_OPTS="-r ${DISPLAY_WIDTH}x${DISPLAY_HEIGHT} -f"

# Use for Godot 3+


GODOT_OPTS="--resolution ${DISPLAY_WIDTH}x${DISPLAY_HEIGHT} -f"

pm_platform_helper() {
# DO SOMETHING HERE
printf ""
}

You might also like