Commit Graph

34 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
Storm Dragon
6a16e595a9 Skip update checks if in detached state. Lesson learned from 2025 tag. 2025-11-23 20:15:34 -05:00
73126910ec Disable Blades of Glory for now.
There is a technical limitation where pypresence is trying to enumerate
the available pipes in \\?\pipe\ but this is crashing because Wine doesn't
properly support enumerating the \\?\pipe\ namespace. This causes pypresence
to crash when trying to discover Discord IPC pipes.
2025-11-09 13:15:53 -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
4de95e7a7c For games that need it, install the Discord bridge. 2025-11-06 13:14:34 -05:00
5590a4cde6 Fix WINEARCH preservation in wine bottle management
Preserve explicitly set WINEARCH variables instead of unsetting them
in wine environment functions. This ensures that installers setting
WINEARCH="win32" are properly respected for architecture selection.

Changes:
- Remove unset WINEARCH from get_bottle() and set_wine_env()
- Add comments explaining WINEARCH preservation
- Update debug messages to show current WINEARCH value
2025-09-09 17:46:55 -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
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
fa80331a63 Ported over ui updates from Linux Game Manager. 2025-08-06 15:47:59 -04:00
Storm Dragon
3d77356e7b Track down and fix some more progress bar stuff. 2025-08-06 01:01:42 -04:00
Storm Dragon
9a7b440423 Totally fubar progress bars. Attempted fix here. Also add progress beeps because yad isn't the most accessible thing with progress dialogues. 2025-08-06 00:54:34 -04:00
Storm Dragon
775d48c068 Hopefully make update messages shown after updates less spammy. 2025-08-06 00:42:34 -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
6351d88676 Attempt to improve progress details output during things like game installation. may have to revert this one, have to wait and see. 2025-08-06 00:28:41 -04:00
Storm Dragon
35fabf8ecd Cut down on repeating tasks for existing wine bottles. 2025-08-05 04:31:39 -04:00
Storm Dragon
c3e9d1e4a1 Another attempt with progressbars in yad and details of what's happening. 2025-08-05 03:47:25 -04:00
Storm Dragon
bb1883ccd7 More fixes to installer scripts. 2025-08-05 03:42:02 -04:00
Storm Dragon
6317b2098b Hopefully improve progressbars and update messages with yad. 2025-08-05 03:36:34 -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
eb9ad3e38d Fix update messages so they are shown in both CLI and GUI modes. 2025-08-05 01:56:35 -04:00
Storm Dragon
7ab2cdeb60 Fixed inaccessible dialogues in yad for messages. All messages should now be readable with screen readers, not just the buttons. 2025-08-05 01:49:21 -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
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
4d2134b9a9 A *lot* of work done on the audiogame-manager refactor. Hopefully getting somewhat close to stability, but I doubt it. 2025-08-04 19:42:59 -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
d9ef202b33 more progress, but create_game_array is horribly broken. 2025-05-20 05:13:22 -04:00
Storm Dragon
faba6bcbcb Work on unifying bottles for wine. Most games should now install to 1 of 2 possible locations, ~/.local/wine32 or ~/.local/wine64. Untested, will probably break a lot of things, do not use yet. 2025-05-19 00:09:35 -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