sinusbot_linux64.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <game_config>
  2. <game_key>sinusbot_linux64</game_key>
  3. <protocol>lgsl</protocol>
  4. <lgsl_query_name>sinusbot</lgsl_query_name>
  5. <installer>steamcmd</installer>
  6. <game_name>SinusBot for TS 3 and Discord</game_name>
  7. <server_exec_name>sinusbot</server_exec_name>
  8. <cli_template>%CONTROL_PASSWORD%</cli_template>
  9. <cli_params>
  10. <cli_param id="CONTROL_PASSWORD" cli_string="--override-password=" />
  11. </cli_params>
  12. <max_user_amount>1</max_user_amount>
  13. <mods>
  14. <mod key="sinusbot">
  15. <name>none</name>
  16. <installer_name>0</installer_name>
  17. <installer_login>anonymous</installer_login>
  18. </mod>
  19. </mods>
  20. <replace_texts>
  21. <text key="ip">
  22. <default>ListenHost.*</default>
  23. <var>ListenHost =</var>
  24. <filepath>config.ini</filepath>
  25. <options>sq</options>
  26. </text>
  27. <text key="port">
  28. <default>ListenPort.*</default>
  29. <var>ListenPort =</var>
  30. <filepath>config.ini</filepath>
  31. <options>s</options>
  32. </text>
  33. </replace_texts>
  34. <post_install>
  35. rm -R steamapps
  36. if [ ! -s "sinusbot_installer.sh" ]; then
  37. wget https://raw.githubusercontent.com/SinusBot/installer-linux/master/sinusbot_installer.sh
  38. chmod +x sinusbot_installer.sh
  39. fi
  40. if [ ! -s "diagSinusbot.sh" ]; then
  41. wget https://raw.githubusercontent.com/patschi/sinusbot-tools/master/tools/diagSinusbot.sh
  42. chmod +x diagSinusbot.sh
  43. fi
  44. if [ ! -s "sinusbot" ]; then
  45. echo "Sinusbot is not installed!"
  46. fi
  47. OGPUSERNAME=$(whoami)
  48. mkdir -p tempogp
  49. echo
  50. echo
  51. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ R E A D T H I S ////////////////////"
  52. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ////////////////////////////////"
  53. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ R E A D T H I S ////////////////////"
  54. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ////////////////////////////////"
  55. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ R E A D T H I S ////////////////////"
  56. echo
  57. echo
  58. echo "Install Sinusbot with the provided script with the following command:"
  59. echo
  60. echo "sudo su - $OGPUSERNAME"
  61. echo "sudo $PWD/sinusbot_installer.sh"
  62. echo
  63. echo "Use the 'INSTALL' option, then select 'Own path' and use this location:"
  64. echo
  65. echo "$PWD"
  66. echo
  67. echo "Note that the path needs to have NO '/' at the end. Continue by carefuly following"
  68. echo "the instructions and when asked, use the following user name for sinusbot: $OGPUSERNAME"
  69. echo
  70. echo "Follow the Teamspeak client install instructions."
  71. echo "Basically you will need to press in order the ENTER, q, y, and ENTER keys."
  72. echo
  73. echo "WARNING: After Installation, you will need to REMOVE the Sinusbot service by executing"
  74. echo "the sinusbot_installer.sh script again. This is mandatory or else you will have"
  75. echo "Sinusbot running as a service in the background and messing with OGP!"
  76. echo
  77. echo "sudo su - $OGPUSERNAME"
  78. echo "sudo $PWD/sinusbot_installer.sh"
  79. echo
  80. echo "Select the 'REMOVE' option, then select 'Own path' and be sure to use this location:"
  81. echo
  82. echo "$PWD/tempogp"
  83. echo
  84. echo "after that, when asked confirm and continue, DO NOT remove Youtube-DL, confirm the 'tempogp' folder location,"
  85. echo "DO NOT remove the '$OGPUSERNAME' user, and finish you're done, this should have you a working installation."
  86. echo
  87. echo
  88. echo "At any time, to make sure you have all dependencies before starting Sinusbot you can use the"
  89. echo "diagnostic script available in this folder, execute the following command from terminal:"
  90. echo
  91. echo "sudo $PWD/diagSinusbot.sh"
  92. echo
  93. echo "Follow the instructions to install all the dependencies"
  94. echo "Once all is clear you should be able to start the bot"
  95. echo
  96. echo
  97. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ R E A D T H I S A B O V E ///////////////////"
  98. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ /////////////////////////////////////"
  99. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ R E A D T H I S A B O V E ///////////////////"
  100. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ /////////////////////////////////////"
  101. echo "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ R E A D T H I S A B O V E ///////////////////"
  102. echo
  103. </post_install>
  104. <lock_files>
  105. teamspeak3-client/ts3client_linux_amd64
  106. </lock_files>
  107. <configuration_files>
  108. <file description="Main Config File">config.ini</file>
  109. </configuration_files>
  110. </game_config>