mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Standardized the header section of the GLSL files and shell scripts.
This commit is contained in:
parent
01112408f6
commit
d986fc7eaa
|
@ -1,10 +1,10 @@
|
|||
//
|
||||
// Implementation based on the article "Efficient Gaussian blur with linear sampling"
|
||||
// http://rastergrid.com/blog/2010/09/efficient-gaussian-blur-with-linear-sampling/
|
||||
// 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
|
||||
// Implementation based on the article "Efficient Gaussian blur with linear sampling"
|
||||
// http://rastergrid.com/blog/2010/09/efficient-gaussian-blur-with-linear-sampling/
|
||||
// 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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
//
|
||||
// Implementation based on the article "Efficient Gaussian blur with linear sampling"
|
||||
// http://rastergrid.com/blog/2010/09/efficient-gaussian-blur-with-linear-sampling/
|
||||
// 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
|
||||
// Implementation based on the article "Efficient Gaussian blur with linear sampling"
|
||||
// http://rastergrid.com/blog/2010/09/efficient-gaussian-blur-with-linear-sampling/
|
||||
// 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
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
// desaturate.glsl
|
||||
// EmulationStation Desktop Edition
|
||||
// desaturate.glsl
|
||||
//
|
||||
// Desaturates textures.
|
||||
// The uniform variable 'saturation' sets the saturation intensity.
|
||||
// Setting this to the value 0 results in complete desaturation (grayscale).
|
||||
// Desaturates textures.
|
||||
// The uniform variable 'saturation' sets the saturation intensity.
|
||||
// Setting this to the value 0 results in complete desaturation (grayscale).
|
||||
//
|
||||
|
||||
#if defined(VERTEX)
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
// dim.glsl
|
||||
// EmulationStation Desktop Edition
|
||||
// dim.glsl
|
||||
//
|
||||
// Dims textures.
|
||||
// The uniform variable 'dimValue' sets the amount of dimming.
|
||||
// Setting this to the value 0 results in a completely black screen.
|
||||
// Dims textures.
|
||||
// The uniform variable 'dimValue' sets the amount of dimming.
|
||||
// Setting this to the value 0 results in a completely black screen.
|
||||
//
|
||||
|
||||
#if defined(VERTEX)
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
//
|
||||
// opacity.glsl
|
||||
// EmulationStation Desktop Edition
|
||||
// opacity.glsl
|
||||
//
|
||||
// Changes the opacity of textures.
|
||||
// The uniform variable 'opacity' sets the opacity.
|
||||
// Setting this to the value 0 results in an invisible texture.
|
||||
// Changes the opacity of textures.
|
||||
// The uniform variable 'opacity' sets the opacity.
|
||||
// Setting this to the value 0 results in an invisible texture.
|
||||
//
|
||||
|
||||
#if defined(VERTEX)
|
||||
|
|
|
@ -3,21 +3,21 @@
|
|||
//
|
||||
// Ported by Hyllian.
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; either version 2
|
||||
// of the License, or (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// 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;
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
#!/usr/bin/bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# generate_man_page.sh
|
||||
# Generate a Unix manual page for EmulationStation Desktop Edition.
|
||||
# EmulationStation Desktop Edition
|
||||
# generate_man_page.sh
|
||||
#
|
||||
# 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.
|
||||
# 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.
|
||||
# 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
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# macOS_change_dylib_rpaths.sh
|
||||
# Update the dylib paths to use rpaths instead of absolute paths.
|
||||
# EmulationStation Desktop Edition
|
||||
# macOS_change_dylib_rpaths.sh
|
||||
#
|
||||
# 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
|
||||
# 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.
|
||||
#
|
||||
|
||||
export FREETYPE_FILENAME=libfreetype.6.dylib
|
||||
|
|
|
@ -1,24 +1,22 @@
|
|||
#!/usr/bin/bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# mame_create_index_files.sh
|
||||
# EmulationStation MAME index files creation.
|
||||
# EmulationStation Desktop Edition
|
||||
# mame_create_index_files.sh
|
||||
#
|
||||
# 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.
|
||||
# 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.
|
||||
# xmlstarlet must be installed or this script will fail.
|
||||
#
|
||||
# Download the driver file from here:
|
||||
# https://www.mamedev.org/release.php
|
||||
# It's enough to download the driver information, not the complete emulator.
|
||||
# Download the driver file from here:
|
||||
# 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
|
||||
|
|
|
@ -1,20 +1,18 @@
|
|||
#!/usr/bin/bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# mame_merge_index_files.sh
|
||||
# EmulationStation MAME ROM index files merging.
|
||||
# EmulationStation Desktop Edition
|
||||
# mame_merge_index_files.sh
|
||||
#
|
||||
# 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.
|
||||
# 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
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#!/usr/bin/bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# update_theme_formatversion.sh
|
||||
# Update the format version of all the XML files in a theme set.
|
||||
# EmulationStation Desktop Edition
|
||||
# update_theme_formatversion.sh
|
||||
#
|
||||
# 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
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
#!/usr/bin/bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# update_version_string.sh
|
||||
# Updates the version string for EmulationStation Desktop Edition.
|
||||
# EmulationStation Desktop Edition
|
||||
# update_version_string.sh
|
||||
#
|
||||
# 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.
|
||||
# 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.
|
||||
#
|
||||
# Example use:
|
||||
# ./update_version_string.sh 1 0 0 beta1
|
||||
# Example use:
|
||||
# ./update_version_string.sh 1 0 0 beta1
|
||||
#
|
||||
# The following files are updated by this script:
|
||||
# es-app/CMakeLists.txt
|
||||
# es-app/src/EmulationStation.h
|
||||
# es-app/assets/EmulationStation-DE_Info.plist
|
||||
# es-app/assets/emulationstation.desktop
|
||||
# The following files are updated by this script:
|
||||
# es-app/CMakeLists.txt
|
||||
# es-app/src/EmulationStation.h
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue