Script para configuração do jogo 0 A.D

Publicado por Felipe Ruiz Peixoto (última atualização em 14/05/2012)

[ Hits: 4.656 ]

Homepage: https://www.ubuntu.com/

Download 0AD_Config_Script_Linux




O 0 A.D. é um excelente jogo de estratégia em tempo real, mas ainda não está completo, e não possui no seu menu a janela de configurações.
Este script edita o arquivo de configuração do jogo de maneira fácil e rápida no terminal do Linux, espero que seja útil, e sirva para o aprimoramento do jogo.

Esta é a primeira versão do script.

  



Esconder código-fonte

#This is the first version of the script to configure automatically the 0A.D. Game
#Writed by Felipe Ruiz Peixoto <feliperuiz.sax.eletronic@gmail.com>
#Under GPL License

#DEFAULT SETTINGS

windowed="false"

pauseonfocusloss="true"

xres="0"
yres="0"

bpp="0"

fancywater="true"
shadows="true"
shadowpcf="true"
vsync="false"

nos3tc="false"
noautomipmap="true"
novbo="false"
noframebufferobject="false"

nohwcursor="false"

force_s3tc_enable="true"

renderpath="default"

preferglsl="false"

lodbias="0"

userreport_dot_url="\"http://feedback.wildfiregames.com/report/upload/v1/\""

skycolor="\"0 0 0\""

sound_dot_mastergain="0.5"

view_dot_scroll_dot_speed="120.0"
view_dot_rotate_dot_x_dot_speed="1.2"
view_dot_rotate_dot_x_dot_min="28.0"
view_dot_rotate_dot_x_dot_max="60.0"
view_dot_rotate_dot_x_dot_default="35.0"
view_dot_rotate_dot_y_dot_speed="2.0"
view_dot_rotate_dot_y_dot_speed_dot_wheel="0.45"
view_dot_rotate_dot_y_dot_default="0.0"
view_dot_drag_dot_speed="0.5"
view_dot_zoom_dot_speed="256.0"
view_dot_zoom_dot_speed_dot_wheel="32.0"
view_dot_zoom_dot_min="50.0"
view_dot_zoom_dot_max="200.0"
view_dot_zoom_dot_default="100.0"
view_dot_pos_dot_smoothness="0.1"
view_dot_zoom_dot_smoothness="0.4"
view_dot_rotate_dot_x_dot_smoothness="0.5"
view_dot_rotate_dot_y_dot_smoothness="0.3"
view_dot_near="2.0"
view_dot_far="4096.0"
view_dot_fov="45.0"

hotkey_dot_exit="Alt+F4"
hotkey_dot_leave="Escape"
hotkey_dot_pause="Pause"
hotkey_dot_screenshot="F2"
hotkey_dot_bigscreenshot="\"Shift+F2\""
hotkey_dot_togglefullscreen="\"Alt+Return\""
hotkey_dot_screenshot_dot_watermark="\"K\""
hotkey_dot_wireframe="\"Alt+W\""

hotkey_dot_camera_dot_reset="\"H\""
hotkey_dot_camera_dot_follow="\"F\""
hotkey_dot_camera_dot_zoom_dot_in="Plus, Equals, NumPlus"
hotkey_dot_camera_dot_zoom_dot_out="Minus, NumMinus"
hotkey_dot_camera_dot_zoom_dot_wheel_dot_in=WheelUp
hotkey_dot_camera_dot_zoom_dot_wheel_dot_out=WheelDown
hotkey_dot_camera_dot_rotate_dot_up="\"Ctrl+UpArrow\", \"Ctrl+W\""
hotkey_dot_camera_dot_rotate_dot_down="\"Ctrl+DownArrow\", \"Ctrl+S\""
hotkey_dot_camera_dot_rotate_dot_cw="\"Ctrl+LeftArrow\", \"Ctrl+A\", Q"
hotkey_dot_camera_dot_rotate_dot_ccw="\"Ctrl+RightArrow\", \"Ctrl+D\", E"
hotkey_dot_camera_dot_rotate_dot_wheel_dot_cw="\"Shift+WheelUp\", MouseX1"
hotkey_dot_camera_dot_rotate_dot_wheel_dot_ccw="\"Shift+WheelDown\", MouseX2"
hotkey_dot_camera_dot_pan="MouseMiddle, ForwardSlash"
hotkey_dot_camera_dot_left="A, LeftArrow"
hotkey_dot_camera_dot_right="D, RightArrow"
hotkey_dot_camera_dot_up="W, UpArrow"
hotkey_dot_camera_dot_down="S, DownArrow"

