forked from CastroFidel/PortWINE
###Scripts version 2004###
This commit is contained in:
parent
9bcb235657
commit
5032d95a77
@ -1,6 +1,7 @@
|
|||||||
История изменений и дальнейшие планы:
|
История изменений и дальнейшие планы:
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
В планах:
|
В планах:
|
||||||
|
* добавить проверку перевода карретки при изменении db файлой
|
||||||
* добавить проверку количества db файлов на один exe
|
* добавить проверку количества db файлов на один exe
|
||||||
* перенести скрипты установки порта на github
|
* перенести скрипты установки порта на github
|
||||||
* добавить авто-обновление версии WINE
|
* добавить авто-обновление версии WINE
|
||||||
@ -9,6 +10,9 @@
|
|||||||
* добавить комментарии описывающие функционал скриптов
|
* добавить комментарии описывающие функционал скриптов
|
||||||
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
|
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
|
###Scripts version 2004###
|
||||||
|
* HOTFIX - использование и редактирование db файла Battle.NET
|
||||||
|
|
||||||
###Scripts version 2003###
|
###Scripts version 2003###
|
||||||
* HOTFIX - отключение новых обновлений для старых версий PortProton
|
* HOTFIX - отключение новых обновлений для старых версий PortProton
|
||||||
|
|
||||||
|
@ -638,6 +638,9 @@ pw_gui_for_edit_db () {
|
|||||||
}
|
}
|
||||||
edit_db_field_read $@
|
edit_db_field_read $@
|
||||||
edit_db_from_gui $@
|
edit_db_from_gui $@
|
||||||
|
PW_DB_TMP=`cat "${PORTWINE_DB_FILE}"`
|
||||||
|
echo "${PW_DB_TMP}" | awk '! a[$0]++' > "${PORTWINE_DB_FILE}"
|
||||||
|
unset PW_DB_TMP
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,4 +17,4 @@ add_in_start_portwine () {
|
|||||||
rm -fr "${PORT_WINE_PATH}/data/pfx/drive_c/users/${USER}/Blizzard Entertainment/Battle.net/Cache"
|
rm -fr "${PORT_WINE_PATH}/data/pfx/drive_c/users/${USER}/Blizzard Entertainment/Battle.net/Cache"
|
||||||
rm -fr "${PORT_WINE_PATH}/data/pfx/drive_c/users/Public/Blizzard Entertainment/Battle.net/Cache"
|
rm -fr "${PORT_WINE_PATH}/data/pfx/drive_c/users/Public/Blizzard Entertainment/Battle.net/Cache"
|
||||||
try_remove_file "${PORT_WINE_PATH}/data/pfx/drive_c/windows/Fonts/sourcehansans.ttc"
|
try_remove_file "${PORT_WINE_PATH}/data/pfx/drive_c/windows/Fonts/sourcehansans.ttc"
|
||||||
}
|
}
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
#Rating=5
|
#Rating=5
|
||||||
################################################
|
################################################
|
||||||
export PW_DLL_INSTALL="vcrun2019"
|
export PW_DLL_INSTALL="vcrun2019"
|
||||||
export PW_VULKAN_USE=vkd3d
|
export PW_VULKAN_USE=vkd3d
|
||||||
|
@ -7,4 +7,4 @@
|
|||||||
################################################
|
################################################
|
||||||
export PW_VULKAN_USE=dxvk
|
export PW_VULKAN_USE=dxvk
|
||||||
export PW_DLL_INSTALL="vcrun2019"
|
export PW_DLL_INSTALL="vcrun2019"
|
||||||
export PW_WINDOWS_VER=10
|
export PW_WINDOWS_VER=10
|
||||||
|
@ -5,4 +5,3 @@
|
|||||||
################################################
|
################################################
|
||||||
export PW_VULKAN_USE=dxvk
|
export PW_VULKAN_USE=dxvk
|
||||||
export LAUNCH_PARAMETERS=""
|
export LAUNCH_PARAMETERS=""
|
||||||
|
|
||||||
|
@ -6,4 +6,4 @@
|
|||||||
export PW_VULKAN_USE=dxvk
|
export PW_VULKAN_USE=dxvk
|
||||||
export LAUNCH_PARAMETERS="-nointro -noprefetch" # -nointro command line option to skip intro movies
|
export LAUNCH_PARAMETERS="-nointro -noprefetch" # -nointro command line option to skip intro movies
|
||||||
# -noprefetch command line option to shorten load times
|
# -noprefetch command line option to shorten load times
|
||||||
#export PW_DLL_INSTALL="vcrun2019 mfc42 d3dcompiler_42 d3dcompiler_43 d3dcompiler_47 d3dx9
|
#export PW_DLL_INSTALL="vcrun2019 mfc42 d3dcompiler_42 d3dcompiler_43 d3dcompiler_47 d3dx9
|
||||||
|
@ -27,4 +27,4 @@ export PW_USE_GAMEMODE=0 # Force disabele gamemod
|
|||||||
export PW_DLL_INSTALL="mfc42 vcrun2012 mfc120 vcrun2013"
|
export PW_DLL_INSTALL="mfc42 vcrun2012 mfc120 vcrun2013"
|
||||||
#export LAUNCH_PARAMETERS="-d3d9"
|
#export LAUNCH_PARAMETERS="-d3d9"
|
||||||
export PW_GUI_DISABLED_CS=1
|
export PW_GUI_DISABLED_CS=1
|
||||||
#export PW_WINDOWS_VER=XP # Set windows version 10, 7 or XP
|
#export PW_WINDOWS_VER=XP # Set windows version 10, 7 or XP
|
||||||
|
@ -38,4 +38,3 @@ PW_INSTALL_DOTNET40 () {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
PW_INSTALL_DOTNET40 &
|
PW_INSTALL_DOTNET40 &
|
||||||
|
|
||||||
|
@ -374,12 +374,7 @@ if [ -z "${PW_DISABLED_CREAT_DB}" ] ; then
|
|||||||
cat "${PORT_SCRIPTS_PATH}/portwine_db/default" | grep "##" >> "${PORT_SCRIPTS_PATH}/portwine_db/$PORTWINE_DB"
|
cat "${PORT_SCRIPTS_PATH}/portwine_db/default" | grep "##" >> "${PORT_SCRIPTS_PATH}/portwine_db/$PORTWINE_DB"
|
||||||
export PORTWINE_DB_FILE="${PORT_SCRIPTS_PATH}/portwine_db/${PORTWINE_DB}"
|
export PORTWINE_DB_FILE="${PORT_SCRIPTS_PATH}/portwine_db/${PORTWINE_DB}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
edit_db_from_gui PW_VULKAN_USE PW_WINE_USE
|
edit_db_from_gui PW_VULKAN_USE PW_WINE_USE
|
||||||
|
|
||||||
PW_DB_TMP=`cat "${PORTWINE_DB_FILE}"`
|
|
||||||
echo "${PW_DB_TMP}" | awk '! a[$0]++' > "${PORTWINE_DB_FILE}"
|
|
||||||
unset PW_DB_TMP
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
case "$PW_YAD_SET" in
|
case "$PW_YAD_SET" in
|
||||||
|
Loading…
Reference in New Issue
Block a user