XLiveLess

From GTAMods Wiki
Jump to navigation Jump to search
XLiveLess
Current version:0.999b7 (!)
Developed by:User.pnglistener
Supported games:GTA 4

XLiveLess is a small replacement of the xlive.dll with no online support made by listener. It's intended to disable a variety of modding-prevention measures of GTA 4.

Main features

  • complete replacement of the xlive.dll (original dll isn't required)
  • all online functions are disabled (to prevent cheating in multiplayer)
  • removed all anti-debugger checks
  • all game variables are made unprotected and can be accessed and changed by the trainers, control centers and other tools
  • built-in asi-loader (no need to replace original files)
  • .asi files can be loaded either from the root game folder or 'plugins' folder

Additional features

for GTA IV versions 1.0.1-1.0.6, including EFLC:

  • removed save file check (you can load save file made by any offline XLive user)
  • removed files.txt check (integrated replacement of FileCheckFix and MagicPatch). Note that GTA 4 v1.0.2 does not check this file by default.
  • restored access to the system debugger in the critical error menu (removed loading of WER.dll)
  • enabled write access to memory in code and .rdata segments (no need to call VirtualProtect from a .asi)
  • Rockstar Games Social Club is no longer needed to launch the game. Note: you must run the LaunchGTAIV.exe not the GTAIV.exe (or you will get the "drunk camera" effect).

Installation

  • put the file xlive.dll into the game folder (don't forget to remove the asi loader if there is one)
  • to turn on debug logging, unpack the file xlive_d.dll into the game folder and rename it to xlive.dll

Plugins

XLiveLess exposes the plugins API. Some functions could be imported from the xlive.dll (returning values of the game version, .exe base offset, and some more). A sample plugin changing the save files location is included with XLiveless.

Additional notes

  • savefiles are now located in the folder:
    • for Windows Vista: %LOCALAPPDATA%\Rockstar Games\GTA IV\savegames\user_1000100010001000\
    • for Windows XP: %USERPROFILE%\Local Settings\Application Data\Rockstar Games\GTA IV\savegames\user_1000100010001000\
  • to use old saves, copy them to the folder user_1000100010001000


EDIT: xliveless uses my documents folder instead of appdata folder... Your save should be under "C:\Users\[username]\Documents\Rockstar Games\GTA IV\savegames\"

External links