forked from CastroFidel/PortWINE
		
	
		
			
				
	
	
		
			157 lines
		
	
	
		
			8.7 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			157 lines
		
	
	
		
			8.7 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | ||
| # Author: PortWINE-Linux.ru
 | ||
| 
 | ||
| read "update_loc" < "${config_path}/${portname}_loc"
 | ||
| export update_loc=${update_loc}
 | ||
| 
 | ||
| if [ "${update_loc}" = "RUS" ] 
 | ||
| then
 | ||
| 
 | ||
| 	export inst_set="Выбор"
 | ||
| 	export inst_set_top="Установка PortWINE"
 | ||
| 
 | ||
| 	export ss_title="Опции запуска:"
 | ||
| 	export ss_text="Выберите желаемый вариант запуска ${portname}. Вы всегда можете изменить свой выбор, \nзапустив ярлык reset из каталога: "${PORT_WINE_PATH}"/"
 | ||
| 	export ss_ver="Версия?"
 | ||
| 	export ss_default_1="Cтандартный запуск"
 | ||
| 	export ss_default_2="Старый запуск, с вопросами и логами"
 | ||
| 	export ss_ogl_2="Использовать OpenGL и VKD3D. (DX9-DX11 в OpenGL и DX12 в vulkan)"
 | ||
| 	export ss_ogl_3="Использовать DXVK и D9VK. (DX9-DX11 в Vulkan и выключить DX12)"
 | ||
| 	export ss_done="Ярлык создан в корневом каталоге порта.\nДобавить его в МЕНЮ -> ИГРЫ?" 
 | ||
| 
 | ||
| 	export inst_succ="Установка завершена успешно!"
 | ||
| 
 | ||
| 	export port_upd1="Обновление PortWINE"
 | ||
| 	export port_upd2="На сайте portwine-linux.ru вышло обновление для ${portname}\n"
 | ||
| 	export port_upd3="Действие:"
 | ||
| 	export port_upd4="Перейти на сайт"
 | ||
| 	export port_upd5="Напомнить позже"
 | ||
| 	export port_upd6="Больше не напоминать"
 | ||
| 
 | ||
| 	export port_del1="Удаление $portname"
 | ||
| 	export port_del2="Вы действительно хотите удалить $portname,\nс установленным в него клиентом?\n"
 | ||
| 	export port_del3="Удалить?!"
 | ||
| 	export port_del4="Нет, не удалять!"
 | ||
| 	export port_del5="Да, удалить!"
 | ||
| 	export port_del6="был удален."
 | ||
| 
 | ||
| 	export port_deb1="PortWINE был запущен в режиме создания ${portname}.log и он успешно сохранен в корне каталога порта"
 | ||
| 	export port_deb2="Для диагностики проблем, скопируйте ВЕСЬ лог в комментарии к игре на сайте portwine-linux.ru"
 | ||
| 
 | ||
| 	export port_start1="Запуск PortWINE"
 | ||
| 	export port_start2="В каком режиме вы хотите запустить PortWINE?"
 | ||
| 	export port_start3="Режим:"
 | ||
| 	export port_start4="Обычный"
 | ||
| 	export port_start5="Отдельной X-сессии"
 | ||
| 	export port_start6="Создать ЛОГ-файл"
 | ||
| 	export port_start7="Запустить winetricks"
 | ||
| 	export port_start8="DXVK"
 | ||
| 
 | ||
| 	export port_time1="Информация"
 | ||
| 	export port_time2="Ты думаешь что помочь автору развивать проект это сложно? Нет!\nДостаточно, что бы именно ты пожертвовал сколько считаешь нужным,\nну или хотя бы 50 рублей."
 | ||
| 	export port_time3="Действие:"
 | ||
| 	export port_time4="Перейти на сайт и помочь развитию проекта."
 | ||
| 	export port_time5="Сейчас не могу, может быть в другой раз."
 | ||
| 	export port_time6="Я уже сделал вклад в будущее проекта."
 | ||
| 
 | ||
| 	export port_debug="После окончания работы ${portname}, нажмите ОК."
 | ||
| 
 | ||
| 	export hud_text="Выберите вывод необходимой информации на экран:"
 | ||
| 	export hud_info="Отображать:"
 | ||
| 	export hud_fps="частоту кадров"
 | ||
| 	export hud_devinfo="название графического процессора и версию драйвера"
 | ||
| 	export hud_frametimes="график времени кадра"
 | ||
| 	export hud_submissions="количество командных буферов, представленных на кадр"
 | ||
| 	export hud_drawcalls="количество вызовов отрисовки и отрисовки пропусков на кадр"
 | ||
| 	export hud_pipelines="общее количество графических и вычислительных конвейеров"
 | ||
| 	export hud_memory="объем памяти устройства, выделенной и использованной"
 | ||
| 	export hud_gpuload="предполагаемую загрузку графического процессора (может быть неточна)"
 | ||
| 	export hud_version="используемую версию DXVK"
 | ||
| 	export hud_api="уровень функций D3D, используемый приложением"
 | ||
| 	export hud_compiler="активность шейдерного компилятора"
 | ||
| 	export hud_samplers="текущее количество используемых пар сэмплеров (только для D3D9)"
 | ||
| 
 | ||
| 	export sc_name="Введите название будущего ярлыка:"
 | ||
