Quantcast

Jump to content

» «
Photo

[REL|GTAIV] XLiveLess

915 replies to this topic
listener
  • listener

    Monkey with a disassembler

  • Members
  • Joined: 06 Sep 2007

#1

Posted 29 December 2008 - 11:12 PM Edited by listener, 29 May 2010 - 06:04 PM.

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.sannyb...ess-0.999b7.rar
* http://rapidshare.co...ess-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.
  • Jenia likes this

ceedj
  • ceedj

    PEDS Creator

  • Feroci Racing
  • Joined: 21 May 2005

#2

Posted 29 December 2008 - 11:26 PM

Nifty! Good work! smile.gif

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

the hubster
  • the hubster

    Sup Homies

  • Members
  • Joined: 03 May 2005

#3

Posted 29 December 2008 - 11:48 PM

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!

ceedj
  • ceedj

    PEDS Creator

  • Feroci Racing
  • Joined: 21 May 2005

#4

Posted 30 December 2008 - 12:02 AM

Yay it's crashing! lol.gif

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

CODE
29/12/2008 18:59:29.053 Log started
29/12/2008 18:59:29.053 EnumProcessModules returned 36 modules
29/12/2008 18:59:29.053 GetModuleInformation Ok, baseAddress = 00400000 (00400000)
29/12/2008 18:59:29.053 Patching OK
29/12/2008 18:59:29.334 xlive_5000: XLiveInitialize
29/12/2008 18:59:29.334 xlive_51: XNetStartup
29/12/2008 18:59:29.334 xlive_1: XWSAStartup
29/12/2008 18:59:33.006 xlive_5005: XLiveOnCreateDevice
29/12/2008 18:59:33.006 xlive_5310: XOnlineStartup
29/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: XUserGetSigninState
29/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: XUserGetSigninState
29/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: XGetOverlappedExtendedError
29/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: XEnumerate
29/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

Toez
  • Toez

    Bigger Player Hater

  • Members
  • Joined: 25 Dec 2008

#5

Posted 30 December 2008 - 12:12 AM Edited by Toez, 30 December 2008 - 12:36 AM.

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

BlazeHoliday
  • BlazeHoliday

    The Messenger

  • Members
  • Joined: 22 Nov 2005

#6

Posted 30 December 2008 - 12:49 AM

Wow... Ground breaking. XLiveLess I'm loving it!!!

listener
  • listener

    Monkey with a disassembler

  • Members
  • Joined: 06 Sep 2007

#7

Posted 30 December 2008 - 01:18 AM

@ceedj

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

ceedj
  • ceedj

    PEDS Creator

  • Feroci Racing
  • Joined: 21 May 2005

#8

Posted 30 December 2008 - 01:22 AM

XP 32, SP3, .NET3.5

Call me the problem child. biggrin.gif

BlazeHoliday
  • BlazeHoliday

    The Messenger

  • Members
  • Joined: 22 Nov 2005

#9

Posted 30 December 2008 - 01:34 AM

working perfect on vista ultimate x64 here.

listener
  • listener

    Monkey with a disassembler

  • Members
  • Joined: 06 Sep 2007

#10

Posted 30 December 2008 - 02:00 AM

QUOTE (ceedj @ Dec 30 2008, 01:22)
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.

ceedj
  • ceedj

    PEDS Creator

  • Feroci Racing
  • Joined: 21 May 2005

#11

Posted 30 December 2008 - 03:48 AM

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

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

FunGt
  • FunGt

    GTA-Modding.com

  • Members
  • Joined: 10 Jun 2005
  • Italy

#12

Posted 30 December 2008 - 11:00 AM

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

BlazeHoliday
  • BlazeHoliday

    The Messenger

  • Members
  • Joined: 22 Nov 2005

#13

Posted 30 December 2008 - 12:14 PM

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.

dualCore
  • dualCore

    Rat

  • Members
  • Joined: 26 Dec 2008

#14

Posted 30 December 2008 - 12:22 PM

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

FunGt
  • FunGt

    GTA-Modding.com

  • Members
  • Joined: 10 Jun 2005
  • Italy

#15

Posted 30 December 2008 - 02:01 PM

QUOTE (BlazeHoliday @ Dec 30 2008, 13:14)
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

mabako
  • mabako

    Player Hater

  • Members
  • Joined: 13 Aug 2005

#16

Posted 30 December 2008 - 03:38 PM

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

