diff --git a/.includes/functions.sh b/.includes/functions.sh index 5a6d4a0..4a12878 100644 --- a/.includes/functions.sh +++ b/.includes/functions.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Source IPFS game URLs +source "${BASH_SOURCE[0]%/*}/ipfs.sh" + # Alerts, for when user needs to read something. alert() { play -qnV0 synth 3 pluck D3 pluck A3 pluck D4 pluck F4 pluck A4 delay 0 .1 .2 .3 .4 remix - chorus 0.9 0.9 38 0.75 0.3 0.5 -t diff --git a/.includes/ipfs.sh b/.includes/ipfs.sh new file mode 100644 index 0000000..64d2e92 --- /dev/null +++ b/.includes/ipfs.sh @@ -0,0 +1,63 @@ +# shellcheck shell=bash +# Central repository for IPFS game download URLs +# This file is sourced by functions.sh + +declare -Ag ipfs=( + # Core System Files + [nvdaControllerClient32]="${ipfsGateway}/ipfs/QmTrRrT4QFKSkZ8ivfUawA6iJ6adEyyogccE3nLDTfSK8u?filename=nvdaControllerClient32.dll" + [nvdaControllerClient64]="${ipfsGateway}/ipfs/QmaYE7RFDtwHCiXCVLcuA3esfFx6E7koidtvrck9AwPuuN?filename=nvdaControllerClient64.dll" + [nvda2speechd]="${ipfsGateway}/ipfs/QmPxhoNsoFoJC7bCfioBBCcK8tEoSoYpm342z6u7KjFsVz?filename=nvda2speechd" + + # Games (alphabetical order) + [BG 15 Puzzle]="${ipfsGateway}/ipfs/QmQiocMpMXoxejDftKKvmrR5xxpj1qcWcgkhBBwTcyijXg?filename=FPB32Setup10a.exe" + [BG 2048]="${ipfsGateway}/ipfs/QmPNt3c78UBgEMrTH3eJ5eD2mCMdth6jwes1iDKGW24Uj5?filename=BG204832Setup10a.exe" + [BG Aces Up Solitaire]="${ipfsGateway}/ipfs/QmTshtHBEV9dh7wFtaQpNUEYHZ3fBpuhSRZqc7k8HwmtPM?filename=ASB32Setup10.exe" + [BG Alchemy]="${ipfsGateway}/ipfs/Qma76HXBhmKgMDeHH1XLePsaWzzzLsBS2HRL3c7MVwDokg?filename=BAC32Setup10.exe" + [BG Battleship]="${ipfsGateway}/ipfs/Qmaq9P9fxdLTEFMGg4mhHrRuUbPg6HgU3eYVJNqZUimHjo?filename=BGB32Setup10.exe" + [BG Boggle]="${ipfsGateway}/ipfs/QmQwWiJw9hDiPdfwDyL4XepeoD66ztVRi3HwbSjFFP4CNg?filename=BGB32Setup10a.exe" + [BG Boxes]="${ipfsGateway}/ipfs/QmRn21tREXxXVSaDe9i54zEPzPSespjJAFBqu4DWocuagD?filename=BXB32Setup10.exe" + [BG Brainiac]="${ipfsGateway}/ipfs/QmWEdmTkQsjSqBgWUgnDajMf8QvQBbEF4Nxo6mhkXYzBtQ?filename=BRN32Setup10a.exe" + [BG Chess Challenge]="${ipfsGateway}/ipfs/QmT2yBpU5Jqna18FxYtyWzi4xMGAY9PyJWStAskxCHqBDw?filename=BGC32Setup10d.exe" + [BG Code Breaker]="${ipfsGateway}/ipfs/QmU486SssAdM7kPKwDyAKDLQs3Z92bG6wFjaLhzqDZCxAF?filename=BCB32Setup10.exe" + [BG Cribbage]="${ipfsGateway}/ipfs/QmeFud3EPHy7wQe8UENgvh96HdAazEkwqA2AutCNkYvB3t?filename=BGC32Setup12e.exe" + [BG Cribbage Solitaire]="${ipfsGateway}/ipfs/QmbRUiknnNcibWD3NwK4DFZGNHWswBgsFidUzU1TFGJ5Ra?filename=BCS32Setup10.exe" + [BG Crossword Puzzle]="${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BGX32Setup10h.exe" + [BG Draw Dominoes]="${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BDD32Setup.exe" + [BG Elevens Solitaire]="${ipfsGateway}/ipfs/QmWWZByYL5CsDSi6gQLGcMyBL7zqD5hWXbPXJr3shRt5AQ?filename=ESB32Setup10.exe" + [BG Fives Dominoes]="${ipfsGateway}/ipfs/QmSZt6dz7WQkNrFBmYq9n4WdYrrZyQAebTBPo46uHqCuNi?filename=BFD32Setup10.exe" + [BG Free Cell Solitaire]="${ipfsGateway}/ipfs/QmVfQMMnqTD9Zm8Xwv7rGrUTdS9FXToq7Fv6wtQQVgbQGR?filename=BGF32Setup20.exe" + [BG Golf Solitaire]="${ipfsGateway}/ipfs/QmfAp9EYou1pndLwYSdpYdUCHBv2DR94oFccQh1ii9JVLD?filename=GSB32Setup10a.exe" + [BG Hangman]="${ipfsGateway}/ipfs/QmXTPMmvw7JE2eLuPBLGSpkZqUn12TX7QEQZbX8qtp7GBx?filename=HMB32Setup10.exe" + [BG Hearts]="${ipfsGateway}/ipfs/QmdU5ag1PRjvG28wNX7aNuJqZSVxaqEEKjgG6GoRoDT8k4?filename=BGH32Setup10b.exe" + [BG Klondike Solitaire]="${ipfsGateway}/ipfs/QmctBDvhQWwER94LvgauR7sMDxv9D1mS9cToV47orTCdzU?filename=BGK32Setup10b.exe" + [BG LAP]="${ipfsGateway}/ipfs/Qma5WeCC9B2P5abRGX9nGYV8Zi9F8vfCCr4ehejP2bgmNm?filename=LAP32Setup10.exe" + [BG Master Mind]="${ipfsGateway}/ipfs/QmP6cwMbirbBqAaG9JLfNRnD2dvJfh6nq74kfwxs5hN2RQ?filename=BMM32Setup10.exe" + [BG Mine Sweeper]="${ipfsGateway}/ipfs/QmRa54HroWjwxHYfKr6hdmP34sHW5G3ecuzcjMA5UBBVKa?filename=MSB32Setup10.exe" + [BG Nomination Whist]="${ipfsGateway}/ipfs/Qmb7eGTMDgiaDC9muMW9n8bHoistGcNm1VgHc6sr7dRyHU?filename=BNW32Setup10a.exe" + [BG Penguin Solitaire]="${ipfsGateway}/ipfs/QmXKvQ6WNNSnDiSyYmvAhZXVdALnuhUGK7dSMQVkQNReJr?filename=BPS32Setup10c.exe" + [BG Poker Solitaire]="${ipfsGateway}/ipfs/QmPLv74LiDgVGuiGhu9HuPhx3uoMm9QyCYk6jgeFUHjj3S?filename=BPS32Setup10.exe" + [BG Pyramid Solitaire]="${ipfsGateway}/ipfs/QmaqXaBKD3xY2smhU2LcejXRTPnWZHqaTW9se8yRepLsHu?filename=PSB32Setup10a.exe" + [BG Scorpion Solitaire]="${ipfsGateway}/ipfs/QmSxJs2MiLQ61Fgx6vCpSD7GmQziLiCEU3sZ3mgWc7RsJ8?filename=BSS32Setup10.exe" + [BG Scrabble]="${ipfsGateway}/ipfs/QmVrwyPdJBnmc4wLW7oT2hexxXnXxs8bA7gfiqbnJsWJ16?filename=BGS32Setup20.exe" + [BG Simon]="${ipfsGateway}/ipfs/QmXtBCqB6VCFPaDYuLaFNP1BDtJSLCJdJZzgm61zMtrsQt?filename=BGS32Setup10.exe" + [BG Spider Solitaire]="${ipfsGateway}/ipfs/QmdWBaDnLVbKCJSpiqF675ew6nJ6KHUVXA5FEH3t3E7UAu?filename=SPB32Setup10b.exe" + [BG Sudoku]="${ipfsGateway}/ipfs/QmXCAHEVRGZBc8t45Jgn2vkxicwF9Aox6yz9XrQBdkv7WY?filename=SDB32Setup10a.exe" + [BG Tablic Solitaire]="${ipfsGateway}/ipfs/QmYoiFQ6JuSXfZfZXT3SQDsYzMWLBu9rW9yivi1xiPjqZx?filename=SDB32Setup10a.exe" + [BG Tri-Peaks Solitaire]="${ipfsGateway}/ipfs/QmWJGvSR6iaQfMHM3XuGCkWxx285jkzSDdNSvvk3bSCH8S?filename=TPB32Setup10a.exe" + [BG Twenty 20 Cricket]="${ipfsGateway}/ipfs/QmWAk2TMHMvW6Kjc1sZBEPsxmCNHfY3nF1K723PCqaTa57?filename=T20B32Setup10.exe" + [BG Uno]="${ipfsGateway}/ipfs/QmVsfPkebSoTDwYSXF1n7y4P9eGJTgTcGXdrEjpcV8A3Dv?filename=BGU32Setup11a.exe" + [BG Word Builder]="${ipfsGateway}/ipfs/QmXtR49EZShyj15Tc9CXQpBYVmKNfZpp4515Epm16bviuH?filename=BWB32Setup10.exe" + [BG Word Candy]="${ipfsGateway}/ipfs/QmfTgfRzd4JMRqKSfDiz76iMorkaG19BqH1K7nRCCDwo4H?filename=WCB32Setup10a.exe" + [BG Word Jumble]="${ipfsGateway}/ipfs/QmYQWZZifzKJSuVRCC1SabwRmEDz95GdFvbzRvsBMmTt6e?filename=BWJ32Setup10.exe" + [BG Word Maze]="${ipfsGateway}/ipfs/QmXPtj5PkVZjXpU3m6FAfm8MwVL6bQCvhEDoR385u6FGTL?filename=BWM32Setup10.exe" + [BG Word Solitaire]="${ipfsGateway}/ipfs/QmZp73ARDPqgnCz7zxfKeBHjNoHrgZSgg2NdQZR2sMyZGD?filename=WSB32Setup10.exe" + [BG Word Target]="${ipfsGateway}/ipfs/QmWWZFXVHNtmNkH55oermWWtrMcQ8qVqL687B7kGFyeezq?filename=WTB32Setup10a.exe" + [BG Word Yahtzee]="${ipfsGateway}/ipfs/QmdicAVDegDktY3euVAC2PPn4YBGz96KedxYXNe4WDQaoq?filename=BWY32Setup10.exe" + [BG Yahtzee]="${ipfsGateway}/ipfs/QmZebvkKgFAADnb1cgW6Bz7wTYdUh82X61QdtW66KcvmpF?filename=BGY32Setup10a.exe" + [Bloodshed]="${ipfsGateway}/ipfs/QmcTCTMep4zp5zTw8ZaXYpjtu9inNPn8bNzwhW6cX97egw?file=bloodshed.exe" + [Christmas Chaos]="${ipfsGateway}/ipfs/QmYx11vsMDBgjPd1coZPGHxMXf2qtf4icqmB3Q9iUazyQv?filename=ChristmasChaos.zip" + [Kitchensinc Games]="${ipfsGateway}/ipfs/QmdkLPig6Kp3AZTwKAhjrhhsEuvhFCFhm6SHLUQVeNNYCb?filename=kitchen.tar.xz" + [Oh Shit]="${ipfsGateway}/ipfs/QmQnAJJrt5uABFziQc7enXYrJ74J9GKQSMi8Ry8ebsxfPV?filename=OhShit.zip" + [Villains From Beyond]="${ipfsGateway}/ipfs/QmWx271xuk3Mv9XTBoVu5BDJvXFZdasawC2nhtV21WAaUU?filename=villains_en.zip" +) + diff --git a/.install/BG 15 Puzzle.sh b/.install/BG 15 Puzzle.sh index 82f78f2..1cd6654 100644 --- a/.install/BG 15 Puzzle.sh +++ b/.install/BG 15 Puzzle.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmQiocMpMXoxejDftKKvmrR5xxpj1qcWcgkhBBwTcyijXg?filename=FPB32Setup10a.exe" +download "${ipfs[BG 15 Puzzle]}" install_wine_bottle wine "${cache}/FPB32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\FifteenB\FifteenB.exe" diff --git a/.install/BG 2048.sh b/.install/BG 2048.sh index 1e989d6..7e331fc 100644 --- a/.install/BG 2048.sh +++ b/.install/BG 2048.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmPNt3c78UBgEMrTH3eJ5eD2mCMdth6jwes1iDKGW24Uj5?filename=BG204832Setup10a.exe" +download "${ipfs[BG 2048]}" install_wine_bottle wine "${cache}/BG204832Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\BG2048B\BG2048.exe" diff --git a/.install/BG Aces Up Solitaire.sh b/.install/BG Aces Up Solitaire.sh index ebd98ed..460bbfa 100644 --- a/.install/BG Aces Up Solitaire.sh +++ b/.install/BG Aces Up Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmTshtHBEV9dh7wFtaQpNUEYHZ3fBpuhSRZqc7k8HwmtPM?filename=ASB32Setup10.exe" +download "${ipfs[BG Aces Up Solitaire]}" install_wine_bottle wine "${cache}/ASB32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\AcesUpB\AcesUpB.exe" diff --git a/.install/BG Alchemy.sh b/.install/BG Alchemy.sh index dd0d51a..f1d08b5 100644 --- a/.install/BG Alchemy.sh +++ b/.install/BG Alchemy.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/Qma76HXBhmKgMDeHH1XLePsaWzzzLsBS2HRL3c7MVwDokg?filename=BAC32Setup10.exe" +download "${ipfs[BG Alchemy]}" install_wine_bottle wine "${cache}/BAC32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\AlchemyB\AlchemyB.exe" diff --git a/.install/BG Battleship.sh b/.install/BG Battleship.sh index 0659c5c..f860414 100644 --- a/.install/BG Battleship.sh +++ b/.install/BG Battleship.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/Qmaq9P9fxdLTEFMGg4mhHrRuUbPg6HgU3eYVJNqZUimHjo?filename=BGB32Setup10.exe" +download "${ipfs[BG Battleship]}" install_wine_bottle wine "${cache}/BGB32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\BattleshipB\BGBattleship.exe" diff --git a/.install/BG Boggle.sh b/.install/BG Boggle.sh index df8ff6e..a49b9f2 100644 --- a/.install/BG Boggle.sh +++ b/.install/BG Boggle.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmQwWiJw9hDiPdfwDyL4XepeoD66ztVRi3HwbSjFFP4CNg?filename=BGB32Setup10a.exe" +download "${ipfs[BG Boggle]}" install_wine_bottle wine "${cache}/BGB32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\BoggleB\BoggleB.exe" diff --git a/.install/BG Boxes.sh b/.install/BG Boxes.sh index e96c466..9e4903f 100644 --- a/.install/BG Boxes.sh +++ b/.install/BG Boxes.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmRn21tREXxXVSaDe9i54zEPzPSespjJAFBqu4DWocuagD?filename=BXB32Setup10.exe" +download "${ipfs[BG Boxes]}" install_wine_bottle wine "${cache}/BXB32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\BoxesB\BoxesB.exe" diff --git a/.install/BG Brainiac.sh b/.install/BG Brainiac.sh index 5b221cb..db32c75 100644 --- a/.install/BG Brainiac.sh +++ b/.install/BG Brainiac.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmWEdmTkQsjSqBgWUgnDajMf8QvQBbEF4Nxo6mhkXYzBtQ?filename=BRN32Setup10a.exe" +download "${ipfs[BG Brainiac]}" install_wine_bottle wine "${cache}/BRN32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\BrainiacB\BrainiacB.exe" diff --git a/.install/BG Chess Challenge.sh b/.install/BG Chess Challenge.sh index b8c65c9..7f327a0 100644 --- a/.install/BG Chess Challenge.sh +++ b/.install/BG Chess Challenge.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmT2yBpU5Jqna18FxYtyWzi4xMGAY9PyJWStAskxCHqBDw?filename=BGC32Setup10d.exe" +download "${ipfs[BG Chess Challenge]}" install_wine_bottle wine "${cache}/BGC32Setup10d.exe" /silent add_launcher "c:\Program Files (x86)\Games\ChessB\BGChess.exe" diff --git a/.install/BG Code Breaker.sh b/.install/BG Code Breaker.sh index 723b056..5a3c6b8 100644 --- a/.install/BG Code Breaker.sh +++ b/.install/BG Code Breaker.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmU486SssAdM7kPKwDyAKDLQs3Z92bG6wFjaLhzqDZCxAF?filename=BCB32Setup10.exe" +download "${ipfs[BG Code Breaker]}" install_wine_bottle wine "${cache}/BCB32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\CodeBreakerB\BGCodeBreaker.exe" diff --git a/.install/BG Cribbage Solitaire.sh b/.install/BG Cribbage Solitaire.sh index 21fbf6f..42ef3bb 100644 --- a/.install/BG Cribbage Solitaire.sh +++ b/.install/BG Cribbage Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmbRUiknnNcibWD3NwK4DFZGNHWswBgsFidUzU1TFGJ5Ra?filename=BCS32Setup10.exe" +download "${ipfs[BG Cribbage Solitaire]}" install_wine_bottle wine "${cache}/BCS32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\CribSolB\CribSolB.exe" diff --git a/.install/BG Cribbage.sh b/.install/BG Cribbage.sh index b6a140a..cdaa0b1 100644 --- a/.install/BG Cribbage.sh +++ b/.install/BG Cribbage.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmeFud3EPHy7wQe8UENgvh96HdAazEkwqA2AutCNkYvB3t?filename=BGC32Setup12e.exe" +download "${ipfs[BG Cribbage]}" install_wine_bottle wine "${cache}/BGC32Setup12e.exe" /silent add_launcher "c:\Program Files (x86)\Games\CribbageB\CribbageB.exe" diff --git a/.install/BG Crossword Puzzle.sh b/.install/BG Crossword Puzzle.sh index c6d29bc..831faa3 100644 --- a/.install/BG Crossword Puzzle.sh +++ b/.install/BG Crossword Puzzle.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BGX32Setup10h.exe" +download "${ipfs[BG Crossword Puzzle]}" install_wine_bottle wine "${cache}/BGX32Setup10h.exe" /silent add_launcher "c:\Program Files (x86)\Games\CrosswordB\CrosswordB.exe" diff --git a/.install/BG Draw Dominoes.sh b/.install/BG Draw Dominoes.sh index 9bfd448..9e74d6d 100644 --- a/.install/BG Draw Dominoes.sh +++ b/.install/BG Draw Dominoes.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmZQGY9CeATEiWrSqsKBz4AN6jPgQuvbBZSpQoLiMjoDr2?filename=BDD32Setup.exe" +download "${ipfs[BG Draw Dominoes]}" install_wine_bottle wine "${cache}/BDD32Setup.exe" /silent add_launcher "c:\Program Files (x86)\Games\DrawDominoesB\DrawDominoesB.exe" diff --git a/.install/BG Elevens Solitaire.sh b/.install/BG Elevens Solitaire.sh index 40d3ceb..58d7f15 100644 --- a/.install/BG Elevens Solitaire.sh +++ b/.install/BG Elevens Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmWWZByYL5CsDSi6gQLGcMyBL7zqD5hWXbPXJr3shRt5AQ?filename=ESB32Setup10.exe" +download "${ipfs[BG Elevens Solitaire]}" install_wine_bottle wine "${cache}/ESB32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\ElevensB\ElevensB.exe" diff --git a/.install/BG Fives Dominoes.sh b/.install/BG Fives Dominoes.sh index 70828c7..b922fc3 100644 --- a/.install/BG Fives Dominoes.sh +++ b/.install/BG Fives Dominoes.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmSZt6dz7WQkNrFBmYq9n4WdYrrZyQAebTBPo46uHqCuNi?filename=BFD32Setup10.exe" +download "${ipfs[BG Fives Dominoes]}" install_wine_bottle wine "${cache}/BFD32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\FivesDominoesB\FivesDominoesB.exe" diff --git a/.install/BG Free Cell Solitaire.sh b/.install/BG Free Cell Solitaire.sh index a8aad86..e07b817 100644 --- a/.install/BG Free Cell Solitaire.sh +++ b/.install/BG Free Cell Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmVfQMMnqTD9Zm8Xwv7rGrUTdS9FXToq7Fv6wtQQVgbQGR?filename=BGF32Setup20.exe" +download "${ipfs[BG Free Cell Solitaire]}" install_wine_bottle wine "${cache}/BGF32Setup20.exe" /silent add_launcher "c:\Program Files (x86)\Games\FreecellB\FreecellB.exe" diff --git a/.install/BG Golf Solitaire.sh b/.install/BG Golf Solitaire.sh index b3ad893..f85a0fd 100644 --- a/.install/BG Golf Solitaire.sh +++ b/.install/BG Golf Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmfAp9EYou1pndLwYSdpYdUCHBv2DR94oFccQh1ii9JVLD?filename=GSB32Setup10a.exe" +download "${ipfs[BG Golf Solitaire]}" install_wine_bottle wine "${cache}/GSB32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\GolfSolitaireB\GolfSolitaireB.exe" diff --git a/.install/BG Hangman.sh b/.install/BG Hangman.sh index f3d3935..f068ae5 100644 --- a/.install/BG Hangman.sh +++ b/.install/BG Hangman.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmXTPMmvw7JE2eLuPBLGSpkZqUn12TX7QEQZbX8qtp7GBx?filename=HMB32Setup10.exe" +download "${ipfs[BG Hangman]}" install_wine_bottle wine "${cache}/HMB32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\HangmanB\HangmanB.exe" diff --git a/.install/BG Hearts.sh b/.install/BG Hearts.sh index f19bdf5..7d9f1a9 100644 --- a/.install/BG Hearts.sh +++ b/.install/BG Hearts.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmdU5ag1PRjvG28wNX7aNuJqZSVxaqEEKjgG6GoRoDT8k4?filename=BGH32Setup10b.exe" +download "${ipfs[BG Hearts]}" install_wine_bottle wine "${cache}/${BGH32Setup10b.exe}" /silent add_launcher "c:\Program Files (x86)\Games\HeartsB\HeartsB.exe" diff --git a/.install/BG Klondike Solitaire.sh b/.install/BG Klondike Solitaire.sh index 0e5c3b1..1c5838b 100644 --- a/.install/BG Klondike Solitaire.sh +++ b/.install/BG Klondike Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmctBDvhQWwER94LvgauR7sMDxv9D1mS9cToV47orTCdzU?filename=BGK32Setup10b.exe" +download "${ipfs[BG Klondike Solitaire]}" install_wine_bottle wine "${cache}/BGK32Setup10b.exe" /silent add_launcher "c:\Program Files (x86)\Games\KlondikeB\KlondikeB.exe" diff --git a/.install/BG LAP.sh b/.install/BG LAP.sh index d9e0b5f..f9140df 100644 --- a/.install/BG LAP.sh +++ b/.install/BG LAP.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/Qma5WeCC9B2P5abRGX9nGYV8Zi9F8vfCCr4ehejP2bgmNm?filename=LAP32Setup10.exe" +download "${ipfs[BG LAP]}" install_wine_bottle wine "${cache}/LAP32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\LAP\LAP.exe" diff --git a/.install/BG Master Mind.sh b/.install/BG Master Mind.sh index 52c1043..6612af3 100644 --- a/.install/BG Master Mind.sh +++ b/.install/BG Master Mind.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmP6cwMbirbBqAaG9JLfNRnD2dvJfh6nq74kfwxs5hN2RQ?filename=BMM32Setup10.exe" +download "${ipfs[BG Master Mind]}" install_wine_bottle wine "${cache}/BMM32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\MastermindB\BGMasterMind.exe" diff --git a/.install/BG Mine Sweeper.sh b/.install/BG Mine Sweeper.sh index 91dcb5f..f8fa38c 100644 --- a/.install/BG Mine Sweeper.sh +++ b/.install/BG Mine Sweeper.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmRa54HroWjwxHYfKr6hdmP34sHW5G3ecuzcjMA5UBBVKa?filename=MSB32Setup10.exe" +download "${ipfs[BG Mine Sweeper]}" install_wine_bottle wine "${cache}/MSB32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\MinesweeperB\MinesweeperB.exe" diff --git a/.install/BG Nomination Whist.sh b/.install/BG Nomination Whist.sh index 511cb0f..8d843fc 100644 --- a/.install/BG Nomination Whist.sh +++ b/.install/BG Nomination Whist.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/Qmb7eGTMDgiaDC9muMW9n8bHoistGcNm1VgHc6sr7dRyHU?filename=BNW32Setup10a.exe" +download "${ipfs[BG Nomination Whist]}" install_wine_bottle wine "${cache}/BNW32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\NomWhistB\NomWhistB.exe" diff --git a/.install/BG Penguin Solitaire.sh b/.install/BG Penguin Solitaire.sh index c35a97b..01b24f0 100644 --- a/.install/BG Penguin Solitaire.sh +++ b/.install/BG Penguin Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmXKvQ6WNNSnDiSyYmvAhZXVdALnuhUGK7dSMQVkQNReJr?filename=BPS32Setup10c.exe" +download "${ipfs[BG Penguin Solitaire]}" install_wine_bottle wine "${cache}/BPS32Setup10c.exe" /silent add_launcher "c:\Program Files (x86)\Games\PenguinB\PenguinB.exe" diff --git a/.install/BG Poker Solitaire.sh b/.install/BG Poker Solitaire.sh index b04d14e..ca5b82b 100644 --- a/.install/BG Poker Solitaire.sh +++ b/.install/BG Poker Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmPLv74LiDgVGuiGhu9HuPhx3uoMm9QyCYk6jgeFUHjj3S?filename=BPS32Setup10.exe" +download "${ipfs[BG Poker Solitaire]}" install_wine_bottle wine "${cache}/BPS32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\PokerSolB\PokerSolB.exe" diff --git a/.install/BG Pyramid Solitaire.sh b/.install/BG Pyramid Solitaire.sh index 5e68c93..44eb424 100644 --- a/.install/BG Pyramid Solitaire.sh +++ b/.install/BG Pyramid Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmaqXaBKD3xY2smhU2LcejXRTPnWZHqaTW9se8yRepLsHu?filename=PSB32Setup10a.exe" +download "${ipfs[BG Pyramid Solitaire]}" install_wine_bottle wine "${cache}/PSB32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\PyramidB\PyramidB.exe" diff --git a/.install/BG Scorpion Solitaire.sh b/.install/BG Scorpion Solitaire.sh index f17dc45..7132b4d 100644 --- a/.install/BG Scorpion Solitaire.sh +++ b/.install/BG Scorpion Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmSxJs2MiLQ61Fgx6vCpSD7GmQziLiCEU3sZ3mgWc7RsJ8?filename=BSS32Setup10.exe" +download "${ipfs[BG Scorpion Solitaire]}" install_wine_bottle wine "${cache}/BSS32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\ScorpionB\ScorpionB.exe" diff --git a/.install/BG Scrabble.sh b/.install/BG Scrabble.sh index 01c66e0..de2bb8a 100644 --- a/.install/BG Scrabble.sh +++ b/.install/BG Scrabble.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmVrwyPdJBnmc4wLW7oT2hexxXnXxs8bA7gfiqbnJsWJ16?filename=BGS32Setup20.exe" +download "${ipfs[BG Scrabble]}" install_wine_bottle wine "${cache}/BGS32Setup20.exe" /silent add_launcher "c:\Program Files (x86)\Games\ScrabbleB\ScrabbleB.exe" diff --git a/.install/BG Simon.sh b/.install/BG Simon.sh index 7c0f5e7..3547a74 100644 --- a/.install/BG Simon.sh +++ b/.install/BG Simon.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmXtBCqB6VCFPaDYuLaFNP1BDtJSLCJdJZzgm61zMtrsQt?filename=BGS32Setup10.exe" +download "${ipfs[BG Simon]}" install_wine_bottle wine "${cache}/BGS32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\SimonB\SimonB.exe" diff --git a/.install/BG Spider Solitaire.sh b/.install/BG Spider Solitaire.sh index c499ac4..f65a2db 100644 --- a/.install/BG Spider Solitaire.sh +++ b/.install/BG Spider Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmdWBaDnLVbKCJSpiqF675ew6nJ6KHUVXA5FEH3t3E7UAu?filename=SPB32Setup10b.exe" +download "${ipfs[BG Spider Solitaire]}" install_wine_bottle wine "${cache}/SPB32Setup10b.exe" /silent add_launcher "c:\Program Files (x86)\Games\SpiderB\SpiderB.exe" diff --git a/.install/BG Sudoku.sh b/.install/BG Sudoku.sh index 919c962..01d8c3b 100644 --- a/.install/BG Sudoku.sh +++ b/.install/BG Sudoku.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmXCAHEVRGZBc8t45Jgn2vkxicwF9Aox6yz9XrQBdkv7WY?filename=SDB32Setup10a.exe" +download "${ipfs[BG Sudoku]}" install_wine_bottle wine "${cache}/SDB32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\SudokuB\SudokuB.exe" diff --git a/.install/BG Tablic Solitaire.sh b/.install/BG Tablic Solitaire.sh index fe3bb22..613591c 100644 --- a/.install/BG Tablic Solitaire.sh +++ b/.install/BG Tablic Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmYoiFQ6JuSXfZfZXT3SQDsYzMWLBu9rW9yivi1xiPjqZx?filename=SDB32Setup10a.exe" +download "${ipfs[BG Tablic Solitaire]}" install_wine_bottle wine "${cache}/SDB32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\TabSolB\BGTabSol.exe" diff --git a/.install/BG Tri-Peaks Solitaire.sh b/.install/BG Tri-Peaks Solitaire.sh index ed55853..0ef4d81 100644 --- a/.install/BG Tri-Peaks Solitaire.sh +++ b/.install/BG Tri-Peaks Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmWJGvSR6iaQfMHM3XuGCkWxx285jkzSDdNSvvk3bSCH8S?filename=TPB32Setup10a.exe" +download "${ipfs[BG Tri-Peaks Solitaire]}" install_wine_bottle wine "${cache}/TPB32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\TriPeaksB\TriPeaksB.exe" diff --git a/.install/BG Twenty 20 Cricket.sh b/.install/BG Twenty 20 Cricket.sh index 6a7dc6d..c96e0ba 100644 --- a/.install/BG Twenty 20 Cricket.sh +++ b/.install/BG Twenty 20 Cricket.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmWAk2TMHMvW6Kjc1sZBEPsxmCNHfY3nF1K723PCqaTa57?filename=T20B32Setup10.exe" +download "${ipfs[BG Twenty 20 Cricket]}" install_wine_bottle wine "${cache}/T20B32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\T20CricketB\CricketB.exe" diff --git a/.install/BG Uno.sh b/.install/BG Uno.sh index 86075c8..3573c63 100644 --- a/.install/BG Uno.sh +++ b/.install/BG Uno.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmVsfPkebSoTDwYSXF1n7y4P9eGJTgTcGXdrEjpcV8A3Dv?filename=BGU32Setup11a.exe" +download "${ipfs[BG Uno]}" install_wine_bottle wine "${cache}/BGU32Setup11a.exe" /silent add_launcher "c:\Program Files (x86)\Games\UnoB\UnoB.exe" diff --git a/.install/BG Word Builder.sh b/.install/BG Word Builder.sh index d0d58b8..3e28ff3 100644 --- a/.install/BG Word Builder.sh +++ b/.install/BG Word Builder.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmXtR49EZShyj15Tc9CXQpBYVmKNfZpp4515Epm16bviuH?filename=BWB32Setup10.exe" +download "${ipfs[BG Word Builder]}" install_wine_bottle wine "${cache}/BWB32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\WordBuilderB\WordBuilderB.exe" diff --git a/.install/BG Word Candy.sh b/.install/BG Word Candy.sh index 58c0b39..370d482 100644 --- a/.install/BG Word Candy.sh +++ b/.install/BG Word Candy.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmfTgfRzd4JMRqKSfDiz76iMorkaG19BqH1K7nRCCDwo4H?filename=WCB32Setup10a.exe" +download "${ipfs[BG Word Candy]}" install_wine_bottle wine "${cache}/WCB32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\WordCandyB\WordCandyB.exe" diff --git a/.install/BG Word Jumble.sh b/.install/BG Word Jumble.sh index 750cbca..d0eb5d8 100644 --- a/.install/BG Word Jumble.sh +++ b/.install/BG Word Jumble.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmYQWZZifzKJSuVRCC1SabwRmEDz95GdFvbzRvsBMmTt6e?filename=BWJ32Setup10.exe" +download "${ipfs[BG Word Jumble]}" install_wine_bottle wine "${cache}/BWJ32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\WordJumbleB\WordJumbleB.exe" diff --git a/.install/BG Word Maze.sh b/.install/BG Word Maze.sh index 384a094..87dcd9e 100644 --- a/.install/BG Word Maze.sh +++ b/.install/BG Word Maze.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmXPtj5PkVZjXpU3m6FAfm8MwVL6bQCvhEDoR385u6FGTL?filename=BWM32Setup10.exe" +download "${ipfs[BG Word Maze]}" install_wine_bottle wine "${cache}/BWM32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\WordMazeB\WordMazeB.exe" diff --git a/.install/BG Word Solitaire.sh b/.install/BG Word Solitaire.sh index bd78fd0..0a1a58d 100644 --- a/.install/BG Word Solitaire.sh +++ b/.install/BG Word Solitaire.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmZp73ARDPqgnCz7zxfKeBHjNoHrgZSgg2NdQZR2sMyZGD?filename=WSB32Setup10.exe" +download "${ipfs[BG Word Solitaire]}" install_wine_bottle wine "${cache}/WSB32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\WordSolitaireB\WordSolitaireB.exe" diff --git a/.install/BG Word Target.sh b/.install/BG Word Target.sh index e139654..ed7ad30 100644 --- a/.install/BG Word Target.sh +++ b/.install/BG Word Target.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmWWZFXVHNtmNkH55oermWWtrMcQ8qVqL687B7kGFyeezq?filename=WTB32Setup10a.exe" +download "${ipfs[BG Word Target]}" install_wine_bottle wine "${cache}/WTB32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\WordTargetB\WordTargetB.exe" diff --git a/.install/BG Word Yahtzee.sh b/.install/BG Word Yahtzee.sh index 6fa3718..e58545c 100644 --- a/.install/BG Word Yahtzee.sh +++ b/.install/BG Word Yahtzee.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmdicAVDegDktY3euVAC2PPn4YBGz96KedxYXNe4WDQaoq?filename=BWY32Setup10.exe" +download "${ipfs[BG Word Yahtzee]}" install_wine_bottle wine "${cache}/BWY32Setup10.exe" /silent add_launcher "c:\Program Files (x86)\Games\WordYahtzeeB\BGWordYahtzee.exe" diff --git a/.install/BG Yahtzee.sh b/.install/BG Yahtzee.sh index 8a220c7..8292cdb 100644 --- a/.install/BG Yahtzee.sh +++ b/.install/BG Yahtzee.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmZebvkKgFAADnb1cgW6Bz7wTYdUh82X61QdtW66KcvmpF?filename=BGY32Setup10a.exe" +download "${ipfs[BG Yahtzee]}" install_wine_bottle wine "${cache}/BGY32Setup10a.exe" /silent add_launcher "c:\Program Files (x86)\Games\yahtzeeB\BGYahtzee.exe" diff --git a/.install/Bloodshed.sh b/.install/Bloodshed.sh index 8417de9..be2c5bd 100644 --- a/.install/Bloodshed.sh +++ b/.install/Bloodshed.sh @@ -1,5 +1,5 @@ export WINEARCH="win64" # Migrated to wine64 -download "${ipfsGateway}/ipfs/QmcTCTMep4zp5zTw8ZaXYpjtu9inNPn8bNzwhW6cX97egw?filename=bloodshed.exe" +download "${ipfs[Bloodshed]}" install_wine_bottle cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" add_launcher "c:\Program Files\bloodshed.exe" diff --git a/.install/Breed Memorial.sh b/.install/Breed Memorial.sh index bdd5661..b219e51 100644 --- a/.install/Breed Memorial.sh +++ b/.install/Breed Memorial.sh @@ -1,5 +1,5 @@ # -download "https://hirotaka2014.sakura.ne.jp/mh0406/game/breed_memorial.zip" "${nvdaControllerClientDll}" +download "https://hirotaka2014.sakura.ne.jp/mh0406/game/breed_memorial.zip" "${nvdaControllerClient32Dll}" export winVer="win7" install_wine_bottle cjkfonts install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/breed_memorial.zip" diff --git a/.install/Christmas Chaos.sh b/.install/Christmas Chaos.sh index e6005a7..471d82f 100644 --- a/.install/Christmas Chaos.sh +++ b/.install/Christmas Chaos.sh @@ -1,6 +1,6 @@ export WINEARCH=win64 export winVer="win7" -download "${ipfsGateway}/ipfs/QmYx11vsMDBgjPd1coZPGHxMXf2qtf4icqmB3Q9iUazyQv?filename=ChristmasChaos.zip" "https://stormgames.wolfe.casa/downloads/Tolk.dll" +download "${ipfs[Christmas Chaos]}" "https://stormgames.wolfe.casa/downloads/Tolk.dll" install_wine_bottle install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/ChristmasChaos.zip" find "${WINEPREFIX}" -type f -name 'Tolk.dll' -exec cp -fv "${cache}/Tolk.dll" "{}" \; diff --git a/.install/Coin Collector.sh b/.install/Coin Collector.sh deleted file mode 100644 index 0272545..0000000 --- a/.install/Coin Collector.sh +++ /dev/null @@ -1,5 +0,0 @@ -export WINEARCH=win64 -export winVer="win7" -install_wine_bottle -unrar x "$cache/coin collector.rar" -op"$WINEPREFIX/drive_c/Program Files" -add_launcher "c:\Program Files\coin collector\game.exe" diff --git a/.install/Kitchensinc Games.sh b/.install/Kitchensinc Games.sh index a40dc60..8542198 100644 --- a/.install/Kitchensinc Games.sh +++ b/.install/Kitchensinc Games.sh @@ -1,7 +1,7 @@ export WINEARCH="win64" # Migrated to wine64 with WINETRICKS_FORCE=1 export winVer="win7" export winetricksSettings="vd=1024x768" -download "${ipfsGateway}/ipfs/QmdkLPig6Kp3AZTwKAhjrhhsEuvhFCFhm6SHLUQVeNNYCb?filename=kitchen.tar.xz" +download "${ipfs[Kitchensinc Games]}" install_wine_bottle sapi vb6run dx8vb echo "Extracting files..." tar xf "${cache}/kitchen.tar.xz" -C "$WINEPREFIX/drive_c/Program Files/" diff --git a/.install/Oh Shit.sh b/.install/Oh Shit.sh index 80922d2..10af502 100644 --- a/.install/Oh Shit.sh +++ b/.install/Oh Shit.sh @@ -1,7 +1,7 @@ export WINEARCH="win64" # Migrated to wine64 with WINETRICKS_FORCE=1 export winVer="win7" export norh="true" # Requires sapi even though uses nvda -download "${ipfsGateway}/ipfs/QmQnAJJrt5uABFziQc7enXYrJ74J9GKQSMi8Ry8ebsxfPV?filename=OhShit.zip" +download "${ipfs[Oh Shit]}" install_wine_bottle sapi install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files" "${cache}/OhShit.zip" add_launcher "c:\Program Files\oh_shit\OhShit.exe" diff --git a/.install/Rhythm Rage.sh b/.install/Rhythm Rage.sh index 2efd359..e2a8d18 100644 --- a/.install/Rhythm Rage.sh +++ b/.install/Rhythm Rage.sh @@ -1,5 +1,5 @@ export winVer="win7" -download "http://oriolgomez.com/games/rr_en.zip" "${nvdaControllerClientDll}" +download "http://oriolgomez.com/games/rr_en.zip" "${nvdaControllerClient32Dll}" install_wine_bottle install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/rhythm rage" "${cache}/rr_en.zip" add_launcher "c:\Program Files\rhythm rage\game.exe" diff --git a/.install/Sammy Center.sh b/.install/Sammy Center.sh index e37737a..3498368 100644 --- a/.install/Sammy Center.sh +++ b/.install/Sammy Center.sh @@ -1,6 +1,6 @@ # export winVer="win7" -download "http://www.samtupy.com/games/SCSetup.exe" "${nvdaControllerClientDll}" +download "http://www.samtupy.com/games/SCSetup.exe" "${nvdaControllerClient32Dll}" install_wine_bottle wine "${cache}/SCSetup.exe" /silent add_launcher "c:\Program Files (x86)\Sam Tupy\SammyCenter\SammyCenter.exe" diff --git a/.install/Screaming Strike 2.sh b/.install/Screaming Strike 2.sh index c0933da..2536b53 100644 --- a/.install/Screaming Strike 2.sh +++ b/.install/Screaming Strike 2.sh @@ -1,5 +1,5 @@ export winVer="win7" -download "https://www.nyanchangames.com/softs/screamingStrike2.exe" "${nvdaControllerClientDll}" +download "https://www.nyanchangames.com/softs/screamingStrike2.exe" "${nvdaControllerClient32Dll}" install_wine_bottle fakejapanese wine "${cache}/screamingStrike2.exe" & xdotool sleep 10 key Return diff --git a/.install/Sketchbook.sh b/.install/Sketchbook.sh index a7b50e6..9facb45 100644 --- a/.install/Sketchbook.sh +++ b/.install/Sketchbook.sh @@ -1,5 +1,5 @@ export winVer="win7" -download "http://sbyw.games/SBYW/SBYW.zip" "http://sbyw.games/SBYW/sounds.zip" "${nvdaControllerClientDll}" +download "http://sbyw.games/SBYW/SBYW.zip" "http://sbyw.games/SBYW/sounds.zip" "${nvdaControllerClient32Dll}" install_wine_bottle mv -v "${cache}/sounds.zip" "${cache}/SBYW-sounds.zip" install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/sketchbook" "${cache}/SBYW.zip" diff --git a/.install/Undead Assault.sh b/.install/Undead Assault.sh index 3b99723..8a2493f 100644 --- a/.install/Undead Assault.sh +++ b/.install/Undead Assault.sh @@ -1,5 +1,5 @@ export winVer="win7" -download "http://undead-assault.com/static/files/public/undead_assault.zip" "${nvdaControllerClientDll}" +download "http://undead-assault.com/static/files/public/undead_assault.zip" "${nvdaControllerClient32Dll}" install_wine_bottle install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/undead_assault" "${cache}/undead_assault.zip" add_launcher "c:\Program Files\undead_assault\Undead Assault.exe" diff --git a/.install/Villains From Beyond.sh b/.install/Villains From Beyond.sh index ce039cf..50f6e4d 100644 --- a/.install/Villains From Beyond.sh +++ b/.install/Villains From Beyond.sh @@ -1,6 +1,6 @@ export WINEARCH="win64" # Migrated to wine64 with WINETRICKS_FORCE=1 export winVer="win7" -download "${ipfsGateway}/ipfs/QmWx271xuk3Mv9XTBoVu5BDJvXFZdasawC2nhtV21WAaUU?filename=villains_en.zip" +download "${ipfs[Villains From Beyond]}" install_wine_bottle install_with_progress unzip "Extracting game files..." -d "$WINEPREFIX/drive_c/Program Files/villains from beyond" "${cache}/villains_en.zip" add_launcher "c:\Program Files\villains from beyond\game.exe" diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 149b2d5..fc428a5 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -421,7 +421,7 @@ create_game_array() { update_nvda_dlls() { # Ensure we have the replacement DLLs source "${scriptDir}/.includes/functions.sh" - download "${nvdaControllerClientDll}" "${nvdaControllerClient64Dll}" + download "${nvdaControllerClient32Dll}" "${nvdaControllerClient64Dll}" # Update wine64 bottle (most common) if [[ -d "$HOME/.local/wine64" ]]; then @@ -607,9 +607,6 @@ unset manualInstall unset version # ipfs gateway export ipfsGateway="${ipfsGateway:-https://ipfs.stormux.org}" -export nvdaControllerClientDll="${ipfsGateway}/ipfs/Qmd1JXdDoKJVnoaQssDiBgRpbgwKUwdJigiPw8iiYro3vt?filename=nvdaControllerClient32.dll" -export nvdaControllerClient64Dll="${ipfsGateway}/ipfs/QmcPoBTm6eCFF4R4uUc1of3rtrqMVx3HFN1U1jHosay8EX?filename=nvdaControllerClient64.dll" -export nvda2speechdBinary="${ipfsGateway}/ipfs/QmPxhoNsoFoJC7bCfioBBCcK8tEoSoYpm342z6u7KjFsVz?filename=nvda2speechd" # nvda2speechd server startup is now handled in game_launcher() @@ -622,6 +619,11 @@ source "${scriptDir}/.includes/functions.sh" source "${scriptDir}/.includes/help.sh" source "${scriptDir}/.includes/update.sh" +# Set NVDA controller client DLLs from centralized ipfs array +export nvdaControllerClient32Dll="${ipfs[nvdaControllerClient32]}" +export nvdaControllerClient64Dll="${ipfs[nvdaControllerClient64]}" +export nvda2speechdBinary="${ipfs[nvda2speechd]}" + # Check minimum requirements check_requirements || exit 1 # Wine32 no longer needed - all games use wine64 with SAPI support via WINETRICKS_FORCE=1 diff --git a/game-scripts/conjury-update.sh b/game-scripts/conjury-update.sh index 8592899..1a0b1fb 100755 --- a/game-scripts/conjury-update.sh +++ b/game-scripts/conjury-update.sh @@ -49,7 +49,7 @@ export WINEPREFIX="$HOME/.local/wine/conjury" # Make sure both nvda2speechd 64 and 32 bit are available. # This is needed to work around the change from 64 bit to 32 bit game. -download "${nvdaControllerClient64Dll}" "${nvdaControllerClientDll}" +download "${nvdaControllerClient64Dll}" "${nvdaControllerClient32Dll}" # Now it should be as simple as running get_steam to redownload the game. get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/"