mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Standardized the header section of the GLSL files and shell scripts.
This commit is contained in:
parent
01112408f6
commit
d986fc7eaa
|
@ -4,7 +4,7 @@
|
||||||
// A version for MasterEffect Reborn, a standalone version, and a custom shader version for SweetFX
|
// A version for MasterEffect Reborn, a standalone version, and a custom shader version for SweetFX
|
||||||
// can be found at http://reshade.me/forum/shader-presentation/27-gaussian-blur-bloom-unsharpmask
|
// can be found at http://reshade.me/forum/shader-presentation/27-gaussian-blur-bloom-unsharpmask
|
||||||
//
|
//
|
||||||
// Borrowed from the RetroArch project and modified for ES-DE by Leon Styhre.
|
// Taken from the RetroArch project and modified for ES-DE.
|
||||||
//
|
//
|
||||||
|
|
||||||
#define HW 1.00
|
#define HW 1.00
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// A version for MasterEffect Reborn, a standalone version, and a custom shader version for SweetFX
|
// A version for MasterEffect Reborn, a standalone version, and a custom shader version for SweetFX
|
||||||
// can be found at http://reshade.me/forum/shader-presentation/27-gaussian-blur-bloom-unsharpmask
|
// can be found at http://reshade.me/forum/shader-presentation/27-gaussian-blur-bloom-unsharpmask
|
||||||
//
|
//
|
||||||
// Borrowed from the RetroArch project and modified for ES-DE by Leon Styhre.
|
// Taken from the RetroArch project and modified for ES-DE.
|
||||||
//
|
//
|
||||||
|
|
||||||
#define VW 1.00
|
#define VW 1.00
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
// EmulationStation Desktop Edition
|
||||||
// desaturate.glsl
|
// desaturate.glsl
|
||||||
//
|
//
|
||||||
// Desaturates textures.
|
// Desaturates textures.
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
// EmulationStation Desktop Edition
|
||||||
// dim.glsl
|
// dim.glsl
|
||||||
//
|
//
|
||||||
// Dims textures.
|
// Dims textures.
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
// EmulationStation Desktop Edition
|
||||||
// opacity.glsl
|
// opacity.glsl
|
||||||
//
|
//
|
||||||
// Changes the opacity of textures.
|
// Changes the opacity of textures.
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
// along with this program; if not, write to the Free Software
|
// along with this program; if not, write to the Free Software
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
//
|
//
|
||||||
// Borrowed from the RetroArch project and modified for ES-DE by Leon Styhre.
|
// Taken from the RetroArch project and modified for ES-DE.
|
||||||
//
|
//
|
||||||
|
|
||||||
#if defined(VERTEX)
|
#if defined(VERTEX)
|
||||||
|
@ -138,7 +138,6 @@ void main()
|
||||||
vec2 texture_coords = pixel_center * SourceSize.zw;
|
vec2 texture_coords = pixel_center * SourceSize.zw;
|
||||||
|
|
||||||
vec4 color = TEX2D(texture_coords);
|
vec4 color = TEX2D(texture_coords);
|
||||||
|
|
||||||
float dx = coords.x - pixel_center.x;
|
float dx = coords.x - pixel_center.x;
|
||||||
|
|
||||||
float h_weight_00 = dx / SPOT_WIDTH;
|
float h_weight_00 = dx / SPOT_WIDTH;
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
# EmulationStation Desktop Edition
|
||||||
# generate_man_page.sh
|
# generate_man_page.sh
|
||||||
# Generate a Unix manual page for EmulationStation Desktop Edition.
|
|
||||||
#
|
#
|
||||||
|
# Generates the Unix manual page.
|
||||||
# The script takes no arguments and replaces the man page file es-app/assets/emulationstation.6.gz
|
# The script takes no arguments and replaces the man page file es-app/assets/emulationstation.6.gz
|
||||||
# It has to be run from within the tools directory.
|
# It has to be run from within the tools directory.
|
||||||
#
|
#
|
||||||
# The command help2man must be installed, or the script will fail.
|
# The command help2man must be installed, or the script will fail.
|
||||||
#
|
#
|
||||||
# This script is intended to only be used on Linux systems.
|
# This script is only intended to be used on Linux systems.
|
||||||
#
|
|
||||||
# Leon Styhre
|
|
||||||
# 2020-07-16
|
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ ! -f ../es-app/CMakeLists.txt ]; then
|
if [ ! -f ../es-app/CMakeLists.txt ]; then
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
# EmulationStation Desktop Edition
|
||||||
# macOS_change_dylib_rpaths.sh
|
# macOS_change_dylib_rpaths.sh
|
||||||
# Update the dylib paths to use rpaths instead of absolute paths.
|
|
||||||
#
|
#
|
||||||
|
# Updates the dylib paths to use rpaths instead of absolute paths.
|
||||||
# This script does not do much error checking so the results should be verified manually
|
# This script does not do much error checking so the results should be verified manually
|
||||||
# afterwards using the "otool -L" command.
|
# afterwards using the "otool -L" command.
|
||||||
# Changes are needed to this script when moving to a new version for any of the libraries.
|
# Changes are needed to this script when moving to a new version for any of the libraries.
|
||||||
#
|
#
|
||||||
# Leon Styhre
|
|
||||||
# 2021-05-13
|
|
||||||
#
|
|
||||||
|
|
||||||
export FREETYPE_FILENAME=libfreetype.6.dylib
|
export FREETYPE_FILENAME=libfreetype.6.dylib
|
||||||
export AVCODEC_FILENAME=libavcodec.58.dylib
|
export AVCODEC_FILENAME=libavcodec.58.dylib
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
# EmulationStation Desktop Edition
|
||||||
# mame_create_index_files.sh
|
# mame_create_index_files.sh
|
||||||
# EmulationStation MAME index files creation.
|
|
||||||
#
|
#
|
||||||
# As input, this script takes the MAME driver information XML file from the official
|
# As input, this script takes the MAME driver information XML file from the official
|
||||||
# MAME release and generates the files mamebioses.xml, mamedevices.xml and mamenames.xml.
|
# MAME release and generates the files mamebioses.xml, mamedevices.xml and mamenames.xml.
|
||||||
#
|
#
|
||||||
# There is not much error checking going on here, this script is not intended to be
|
# There is not much error checking going on here, this script is not intended to be run
|
||||||
# used by the end user.
|
# by the end user.
|
||||||
#
|
#
|
||||||
# xmlstarlet must be installed or this script will fail.
|
# xmlstarlet must be installed or this script will fail.
|
||||||
#
|
#
|
||||||
|
@ -15,10 +16,7 @@
|
||||||
# https://www.mamedev.org/release.php
|
# https://www.mamedev.org/release.php
|
||||||
# It's enough to download the driver information, not the complete emulator.
|
# It's enough to download the driver information, not the complete emulator.
|
||||||
#
|
#
|
||||||
# This script is intended to only be used on Linux systems.
|
# This script is only intended to be used on Linux systems.
|
||||||
#
|
|
||||||
# Leon Styhre
|
|
||||||
# 2020-06-16
|
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -ne 1 ]; then
|
||||||
|
|
|
@ -1,20 +1,18 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
# EmulationStation Desktop Edition
|
||||||
# mame_merge_index_files.sh
|
# mame_merge_index_files.sh
|
||||||
# EmulationStation MAME ROM index files merging.
|
|
||||||
#
|
#
|
||||||
# This script merges older ROM index files with newly generated ones.
|
# This script merges older ROM index files with newly generated ones.
|
||||||
# As the MAME project drops and renames ROM files from time to time, we need to
|
# As the MAME project drops and renames ROM files from time to time, we need to
|
||||||
# include the old ROM names as well even if not supported by the newest MAME version.
|
# include the old ROM names as well even if not supported by the newest MAME version.
|
||||||
# The user may very well run an older MAME version and may therefore have an old ROM set.
|
# The user may very well run an older MAME version and may therefore have an old ROM set.
|
||||||
#
|
#
|
||||||
# There is not much error checking going on here, this script is not intended to be
|
# There is not much error checking going on here, this script is not intended to be run
|
||||||
# used by the end user.
|
# by the end user.
|
||||||
#
|
#
|
||||||
# This script is intended to only be used on Linux systems.
|
# This script is only intended to be used on Linux systems.
|
||||||
#
|
|
||||||
# Leon Styhre
|
|
||||||
# 2020-06-16
|
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ $# -ne 3 ]; then
|
if [ $# -ne 3 ]; then
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
# EmulationStation Desktop Edition
|
||||||
# update_theme_formatversion.sh
|
# update_theme_formatversion.sh
|
||||||
# Update the format version of all the XML files in a theme set.
|
|
||||||
#
|
#
|
||||||
# This script is intended to only be used on Linux systems.
|
# Updates the format version of all the XML files in a theme set.
|
||||||
#
|
#
|
||||||
# Leon Styhre
|
# This script is only intended to be used on Linux systems.
|
||||||
# 2020-06-22
|
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ $# -ne 2 ]; then
|
if [ $# -ne 2 ]; then
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
# EmulationStation Desktop Edition
|
||||||
# update_version_string.sh
|
# update_version_string.sh
|
||||||
# Updates the version string for EmulationStation Desktop Edition.
|
|
||||||
#
|
#
|
||||||
|
# Updates the version string for EmulationStation Desktop Edition.
|
||||||
# This script takes as arguments the major, minor and patch numbers as well as an optional
|
# This script takes as arguments the major, minor and patch numbers as well as an optional
|
||||||
# alphanumeric suffix and updates all the necessary files to indicate a new software version.
|
# alphanumeric suffix and updates all the necessary files to indicate a new software version.
|
||||||
# The script has to be run from within the tools directory.
|
# The script has to be run from within the tools directory.
|
||||||
|
@ -16,10 +18,8 @@
|
||||||
# es-app/assets/EmulationStation-DE_Info.plist
|
# es-app/assets/EmulationStation-DE_Info.plist
|
||||||
# es-app/assets/emulationstation.desktop
|
# es-app/assets/emulationstation.desktop
|
||||||
#
|
#
|
||||||
# This script is intended to only be used on Linux systems.
|
# This script is only intended to be used on Linux systems.
|
||||||
#
|
#
|
||||||
# Leon Styhre
|
|
||||||
# 2020-12-30
|
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ ! -f ../es-app/CMakeLists.txt ]; then
|
if [ ! -f ../es-app/CMakeLists.txt ]; then
|
||||||
|
|
Loading…
Reference in a new issue