Terragen and Wine Howto

How I did it:

  • Update (25 Feb 2005):
    I was just asked how I got it to work, so I tried it again on my work machine, and it actually worked even better than last time! Here's how I did it: No bugs yet.. you can even test render and everything..
  • This was on a fairly clean Redhat 9 workstation fully patched with exception of the kernel, and all steps were run sudo-ed to root (bad force of habit, I know).
  • Install the latest and greatest Wine RPM from WineHQ - At this time it's wine-20031212-1rh9winehq.i686.rpm.
  • Install Terragen - run
    wine tginstall0919.exe
    If this is the first time you've run Wine, you'll probably have to sit through it compiling/rendering the fonts for Wine. It'll only do it once, unless you delete your .wine directory. This should take you through installing Terragen into Wine's virtual Windows. Install it as you normally would. Note that to get to the "virtual" drive, you need to go to ~/.wine/c.
  • If you want to try it now, go to ~/.wine/c/Program Files/Terragen and type:
    wine Terragen.exe
    It probably won't work, and the errors that spew across (for me at least) indicates the OLEAUT32.DLL file was broken. Note that Wine uses Win9x/WinME DLLs, not NT/2000/XP DLLs, so go find a WinME or Win98SE machine (preferably) and grab that DLL. If you're like me and can't find one, check this KaZaa and Wine Howto for a way to get the DLLs you need. It worked for me. No, I won't tell you how to get it from here, since I'm not certain how legal it is...
  • At this point, you should be able to start up Terragen and render like a champ. Not everything works that great, so I'd suggest getting the terrain and world files how you like them under Windows, then save them and render under Linux. I also need to find a list of the various command line options. All I've found are ones for scripting (which I suppose would work, assuming I learn how to get the scripts to run correctly in Linux). As it is, all I have to do is:
    wine Terragen /w worldfile.tgw /t terrainfile.ter
    and click Render.

    Any notes, comments, or suggestions are most welcome.


    fallenknight.org
    http://www.fallenknight.org/staticpages/index.php/tgwine