http://bugs.winehq.org/show_bug.cgi?id=29384
--- Comment #16 from PommeGolden lapommegolden@gmail.com 2011-12-26 23:57:35 CST --- EXACT STEPS TO INSTALL FAKE AOE II FOR THE PURPOSE OF TESTING THIS REGRESSION: (Good enough for testing this bug. You won't be actually play with other Voobly players with this fake AOE II since you don't have the real game data & have the wrong game version.) ============================
1. Download & install AOE II Trial: - http://download.microsoft.com/download/aoeaok/Trial/1.0/WIN98/EN-US/AoE2demo... OR - http://download.cnet.com/Age-of-Empires-II-Trial-Version/3000-2099_4-1072553...
2. Launch AOE II Trial (/drive_c/Program Files/Microsoft Games/Age of Empires II Trial/EMPIRES2.exe) & ACCEPT to the EULA (needed to create those registry keys needed later). Close AOE II Trial.
You may need to change DirectDrawRenderer to gdi if opengl renderer fails for some reason on some platforms (which is another bug)... http://wiki.winehq.org/UsefulRegistryKeys
3. Download & install Voobly: http://www.voobly.com/updates/voobly-v2.1.50.1.exe 4. Install "Directplay" (native DLL overrides) from winetricks to get AOE2's multiplayer to work 5. (Optional) Install "ie6" from winetricks to get Voobly's embedded internet browser to work
6. Modify AOE II Trial's registry version number from "2.0" to "2.0a"
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Microsoft Games\Age of Empires II Trial] "Version"="2.0a" [HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft Games\Age of Empires\2.0] "Version"="2.0a" [HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft Games\Age of Empires II Trial] "Version"="2.0a"
7. Launch & login into Voobly (Requries free Voobly membership) (/drive_c/Program Files/Voobly/voobly.exe)
8. Double click the following game lounge from Voobly's "Game List" on Voobly's "Game Browser"'s right hand side - Age of Empires II: Age of Kings - CS/DM/RM (XX/XXX)
Voobly will now try to establish connection to the "lounge". This may take 2-3 seconds to a minute if Voobly's server is slow (not Wine problem).
9. Voobly will now download its needed updates. Just install all those updates when prompted. 10. Completely close (including Wine System Tray) & restart Voobly after installing those updates. Ignore all those error messages. 11. Press YES to run the "Game diagonostics tool" when Voobly's "Game Detection Error" message pops up 12. Press BEGIN SCAN 13. Press OK, and then press APPPLY FIX 14. Locate AOE II's EXE when Voobly complains it can't find the EXE (/drive_c/Program Files/Microsoft Games/Age of Empires II Trial/EMPIRES2.exe) 15. Press BEGIN SCAN 16. "Game Diagnostics" will display something like this if you follow the steps correctly. Redo Step 6 if the game version number is still wrong.
"Updating SOFTWARE\Microsoft\DirectPlay\Applications\Age of Empires II CommandLine => lobby CurrentDirectory => c:\program files\microsoft games\age of empires ii trial File => Empires2.ICD Guid => {FB69A260-5031-11d3-A2D4-006097BA6550} Launcher => Empires2.Exe Path => c:\program files\microsoft games\age of empires ii trial Fix was applied successfully!"
17. Completely close (including Wine System Tray) & restart Voobly.
18. Launch & login into Voobly. Double click the following game lounge from Voobly's "Game List" on Voobly's "Game Browser"'s right hand side
Age of Empires II: Age of Kings - CS/DM/RM (XX/XXX)
19. Try to host a game by pressing "Quick Host" on the top "toolbar" (the third button) 20. Press the LAUNCH button (green) on the left (next to Settings) 21. The 6-second Launch countdown will now begins. 22. Press YES when "Unsecure Game Installation" message pops up (Voobly's anti-cheat function). 23. Voobly will now try to launch AOE II, Wine will try to spawn another fullscreen window, & enter AOE II's brown multiplayer screen (which is broken in Wine 1.3.35 & the focus of this bug)
- Wine 1.3.33 & before: You should be able to enter AOE II's brown multiplayer screen even with this fake AOE II full version (see attachment: http://bugs.winehq.org/attachment.cgi?id=38127) - Wine 1.3.34: AOE II will now crash shortly after entering fullscreen if your DirectDrawRenderer is set to gdi (gdi regression which has already been fixed in 1.3.35) - In Wine 1.3.35, nothing will really happen after the countdown.
24. In Wine 1.3.35, after detecting AOE II failed to launch (around 10 seconds after the launch countdown ends), Voobly will display the following message depending on your game settings (regardless when you have the real AOE II full version or not) <Game was not rated - reason: ratings were turned off> OR <Game was not rated - reason: game was not finished>