diff --git a/com.blizzard.StarCraft/README.md b/com.blizzard.StarCraft/README.md new file mode 100644 index 0000000..2e7ea84 --- /dev/null +++ b/com.blizzard.StarCraft/README.md @@ -0,0 +1,35 @@ +# StarCraft +The Ultimate Real-time Strategy Game + +## Status + +| Arch | Installs | Runs | Notes | +| ----- | -------- | ---- | ----- | +| 32bit | N/A | N/A | | +| 64bit | NeedsTest | NeedsTest | NeedsTest | + +## Build & Install +### Repo +#### 32bit + + flatpak-builder --arch=i386 --force-clean builds --repo=winepak com.blizzard.StarCraft.yml + flatpak --user install winepak com.blizzard.StarCraft + +#### 64bit + + flatpak-builder --arch=x86_64 --force-clean builds --repo=winepak com.blizzard.StarCraft.yml + flatpak --user install winepak com.blizzard.StarCraft + +### Direct +#### 32bit + + flatpak-builder --user --arch=i386 --force-clean --install builds com.blizzard.StarCraft.yml + +#### 64bit + + flatpak-builder --user --arch=x86_64 --force-clean --install builds com.blizzard.StarCraft.yml + +## Run + + flatpak run com.blizzard.StarCraft + diff --git a/com.blizzard.StarCraft/com.blizzard.StarCraft.appdata.xml b/com.blizzard.StarCraft/com.blizzard.StarCraft.appdata.xml new file mode 100644 index 0000000..0d24b9e --- /dev/null +++ b/com.blizzard.StarCraft/com.blizzard.StarCraft.appdata.xml @@ -0,0 +1,90 @@ + + + com.blizzard.StarCraft.desktop + CC0-1.0 + LicenseRef-proprietary + StarCraft + The Ultimate Real-time Strategy Game + Estratégia em tempo real (RTS) + (RTS) Estrategia en tiempo real +

Infinite fronts, infinite enemies. Real-time Strategy Restored. Command the mechanized Terrans, psi-powered Protoss, and insectoid Zerg as they vie for map control of eight unique environments. Build your base and conscript your army in a real-time, military sci-fi vision of the future. Once you’ve finished the campaign, go head-to-head or team up with other players online. Pit StarCraft’s iconic, radically-different races against one another in the ultimate theater of war.

+

Batalhas infinitas, inimigos infinitos.Estratégia em tempo real revitalizada. Lidere os terranos com suas máquinas mortíferas, os protoss de poderes psiônicos, e os zergs insectiformes em batalhas territoriais por oito cenários únicos. Mergulhe num futuro militarista de ficção-científica. Construa uma base e aliste o seu exército. Tudo isto numa experiência em tempo real! Terminou a campanha? Então aproveite para enfrentar ou cooperar com outros jogadores em batalhas online. Você terá o maior palco de guerra do universo à sua disposição, onde as inigualáveis raças de StarCraft se enfrentarão ao seu comando.

+

Infinidad de frentes, infinidad de enemigos Estrategia en tiempo real renovada. Dirige a los terran mecanizados, a los protoss con energía psiónica y a los zerg insectoides en su lucha por obtener el control del mapa en ocho entornos únicos. Construye tu base y recluta a tu ejército en tiempo real en esta versión militarizada de un futuro de ciencia ficción. Cuando hayas terminado la campaña, disfruta de las batallas en línea, tanto en equipo como mano a mano contra otro jugador. Enfrenta a las razas emblemáticas y radicalmente diferentes de StarCraft en el escenario de guerra final.

+ + + + https://static.starcraft.com/images/content/share/share-1200x630-ca2d9035c74f9bb10faf142c83f76b47c909d6bbb177522676428d590c92ac16c99a92d1aea0afd4bbbd269e88b4341c4840d183d5555504f305c5a2a484469a.jpg + + + https://static.starcraft.com/videos/posters/terran-base-sd.mp4-8acd31f975586586c1cea364b36af668a85d93e8784e01b384f062cd68206621b3c0709c597e266f4b8adb034779025bd5939a16dbbbbcf380db4215fb6ef7c8.jpg + + + https://bnetcmsus-a.akamaihd.net/cms/gallery/WP69H5HSD4JL1498596196607.png + + + https://bnetcmsus-a.akamaihd.net/cms/gallery/U9E1ZAJGH5FF1498596198839.png + + + https://bnetcmsus-a.akamaihd.net/cms/gallery/U9M6B5REQJ9T1498596196575.png + + + https://bnetcmsus-a.akamaihd.net/cms/gallery/OKZIMO3EP35I1498596201630.png + + + + winepak + Blizzard Entertainment + + https://StarCraft.com + https://us.battle.net/support/en/games/StarCraft + https://us.battle.net/forums/en/starcraft/22814093/ + + + Game + StrategyGame + + + + 2048 + + + + none + intense + none + intense + none + none + none + none + moderate + none + moderate + none + none + none + none + none + moderate + mild + none + none + intense + none + none + none + none + none + none + + + + + +
    +
  • Initial release of StarCraft via winepak.
  • +