hotkey_dot_console_dot_toggle="BackQuote, F9"

hotkey_dot_copy="\"Ctrl+C\""
hotkey_dot_paste="\"Ctrl+V\""
hotkey_dot_cut="\"Ctrl+X\""

hotkey_dot_selection_dot_add="Shift"
hotkey_dot_selection_dot_milonly="Alt"
hotkey_dot_selection_dot_remove="Ctrl"
hotkey_dot_selection_dot_idleworker="Period"
hotkey_dot_selection_dot_idlewarrior="Comma"
hotkey_dot_selection_dot_offscreen="Alt"
hotkey_dot_selection_dot_group_dot_select_dot_0="0"
hotkey_dot_selection_dot_group_dot_save_dot_0="\"Ctrl+0\""
hotkey_dot_selection_dot_group_dot_add_dot_0="\"Shift+0\""
hotkey_dot_selection_dot_group_dot_select_dot_1="1"
hotkey_dot_selection_dot_group_dot_save_dot_1="\"Ctrl+1\""
hotkey_dot_selection_dot_group_dot_add_dot_1="\"Shift+1\""
hotkey_dot_selection_dot_group_dot_select_dot_2="2"
hotkey_dot_selection_dot_group_dot_save_dot_2="\"Ctrl+2\""
hotkey_dot_selection_dot_group_dot_add_dot_2="\"Shift+2\""
hotkey_dot_selection_dot_group_dot_select_dot_3="3"
hotkey_dot_selection_dot_group_dot_save_dot_3="\"Ctrl+3\""
hotkey_dot_selection_dot_group_dot_add_dot_3="\"Shift+3\""
hotkey_dot_selection_dot_group_dot_select_dot_4="4"
hotkey_dot_selection_dot_group_dot_save_dot_4="\"Ctrl+4\""
hotkey_dot_selection_dot_group_dot_add_dot_4="\"Shift+4\""
hotkey_dot_selection_dot_group_dot_select_dot_5="5"
hotkey_dot_selection_dot_group_dot_save_dot_5="\"Ctrl+5\""
hotkey_dot_selection_dot_group_dot_add_dot_5="\"Shift+5\""
hotkey_dot_selection_dot_group_dot_select_dot_6="6"
hotkey_dot_selection_dot_group_dot_save_dot_6="\"Ctrl+6\""
hotkey_dot_selection_dot_group_dot_add_dot_6="\"Shift+6\""
hotkey_dot_selection_dot_group_dot_select_dot_7="7"
hotkey_dot_selection_dot_group_dot_save_dot_7="\"Ctrl+7\""
hotkey_dot_selection_dot_group_dot_add_dot_7="\"Shift+7\""
hotkey_dot_selection_dot_group_dot_select_dot_8="8"
hotkey_dot_selection_dot_group_dot_save_dot_8="\"Ctrl+8\""
hotkey_dot_selection_dot_group_dot_add_dot_8="\"Shift+8"\"
hotkey_dot_selection_dot_group_dot_select_dot_9="9"
hotkey_dot_selection_dot_group_dot_save_dot_9="\"Ctrl+9\""
hotkey_dot_selection_dot_group_dot_add_dot_9="\"Shift+9\""

