Skip to content

Instantly share code, notes, and snippets.

View Langerz82's full-sized avatar

Joshua L Langerz82

View GitHub Profile
@Langerz82
Langerz82 / setres.sh
Last active November 12, 2025 00:20
EE4.3 - setres.sh exaplained for cvbs.
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
# Read the video output mode and set it for emuelec to avoid video flicking.
# This file sets the hdmi output and frame buffer to the argument in pixel width.
# Allowed argument example ./setres.sh 1080p60hz <-- For height 1080 pixels.
@Langerz82
Langerz82 / setres.sh
Last active November 8, 2025 09:34
EmuELEC 4.3 - setres revised.
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Shanti Gilbert (https://github.com/shantigilbert)
# Copyright (C) 2022-present Joshua L (https://github.com/Langerz82)
# 2025-present DiegroSan (https://github.com/Diegrosan)
# Read the video output mode and set it for emuelec to avoid video flicking.
# This file sets the hdmi output and frame buffer to the argument in pixel width.
@Langerz82
Langerz82 / amiberry-lite.sh
Last active October 27, 2025 08:30
EmuELEC - v4.8TEST - amiberry-lite.sh and amiberry.start (see below).
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) originally created by Escalade
# Copyright (C) 2018-present 5schatten
# Copyright (C) 2025-present Langerz82, worstcase_scenario
. /etc/profile
# Core paths
AMIBERRY_DIR=/storage/.config/amiberry-lite
@Langerz82
Langerz82 / AmigaCD32-custom.uae
Last active October 26, 2025 21:36
EmuELEC - AmigaCD32-custom.uae
config_description=UAE Amiga 1200/ Amiga CD32 default configuration
config_hardware=true
config_host=true
config_version=8.0.0
;rtg_nocustom=true
;a1000ram=false
;synchronize_clock=yes
;sound_auto=yes
;pandora.jump=-1
;pandora.autofire_button=3
@Langerz82
Langerz82 / amiberry.start
Last active October 26, 2025 21:35
EmuELEC - amiberry.start
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 0riginally created by Escalade (https://github.com/escalade)
# Copyright (C) 2018-present 5schatten (https://github.com/5schatten)
# Copyright (C) 2025-present Langerz82 (https://github.com/Langerz82)
. /etc/profile
# Set some common variables
AMIBERRY_DIR=/storage/.config/amiberry
@Langerz82
Langerz82 / show_splash.sh
Last active October 16, 2025 12:22
EmuELEC - show_splash.sh v4.8 testing
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present SumavisionQ5 (https://github.com/SumavisionQ5)
# Modifications by Shanti Gilbert (https://github.com/shantigilbert)
# 2025-present Mod by DiegroSan
# 2025-present Mod by WorstcaseSecenario (https://github.com/worstcase-scenario)
# 2025-present Mod by Langerz82 (https://github.com/Langerz82)
# 12/07/2019 use mpv for all splash
@Langerz82
Langerz82 / amiberry.start
Last active October 10, 2025 12:33
EmuELEC - v4.8 - amiberry.start - v7 - test file.
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 0riginally created by Escalade (https://github.com/escalade)
# Copyright (C) 2018-present 5schatten (https://github.com/5schatten)
# Copyright (C) 2025-present Langerz82 (https://github.com/Langerz82)
. /etc/profile
# Set some common variables
AMIBERRY_DIR=/storage/.config/amiberry
find_gamepad() {
local SDLJOYTEST="/tmp/emulation/amiberry/sdljoytest"
sdljoytest -skip_loop > ${SDLJOYTEST}
local GC_NAME=$(cat ${SDLJOYTEST} | grep "Joystick 0 name" | cut -d"'" -f2)
if [[ ! -z "${GC_NAME}" ]] && [[ -f "/tmp/joypads/${GC_NAME}.cfg" ]]; then
sed -i "s|joyport1_friendlyname=.*|joyport1_friendlyname=${GC_NAME}|" "$AMIBERRY_TMP_CONFIG"
fi
}
@Langerz82
Langerz82 / rr_audio.sh
Last active June 27, 2025 13:52
Emuelec - rr_audio.sh test
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Frank Hartung ([email protected])
# Modifications by Shanti Gilbert ([email protected]) to work on EmuELEC Copyright (C) 2019-present
. /etc/profile
# Set common paths and defaults
export PULSE_RUNTIME_PATH=/run/pulse
RR_AUDIO_DEVICE="hw:$(get_ee_setting ee_audio_device)"
[ ${RR_AUDIO_DEVICE} = "hw:" ] && RR_AUDIO_DEVICE="hw:0"
@Langerz82
Langerz82 / rr_audio.sh
Created June 27, 2025 11:44
Emuelec - rr_audio fix audio 100% bug.
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Frank Hartung ([email protected])
# Modifications by Shanti Gilbert ([email protected]) to work on EmuELEC Copyright (C) 2019-present
. /etc/profile
# Set common paths and defaults
export PULSE_RUNTIME_PATH=/run/pulse
RR_AUDIO_DEVICE="hw:$(get_ee_setting ee_audio_device)"
[ ${RR_AUDIO_DEVICE} = "hw:" ] && RR_AUDIO_DEVICE="hw:0"