CODE
30/12/2008 16:26:59.953 Log started
30/12/2008 16:26:59.953 EnumProcessModules returned 37 modules
30/12/2008 16:26:59.953 GetModuleInformation  Ok, baseAddress = 00400000 (00400000)
30/12/2008 16:26:59.953 Patching OK
30/12/2008 16:27:00.375 xlive_5000: XLiveInitialize
30/12/2008 16:27:00.375 xlive_51: XNetStartup
30/12/2008 16:27:00.375 xlive_1: XWSAStartup
30/12/2008 16:27:18.843 xlive_5005: XLiveOnCreateDevice
30/12/2008 16:27:18.843 xlive_5310: XOnlineStartup
30/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: XUserGetSigninState
30/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: XUserGetSigninState
30/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: XGetOverlappedExtendedError
30/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: XEnumerate
30/12/2008 16:27:42.812 xlive_1083: XGetOverlappedResult
30/12/2008 16:27:42.890 xlive_1083: XGetOverlappedResult
30/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

ceedj
  • ceedj

    PEDS Creator

  • Feroci Racing
  • Joined: 21 May 2005

#17

Posted 30 December 2008 - 03:46 PM

@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

mabako
  • mabako

    Player Hater

  • Members
  • Joined: 13 Aug 2005

#18

Posted 30 December 2008 - 03:55 PM

German XP 32bit SP3, .NET framework 3.5

what is weird imo is that the last two lines
CODE
xlive_1083: XGetOverlappedResult
xlive_3: XCreateSocket (2, 2, 254)

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

Gforce
  • Gforce

    "Segregate and Rearrange" "The Hills"

  • Feroci Racing
  • Joined: 17 Sep 2003
  • United-Kingdom

#19

Posted 30 December 2008 - 06:47 PM

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

creat3d22
  • creat3d22

    Habs fan, for about 2 weeks every year...

  • Members
  • Joined: 15 Jun 2008

#20

Posted 30 December 2008 - 09:16 PM

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

Mooe
  • Mooe

    Player Hater

  • Members
  • Joined: 30 Dec 2008

#21

Posted 30 December 2008 - 11:33 PM Edited by Mooe, 30 December 2008 - 11:40 PM.

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.

Seemann
  • Seemann

    Ruhe

  • Members
  • Joined: 03 Sep 2004
  • Russia
  • Best Tool 2013 "Sanny Builder"

#22

Posted 31 December 2008 - 01:46 AM

QUOTE (Mooe @ Dec 31 2008, 07:33)
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.

QUOTE (listener @ Dec 30 2008, 07:12)
* all online functions are disabled

With this tool you cant access multiplayer at all

Mooe
  • Mooe

    Player Hater

  • Members
  • Joined: 30 Dec 2008

#23

Posted 31 December 2008 - 04:20 PM

QUOTE (Seemann @ Dec 31 2008, 01:46)
QUOTE (Mooe @ Dec 31 2008, 07:33)
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.

QUOTE (listener @ Dec 30 2008, 07:12)
* all online functions are disabled

With this tool you cant access multiplayer at all

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

BlazeHoliday
  • BlazeHoliday

    The Messenger

  • Members
  • Joined: 22 Nov 2005

#24

Posted 31 December 2008 - 11:40 PM

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

Sacky
  • Sacky

    IV's Limit Adjuster

  • Members
  • Joined: 10 Nov 2006

#25

Posted 01 January 2009 - 10:31 PM Edited by Sacky, 01 January 2009 - 10:41 PM.

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:

QUOTE
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.

listener
  • listener

    Monkey with a disassembler

  • Members
  • Joined: 06 Sep 2007

#26

Posted 02 January 2009 - 12:09 AM

QUOTE (Sacky @ Jan 1 2009, 22:31)
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.



GamerShotgun
  • GamerShotgun

    The main protagonist.

  • Members
  • Joined: 03 Oct 2005

#27

Posted 02 January 2009 - 01:11 AM

@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

FunGt
  • FunGt

    GTA-Modding.com

  • Members
  • Joined: 10 Jun 2005
  • Italy

#28

Posted 02 January 2009 - 01:30 PM

This tool should be pinned, coz people don't know what tool use to unlock Gta4 modding.

listener
  • listener

    Monkey with a disassembler

  • Members
  • Joined: 06 Sep 2007

#29

Posted 03 January 2009 - 01:36 AM

Changes in version 0.93

* Disabled RGSC
* changed location of the savegames folder:
CODE
Directory of C:\Users\%USERNAME%\Documents\Rockstar Games\GTA IV\savegames

03.01.2009  03:57    <DIR>          .
03.01.2009  03:57    <DIR>          ..
28.12.2008  21:03         1977934 SGTA400
07.12.2008  07:15         1978282 SGTA401
29.12.2008  22:55         1977934 SGTA402
07.12.2008  09:17         1978282 SGTA403
02.01.2009  19:59         1977934 SGTA404
29.12.2008  02:06         1977934 SGTA412


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

BlazeHoliday
  • BlazeHoliday

    The Messenger

  • Members
  • Joined: 22 Nov 2005

#30

Posted 03 January 2009 - 02:37 AM

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.




7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users