| 	export sc_path="Создаем ярлык. Выберите файл запуска..."
 | ||
| 	export sc_img="Создаем ярлык. Выберите иконку ICO, или PNG формата..."
 | ||
| 	export sc_cmd="Введите дополнительные параметры запуска, или оставьте полепустым."
 | ||
| 
 | ||
| 	export debug_path="Выберите ярлык для создания .log файла..."
 | ||
| 
 | ||
| elif [ "${update_loc}" = "ENG" ] 
 | ||
| then
 | ||
| 
 | ||
| 	export inst_set="Sett..."
 | ||
| 	export inst_set_top="PortWINE setting"
 | ||
| 
 | ||
| 	export ss_title="Settings::"
 | ||
| 	export ss_text="Choose your preferred ${portname} launch option. You can always change your choice by unsetting\nthe reset shortcut from the directory: "${PORT_WINE_PATH}"/"
 | ||
| 	export ss_ver="Version:"
 | ||
| 	export ss_default_1="Standard start"
 | ||
| 	export ss_default_2="Old startup, with questions and logs"
 | ||
| 	export ss_ogl_2="Use OpenGL and VKD3D. (DX9-DX11 to OpenGL and DX12 to vulkan)"
 | ||
| 	export ss_ogl_3="Use DXVK and D9VK. (DX9-DX11 to Vulkan)" 
 | ||
| 	export ss_done="The shortcut was created in the ${portname} directory.\nAdd it to MENU -> GAMES?" 
 | ||
| 
 | ||
| 	export inst_succ="The installation was successful."
 | ||
| 
 | ||
| 	export port_upd1="New update PortWINE"
 | ||
| 	export port_upd2="On portwine-linux.ru site published an update to the ${portname}\n"
 | ||
| 	export port_upd3="Action:"
 | ||
| 	export port_upd4="Go to the website"
 | ||
| 	export port_upd5="Remind me later"
 | ||
| 	export port_upd6="Do not remind me"
 | ||
| 
 | ||
| 	export port_del1="Remove $portname" 
 | ||
| 	export port_del2="Are you sure you want to delete the ${portname}?\n"
 | ||
| 	export port_del3="Remove?!"
 | ||
| 	export port_del4="No!"
 | ||
| 	export port_del5="Yes!"
 | ||
| 	export port_del6="was deleted."
 | ||
| 	export port_deb1="PortWINE was launched in creation mode ${portname}.log and it is successfully stored in the root directory of the port"
 | ||
| 
 | ||
| 	export port_deb2="To diagnose the problem, copy ALL of the log in comments to the game on the site portwine-linux.ru"
 | ||
| 
 | ||
| 	export port_start1="Starting the PortWINE"
 | ||
| 	export port_start2="In what mode you want to start the PortWINE?"
 | ||
| 	export port_start3="Mode:"
 | ||
| 	export port_start4="Normal"
 | ||
| 	export port_start5="Individual X-Session"
 | ||
| 	export port_start6="Create LOG-file"
 | ||
| 	export port_start7="Run winetricks"
 | ||
| 	export port_start8="DXVK"
 | ||
| 
 | ||
| 	export port_time1="Information"
 | ||
| 	export port_time2="Do you think that it is difficult to help the author develop the project?\nNo! It is enough that you would sacrifice what you think is necessary, well, or at least 1$."
 | ||
| 	export port_time3="Action:"
 | ||
| 	export port_time4="Go to the site and help develop the project"
 | ||
| 	export port_time5="I do not want to help the project"
 | ||
| 	export port_time6="I'm well done and have already contributed to the future of the project"
 | ||
| 
 | ||
| 	export port_debug="After finishing the ${portname}, click OK."
 | ||
| 
 | ||
| 	export hud_text="The DXVK_HUD environment variable controls a HUD which can display the framerate\nand some stat counters. It accepts a comma-separated list of the following options:"
 | ||
| 	export hud_info="Description:"
 | ||
| 	export hud_fps="Shows the current frame rate."
 | ||
| 	export hud_devinfo="Displays the name of the GPU and the driver version."
 | ||
| 	export hud_frametimes="Shows a frame time graph."
 | ||
| 	export hud_submissions="Shows the number of command buffers submitted per frame."
 | ||
| 	export hud_drawcalls="Shows the number of draw calls and render passes per frame."
 | ||
| 	export hud_pipelines="Shows the total number of graphics and compute pipelines."
 | ||
| 	export hud_memory="Shows the amount of device memory allocated and used."
 | ||
| 	export hud_gpuload="Shows estimated GPU load. May be inaccurate."
 | ||
| 	export hud_version="Shows DXVK version."
 | ||
| 	export hud_api="Shows the D3D feature level used by the application."
 | ||
| 	export hud_compiler="Shows shader compiler activity"
 | ||
| 	export hud_samplers="Shows the current number of sampler pairs used [D3D9 Only]"
 | ||
| 
 | ||
| 	export sc_name="Name shortcut:"
 | ||
| 	export sc_path="Select the .exe file..."
 | ||
| 	export sc_img="Select the .ICO or .PNG file..."
 | ||
| 	export sc_cmd="Add command line"
 | ||
| 
 | ||
| 	export debug_path="Select the .desktop file for create the log"
 | ||
| 
 | ||
| fi
 | ||
| 
 |