Jump to content

[REL|GTAIV] XLiveLess


listener

Recommended Posts

XLiveLess - small replacement of the xlive.dll with no online support

 

Last Update: version 0.999-beta7 (29/May/2010)

 

Note:

* run LaunchGTAIV.exe instead GTAIV.exe (to prevent "drunk" camera)

 

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

* in-built asi-loader (no need to replace original files)

* asi-loader searches for .asi files in the root game folder and .asi and .dll in the 'plugins' folder

 

Additional features for GTA IV version 1.0.1.0-1.0.7.0, 1.0.4.2, EfCL 1.1.1.0-1.1.2.0:

* removed savefile check (you can load save file made by any offline XLive user)

* removed files.txt check (integrated replacement of FileCheckFix and MagicPatch)

* 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)

* disabled RGSC (since update 6, RGSC moved to the paul.dll)

* moved 'savegames' folder (see below).

 

Additional features for EfLC 1.1.1.0

* moved 'savegames' folder (see below).

* removed savefile check

 

Additional features for Red Faction: Guerrilla:

* removed savefile check

 

Installation:

* unpack 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

 

Additional notes on savefiles:

* savefiles are now located in the folder:

(for Windows Vista) %USERPROFILE%\Documents\Rockstar Games\GTA IV\savegames\

(for Windows XP) %USERPROFILE%\My Documents\Rockstar Games\GTA IV\savegames\

NOTE: don't forget to copy savegames to the new location

 

Plugin support:

* Added plugin API (xliveless.h and xlive.lib)

* Added sample plugin that moves the 'savegames' folder into the game folder (saveToGameFolder.dll)

 

Download:

* http://public.sannybuilder.com/GTA4/xliveless-0.999b7.rar

* http://rapidshare.com/files/392993489/xliveless-0.999b7.rar

 

 

UPD:

* version 0.91: added loading *.dll from plugins\ folder

* version 0.92: fixed bug with crashes on XP; fixed loading modules from plugins folder.

* version 0.93: disabled RGSC, moved the savegames folder

* version 0.94: added 1.0.2 support, fixed "Live Guide" bug, minor plugin API additions

* version 0.95: added 1.0.3 support, small fixes

* version 0.97: added 1.0.4 support; possible fixed crash on exit

* version 0.98: added Red Faction: Guerrilla support, minor bugfixes

* version 0.99: added update 5 (1.0.0.4) support

* version 0.999b4: added update 6 (1.0.6.0, 1.0.4.2) support , added preliminary EfLC (1.1.1.0) support

* version 0.999b7: added update 7 (1.0.7.0) and EfLC (1.1.2.0) support

 

Special thanks to Rick and Seemann.

Edited by listener
Link to comment
Share on other sites

Nifty! Good work! smile.gif

 

EDIT: Does this mean we can play with models and such now?

I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets

Link to comment
Share on other sites

Nice one, i had done the same myself but it was very basic, none of these good features like working savegames and integrated asi loader!

Link to comment
Share on other sites

Yay it's crashing! lol.gif

 

Loading screens, poof before it gets to the main screen. Here's my debug trace if it helps.

 

 

29/12/2008 18:59:29.053 Log started29/12/2008 18:59:29.053 EnumProcessModules returned 36 modules29/12/2008 18:59:29.053 GetModuleInformation  Ok, baseAddress = 00400000 (00400000)29/12/2008 18:59:29.053 Patching OK29/12/2008 18:59:29.334 xlive_5000: XLiveInitialize29/12/2008 18:59:29.334 xlive_51: XNetStartup29/12/2008 18:59:29.334 xlive_1: XWSAStartup29/12/2008 18:59:33.006 xlive_5005: XLiveOnCreateDevice29/12/2008 18:59:33.006 xlive_5310: XOnlineStartup29/12/2008 18:59:33.006 xlive_5270: XNotifyCreateListener (0x0000000000000001)29/12/2008 18:59:33.006 xlive_5270: XNotifyCreateListener (0x0000000000000007)29/12/2008 18:59:33.006 xlive_5262: XUserGetSigninState29/12/2008 18:59:33.006 xlive_5263: XUserGetName (0, .. , 16)29/12/2008 18:59:33.006 xlive_5263: XUserGetName (0, .. , 16)29/12/2008 18:59:34.475 xlive_5270: XNotifyCreateListener (0x0000000000000001)29/12/2008 18:59:55.537 xlive_5262: XUserGetSigninState29/12/2008 18:59:55.537 xlive_5263: XUserGetName (0, .. , 16)29/12/2008 18:59:55.537 xlive_5263: XUserGetName (0, .. , 16)29/12/2008 18:59:55.537 xlive_1082: XGetOverlappedExtendedError29/12/2008 18:59:55.897 xlive_5331: XUserReadProfileSettings (0, 0, 8, ..., 0, ...)29/12/2008 18:59:55.897 xlive_5331: XUserReadProfileSettings (0, 0, 8, ..., 1036, ...)29/12/2008 18:59:55.912 xlive_5256: XEnumerate29/12/2008 18:59:55.912 xlive_1083: XGetOverlappedResult

 

 