hotkey_dot_session_dot_kill="Delete"
hotkey_dot_session_dot_garrison="Ctrl"
hotkey_dot_session_dot_queue="Shift"
hotkey_dot_session_dot_batchtrain="Shift"
hotkey_dot_session_dot_massbarter="Shift"
hotkey_dot_session_dot_deselectgroup="Ctrl"
hotkey_dot_session_dot_rotate_dot_cw="RightBracket"
hotkey_dot_session_dot_rotate_dot_ccw="LeftBracket"
hotkey_dot_timewarp_dot_fastforward="Space"
hotkey_dot_timewarp_dot_rewind="Backspace"

hotkey_dot_fps_dot_toggle="\"Alt+F\""
hotkey_dot_session_dot_devcommands_dot_toggle="\"Alt+D\""
hotkey_dot_session_dot_gui_dot_toggle="\"Alt+G\""
hotkey_dot_menu_dot_toggle="\"F10\""
hotkey_dot_timeelapsedcounter_dot_toggle="\"F12\""

hotkey_dot_chat="Return"

hotkey_dot_text_dot_delete_dot_left="\"Ctrl+Backspace\""
hotkey_dot_text_dot_delete_dot_right="\"Ctrl+Del\""
hotkey_dot_text_dot_move_dot_left="\"Ctrl+LeftArrow\""
hotkey_dot_text_dot_move_dot_right="\"Ctrl+RightArrow\""

hotkey_dot_profile_dot_toggle="\"F11\""
hotkey_dot_profile_dot_save="\"Shift+F11\""
hotkey_dot_profile2_dot_enable="\"F11\""

profiler2_dot_http_dot_autoenable="\"false\""
profiler2_dot_gpu_dot_autoenable="\"false\""
profiler2_dot_gpu_dot_arb_dot_enable="\"true\""
profiler2_dot_gpu_dot_ext_dot_enable="\"true\""
profiler2_dot_gpu_dot_intel_dot_enable="\"true\""

hotkey_dot_attackmove="Super"

hotkey_dot_quicksave="\"Shift+F5\""
hotkey_dot_quickload="\"Shift+F8\""

joystick_dot_enable="\"false\""
joystick_dot_deadzone="8192"
joystick_dot_camera_dot_pan_dot_x="0"
joystick_dot_camera_dot_pan_dot_y="1"
joystick_dot_camera_dot_rotate_dot_x="3"
joystick_dot_camera_dot_rotate_dot_y="2"
joystick_dot_camera_dot_zoom_dot_in="5"
joystick_dot_camera_dot_zoom_dot_out="4"

#Configurations settings

configdirectory="/usr/share/games/0ad/config"
option="0"


echo "This is a script to configure automatically the 0A.D. Game."
echo "PLEASE BE SURE THAT IS RUNNING WITH SUPER USER PERMISSIONS"
echo $configdirectory
echo "Is this the directory of the default.cfg file ? If not, write not to rewrite it."
read option
if [ $option = "not" ]
then
   read configdirectory
fi

Option(){
   echo "Options"
   echo "Save options = s"
   echo "Exit = x"
   echo "Windowed mode = w"
   echo "Focus loss pause = f"
   echo "Resolution = r"
   echo "Bit Depth = b"
   read option
   case $option in
         x) exit ;;
         X) exit ;;
         w) Windowed ;;
         s) Save ;;
         f) FocusLoss ;;
         r) Resoluton ;;
         b) BPP ;;
         *) echo "Invalid Option" ; Option ;;
   esac
}

Windowed(){
   echo "Play the game on a window? true or false"
   read option2
   if [ $option2 = "true" ]
   then
      windowed="true"
   else
      windowed="false"
   fi
   Option
}

FocusLoss(){
   echo "Pause the game on window focus loss? true or false"
   read option2
   if [ $option2 = "true" ]
   then
      pauseonfocusloss="true"
   else
      pauseonfocusloss="false"
   fi
   Option
}

Resoluton(){
   echo "Write the X size"
   read xres
   echo "Write the Y size"
   read yres
   Option
}

BPP(){
   echo "Write the bit depth value"
   read bpp
   Option
}


