nexus2291

Cosmonarchy yml script for lutris submission

Jan 22nd, 2025
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. description:
  2. game_slug: cosmonarchy
  3. slug: cosmonarchy-updater
  4. name: Cosmonarchy
  5. notes: >
  6. Installation and updates require that you have Git installed.
  7. This is a temporary workaround, until a way to run Fraud Launcher 2 on linux is developed.
  8. runner: wine
  9. require-binaries: git, curl
  10. script:
  11. files:
  12. - starcraft: https://fraudsclub.com/files/starcraft.zip
  13. - updater: https://gitlab.com/the-no-frauds-club/cm-lutris/-/raw/master/update.sh
  14. - fontfix: https://gitlab.com/the-no-frauds-club/cm-lutris/-/raw/master/arialuni.ttf
  15. - crownlink: https://github.com/impromptu1583/CrownLink/releases/latest/download/CrownLink.snp
  16. game:
  17. arch: win64
  18. exe: drive_c/Cosmonarchy/Prerelease/Cosmonarchy BW.exe
  19. prefix: $GAMEDIR
  20. launch_configs:
  21. - exe: $GAMEDIR/drive_c/Cosmonarchy/Release/Cosmonarchy BW.exe
  22. name: Release (Tournaments)
  23. installer:
  24. - task:
  25. name: create_prefix
  26. arch: win64
  27. prefix: $GAMEDIR
  28. - extract:
  29. dst: $GAMEDIR/drive_c/Cosmonarchy/Starcraft
  30. file: $starcraft
  31. - move:
  32. dst: $GAMEDIR/drive_c/Cosmonarchy/Starcraft
  33. src: $crownlink
  34. - move:
  35. dst: $GAMEDIR
  36. src: $updater
  37. - move:
  38. dst: $GAMEDIR/drive_c/windows/Fonts
  39. src: $fontfix
  40. - task:
  41. name: winetricks
  42. app: lucida arial vcrun2022
  43. - task:
  44. name: set_regedit
  45. path: HKEY_LOCAL_MACHINE\Software\WOW6432Node\Blizzard Entertainment\Starcraft
  46. key: InstallPath
  47. value: 'C:\\Cosmonarchy\\Starcraft'
  48. - task:
  49. name: set_regedit
  50. path: HKEY_LOCAL_MACHINE\Software\WOW6432Node\Blizzard Entertainment\Starcraft
  51. key: Program
  52. value: 'C:\\Cosmonarchy\\Starcraft\\StarCraft.exe'
  53. - task:
  54. name: set_regedit
  55. path: HKEY_LOCAL_MACHINE\Software\WOW6432Node\Blizzard Entertainment\Starcraft
  56. key: StarEdit
  57. value: 'C:\\Cosmonarchy\\Starcraft'
  58. - execute:
  59. command: >
  60. cd "$GAMEDIR/drive_c/Cosmonarchy";
  61. git clone https://gitlab.com/the-no-frauds-club/cosmonarchy-bw-release.git Release;
  62. git clone https://gitlab.com/the-no-frauds-club/cosmonarchy-bw-prerelease.git Prerelease;
  63. cd "$GAMEDIR/drive_c/Cosmonarchy/Starcraft/Maps";
  64. git clone https://gitlab.com/the-no-frauds-club/cmbw-root.git CMBW-Root;
  65. chmod +x $GAMEDIR/update.sh;
  66. install_complete_text: |
  67. Installation complete!
  68.  
  69. This installation contains both pre-release and release builds of Cosmonarchy.
  70. Under most circumstances, you will want to run the pre-release build.
  71. Tournaments will use the release build.
  72.  
  73. This installation will automatically update itself every time you attempt to launch.
  74.  
  75. Don't forget to visit us at:
  76. https://www.fraudsclub.com/cosmonarchy-bw/
  77. https://discord.gg/s5SKBmY
  78.  
  79. Have fun!
  80. wine:
  81. battleye: false
  82. eac: false
  83. fsr: false
  84. overrides:
  85. ddraw: n,b
  86. system:
  87. prelaunch_command: $GAMEDIR/update.sh
  88. prelaunch_wait: true
  89. slug: cosmonarchy
  90. steamid: null
  91. version: Both Versions
  92. year: 2024
Advertisement
Add Comment
Please, Sign In to add comment