Removed all of my asi loaders, etc. Restored files with Magic Patch restorer thingy.

 

Removing xlive.dll makes things work again, but I guess that's the point. wink.gif

I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets

Link to comment
Share on other sites

Works for me =/ I just copied xlive.dll into my game folder and it worked.

Edited by Toez
Link to comment
Share on other sites

@ceedj

 

Can't reproduce bug. Did you use XP or Vista? (I'm using Vista 64-bit)

Link to comment
Share on other sites

XP 32, SP3, .NET3.5

 

Call me the problem child. biggrin.gif

I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets

Link to comment
Share on other sites

XP 32, SP3, .NET3.5

 

Look like problem with XP.

Will be fixed as soon, as I found PC with XP, powerful enough to run IV.

Link to comment
Share on other sites

No prob bob, appreciate you looking into it. Good luck!

 

Finding a machine to run it that is. lol.gif

I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets

Link to comment
Share on other sites

So with this dll, summarizing, we can:

- mod the game

- use savegames

- can't play multy

- load asi files

 

So we could remove:

- magiciv by aru

- alexander asi loader and filecheckfix

- xlive.dll by ricky

 

Am I right? o_o

Link to comment
Share on other sites

yes FunGT you are correct. That is pretty much what I did. This XLiveLess is working 100% on my pc. Making modding GTA IV less of a hassle.

 

Only problem is you need to make sure to BACKUP anything you mod. MagicIV made that easy, but I just copied the whole GTA directory as a backup.

Link to comment
Share on other sites

GJ listener! Think I can use my trainer with your xliveless instead of bink* replacements.

Ìîëîäåö, ñóïåð! icon14.gif

Link to comment
Share on other sites

Only problem is you need to make sure to BACKUP anything you mod.

Yes, this is a minor issue, I always backup what I edit, I don't need a tool that backup the files for me. tounge.gif

Link to comment
Share on other sites

Crashes for me, right after the R*/GTAIV screen is done and while it's trying to load the main menu

 

instruction at 0x0074e1co pointing to 0xcdcdcdcd, could not read

 

 

30/12/2008 16:26:59.953 Log started30/12/2008 16:26:59.953 EnumProcessModules returned 37 modules30/12/2008 16:26:59.953 GetModuleInformation  Ok, baseAddress = 00400000 (00400000)30/12/2008 16:26:59.953 Patching OK30/12/2008 16:27:00.375 xlive_5000: XLiveInitialize30/12/2008 16:27:00.375 xlive_51: XNetStartup30/12/2008 16:27:00.375 xlive_1: XWSAStartup30/12/2008 16:27:18.843 xlive_5005: XLiveOnCreateDevice30/12/2008 16:27:18.843 xlive_5310: XOnlineStartup30/12/2008 16:27:18.843 xlive_5270: XNotifyCreateListener (0x0000000000000001)30/12/2008 16:27:18.843 xlive_5270: XNotifyCreateListener (0x0000000000000007)30/12/2008 16:27:18.843 xlive_5262: XUserGetSigninState30/12/2008 16:27:18.843 xlive_5263: XUserGetName (0, .. , 16)30/12/2008 16:27:18.843 xlive_5263: XUserGetName (0, .. , 16)30/12/2008 16:27:32.890 xlive_5270: XNotifyCreateListener (0x0000000000000001)30/12/2008 16:27:41.468 xlive_5262: XUserGetSigninState30/12/2008 16:27:41.468 xlive_5263: XUserGetName (0, .. , 16)30/12/2008 16:27:41.468 xlive_5263: XUserGetName (0, .. , 16)30/12/2008 16:27:41.468 xlive_1082: XGetOverlappedExtendedError30/12/2008 16:27:42.812 xlive_5331: XUserReadProfileSettings (0, 0, 8, ..., 0, ...)30/12/2008 16:27:42.812 xlive_5331: XUserReadProfileSettings (0, 0, 8, ..., 1036, ...)30/12/2008 16:27:42.812 xlive_5256: XEnumerate30/12/2008 16:27:42.812 xlive_1083: XGetOverlappedResult30/12/2008 16:27:42.890 xlive_1083: XGetOverlappedResult30/12/2008 16:27:42.890 xlive_3: XCreateSocket (2, 2, 254)

 

 

Tried both dlls, neither works. It does when I delete the xlive.dll

Link to comment
Share on other sites

@mabako: Using XP? Because that looks an awful like like my error.

 

Anyone who gets crashes, please post your OS (32 or 64), any service packs and .NET version, so listener can more readily isolate the problem. smile.gif

I'm actually not against democracy though. I'm against things I think are f*cking stupid. I think this is f*cking stupid. - Sweets

Link to comment
Share on other sites

German XP 32bit SP3, .NET framework 3.5

 

what is weird imo is that the last two lines

 

 xlive_1083: XGetOverlappedResultxlive_3: XCreateSocket (2, 2, 254)

 

do not always appear, so it might crash before that or after? It's the same error though

Link to comment
Share on other sites

works perfect on Vista 32 with all online IV updates etc with a modified map and textures.

 

thanks for all your hard work smile.gif