Save(){
   cd "$configdirectory"
   
   echo "windowed = $windowed" > local.cfg
   
   echo "pauseonfocusloss = $pauseonfocusloss" >> local.cfg

   echo "xres = $xres" >> local.cfg
   echo "yres = $yres" >> local.cfg

   echo "bpp = $bpp" >> local.cfg
   
   echo "fancywater = $fancywater" >> local.cfg
   echo "shadows = $shadows" >> local.cfg
   echo "shadowpcf = $shadowpcf" >> local.cfg
   echo "vsync = $vsync" >> local.cfg
   
   echo "nos3tc = $nos3tc" >> local.cfg
   echo "noautomipmap = $noautomipmap" >> local.cfg
   echo "novbo = $novbo" >> local.cfg
   echo "noframebufferobject = $noframebufferobject" >> local.cfg
   
   echo "nohwcursor = $nohwcursor" >> local.cfg
   echo "force_s3tc_enable = $force_s3tc_enable" >> local.cfg

   echo "renderpath = $renderpath" >> local.cfg
   
   echo "preferglsl = $preferglsl" >> local.cfg
   
   echo "lodbias = $lodbias" >> local.cfg
   
   echo "userreport.url = $userreport_dot_url" >> local.cfg
   
   echo "skycolor = $skycolor" >> local.cfg
   
   echo "sound.mastergain = $sound_dot_mastergain" >> local.cfg
   
   echo "view.scroll.speed = $view_dot_scroll_dot_speed" >> local.cfg
   echo "view.rotate.x.speed = $view_dot_rotate_dot_x_dot_speed" >> local.cfg
   echo "view.rotate.x.min = $view_dot_rotate_dot_x_dot_min" >> local.cfg
   echo "view.rotate.x.max = $view_dot_rotate_dot_x_dot_max" >> local.cfg
   echo "view.rotate.x.default = $view_dot_rotate_dot_x_dot_default" >> local.cfg
   echo "view.rotate.y.speed = $view_dot_rotate_dot_y_dot_speed" >> local.cfg
   echo "view.rotate.y.speed.wheel = $view_dot_rotate_dot_y_dot_speed_dot_wheel" >> local.cfg
   echo "view.rotate.y.default = $view_dot_rotate_dot_y_dot_default" >> local.cfg
   echo "view.drag.speed = $view_dot_drag_dot_speed" >> local.cfg
   echo "view.zoom.speed = $view_dot_zoom_dot_speed" >> local.cfg
   echo "view.zoom.speed.wheel = $view_dot_zoom_dot_speed_dot_wheel" >> local.cfg
   echo "view.zoom.min = $view_dot_zoom_dot_min" >> local.cfg
   echo "view.zoom.max = $view_dot_zoom_dot_max" >> local.cfg
   echo "view.zoom.default = $view_dot_zoom_dot_default" >> local.cfg
   echo "view.pos.smoothness = $view_dot_pos_dot_smoothness" >> local.cfg
   echo "view.zoom.smoothness = $view_dot_zoom_dot_smoothness" >> local.cfg
   echo "view.rotate.x.smoothness = $view_dot_rotate_dot_x_dot_smoothness" >> local.cfg
   echo "view.rotate.y.smoothness = $view_dot_rotate_dot_y_dot_smoothness" >> local.cfg
   echo "view.near = $view_dot_near" >> local.cfg
   echo "view.far = $view_dot_far" >> local.cfg
   echo "view.fov = $view_dot_fov" >> local.cfg

   echo "hotkey.exit = $hotkey_dot_exit" >> local.cfg
   echo "hotkey.leave = $hotkey_dot_leave" >> local.cfg
   echo "hotkey.pause = $hotkey_dot_pause" >> local.cfg
   echo "hotkey.screenshot = $hotkey_dot_screenshot" >> local.cfg
   echo "hotkey.bigscreenshot = $hotkey_dot_bigscreenshot" >> local.cfg
   echo "hotkey.togglefullscreen = $hotkey_dot_togglefullscreen" >> local.cfg
   echo "hotkey.screenshot.watermark = $hotkey_dot_screenshot_dot_watermark" >> local.cfg
   echo "hotkey.wireframe = $hotkey_dot_wireframe" >> local.cfg

   echo "hotkey.camera.reset = $hotkey_dot_camera_dot_reset" >> local.cfg
   echo "hotkey.camera.follow = $hotkey_dot_camera_dot_follow" >> local.cfg
   echo "hotkey.camera.zoom.in = $hotkey_dot_camera_dot_zoom_dot_in" >> local.cfg
   echo "hotkey.camera.zoom.out = $hotkey_dot_camera_dot_zoom_dot_out" >> local.cfg
   echo "hotkey.camera.zoom.wheel.in = $hotkey_dot_camera_dot_zoom_dot_wheel_dot_in" >> local.cfg
   echo "hotkey.camera.zoom.wheel.out = $hotkey_dot_camera_dot_zoom_dot_wheel_dot_out" >> local.cfg
   echo "hotkey.camera.rotate.up = $hotkey_dot_camera_dot_rotate_dot_up" >> local.cfg
   echo "hotkey.camera.rotate.down = $hotkey_dot_camera_dot_rotate_dot_down" >> local.cfg
   echo "hotkey.camera.rotate.cw = $hotkey_dot_camera_dot_rotate_dot_cw" >> local.cfg
   echo "hotkey.camera.rotate.ccw = $hotkey_dot_camera_dot_rotate_dot_ccw" >> local.cfg
   echo "hotkey.camera.rotate.wheel.cw = $hotkey_dot_camera_dot_rotate_dot_wheel_dot_cw" >> local.cfg
   echo "hotkey.camera.rotate.wheel.ccw = $hotkey_dot_camera_dot_rotate_dot_wheel_dot_ccw" >> local.cfg
   echo "hotkey.camera.pan = $hotkey_dot_camera_dot_pan" >> local.cfg
   echo "hotkey.camera.left = $hotkey_dot_camera_dot_left" >> local.cfg
   echo "hotkey.camera.right = $hotkey_dot_camera_dot_right" >> local.cfg
   echo "hotkey.camera.up = $hotkey_dot_camera_dot_up" >> local.cfg
   echo "hotkey.camera.down = $hotkey_dot_camera_dot_down" >> local.cfg

   echo "hotkey.console.toggle = $hotkey_dot_console_dot_toggle" >> local.cfg

   echo "hotkey.copy = $hotkey_dot_copy" >> local.cfg
   echo "hotkey.paste = $hotkey_dot_paste" >> local.cfg
   echo "hotkey.cut = $hotkey_dot_cut" >> local.cfg
   
   echo "hotkey.selection.add = $hotkey_dot_selection_dot_add" >> local.cfg
   echo "hotkey.selection.milonly = $hotkey_dot_selection_dot_milonly" >> local.cfg
   echo "hotkey.selection.remove = $hotkey_dot_selection_dot_remove" >> local.cfg
   echo "hotkey.selection.idleworker = $hotkey_dot_selection_dot_idleworker" >> local.cfg
   echo "hotkey.selection.idlewarrior = $hotkey_dot_selection_dot_idlewarrior" >> local.cfg
   echo "hotkey.selection.offscreen = $hotkey_dot_selection_dot_offscreen" >> local.cfg
   echo "hotkey.selection.group.select.0 = $hotkey_dot_selection_dot_group_dot_select_dot_0" >> local.cfg
   echo "hotkey.selection.group.save.0 = $hotkey_dot_selection_dot_group_dot_save_dot_0" >> local.cfg
   echo "hotkey.selection.group.add.0 = $hotkey_dot_selection_dot_group_dot_add_dot_0" >> local.cfg
   echo "hotkey.selection.group.select.1 = $hotkey_dot_selection_dot_group_dot_select_dot_1" >> local.cfg
   echo "hotkey.selection.group.save.1 = $hotkey_dot_selection_dot_group_dot_save_dot_1" >> local.cfg
   echo "hotkey.selection.group.add.1 = $hotkey_dot_selection_dot_group_dot_add_dot_1" >> local.cfg
   echo "hotkey.selection.group.select.2 = $hotkey_dot_selection_dot_group_dot_select_dot_2" >> local.cfg
   echo "hotkey.selection.group.save.2 = $hotkey_dot_selection_dot_group_dot_save_dot_2" >> local.cfg
   echo "hotkey.selection.group.add.2 = $hotkey_dot_selection_dot_group_dot_add_dot_2" >> local.cfg
   echo "hotkey.selection.group.select.3 = $hotkey_dot_selection_dot_group_dot_select_dot_3" >> local.cfg
   echo "hotkey.selection.group.save.3 = $hotkey_dot_selection_dot_group_dot_save_dot_3" >> local.cfg
   echo "hotkey.selection.group.add.3 = $hotkey_dot_selection_dot_group_dot_add_dot_3" >> local.cfg
   echo "hotkey.selection.group.select.4 = $hotkey_dot_selection_dot_group_dot_select_dot_4" >> local.cfg
   echo "hotkey.selection.group.save.4 = $hotkey_dot_selection_dot_group_dot_save_dot_4" >> local.cfg
   echo "hotkey.selection.group.add.4 = $hotkey_dot_selection_dot_group_dot_add_dot_4" >> local.cfg
   echo "hotkey.selection.group.select.5 = $hotkey_dot_selection_dot_group_dot_select_dot_5" >> local.cfg
   echo "hotkey.selection.group.save.5 = $hotkey_dot_selection_dot_group_dot_save_dot_5" >> local.cfg
   echo "hotkey.selection.group.add.5 = $hotkey_dot_selection_dot_group_dot_add_dot_5" >> local.cfg
   echo "hotkey.selection.group.select.6 = $hotkey_dot_selection_dot_group_dot_select_dot_6" >> local.cfg
   echo "hotkey.selection.group.save.6 = $hotkey_dot_selection_dot_group_dot_save_dot_6" >> local.cfg
   echo "hotkey.selection.group.add.6 = $hotkey_dot_selection_dot_group_dot_add_dot_6" >> local.cfg
   echo "hotkey.selection.group.select.7 = $hotkey_dot_selection_dot_group_dot_select_dot_7" >> local.cfg
   echo "hotkey.selection.group.save.7 = $hotkey_dot_selection_dot_group_dot_save_dot_7" >> local.cfg
   echo "hotkey.selection.group.add.7 = $hotkey_dot_selection_dot_group_dot_add_dot_7" >> local.cfg
   echo "hotkey.selection.group.select.8 = $hotkey_dot_selection_dot_group_dot_select_dot_8" >> local.cfg
   echo "hotkey.selection.group.save.8 = $hotkey_dot_selection_dot_group_dot_save_dot_8" >> local.cfg
   echo "hotkey.selection.group.add.8 = $hotkey_dot_selection_dot_group_dot_add_dot_8" >> local.cfg
   echo "hotkey.selection.group.select.9 = $hotkey_dot_selection_dot_group_dot_select_dot_9" >> local.cfg
   echo "hotkey.selection.group.save.9 = $hotkey_dot_selection_dot_group_dot_save_dot_9" >> local.cfg
   echo "hotkey.selection.group.add.9 = $hotkey_dot_selection_dot_group_dot_add_dot_9" >> local.cfg
   
   echo "hotkey.session.kill = $hotkey_dot_session_dot_kill" >> local.cfg
   echo "hotkey.session.garrison = $hotkey_dot_session_dot_garrison" >> local.cfg
   echo "hotkey.session.queue = $hotkey_dot_session_dot_queue" >> local.cfg
   echo "hotkey.session.batchtrain = $hotkey_dot_session_dot_batchtrain" >> local.cfg
   echo "hotkey.session.massbarter = $hotkey_dot_session_dot_massbarter" >> local.cfg
   echo "hotkey.session.deselectgroup = $hotkey_dot_session_dot_deselectgroup" >> local.cfg
   echo "hotkey.session.rotate.cw = $hotkey_dot_session_dot_rotate_dot_cw" >> local.cfg
   echo "hotkey.session.rotate.ccw = $hotkey_dot_session_dot_rotate_dot_ccw" >> local.cfg
   echo "hotkey.timewarp.fastforward = $hotkey_dot_timewarp_dot_fastforward" >> local.cfg
   echo "hotkey.timewarp.rewind = $hotkey_dot_timewarp_dot_rewind" >> local.cfg
   
   echo "hotkey.fps.toggle = $hotkey_dot_fps_dot_toggle" >> local.cfg
   echo "hotkey.session.devcommands.toggle = $hotkey_dot_session_dot_devcommands_dot_toggle" >> local.cfg
   echo "hotkey.session.gui.toggle = $hotkey_dot_session_dot_gui_dot_toggle" >> local.cfg
   echo "hotkey.menu.toggle = $hotkey_dot_menu_dot_toggle" >> local.cfg
   echo "hotkey.timeelapsedcounter.toggle = $hotkey_dot_timeelapsedcounter_dot_toggle" >> local.cfg
   
   echo "hotkey.chat = $hotkey_dot_chat" >> local.cfg

   echo "hotkey.text.delete.left = $hotkey_dot_text_dot_delete_dot_left" >> local.cfg
   echo "hotkey.text.delete.right = $hotkey_dot_text_dot_delete_dot_right" >> local.cfg
   echo "hotkey.text.move.left = $hotkey_dot_text_dot_move_dot_left" >> local.cfg
   echo "hotkey.text.move.right = $hotkey_dot_text_dot_move_dot_right" >> local.cfg
   
   echo "hotkey.profile.toggle = $hotkey_dot_profile_dot_toggle" >> local.cfg
   echo "hotkey.profile.save = $hotkey_dot_profile_dot_save" >> local.cfg
   echo "hotkey.profile2.enable = $hotkey_dot_profile2_dot_enable" >> local.cfg
   
   echo "profiler2.http.autoenable = $profiler2_dot_http_dot_autoenable" >> local.cfg
   echo "profiler2.gpu.autoenable = $profiler2_dot_gpu_dot_autoenable" >> local.cfg
   echo "profiler2.gpu.arb.enable = $profiler2_dot_gpu_dot_arb_dot_enable" >> local.cfg
   echo "profiler2.gpu.ext.enable = $profiler2_dot_gpu_dot_ext_dot_enable" >> local.cfg
   echo "profiler2.gpu.intel.enable = $profiler2_dot_gpu_dot_intel_dot_enable" >> local.cfg

   echo "hotkey.attackmove = $hotkey_dot_attackmove" >> local.cfg
   
   echo "hotkey.quicksave = $hotkey_dot_quicksave" >> local.cfg
   echo "hotkey.quickload = $hotkey_dot_quickload" >> local.cfg

   echo "joystick.enable = $joystick_dot_enable" >> local.cfg
   echo "joystick.deadzone = $joystick_dot_deadzone" >> local.cfg
   echo "joystick.camera.pan.x = $joystick_dot_camera_dot_pan_dot_x" >> local.cfg
   echo "joystick.camera.pan.y = $joystick_dot_camera_dot_pan_dot_y" >> local.cfg
   echo "joystick.camera.rotate.x = $joystick_dot_camera_dot_rotate_dot_x" >> local.cfg
   echo "joystick.camera.rotate.y = $joystick_dot_camera_dot_rotate_dot_y" >> local.cfg
   echo "joystick.camera.zoom.in = $joystick_dot_camera_dot_zoom_dot_in" >> local.cfg
   echo "joystick.camera.zoom.out = $joystick_dot_camera_dot_zoom_dot_out" >> local.cfg
   
   Option
}

Option
read it

Scripts recomendados

Detectar sistemas operacionais dos dispositivos na rede via TTL

Script - muda conteúdo de arquivos texto de iso-8859-1 para utf8 recursivamente

chwall.sh

Reiniciar modem via Shell Script

Gerador de slack-desc


  

Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts