Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No text in civ menu. Crashes when starting game. #20

Open
Jon0 opened this issue Oct 13, 2017 · 13 comments
Open

No text in civ menu. Crashes when starting game. #20

Jon0 opened this issue Oct 13, 2017 · 13 comments

Comments

@Jon0
Copy link

Jon0 commented Oct 13, 2017

WK.exe crashes after starting a game. The single player menu and multiplayer lobbies will run until a game is started, but the list of civs has no text.

I am running the game in wine, but someone appears to have the same issue on windows here: https://www.aoczone.net/viewtopic.php?p=534829#p534829

Crash occurs running from voobly and in single player. Base game installed using aoc cd.

output from wine:

Unhandled exception: page fault on read access to 0x00000018 in 32-bit code (0x0055380f).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:0055380f ESP:00333f78 EBP:0b19af78 EFLAGS:00010246( R- -- I Z- -P- )
EAX:0098b430 EBX:00000000 ECX:00000004 EDX:0b19b058
ESI:00000001 EDI:00000000
Stack dump:
0x00333f78: 0098b430 0b19af78 0098b430 00000000
0x00333f88: 0b19af78 00333fc8 006256f9 00000001
0x00333f98: 004547b3 0098b430 00000000 00000001
0x00333fa8: 0033becc 0000001c 00000000 0098b430
0x00333fb8: 00000001 0033becc 0033becc 0b19af78
0x00333fc8: 00334014 00621d6c ffffffff 004273d3
Backtrace:
=>0 0x0055380f in wk (+0x15380f) (0x0b19af78)
1 0x00000000 (0x0064252c)
2 0x00553d60 in wk (+0x153d5f) (0x00553610)
3 0x00000578 (0xe8f18b56)
0x0055380f: movswl 0x18(%edi),%eax

@Jineapple
Copy link
Contributor

Just to confirm, since you posted this on Tails' github page, which has an older version of the installer: You did download WololoKingdoms 2.5 from my github page to install this?

@Jon0
Copy link
Author

Jon0 commented Oct 14, 2017

I have 2.5 downloaded from here: https://github.com/Jineapple/WololoKingdoms/releases

@Jineapple
Copy link
Contributor

Okay thanks. Did you have any troubles getting the installer itself to work with Wine? I just tried myself, but it didn't find the windows platform for qt. I don't use Linux/Wine much myself, so I only have limited experience with that.

@Jon0
Copy link
Author

Jon0 commented Oct 15, 2017

Installer never had any problems running for me. Which distro are you running?

@Jineapple
Copy link
Contributor

Ubuntu 16 LTS - I think it's probably Wine though that's not properly configured. I know a similar error happens on Vista and lower. Wine is set to Windows 7, but maybe I'm missing something else.

@Jon0
Copy link
Author

Jon0 commented Oct 15, 2017

I use wine staging, it fixed some issues running 1.4/1.5 patches. I tried the following from a clean 17.04 ubuntu install:

Get wine staging, currently version 2.18
sudo dpkg --add-architecture i386
wget -nc https://repos.wine-staging.com/wine/Release.key
sudo apt-key add Release.key
sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
sudo apt-get update
sudo apt-get install --install-recommends winehq-staging

Creates wine prefix, allow installer for mono and gecko to run, the gecko install seems to run twice.
Close wine configuration when completed
winecfg

Install steam, and install Aoe2HD
cd ~/.wine/drive_c
wget https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
wine SteamSetup.exe

Install CD version (change file names to your iso files)
First change directory to where iso files are.
mkdir iso
sudo mount -o loop AOE2.iso iso
cd iso
wine aoesetup.exe
cd ..
sudo umount iso
sudo mount -o loop AGE2_X1.iso iso
cd iso
wine aocsetup.exe
cd ..
sudo umount iso

Download and run wololo kingdoms
cd ~/.wine/drive_c
wget https://github.com/Jineapple/WololoKingdoms/releases/download/2.5/WololoKingdoms.zip
unzip WololoKingdoms.zip
cd WololoKingdoms
wine WololoKingdoms.exe

Should be enough to get it running

@Jineapple
Copy link
Contributor

Thanks! Unfortunately I have to wait a few days until I get Internet at my new apartment to install new packages, but I'll get back to you after that :)

@Jineapple
Copy link
Contributor

Okay, I've had time to look at this now and found the issue - To save space and to share stuff like maps etc. between the different variations of the mod, the installer uses symlinks - those don't work as intended with wine. I will look into a fix for this.

@Jon0
Copy link
Author

Jon0 commented Oct 28, 2017

Ok, I can test when ready

@Jineapple
Copy link
Contributor

Jineapple commented Oct 30, 2017

I made a shell script that should create the missing symlinks: https://1drv.ms/u/s!Ark-SUz3-qr5qUcUahqd95ULA_sa

Put this into your aoc folder (so next to the Voobly Mods directory) and run it.

Note that I've still had a crash when spamming h-c for villagers during the loading screen, but that also happened playing regular aoc. Just a heads up in case it's not just an issue with my installation.

Also, the offline installation WK.exe crashes for me at startup at the moment.

@Jon0
Copy link
Author

Jon0 commented Nov 4, 2017

Offline install requires window mode support to be unticked when installing.

I'm now getting some issue with gstreamer:
fixme:gstreamer:unknown_type Could not find a filter for caps: application/x-id3
fixme:gstreamer:watch_bus decodebin0: Your GStreamer installation is missing a plug-in.

If your version worked, there must be some lib I'm missing.

@Jon0
Copy link
Author

Jon0 commented Nov 4, 2017

Now working on ubuntu, one of the 32-bit gstreamer libs fixed it.

@Jineapple
Copy link
Contributor

Ok, good to hear and ty for testing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants