Commit Graph

612 Commits

Author SHA1 Message Date
be3df8f9ca Eliminate wine32 entirely: migrate all games to wine64 with WINETRICKS_FORCE=1
BREAKTHROUGH: Discovered that WINETRICKS_FORCE=1 enables reliable speechsdk
installation in wine64+WOW64, eliminating the need for wine32 bottle.

**Wine Architecture:**
- Removed wine32 bottle creation completely (deleted 58 lines)
- Disabled check_wine32() call - no more PlayOnLinux wine32 downloads
- All games now use unified wine64 bottle with WOW64 for 32-bit apps
- Updated architecture selection to always default to wine64

**SAPI Support:**
- wine64 bottle now includes speechsdk via WINETRICKS_FORCE=1
- Microsoft Mike configured as default SAPI voice in wine64
- Both wine32 and wine64 bottle creation use WINETRICKS_FORCE=1
- Updated bottle.sh to recognize 'sapi' dependency (alongside legacy 'speechsdk')

**Game Migration (57 games):**
- Migrated all 51 BG Enterprise games to wine64
- Migrated 3 Bokurano Daibouken games to wine64
- Migrated Swamp, Dreamland, Mist World to wine64
- Migrated 8 SAPI-dependent games to wine64:
  * Bloodshed - TESTED, confirmed working
  * Dog Who Hates Toast - TESTED, confirmed working (VB6+SAPI validated)
  * Skateboarder Pro - TESTED, confirmed working
  * Lunimals, VIP Mud, Oh Shit, Entombed, Three D velocity

**Files Modified:**
- audiogame-manager.sh: Removed wine32 creation, added wine64 speechsdk
- .includes/bottle.sh: Simplified architecture logic, always wine64
- CLAUDE.md: Updated documentation to reflect wine32 elimination
- 57 game installers: Changed WINEARCH from win32 to win64

 Bloodshed: wine64 SAPI works perfectly
 Dog Who Hates Toast: wine64 VB6+SAPI confirmed working
 Skateboarder Pro: wine64 NVDA works perfectly

- WOW64 allows wine64 to run 32-bit apps efficiently
- nvdaControllerClient DLL update logic preserved for 32-bit apps
- Uses 'file' command to detect PE32 vs PE32+ and apply correct DLL version
- Clipboard translator for Bokurano games works with wine64 (requires reinstall)

- Simplified architecture: one bottle instead of two
- Eliminated wine32 download/management overhead
- All games benefit from modern wine64 improvements
- SAPI now works reliably via WINETRICKS_FORCE=1

