1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[TOT] Installing Test of Time in Linux Mint 20

Discussion in 'Civ2 - Technical Support' started by Prof. Garfield, Jan 4, 2021.

  1. Prof. Garfield

    Prof. Garfield Deity Supporter

    Joined:
    Mar 6, 2004
    Messages:
    3,327
    Location:
    Ontario
    This thread contains instructions for installing Test of Time (with TOTPP) in Linux Mint 20, though I strongly suspect that it would work for many other Linux Distributions. At the bottom of this post, there is a Youtube video where I go through the installation process.

    If you run Windows, have a look at this installation guide for Test of Time. You could also run a virtual pc with Linux Mint and follow this guide. You can find a guide to virtualization (with a Linux Mint install as an example) at the end of this post.

    Below are the instructions and links. I've also attached a text file with this information.

    Lutris Download
    https://lutris.net/downloads/

    Test of Time V1.1 Patch:
    https://forums.civfanatics.com/resources/test-of-time-v1-1-patch.59/

    Test of Time Patch Project:
    https://forums.civfanatics.com/threads/the-test-of-time-patch-project.517282/page-47#post-15089974

    Custom Music Patch:
    https://github.com/ProfGarfield/CustomMusicForTOTPP

    Civlua Bug Fix:
    https://forums.civfanatics.com/threads/totpp-important-bug-fix.648804/

    Medieval Millennium:
    https://forums.civfanatics.com/resources/medieval-millennium.28568/


    1. Install Lutris

    2. Install Wine Version tkg-protonified-4.1-x86_64
    (Version I use, no particular reason to choose it that I know of.)
    Find the option under runners, manage wine versions

    3. In your home directory, create a directory for Lutris files. Call it "Games"

    4. In the Games directory, create a directory for each instance of Test of Time that you want. For this example, we'll create 2, called TOTPP15, and MedievalMillennium

    5. Insert CD or mount ISO image.

    6. In Lutris, select Add Game.

    7. In the Add a new game menu, make the following selections
    In Game Info
    Name: TOTPP15 (or whatever you want)
    Runner: Wine
    in Game options
    Executable: Navigate to SETUP.EXE in the test of time disk
    Working Directory: Navigate to and select Games/TOTPP15
    Wine Prefix: Navigate to and select Games/TOTPP15
    Prefix architecture: 32-Bit
    in Runner Options
    Wine Version: tkg-protonified-4.1-x86_64
    Enable DXVK/VKD3D: If using virtual machine, turn off
    Save when these changes are made.

    8. Run TOTPP15

    9. Install All packages (e.g. Mono, Gecko) that you are prompted to

    10. Accept the License Agreement

    11. CHANGE the installation folder to C:\Test of Time
    There is a bug that if file names are too long, the game crashes. This could be an issue with scenarios stored in directories a couple levels deep.

    12. Choose the type of installation you want (everything should be fine)

    13. Accept The default for the next choice.

    14. Don't install DirectX 6 drivers, since TOTPP will use DirectX 9 anyway (probably no harm if you do install them)

    15. Never register the game. DON'T launch Civ II test of time.

    16. Download Test of Time V1.1 Patch, save (not extract) the executable into
    Games/TOTPP15/drive_c/Test of Time

    17. Configure TOTPP15 and make the following changes
    Game Options
    Executable: Navigate to ~/Games/TOTPP15/drive_c/Test of Time and select civtot11.exe
    Working Directory: ~/Games/TOTPP15/drive_c/Test of Time
    Save Changes

    18. Run TOTPP15 again. Apply the patch, don't launch test of time.

    19. Download Test of Time Patch Project, extract files to the Test of Time directory

    20. Configure TOTPP15, and make the following changes
    Game Options
    Executable: Navigate to Test of Time directory, select TOTLauncher.exe
    Save Changes

    21. Unmount The Test of Time disk image.

    22. Run TOTPP15 once again.
    Press Apply Patch; you can backup civ2.exe if you like. In the checkboxes to select patches, make sure to enable lua scripting.
    Press Save and Launch (If you forgot to unmount the disk image the game will freeze.) This will open the game.

    23. There are several options here:

    A. Do nothing (you won't get game music)

    B. Download and Install the Custom Music Patch
    To Download, Press Code button, and select download zip.
    Extract the zip file to a convenient location on your system (NOT the Test of Time directory).
    Copy the Music Folder (including the folder itself) to the Test of Time Directory.
    Copy the 3 files in the folder "Copy Contents to lua" into the lua folder in the Test of Time directory. Overwrite when prompted.
    Note: This code does overwrite the content of the music folder in your totpp directory from time to time using lua code. If you're not comfortable with this, then don't use this patch.

    C. Prepare the TOTPP music patch without using my custom version
    Follow the instructions under Patch Description for the DirectShow music patch in the TOTPP launcher.
    You might use the files from the Custom Music patch rather than encoding them yourself.

    24. If you chose option B or C above, run TOTPP15 again, and enable the DirectShow music patch.

    25. Download the Civlua Bug Fix, and extract it into Test of Time/lua. Replace the existing file.

    26. Choose How you will deal with the Movement Multipliers Bug
    Option 1: Add some lines of code to all rules.txt files made before the TOTPP. The lines are:
    Code:
    @COSMIC2
    MovementMultipliers,1
    RoadMultiplier,1,3
    RailroadMultiplier, -1
    RiverMultiplier,1, 3
    AlpineMultiplier,1, 3
    
    If the road multiplier is different from 3 in the scenario, change the 3s to the appropriate number. Check
    Code:
    @COSMIC
    3       ; Road movement multiplier
    
    Option 2: Disable the movement multipliers patch when playing old games.
    Set the game executable to the TOTLauncher.exe instead of civ2.exe (Don't change it in step 27).
    Under Extra Cosmic Parameters, uncheck the movement multipliers box when playing a pre TOTPP game.

    Option 3: Maintain a separate installation for pre TOTPP games.
    Follow the instructions 29 and 30 below for copying the game for Medieval Millennium, and disable the movement multipliers patch in that installation.

    27. You can skip this step if you want the TOTPP launcher to run every time you start the game.
    Configure TOTPP15 again.
    Game Options
    Executable: in the Test of Time Directory, choose civ2.exe
    Save Changes

    28. Creating a separate installation for Medieval Millennium is optional, but recommended. Follow instructions 29-33 to achieve this.

    29. Copy all the contents of the TOTPP15 directory (directly under games) to the MedievalMillennium Directory.

    30. Add a new game to Lutris:
    Game info
    Name: Medieval Millennium
    Runner: Wine
    Game Options
    Executable: Navigate under MedievalMillenium directory to the Test of Time directory, and select civ2.exe
    Working Directory: ~/Games/MedievalMillennium/drive_c/Test of Time
    Wine Prefix: ~/Games/MedievalMillennium
    Prefix architecture: 32-bit
    Runner options
    Wine Version: tkg-protonified-4.1-x86_64
    Enable DXVK/VKD3D: If using virtual machine, turn off
    Save when these changes are made.

    31. Download and save Medieval Millenium files.
    Create a directory called MedievalMillennium (or, some other name you prefer) directly below your Medieval Millennium Test of Time directory.
    Extract all the contents of the download to this directory (not nested one directory deeper).

    32. Run Install Medieval Millennium bat file
    Navigate in the file browser to the MedievalMillennium folder, right click, and select the Open in Terminal Option.
    In the terminal, run the command
    Code:
    wine cmd
    Then, when promted (there will be a line Z:\Stuff\MedievalMillenium>)
    Code:
    MM_install.bat
    
    Press any key, wait for the installation, then press any key again
    enter commands
    Code:
     exit
    exit
    
    33. Start Medieval Millennium in Lutris
    If all went well, you will see a Medieval Millennium welcome screen instead of the regular welcome screen.
    If you want flashing unit icons, disable animated units (ctrl+p to get the menu)

    34. For your TOTPP15 installation, navigat to the Test of Time directory, and create a folder Scenarios.
    Right click on that folder and select "create a link."
    Move that link to the desktop.
    It will make navigating around to install scenarios easier, or run bat files.



    Here's a video on virtualization.
    Installing Linux Mint 20 is essentially the same as 18. You should probably allocation 20 or 25 GB for the virtual hard disk (if dynamically allocated, it won't take up any more space than actually used anyway), and make sure to select the box to download the third party graphics and media software.
     

    Attached Files:

    Last edited: Jan 5, 2021

Share This Page