Skip to content

Instantly share code, notes, and snippets.

View Langerz82's full-sized avatar

Joshua L Langerz82

View GitHub Profile
@Langerz82
Langerz82 / Dolphin.ini
Last active July 4, 2021 14:38
S922X - EmuElec - Dolphin standalone settings.
[General]
LastFilename =
ShowLag = False
ShowFrameCount = False
ISOPaths = 1
RecursiveISOPaths = False
NANDRootPath =
WirelessMac =
ISOPath0 = /home/sx05re/Desktop/testdisk-7.1-WIP
GDBSocket =
config restore_at_exit
debug_crash no
debug_rawsound no
debug_speedmark no
device_alsa_device sdl
device_alsa_mixer channel
device_color_bgr15 no
device_color_bgr16 yes
device_color_bgr24 yes
device_color_bgr32 yes
diff --git a/advance/lib/joy.c b/advance/lib/joy.c
index 123cc0df..2d2ae445 100644
--- a/advance/lib/joy.c
+++ b/advance/lib/joy.c
@@ -28,6 +28,11 @@ struct joy_entry {
};
static struct joy_entry JOY_BUTTON[] = {
+ { "dpLeft", JOYB_DPL },
+ { "dpRight", JOYB_DPR },
@Langerz82
Langerz82 / find_emulator.sh
Last active September 21, 2021 01:00
Retropie - Rom Emulator Batch Finder
#!/bin/bash
###############################################################################
# Retropie - Rom Emulator Batch Finder.
#
# This file loops through emulator roms and the emulators and tries to select
# the right ones for the rom. It calls a modified runcommand.sh from retropie.
# I am releasing it under Open Source so others may find it useful.
#
# TODO: Make source work with call runemulators.sh for return variable,
@Langerz82
Langerz82 / flycast_zipsupport.diff
Last active March 27, 2021 06:35
Flycast - Zip Support for CDI/GDI files - Some initial changes (7-zip not yet implemented).
diff --git a/core/archive/7zArchive.cpp b/core/archive/7zArchive.cpp
index 8ae6bba3..28fd97a8 100644
--- a/core/archive/7zArchive.cpp
+++ b/core/archive/7zArchive.cpp
@@ -105,6 +105,14 @@ ArchiveFile* SzArchive::OpenFileByCrc(u32 crc)
return NULL;
}
+
+// TODO
@Langerz82
Langerz82 / astar.js
Last active February 17, 2021 20:47
Advanced A* (A-Star) algorithm for a path finder. This does pixel based path finding, for map grids and is an advance on the original authors code.
define(function() {
var AStar = (function () {
/**
* Advanced A* (A-Star) algorithm for a path finder.
* This does pixel based path finding, for map grids and is an advance
* on the original authors code.
*
@Langerz82
Langerz82 / lplorganiser.html
Last active February 1, 2021 08:15
LPL File Organiser for RetroArch Arcade ROMS. Linux.
<!DOCTYPE HTML>
<!--
This file is part of lplorganiser.js.
License: GPL3.
Author: Langerz82.
Copyright: Langerz82 2020.
-->
<html>
<head>
<script src="lplorganiser.js"></script>
/***************************************************************************
fileio.c
File access functions.
Copyright (c) 1996-2006, Nicola Salmoria and the MAME Team.
Visit http://mamedev.org for licensing and usage restrictions.
***************************************************************************/
@Langerz82
Langerz82 / xencode.sh
Created November 4, 2020 00:10
encodes ROM zip with x encode zip file
#!/bin/bash
mkdir tmp
cd tmp
unzip -v ../$1.zip
unzip -v ../$1x.zip
rm ../$1.zip
zip -v ../$1.zip *.*
cd ..
rm -f -r tmp
define(function() {
var AStar = (function () {
/**
* A* (A-Star) algorithm for a path finder
* @originalauthor Andrea Giammarchi
* @revisedauthor Langerz82
* @license Proprietary.