🚀 Wine32 completely eliminated. All games use wine64.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-06 23:16:42 -05:00
614f38d9dd When launching the game in with -g, don't print those extra echo statements.
You're already in a GDB session which is ready to rock and roll.
2025-11-10 14:47:10 -05:00
Storm Dragon
01eb1f3e1a Fixed crash bug if yad is not installed and agm is launched from a gui. Insure AGM is not ran as the root users. If people who really should know better still need training wheels, actual newbies might need the protection as well. 2025-11-08 13:07:07 -05:00
4d32740975 Experimental way to launch a game with GDB.
Useful for when you do indeed need a debugger.
2025-11-06 12:24:28 -05:00
6fe5e4fa17 When launching the script, actually source the right things.
If I try to launch it via
~/projects/audiogame-manager/audiogame-manager.sh it will crap out
because it isn't able to source its include files; it erroneously
thinks they're in the current directory as I am, which is no exactly
true unless I physically go to the audiogame manager directory. This
also fixes launching from the desktop icon.
2025-11-04 18:01:49 -05:00
fe50e2be3e When launching Dreamland, put it into the background so as to not clog up the shell. 2025-10-22 16:16:30 -04:00
40d3b18ff7 It works.
I had to really simplify how we're lauching Dreamland, but I did
finally get it work now. My head hurts.
2025-10-13 14:30:19 -04:00
c3411db0e9 More dreamland work. 2025-10-13 13:39:17 -04:00
e3289b92cb Fix some critters.
After about half an hour of cussin and spitting tobacco juice, I came
to some discoveries:
* The clipboard translator wasn't even launching successfully.
* For BKs 1 and 2, remove the nvda dll thereby forcing it to use the
clipboard reader.
* Fix up BK2 to go into the right bottle; it is a 32-bit game.
2025-10-07 10:14:54 -04:00
0cf2145852 Bokurano Daibouken I is 32-bit.
Try to fix the custom launch options function.
2025-09-11 16:04:18 -04:00
Storm Dragon
f7eef7daf5 Updated ipfs for nvda tools. 2025-08-29 14:24:14 -04:00
Storm Dragon
9515c25ea3 A ton of updates. We now have working 32 bit wine, Swamp installs and works, many other 32 bit games should as well. Improvements to the user interface both GUI and CLI. Tons of bug fixes. Not quite yet ready for mainstream testing, but getting closer. 2025-08-07 20:18:11 -04:00
Storm Dragon
e5c6798c80 Better approach at using correct wine for 32 bit games, assuming it works that is. 2025-08-07 02:52:32 -04:00
Storm Dragon
81d00ef4f2 work on calling the correct version of wine when a game is launched. 2025-08-07 02:38:04 -04:00
Storm Dragon
e94b4ed13b Send inital setup stuff like installing wine32 through progress indication system. 2025-08-07 02:18:15 -04:00
Storm Dragon
50bb078de2 Initial attempt to get a working wine32. This should hopefully work for a while once correctly set up. 2025-08-07 02:04:06 -04:00
Storm Dragon
27f9e973a3 More improvements to progress bars. Hopefully fixed a bug that was causing games to install twice. 2025-08-06 00:39:17 -04:00
Storm Dragon
88a815c76f Confirmation message after game installs, so window doesn't just vanish any more. 2025-08-05 03:57:20 -04:00
Storm Dragon
e12bcadb2a Add progress bars to some more operations, e.g. installing games. This required a bulk edit to all installer scripts, thanks Claud for the assist. Oh and send downloads through a progressbar. 2025-08-05 03:11:37 -04:00
Storm Dragon
19f54405bd Clean up redundant nvda2speechd startup and DLL replacement code 2025-08-05 02:27:01 -04:00
Storm Dragon
1b50ac66c1 Because now everything is more centralized in only a couple wine bottles, make sure nvda2speechd dll files are downloaded and update them when AGM starts. This should prevent loss of speech after game updates. 2025-08-05 02:20:11 -04:00
Storm Dragon
5adce756a1 Fixed an error in game removal. Fixed an error where it would try to launch an empty file name if escape were pressed to close the menu. 2025-08-05 01:44:56 -04:00
Storm Dragon
d49ca8a86b Hopefully insure people using the GUI mode with audiogame-manager do not get stuck because some messages were only appearing in the terminal which may not be present at all in the GUI. 2025-08-05 01:40:27 -04:00
Storm Dragon
25c9aeaa5a Because of the major reworking of how audiogame-manager works, had to almost completely rewrite the -r (remove game) function. Will be testing it quite a bit to make sure nothing is critically broken. 2025-08-05 01:06:04 -04:00
Storm Dragon
abb0bbbb20 More syntax fixes. Thanks Claud for helping track this one down. It was very illusive. 2025-08-04 22:24:04 -04:00
Storm Dragon
87c278d935 Fixed a few syntax errors. 2025-08-04 20:18:44 -04:00
Storm Dragon
ddecf09fb1 With upgrade to wow64 no need to use a variable so switch to direct wine calls. 2025-08-04 20:13:38 -04:00
Storm Dragon
76f0c66c96 Added yad dialogues if in GUI session, retains the dialog interface if in console. 2025-08-01 15:25:53 -04:00
Storm Dragon
da065e5835 A little more progress on refactor. 2025-06-10 01:54:56 -04:00
Storm Dragon
6526d40c68 Fixed create_game_array function. 2025-05-20 17:51:20 -04:00
Storm Dragon
d9ef202b33 more progress, but create_game_array is horribly broken. 2025-05-20 05:13:22 -04:00
Storm Dragon
31018bc55f Everything moved to it's new file for now. Cleanup is well under way. Improved the unix2dos function. 2025-05-18 20:50:52 -04:00
Storm Dragon
6e4d7bae8d More conversion to a modular system. 2025-05-18 20:16:22 -04:00
Storm Dragon
e892da65c8 First chunk of major refactor. Move code to external files located in .includes. Better code organization and easier to deal with. 2025-05-18 19:12:02 -04:00
Storm Dragon
d6cfe797bc Latest changes before huge refactor. 2025-05-18 16:39:58 -04:00
Storm Dragon
50b577d7aa Make sure variables needed for installation scripts are exported. 2025-05-14 13:58:16 -04:00
937b52ffd0 Added tiny game smashathon. Get angry! 2025-05-02 01:22:50 -07:00
Storm Dragon
f86d25924f links for rhvoice updated. 2025-04-16 00:09:49 -04:00
Storm Dragon
ec8bb229f0 Actually close audiogame-manager if escape is pressed instead of trying, and failing, to launch the game. 2025-01-23 16:20:03 -05:00
Storm Dragon
8b8f01f39d Temporary work around for winetricks problems. Be sure to install winetricks with your package manager. 2025-01-20 17:55:23 -05:00
Storm Dragon
0a1a130399 Fixed a bug with the default download check. 2025-01-17 17:36:40 -05:00
Storm Dragon
447344bec9 Fixed an error with finding wine_gecko. 2025-01-16 13:30:40 -05:00
Storm Dragon
fd933f6dad Removed window title reader for Mist World. Requested by player. 2025-01-13 23:37:32 -05:00
Storm Dragon
4300c3dda3 Fixed file validation for .exe files. 2024-12-24 19:18:01 -05:00
Storm Dragon
9cc15db76e Fixed validation code so that things can actually pass validation and work. 2024-12-23 01:47:03 -05:00
Storm Dragon
54ce9754fe Reorganize the way notes are shown after updates so that they hopefully appear oldest to newest. 2024-12-18 04:52:34 -05:00
Storm Dragon
5cc4eca7fd Fixed some places where wine wasn't being properly set. 2024-12-17 06:15:02 -05:00
Storm Dragon
294557fe34 Hopefully hide some messages that were making the launch menu ... interesting. 2024-12-17 05:19:04 -05:00
Storm Dragon
7ff6fd9248 Hopefully fixed problem with FEXLoader call to winetricks. 2024-12-17 05:06:37 -05:00
Storm Dragon
8aee611f86 Update winetricks to use FEXLoader if present. 2024-12-16 18:49:18 -05:00