Standardized the header section of the GLSL files and shell scripts.

This commit is contained in:
Leon Styhre 2021-05-14 18:52:38 +02:00
parent 01112408f6
commit d986fc7eaa
12 changed files with 97 additions and 98 deletions

View file

@ -4,7 +4,7 @@
// 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
//
// 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

View file

@ -4,7 +4,7 @@
// 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
//
// 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

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
//
// EmulationStation Desktop Edition
// desaturate.glsl
//
// Desaturates textures.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
//
// EmulationStation Desktop Edition
// dim.glsl
//
// Dims textures.

View file

@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT
//
// EmulationStation Desktop Edition
// opacity.glsl
//
// Changes the opacity of textures.

View file

@ -17,7 +17,7 @@
// along with this program; if not, write to the Free Software
// 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)
@ -138,7 +138,6 @@ void main()
vec2 texture_coords = pixel_center * SourceSize.zw;
vec4 color = TEX2D(texture_coords);
float dx = coords.x - pixel_center.x;
float h_weight_00 = dx / SPOT_WIDTH;

View file

@ -1,17 +1,16 @@
#!/usr/bin/bash
# SPDX-License-Identifier: MIT
#
# EmulationStation Desktop Edition
# 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
# It has to be run from within the tools directory.
#
# The command help2man must be installed, or the script will fail.
#
# This script is intended to only be used on Linux systems.
#
# Leon Styhre
# 2020-07-16
# This script is only intended to be used on Linux systems.
#
if [ ! -f ../es-app/CMakeLists.txt ]; then

View file

@ -1,15 +1,14 @@
#!/bin/sh
# SPDX-License-Identifier: MIT
#
# EmulationStation Desktop Edition
# 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
# afterwards using the "otool -L" command.
# 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 AVCODEC_FILENAME=libavcodec.58.dylib

View file

@ -1,13 +1,14 @@
#!/usr/bin/bash
# SPDX-License-Identifier: MIT
#
# EmulationStation Desktop Edition
# mame_create_index_files.sh
# EmulationStation MAME index files creation.
#
# 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.
#
# There is not much error checking going on here, this script is not intended to be
# used by the end user.
# There is not much error checking going on here, this script is not intended to be run
# by the end user.
#
# xmlstarlet must be installed or this script will fail.
#
@ -15,10 +16,7 @@
# https://www.mamedev.org/release.php
# It's enough to download the driver information, not the complete emulator.
#
# This script is intended to only be used on Linux systems.
#
# Leon Styhre
# 2020-06-16
# This script is only intended to be used on Linux systems.
#
if [ $# -ne 1 ]; then

View file

@ -1,20 +1,18 @@
#!/usr/bin/bash
# SPDX-License-Identifier: MIT
#
# EmulationStation Desktop Edition
# mame_merge_index_files.sh
# EmulationStation MAME ROM index files merging.
#
# 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
# 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.
#
# There is not much error checking going on here, this script is not intended to be
# used by the end user.
# There is not much error checking going on here, this script is not intended to be run
# by the end user.
#
# This script is intended to only be used on Linux systems.
#
# Leon Styhre
# 2020-06-16
# This script is only intended to be used on Linux systems.
#
if [ $# -ne 3 ]; then

View file

@ -1,12 +1,12 @@
#!/usr/bin/bash
# SPDX-License-Identifier: MIT
#
# EmulationStation Desktop Edition
# 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
# 2020-06-22
# This script is only intended to be used on Linux systems.
#
if [ $# -ne 2 ]; then

View file

@ -1,8 +1,10 @@
#!/usr/bin/bash
# SPDX-License-Identifier: MIT
#
# EmulationStation Desktop Edition
# 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
# 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.
@ -16,10 +18,8 @@
# es-app/assets/EmulationStation-DE_Info.plist
# 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