| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:bsd:wine:aoe_2_collectors [2025/11/05 03:10] – [Music] Sean Rhone | games:bsd:wine:aoe_2_collectors [2025/11/11 20:55] (current) – removed Sean Rhone |
|---|
| ====== Information ====== | |
| |
| * Age of Empires - Collector's Edition (International) | |
| * English (UK) ((disc includes ''DE'', ''FR'', ''SP'', and ''UK'')) | |
| * 32-bit | |
| |
| * Age of Empires | |
| * Age of Empires: The Rise of Rome | |
| * Age of Empires II: The Age of Kings | |
| * Age of Empires II: The Conquerors | |
| |
| * TODO: Save backups | |
| |
| ===== Prerequisites ===== | |
| |
| * [[bsd:freebsd_15.0_xfce|FreeBSD 15.0 (Xfce)]] | |
| * [[bsd:notes:wine|Wine]] (old WoW64) | |
| |
| ====== Install ====== | |
| |
| ===== Source ===== | |
| |
| * https://archive.org/details/age-of-empires-collectors-edition-international | |
| |
| ===== Mount ISO ===== | |
| |
| su - | |
| |
| mdconfig -a -t 'vnode' -f '/home/espionage724/Downloads/AOE.ISO' -u '/dev/md0' && mkdir -p '/mnt/AoE2' && mount -t 'cd9660' '/dev/md0' '/mnt/AoE2' | |
| |
| exit | |
| |
| ===== Age of Empires ===== | |
| |
| * Default install folder ((''C:\Program Files\Microsoft Games\Age of Empires'')) | |
| * Full | |
| |
| mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' WINEARCH='win32' wine wineboot --init && WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' winecfg /v 'win95' && WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t 'REG_SZ' /d '' /f | |
| |
| ln -s -F '/mnt/AoE2' ~/'.wine/Age of Empires Collectors Edition/dosdevices/d:' | |
| |
| WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wine '/mnt/AoE2/AOE1/UK/AOESETUP.EXE' | |
| |
| ===== The Rise of Rome ===== | |
| |
| * FULL | |
| |
| WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wine '/mnt/AoE2/AOE1ROR/UK/AOESETUP.EXE' | |
| |
| ===== II: The Age of Kings ===== | |
| |
| * Default install folder ((''C:\Program Files\Microsoft Games\Age of Empires II'')) | |
| * FULL | |
| |
| WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wine '/mnt/AoE2/AOE2/UK/AOESETUP.EXE' | |
| |
| ===== II: The Conquerors ===== | |
| |
| * Full Install | |
| |
| WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wine '/mnt/AoE2/AOE2CONQ/UK/AOCSETUP.EXE' | |
| |
| ===== Unmount ISO ===== | |
| |
| su - | |
| |
| umount '/dev/md0' | |
| |
| mdconfig -d -u '/dev/md0' | |
| |
| rm -Rf '/mnt/AoE2' | |
| |
| exit | |
| |
| ===== Clean-up ===== | |
| |
| **** | |
| |
| rm -f ~/'Downloads/AOE.ISO' ~/'Desktop/Age of Empires Expansion.lnk' ~/'Desktop/Age of Empires II.lnk' ~/'Desktop/The Conquerors.lnk' && sync | |
| |
| ====== Desktop Launcher ====== | |
| |
| * :!: WIP ([[#execute|manual commands]] done) | |
| |
| ===== 3.3.5 ===== | |
| |
| mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft' && ee ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft 3.3.5.desktop' && sed -i -e 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft 3.3.5.desktop' && update-desktop-database --quiet ~/'.local/share/applications' | |
| |
| <code> | |
| [Desktop Entry] | |
| Name=World of Warcraft 3.3.5 | |
| Categories=Game; | |
| Exec='/bin/sh' -c "cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe' -opengl" | |
| Type=Application | |
| StartupNotify=false | |
| Icon=/home/CHANGEME/.wine/Icons/WoW-335-256.png | |
| StartupWMClass=wow.exe | |
| Actions=Server;Saves;Update;Database-Stop;Database-Start;Window;Kill;Notes; | |
| |
| [Desktop Action Server] | |
| Exec='/bin/sh' -c "~/'Projects/TrinityCore-335/scripts/localhost-server-start.sh'" | |
| Name=Launch Local Server | |
| |
| [Desktop Action Saves] | |
| Exec='/bin/sh' -c "~/'Projects/TrinityCore-335/scripts/localhost-databases-backup.sh'" | |
| Name=Databases Back-up | |
| |
| [Desktop Action Update] | |
| Exec='/bin/sh' -c "xfce4-terminal -T 'TC 3.3.5 [Updater]' -I ~/'.wine/Icons/WoW-335-256.png' -e ~/'Projects/TrinityCore-335/scripts/localhost-server-update.sh'" | |
| Name=Update Local Server | |
| |
| [Desktop Action Database-Stop] | |
| Exec='/bin/sh' -c "mariadb-admin 'shutdown' --socket=$HOME/'Projects/TrinityCore-335/mariadb/mariadb.sock' --user=$USER" | |
| Name=Stop MariaDB | |
| |
| [Desktop Action Database-Start] | |
| Exec='/bin/sh' -c "~/'Projects/TrinityCore-335/scripts/localhost-database-start.sh'" | |
| Name=Start MariaDB (daemon) | |
| |
| [Desktop Action Window] | |
| Exec='/bin/sh' -c "cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine explorer /desktop='3.3.5','1280x720' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe' -opengl" | |
| Name=Start WoW (Windowed) | |
| |
| [Desktop Action Kill] | |
| Exec='/bin/sh' -c "WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wineserver -k" | |
| Name=Force-close WoW | |
| |
| [Desktop Action Notes] | |
| Exec='/bin/sh' -c "gio open 'https://wiki.realmofespionage.xyz/servers:bsd:games:trinitycore_3.3.5_localhost' 'https://wiki.realmofespionage.xyz/games:bsd:wine:world_of_warcraft_3.3.5'" | |
| Name=Install Notes | |
| |
| # End</code> | |
| |
| xfce4-panel -r | |
| |
| ==== Icon ==== | |
| |
| * ''wrestool'' | |
| |
| <code> | |
| mkdir -p ~/'.wine/Icons' && wrestool --output=$HOME/'.wine/Icons/WoW-335-256.png' --extract --name='__GDF_THUMBNAIL' --raw ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe'</code> | |
| |
| ====== Quick Commands ====== | |
| |
| ===== Winecfg ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' winecfg | |
| |
| ===== Winetricks ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' winetricks | |
| |
| ===== Registry Editor ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' regedit | |
| |
| ===== Kill ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wineserver --kill | |
| |
| ===== Execute ===== | |
| |
| ==== Age of Empires ==== | |
| |
| **** | |
| |
| cd ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires' && WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wine ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires/Empires.exe' NoStartup 1024 MidiMusic Limit=200 | |
| |
| ==== The Rise of Rome ==== | |
| |
| **** | |
| |
| cd ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires' && WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wine ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires/EMPIRESX.EXE' NoStartup 1024 MidiMusic | |
| |
| ==== II: The Age of Kings ==== | |
| |
| **** | |
| |
| cd ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires II' && WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wine ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires II/EMPIRES2.EXE' NoStartup 1024 | |
| |
| ==== II: The Conquerors ==== | |
| |
| **** | |
| |
| cd ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires II/age2_x1' && WINEPREFIX=~/'.wine/Age of Empires Collectors Edition' wine ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires II/age2_x1/age2_x1.exe' NoStartup NOSC 1280 | |
| |
| ===== Root Folders ===== | |
| |
| ==== Age of Empires ==== | |
| |
| **** | |
| |
| gio open gio open ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires' | |
| |
| ==== Age of Empires II ==== | |
| |
| **** | |
| |
| gio open ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires II' | |
| |
| ====== Save Data ====== | |
| |
| ===== Age of Empires ===== | |
| |
| ==== Backup ==== | |
| |
| **** | |
| |
| tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-AoE1-Saves.tar.gz' -C ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires' 'savegame' | |
| |
| ==== Restore ==== | |
| |
| **** | |
| |
| tar -xvzf ~/'Downloads/'*'-AoE1-Saves.tar.gz' -C ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires' 'savegame' | |
| |
| ====== TODO ====== | |
| |
| ===== Music ===== | |
| |
| * [[games:bsd:2004scape_localhost#sc55_zzdenis_soundfont|SC55_zzdenis_v0.5.sf2]] | |
| |
| fluidsynth -a 'oss' -n -q ~/'Projects/LostCity-244-EngineTS/ext/SC55_zzdenis_v0.5.sf2' ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires/sound/MUSIC'*'.MID' | |
| |
| fluidsynth -a 'oss' -n -q ~/'Projects/LostCity-244-EngineTS/ext/SC55_zzdenis_v0.5.sf2' ~/'.wine/Age of Empires Collectors Edition/drive_c/Program Files/Microsoft Games/Age of Empires/sound/xmusic'*'.mid' | |
| |
| player_loop -1 | |
| |
| player_next | |
| |