Skip to content

stuffbymax/farcryd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Running Far Cry 1 with Cheats Enabled on Linux (Wine)

This guide provides instructions for running Far Cry 1 with cheats enabled on Linux using Wine. Far Cry 1 is a classic first-person shooter game developed by Crytek.

Prerequisites

  • Wine installed on your Linux system
  • Far Cry 1 installed in your Wine environment
  • Basic knowledge of using the terminal

steps

Steps

  1. Verify Installation Directory

Ensure that Far Cry 1 is installed in the correct directory within your Wine environment. for example

ls "/home/zdislav/.wine/drive_c/GOG Games/Far Cry/Bin32/"
  1. Correct Path in the Script

Update the launch script (start_farcry.sh) to point to the correct directory.

nvim ~/farcryd.sh

Ensure that the script contains the correct path:

#!/bin/bash
export WINEPREFIX="/home/zdislav/.wine"
cd "/home/zdislav/.wine/drive_c/GOG Games/Far Cry/Bin32/"
wine FarCry.exe -DEVMODE
  1. Make the Script Executable
chmod +x ~/farcryd.sh
  1. Troubleshooting Errors

If you encounter any errors during the process, here are potential solutions:

c0000135 Error: This error indicates missing or improperly installed components. Reinstall DirectX and Visual C++ libraries using winetricks.

winetricks d3dx9 vcrun6

File Not Found Error: Ensure that the path in the script is correct and the executable (FarCry.exe) exists in the specified directory.

Application Could Not Be Started: This error may occur due to various reasons, such as incorrect file associations or missing DLL files. Check Wine configuration, reinstall Wine, and verify file permissions.

ShellExecuteEx Failed Error: This error often indicates a file not found or permissions issue. Double-check the path and file permissions.

Additional Notes

  • Debugging: Run Wine in debug mode (WINEDEBUG=+loaddll) to get more detailed error messages.
  • Permissions: Ensure that all files in the Wine prefix are owned by your user account.
  • Dependencies: Install necessary libraries using winetricks to meet dependencies.

cheats

Key Function
[Backspace] godmode on/off
[P] all weapons
[O] 999 ammo for equipped weapon
[F1] change view (first/third person)
[F4] no clip
[F2] next checkpoint
[F9] save location of the player
[F10] jump to saved location
[F11] switch additional info on/off