This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# xboxdrv must be installed | |
#sudo apt-get install xboxdrv | |
# use evtest to test and determine controller/event inputs if in doubt (for the mappings below) | |
#sudo apt-get install evtest | |
# use fftest (part of joystick) to test rumble settings, if supported by the controller and kernel | |
#sudo apt-get install joystick |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#the following settings will alleviate or outright prevent shader stutter | |
#with the downside of taking up more GPU memory, hence it may not benefit | |
#GPUs with insufficient VRAM | |
#for UE2 engine titles edit the main config ini file | |
#(e.g. Unreal2.ini) to add/change the below lines: | |
[D3DDrv.D3DRenderDevice] | |
UsePrecaching=True | |
AvoidHitches=True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#install fluidsynth and fluid-soundfont-gm first using: | |
#sudo apt-get install fluidsynth fluid-soundfont-gm | |
#the following line also needs to be added in /etc/default/fluidsynth | |
#OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000' | |
#bash output styles and colors | |
DEFAULT="\033[0m" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// atari502mame.js - convert some of the arcade game data in Atari 50: The Anniversary Celebration to older MAME ROM sets | |
// | |
// Usage: | |
// node atari502mame.js [ROM directory] | |
// | |
// Requirements: | |
// - Node.js v6 or later | |
// - [Microsoft Windows] .NET Framework 4.5 or later (included in Windows 8/10) | |
// - [Linux] /usr/bin/zip | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# short script to address the following exception: | |
# err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. | |
WINEBINARY="/opt/wine-staging/bin/wineserver" | |
# some games will use RAW sockets for their multiplayer implementation, | |
# however Wine can't properly support these without the below grant |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -ge 1 ] | |
then | |
if [ "$1" == "add" -o "$1" == "zero" ] | |
then | |
for file in $(find . -maxdepth 1 -type f) | |
do | |
# exlude the script from renaming | |
if [ "$file" != "$0" ] |