Results 1 to 2 of 2

Thread: Howto: Enable anti-aliasing in "full-screen" and without flickering

  1. #1
    Registered User
    Join Date
    Sep 2013
    Posts
    3

    Howto: Enable anti-aliasing in "full-screen" and without flickering

    To get this game to look nice you really need to enable anti-aliasing. The problem is that doing so usually results in flickering issues that can only be overcome in windowed mode, but this mode normally comes with an ugly title bar and borders. The following steps allowed me to get the game to work with full Anti-Aliasing, without any flickering and without any borders, just like full-screen mode. My card is an AMD HD 7850 and I'm using AMD Catalyst version 13.4.

    The first step is to create a batch file that switches to the game's native 640x480 resolution, launches the game in a window, remove the title bar and moves the window a few pixels so there are no visible borders. Once you quit the game, the batch file sets the monitor to high resolution again (you'll need to define the exact values that match your monitor).

    Download NirCmd from the bottom of this page:
    http://www.nirsoft.net/utils/nircmd.html

    Extract it to a folder on your desktop

    Create a batch file TLJ.cmd in the same folder. If Windows doesn't show file extensions, now is the time to enable it, otherwise you're likely to end up with some other extension (e.g. TLJ.cmd.txt).

    Edit the file in Notepad and copy the following commands (without the hyphens) to it:

    -------------------------------------------------------
    nircmd.exe setdisplay 640 480 32
    call steam.exe -applaunch 6310
    nircmd.exe wait 1000
    nircmd.exe win -style process game.exe 0x00C00000
    nircmd.exe win move process game.exe -2 -2
    nircmd.exe waitprocess game.exe setdisplay 1680 1050 32
    -------------------------------------------------------

    Note that if your game is not installed via Steam you'll probably need to replace the line "call steam.exe -applaunch 6310" with something like "call ......\The Longest Journey\game.exe" (where ...... represents the full path to where the game is installed". I haven't tested it though, as I purchased the game from Steam.

    Also, change the resolution values (1680 1050) in the last line to the values you normally use (e.g 1920 1080)

    In Catalyst Control Center configure Anti-Aliasing as follows:

    Under Gaming, click 3D Application Settings then click "Add..."
    Browse the folder where the game is installed (e.g. C:\SteamLibrary\SteamApps\common\The Longest Journey\game.exe)
    Define the settings as below:

    -------------------------------------------------------
    Anti-Aliasing Mode: Override
    Anti-Aliasing Samples: 8x
    Filter: Standard
    Anti-Aliasing Method: Multisampling
    Morphological Filtering: Off
    Anisotropic Filtering Mode: Override
    Anisotropic Filtering Level: 16x
    Texture Filtering Level: High Quality
    Syrface Format Optimizations: Off
    Wait for Vertical Refresh: Off, unless app specifies
    OpenGL Triple Buffering: Off
    Tessellation Mode: Use app settings
    Maximum Tessellation Level: Use app settings
    -------------------------------------------------------

    Edit the game preferences.ini file in Notepad and change its content so that the lines under the [DirectX] section are the same as the ones below. Alternatively, just overwrite the entire content with what's below, if you don't care about the other settings.

    -------------------------------------------------------
    [Preferences]
    AudioDevice=autodetect
    SfxVolume=1.000000
    VoiceVolume=1.000000
    MusicVolume=1.000000
    bool_Subtitles=1
    bool_AprilHighRes=1
    bool_ShadowsOn=1
    bool_AllowFastForward=0
    [DirectX]
    int_BitDepth=32
    bool_ShadowsOn=1
    bool_IsDoubleBuffer=1
    bool_ForceSingleBuffer=0
    bool_StartFullscreen=0
    -------------------------------------------------------

    This file is normally located in C:\Users\YourUserName\AppData\Roaming\The Longest Journey\
    If you can't find the file, create it in this folder. Here too you'll need file extensions to be displayed to ensure that the file is created with the correct name.

    Once done, just double click the TLJ.cmd batch file to launch the game :-)

    Good luck!
    Last edited by Yirg; 09-30-2013 at 11:01 PM.

  2. #2
    Portal to Chaos onion's Avatar
    Join Date
    Apr 2004
    Location
    USA
    Posts
    404
    Going to try this soon as I find my old ATI card but planning on using Autoit to perform the window edits instead. Thanks for all the info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •