Well, new to fedora but not linux. Girlfriend recently got me hooked on The Sims Medieval, rather than sharing her laptop to play it... decided to give it a whirl in wine and actually had great success. So, thought I'd share how I got it running flawlessly under fedora running Mods and the expansion pack both.
This was all done using Wine 1.3.27 along with winetricks...
First off, if using a NVidia card... I suggest installing NVidia's non-free drivers. Nouveau did not agree with wine and although TSM would run all I'd get was a black screen with the cursor. Once installing the non-free drivers it ran perfect. Secondly, we're going to need to use winetricks to install the following:
Code:
sh ./winetricks vcrun2010 vcrun6 vcrun6sp6 mfc42 d3dx9_31
The d3dx9_31 is the file you can get by without unless using mods, placing the windows native dll in your bin folder as you would do to run mods in windows will not work using wine. You need to install the wine native d3dx9_31 via winetricks.
Once installing the above through winetricks, you can run the installer for TSM. Once installed, if you're NOT installing the Pirates and Nobles expansion pack you can go ahead and run the manual update for patch 2.0.1113 and copy over a No-CD fixed exe. If you're installing PaN as well... continue reading...
In order to update TSM under linux, you'll have to download the manual update patches because the Launcher DOES NOT work. This also means to launch the game, you have to run TSM.exe directly. Update patches can be found at
www.patches-scrolls.de
If using an ATI card or having a black screen once the game has loaded, you may need to edit your Direct3D settings in wine's regedit located at :
"HKEY_USERS\S-1-5-21-0-0-0-1000\Software\Wine\Direct3D"
Add strings and modify the values accordingly:
Code:
DirectDrawRenderer = opengl
Multisampling = enabled
OffscreenRenderingMode = fbo
PixelShaderMode = enabled
RenderTargetLockMode = readtex
UseGLSL = disabled
VertexShaderMode = hardware
Note, for running mods you'll need to edit Resource.cfg located in your "The Sims Medieval\Game\Bin" as follows:
Resource.cfg
Code:
Priority 500
DirectoryFiles Mods/Packages/... autoupdate
PackedFile Mods/Packages/*.package
PackedFile Mods/Packages/*/*.package
PackedFile Mods/Packages/*/*/*.package
PackedFile Mods/Packages/*/*/*/*.package
PackedFile Mods/Packages/*/*/*/*/*.package
Installing Pirates and Nobles. I could not get PaN to install through wine without it crashing once the VC++ runtimes went to install. After tinkering around, I came up with a somewhat simple workaround. You'll need access to Windows. Install TSM and PaN in windeez, or if already installed just copy the PaN folder over to an external and then to "Program Files\Electronic Arts\" in your wine prefix. Next, run the PaN installer and "reinstall" overtop itself. This will let you enter your cd key as well as patch TSM's base packages with the expansion data. Afterwords, manually update TSM to v2.0.1113 and apply the No-CD fixed exe. You will still simply run TSM.exe from your "The Sims Medieval\Game\Bin" folder and any Mods you may use will go into the base game's bin folder as well. The game runs flawless so far aside from an occasional hickup with some audio effects... the bird whistles and voices in Create-a-Sim will go silent. Restarting the game will fix it, but it doesn't effect the actual gameplay. If anyone is interested in Mods for TSM, I recommend checking out the forums at modthesims.info. They have a TSM forum with mods although they do not list any TSM mods on the main webpage. I recommend checking out GrimReefer's Core Mod and AutoSave.
Optionally, here's "
The Sims Medieval Mod Pack" which is intended for 2.0.1113 with or without the expansion pack. Has good mods as well as linux instructions and a registry file for importing in wine to set the Direct3D strings.
That about sums it up, hopefully some people will make some use of this : ) Really is a fun game and not your standard Sims... more of an rpg aspect to TSM and you don't get to just sit there and watch sims do there thing and hope you don't kill them, lol.