-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
1,229 additions
and
1 deletion.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
103 changes: 103 additions & 0 deletions
103
JugandoEnLinux/juegos/deportes/ProEvolutionSoccer2016/ProEvolutionSoccer2016.sh
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
#!/bin/bash | ||
# Fecha: 16 Mayo 2020 | ||
# Version: 0.1.0 | ||
# Escrito por: Raúl González <rafex@rafex.dev> | ||
|
||
function reinstall_default_pro_evolution_soccer_2016 () { | ||
local NAME_OF_THE_MODULE="Pro Evolution Soccer 2016" | ||
valid_pre_install $NAME_OF_THE_MODULE | ||
|
||
local GAME="ProEvolutionSoccer2016" | ||
local DEPENDENCIES=juegos/deportes/${GAME}/winetricks.dependencies | ||
re-create_prefix_jugando_en_linux $GAME $DEPENDENCIES | ||
create_launcher ${GAME} | ||
} | ||
|
||
function install_default_pro_evolution_soccer_2016 () { | ||
local NAME_OF_THE_MODULE="Pro Evolution Soccer 2016" | ||
valid_pre_install $NAME_OF_THE_MODULE | ||
|
||
local GAME="ProEvolutionSoccer2016" | ||
local DEPENDENCIES=juegos/deportes/${GAME}/winetricks.dependencies | ||
create_prefix_jugando_en_linux $GAME $DEPENDENCIES | ||
create_launcher ${GAME} | ||
} | ||
|
||
function reinstall_pro_evolution_soccer_2016 () { | ||
local NAME_OF_THE_MODULE="Pro Evolution Soccer 2016" | ||
valid_pre_install $NAME_OF_THE_MODULE | ||
|
||
local GAME="ProEvolutionSoccer2016" | ||
local DEPENDENCIES=juegos/deportes/${GAME}/winetricks.dependencies | ||
re-create_prefix_for_game $GAME $DEPENDENCIES | ||
create_launcher ${GAME} | ||
} | ||
|
||
function install_pro_evolution_soccer_2016 () { | ||
local NAME_OF_THE_MODULE="Pro Evolution Soccer 2016" | ||
valid_pre_install $NAME_OF_THE_MODULE | ||
|
||
local GAME="ProEvolutionSoccer2016" | ||
local DEPENDENCIES=juegos/deportes/${GAME}/winetricks.dependencies | ||
create_prefix_for_game $GAME $DEPENDENCIES | ||
create_launcher ${GAME} | ||
} | ||
|
||
function nginx_compile_menu () { | ||
local NAME_OF_THE_MODULE="Pro Evolution Soccer 2016" | ||
local MODULE_VERSION="1.0" | ||
local INITIAL_TEXT="Vamos a instalar ${NAME_OF_THE_MODULE}" | ||
local option_1="Instalar en prefix JugandoEnLinux (recomendado)" | ||
local option_2="Re-Instalar en prefix JugandoEnLinux (descargara todo de nuevo)" | ||
local option_3="Instalar en un prefix independiente para ${NAME_OF_THE_MODULE}" | ||
local option_4="Re-Instalar en un prefix independiente para ${NAME_OF_THE_MODULE}" | ||
trap '' 2 # ignore control + c | ||
while true | ||
do | ||
local answer | ||
local input | ||
clear # clear screen for each loop of menu | ||
green_text "================================" | ||
green_text "================================" | ||
echo "----------- -----------" | ||
red_text "${NAME_OF_THE_MODULE} - ${MODULE_VERSION}" | ||
echo "----------- -----------" | ||
green_text "================================" | ||
green_text "================================" | ||
echo " " | ||
blue_text "${INITIAL_TEXT}" | ||
echo " " | ||
echo "Enter 1) ${option_1}" | ||
echo "Enter 2) ${option_2}" | ||
echo "Enter 3) ${option_3}" | ||
echo "Enter 4) ${option_4}" | ||
echo " " | ||
red_text "Presiona la letra 's' y <Enter> para salir." | ||
yellow_text "Seleciona una opción y presiona <Enter>" | ||
read answer | ||
case "$answer" in | ||
1) install_default_pro_evolution_soccer_2016 && green_text "\nFinalizo ${option_1}\n" ;; | ||
2) reinstall_default_pro_evolution_soccer_2016 && green_text "\nFinalizo ${option_2}\n" ;; | ||
3) install_pro_evolution_soccer_2016 && green_text "\nFinalizo ${option_3}\n" ;; | ||
4) reinstall_pro_evolution_soccer_2016 && green_text "\nFinalizo ${option_4}\n" ;; | ||
s) good_bye ;; | ||
esac | ||
red_text "Presiona la tecla <Enter> para continuar" | ||
read input | ||
done | ||
} |
43 changes: 43 additions & 0 deletions
43
JugandoEnLinux/juegos/deportes/ProEvolutionSoccer2016/winetricks.dependencies
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
winxp | ||
d3dcompiler_42 | ||
d3dcompiler_43 | ||
d3dcompiler_47 | ||
d3dx11_42 | ||
d3dx11_43 | ||
d3dx9 | ||
fontfix | ||
dotnet20 | ||
dotnet40 | ||
dotnet45 | ||
dotnet46 | ||
iertutil | ||
mfc42 | ||
msxml4 | ||
physx | ||
vcrun2012 | ||
vcrun2013 | ||
vcrun6 | ||
vcrun6sp6 | ||
winhttp | ||
wininet | ||
xact | ||
d3dx10 | ||
d3dx10_43 | ||
andale | ||
arial | ||
comicsans | ||
courier | ||
georgia | ||
impact | ||
times | ||
trebuchet | ||
verdana | ||
webdings | ||
corefonts | ||
tahoma | ||
eufonts | ||
liberation | ||
unifont | ||
opensymbol | ||
directplay | ||
dxvk |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Script Nginx compile | ||
|
||
Here you will put the notes that are required to perfect the script | ||
|
||
## Dependencies | ||
1. the HTTP XSLT module requires the libxml2/libxslt | ||
libraries. You can either do not enable the module or install the libraries. | ||
2. the HTTP image filter module requires the GD library. You can either do not enable the module or install the libraries. | ||
3. the GeoIP module requires the GeoIP library. | ||
You can either do not enable the module or install the library. | ||
4. the Google perftools module requires the Google perftools | ||
library. You can either do not enable the module or install the library. | ||
5. libatomic_ops library was not found. | ||
|
||
```Shell | ||
sudo apt install libxslt1-dev libxml2-dev libgd2-xpm libgd2-xpm-dev libgeoip-dev libgoogle-perftools-dev libatomic-ops-dev | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
#!/bin/bash | ||
# Fecha: 16 Mayo 2020 | ||
# Version: 0.1.0 | ||
# Escrito por: Raúl González <rafex@rafex.dev> | ||
|
||
. juegos/deportes/ProEvolutionSoccer2016/ProEvolutionSoccer2016.sh | ||
|
||
function deportes_menu () { | ||
local name_of_menu="Juegos/Deportes" | ||
local option_1="ProEvolutionSoccer2016" | ||
|
||
trap '' 2 # ignore control + c | ||
while true | ||
do | ||
local answer | ||
local input | ||
clear # clear screen for each loop of menu | ||
green_text "================================" | ||
green_text "================================" | ||
echo "------------- -------------" | ||
red_text "${name_of_menu}" | ||
echo "----------- -----------" | ||
green_text "================================" | ||
green_text "================================" | ||
echo " " | ||
echo "Enter 1) ${option_1}" | ||
echo " " | ||
red_text "Presiona la letra 's' y <Enter> para salir." | ||
yellow_text "Seleciona una opción y presiona <Enter>" | ||
read answer | ||
case "$answer" in | ||
1) nginx_compile_menu ;; | ||
s) good_bye ;; | ||
esac | ||
red_text "Presiona la tecla <Enter> para continuar" | ||
read input | ||
done | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
#!/bin/bash | ||
# Fecha: 16 Mayo 2020 | ||
# Version: 0.1.0 | ||
# Escrito por: Raúl González <rafex@rafex.dev> | ||
|
||
. juegos/deportes/deportes.sh | ||
|
||
function juegos_menu () { | ||
local name_of_menu="Juegos" | ||
local option_1="Deportes" | ||
|
||
trap '' 2 # ignore control + c | ||
while true | ||
do | ||
local answer | ||
local input | ||
clear # clear screen for each loop of menu | ||
green_text "================================" | ||
green_text "================================" | ||
echo "------------- -------------" | ||
red_text "${name_of_menu}" | ||
echo "----------- -----------" | ||
green_text "================================" | ||
green_text "================================" | ||
echo " " | ||
echo "Enter 1) ${option_1}" | ||
echo " " | ||
red_text "Presiona la letra 's' y <Enter> para salir." | ||
yellow_text "Seleciona una opción y presiona <Enter>" | ||
read answer | ||
case "$answer" in | ||
1) deportes_menu ;; | ||
s) good_bye ;; | ||
esac | ||
red_text "Presiona la tecla <Enter> para continuar" | ||
read input | ||
done | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
#!/bin/bash | ||
# Date: 08 July 2019 | ||
# Version: 0.1.0 | ||
# Escrito por: Raúl González <rafex@rafex.dev> | ||
|
||
function arch() { | ||
MACHINE_TYPE=`uname -m` | ||
if [ ${MACHINE_TYPE} == 'x86_64' ]; then | ||
return 64 | ||
else | ||
return 32 | ||
fi | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
#!/bin/bash | ||
# Fecha: 16 Mayo 2020 | ||
# Version: 0.1.0 | ||
# Escrito por: Raúl González <rafex@rafex.dev> | ||
|
||
COLOR_WHITE="\033[0m" | ||
COLOR_RED="\033[31m" | ||
COLOR_BLUE="\033[34m" | ||
COLOR_GREEN="\033[32m" | ||
COLOR_YELLOW="\033[33m" | ||
|
||
function red_text () { | ||
echo -e $COLOR_RED$1$COLOR_WHITE | ||
} | ||
|
||
function blue_text () { | ||
echo -e $COLOR_BLUE$1$COLOR_WHITE | ||
} | ||
|
||
function green_text () { | ||
echo -e $COLOR_GREEN$1$COLOR_WHITE | ||
} | ||
|
||
function yellow_text () { | ||
echo -e $COLOR_YELLOW$1$COLOR_WHITE | ||
} | ||
|
||
green_text "Load colors... :-)" |
Oops, something went wrong.