+
+
+
+
diff --git a/com.blizzard.StarCraft/com.blizzard.StarCraft.desktop b/com.blizzard.StarCraft/com.blizzard.StarCraft.desktop new file mode 100644 index 0000000..c2a90e2 --- /dev/null +++ b/com.blizzard.StarCraft/com.blizzard.StarCraft.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=StarCraft +Comment=The Ultimate Real-time Strategy Game +Exec=starcraft %U +Icon=com.blizzard.StarCraft +StartupNotify=true +Terminal=false +Type=Application +MimeType=application/x-ms-dos-executable;application/x-msi;application/x-ms-shortcut; +Categories=Game;StrategyGame; +Keywords=StarCraft;StarCraft;sc;Blizzard;Real-time;Strategy; diff --git a/com.blizzard.StarCraft/com.blizzard.StarCraft.svg b/com.blizzard.StarCraft/com.blizzard.StarCraft.svg new file mode 100644 index 0000000..88a0cb6 --- /dev/null +++ b/com.blizzard.StarCraft/com.blizzard.StarCraft.svg @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/com.blizzard.StarCraft/com.blizzard.StarCraft.yml b/com.blizzard.StarCraft/com.blizzard.StarCraft.yml new file mode 100644 index 0000000..7e40453 --- /dev/null +++ b/com.blizzard.StarCraft/com.blizzard.StarCraft.yml @@ -0,0 +1,126 @@ +app-id: com.blizzard.StarCraft +branch: stable + +runtime: org.winepak.Platform +runtime-version: 3.0 +sdk: org.winepak.Sdk + +base: com.blizzard.BattleNet.BaseApp +base-version: stable + +command: StarCraft + +inherit-extensions: + - org.winepak.Platform.Compat32 + - org.winepak.Platform.Extension.corefonts + - org.winepak.Platform.Extension.vcrun2015 + +add-extensions: + org.winepak.Platform.Wine: + directory: lib/wine + version: 3.11-staging + add-ld-path: lib + no-autodownload: false + + org.winepak.Platform.Wine.Compat32: + directory: lib/wine-32bit + version: 3.11-staging + add-ld-path: lib + no-autodownload: false + +tags: + - proprietary + +finish-args: + - --socket=x11 + - --socket=pulseaudio + - --share=ipc + - --share=network + - --device=dri + - --allow=multiarch + - --allow=devel + - --filesystem=xdg-documents + +modules: + - name: setup-wine + buildsystem: simple + build-commands: + - mkdir -p /app/lib/wine + + - name: setup-wine-compat32 + buildsystem: simple + build-commands: + - mkdir -p /app/lib/wine-32bit + + - name: StarCraft + only-arches: + - x86_64 + buildsystem: simple + build-commands: + - install -d /app/bin + - install StarCraft-installer /app/bin + - install StarCraft /app/bin + - install -Dm644 com.blizzard.StarCraft.appdata.xml /app/share/appdata/com.blizzard.StarCraft.appdata.xml + - install -Dm644 com.blizzard.StarCraft.desktop /app/share/applications/com.blizzard.StarCraft.desktop + - install -Dm664 com.blizzard.StarCraft.svg /app/share/icons/hicolor/scalable/apps/com.blizzard.StarCraft.svg + sources: + - type: script + dest-filename: StarCraft-installer + commands: + - if [ -z "$WINEPREFIX" ] ; then + - ' echo "No wine prefix set or is empty, abort."' + - ' exit 1' + - fi + - + - source /app/bin/battlenet-installer "battlenet://starcraft" + - + - if [[ $? != 0 ]] ; then + - ' echo "Battle.net installer failed, abort."' + - ' exit 1' + - fi + - + - if [ -e "${WINEPREFIX}/dosdevices/c:/Program Files (x86)/StarCraft" ] ; then + - ' echo "This prefix already has an exisiting ''StarCraft'' install at ${WINEPREFIX}"' + - ' echo "In order to install ''StarCraft'' you must move or delete the current prefix."' + - ' exit 1' + - fi + - + - echo "Set OffScreenRenderingMode to pbuffer..." + - wine64 reg add "HKEY_CURRENT_USER\Software\Wine\Direct3D" /v "OffScreenRenderingMode" /d "pbuffer" /f + - + - echo "Enable GLSL..." + - wine64 reg add "HKEY_CURRENT_USER\Software\Wine\Direct3D" /v "UseGLSL" /d "enabled" /f + - + - echo "Set VertexShaderMode to hardware..." + - wine64 reg add "HKEY_CURRENT_USER\Software\Wine\Direct3D" /v "VertexShaderMode" /d "hardware" /f + - + - echo "Setting Windows 10 mode for Wine" + - wine64 reg add "HKEY_CURRENT_USER\Software\Wine\" /v "Version" /d "win10" /f + - + - echo "Installer finished" + - type: script + dest-filename: StarCraft + commands: + - export WINEARCH=win64 + - + - if ! [ -e "${WINEPREFIX}/dosdevices/c:/Program Files (x86)/Battle.net" ] ; then + - ' source /app/bin/StarCraft-installer' + - ' if [[ $? != 0 ]] ; then' + - ' echo "Installation failed, abort."' + - ' exit 1' + - ' fi' + - fi + - + - echo "Verify \"Battle.net Helper.exe\" doesn't launch..." + - if [ -f "${WINEPREFIX}/dosdevices/c:/Program Files (x86)/Battle.net/Battle.net*/Battle.net Helper.exe" ] ; then + - ' mv "${WINEPREFIX}/dosdevices/c:/Program Files (x86)/Battle.net/Battle.net*/Battle.net Helper.exe" "${WINEPREFIX}/dosdevices/c:/Program Files (x86)/Battle.net/Battle.net*/Battle.net Helper.exe.bak"' + - fi + - + - wine64 "${WINEPREFIX}/dosdevices/c:/Program Files (x86)/Battle.net/Battle.net Launcher.exe" "battlenet://starcraft" + - type: file + path: com.blizzard.StarCraft.appdata.xml + - type: file + path: com.blizzard.StarCraft.desktop + - type: file + path: com.blizzard.StarCraft.svg +