Link to comment
Share on other sites

Crashing at launch with unpatched version... English WinXP 32-bit, SP3 and .net 3.5 are installed.

It crashes to desktop saying that data cannot be written and the program will now close etc...

Normally I don't have any bugs or crashes in the game.

 

 

My specs:

E6750 2,66ghz @ 3,5ghz

2g 800mhz RAM @ 1066mhz

XFX 8800GTS 320mb @ 634/999

A ****load of fans

Link to comment
Share on other sites

I have a question. Will this get rid of the 25ms limitation?

In meaning, you can only join servers if you have less than 25ms. I don't know if this is caused by LIVE or not though.

Edited by Mooe
Link to comment
Share on other sites

 

I have a question. Will this get rid of the 25ms limitation?

In meaning, you can only join servers if you have less than 25ms. I don't know if this is caused by LIVE or not though.

 

* all online functions are disabled

With this tool you cant access multiplayer at all

Link to comment
Share on other sites

I have a question. Will this get rid of the 25ms limitation?

In meaning, you can only join servers if you have less than 25ms. I don't know if this is caused by LIVE or not though.

 

* all online functions are disabled

With this tool you cant access multiplayer at all

Oh, I see. I got a little confused, sorry.

Link to comment
Share on other sites

With the xlive.dll you can no longer use the cheathappens trainer... which wouldn't be a big deal, but their trainer has the goods for real, unlimited health, ammo, money and now removes wanted level.

 

Need a new lua script to do all that for us!!!! anybody voluntering? sp

Link to comment
Share on other sites

Good tool, it's very useful.

 

However I can't seem to get plugins working correctly, I've got this code:

 

http://pastebin.com/m464291a8

 

In nointro.dll which I then put in the /plugins folder, but I get no message box. Here's my log:

 

 

02/01/2009 09:23:34.734 Log started

02/01/2009 09:23:34.734 EnumProcessModules returned 38 modules

02/01/2009 09:23:34.734 GetModuleInformation  Ok, baseAddress = 00400000 (00400000)

02/01/2009 09:23:34.734 Patching OK

02/01/2009 09:23:34.734 plugin loader: loaded 'nointro.dll'

02/01/2009 09:23:34.984 xlive_5000: XLiveInitialize

02/01/2009 09:23:34.984 xlive_51: XNetStartup

02/01/2009 09:23:34.984 xlive_1: XWSAStartup

02/01/2009 09:23:39.687 xlive_5005: XLiveOnCreateDevice

02/01/2009 09:23:39.687 xlive_5310: XOnlineStartup

02/01/2009 09:23:39.687 xlive_5270: XNotifyCreateListener (0x0000000000000001)

02/01/2009 09:23:39.687 xlive_5270: XNotifyCreateListener (0x0000000000000007)

02/01/2009 09:23:39.703 xlive_5262: XUserGetSigninState

02/01/2009 09:23:39.703 xlive_5263: XUserGetName (0, .. , 16)

02/01/2009 09:23:39.703 xlive_5263: XUserGetName (0, .. , 16)

 

Seems LoadLibrary isn't doing what it's supposed to? MS suggests that you don't call it in DllMain, but I've called it there successfully before.

 

EDIT:

 

It's because when your calling LoadLibrary your only passing the name of the file, not the relative path. It works fine as long as I rename it to a .asi and put it in the main directory.

Edited by Sacky
Link to comment
Share on other sites

It's because when your calling LoadLibrary your only passing the name of the file, not the relative path. It works fine as long as I rename it to a .asi and put it in the main directory.

Thanks, Sacky.

Plugins folder should now work as designed.

 

Also, fixed crashes in XP.

 

 

 

Link to comment
Share on other sites

GamerShotgun

@listener: This tool deserves a pin... smile.gif IMO, there could be a ReadMe loading feature coded in the hook, which replaces that "Guide" menu with a new one which loads a .ini file's content... it would be nice, but I don't know if it's possible. If it is, then mod makers here could write small descriptions and user manuals... that way we wouldn't have to alt+tab out the game to see which key is binded to a command via another script or hook.

 

So yeah.. this tool is cool smile.gif

Link to comment
Share on other sites

Changes in version 0.93

 

* Disabled RGSC

* changed location of the savegames folder:

 

 Directory of C:\Users\%USERNAME%\Documents\Rockstar Games\GTA IV\savegames03.01.2009  03:57    <DIR>          .03.01.2009  03:57    <DIR>          ..28.12.2008  21:03         1 977 934 SGTA40007.12.2008  07:15         1 978 282 SGTA40129.12.2008  22:55         1 977 934 SGTA40207.12.2008  09:17         1 978 282 SGTA40302.01.2009  19:59         1 977 934 SGTA40429.12.2008  02:06         1 977 934 SGTA412

 

 

* added plugin API and sample plugin (move savegames folder into the root game folder)

Link to comment
Share on other sites

BlazeHoliday

if you could please post a link to the last version. this new one crashes my game without fail everysingle time. get all the way till it's about to load me into apartment and crash 11/11 times now

 

 

vista ultimate x64 never had problems with xliveless till this newest one. thx.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.