I am using Manjaro an Arch based distro, Actually a port of medieval 2 was released by feral interactive this year, and everyone who has the game on steam can use it on linux now. Empire has also been released by them earlier.
I have tried to make EBII, SS6.4, WotN, Folcomtw3 work. All launch after some easy modification(see end of the post), SS6.4 works fine you can use the settings .exe with wine to change campaign and settings, wotn works fine too, EBII & Falcom crash on loading battles.
So basically how do you make a mod work on the linux port? Change all file and folder names to lower case so if the mod is rared or ziped it is easy just unpack it in the mod folder using
or
If the mod is packed in a .exe, extract it with wine to the mod folder (use wine executer not wine installer), then run in bash
Code:
find ./ -depth -print0 | while read -d $'\0' SRC; do DST=`dirname "${SRC}"`/`basename "${SRC}" | tr '[A-Z]' '[a-z]'`; if [ "${SRC}" != "${DST}" ]; then [ ! -e "${DST}" ] && mv -T "${SRC}" "${DST}" || echo "${SRC} was not renamed"; fi; done
or zip it and unzip it like before.
To make the videos work run in bash
Code:
for f in ./*.bik; do echo "Converting $f"; g=`basename $f .bik`; ffmpeg -i $f -crf 1 -b:v 10M -codec:a libvorbis -b:a 128k $g.webm || echo FAILED; done’
in the fmv folders. You may have to edit the descr_misc.txt to make the startup video work.
Load the mod with --features.mod=mods/mod_folder_name or @mods/mod_folder_name/config_file_name.cfg.
Personally I extract my mods to a own folder and use ln -s to link it into the mods folder.
Bookmarks