Post: [RELEASE]Original GTA IV-Dual Patch(Online && Offline) - Non Game-Ruiner
06-08-2012, 11:04 PM #1
slim355
You talkin to me?
(adsbygoogle = window.adsbygoogle || []).push({}); These mods will work on :

  • PS3 ** Jailbreak Required!
  • Original GTA IV


Instructions
Install the latest pkg for your game.

  1. You must login or register to view this content.
  2. You must login or register to view this content.
  3. You must login or register to view this content. - Rename it "update.img"
  4. **(Alternative Step 3), maps4890 has updated the menu with the latest scripts You must login or register to view this content.
  5. **(Alternative Step 3), maps4890 latest edits! Including TBoGT! You must login or register to view this content.
  6. Using a file manager place the update.img in the BL#S#####/USRDIR folder (backup the original)
  7. ?????
  8. Profit


Includes:

  • Mod Selector (Dpad Down + Circle)
  • JDMAlex/Threesocks Mod Menu (L3+R3)
  • Dr.X Clan's Mod Menu (Dpad Down + Square)
  • ThreeSocks Mod Garage V2.0 (Mod Garage Anywhere) (L2 + R2)
  • Plug-in Menu (add 20 scripts/menus) by renaming to plug#.sco. (Where # is a number from 1-20)


My Original Grab Mod(Early Version) Happy (Access Via Plug-in menu --> plug1.sco)


  • L1 to grab a vehicle,
  • R1 to kick legs,
  • L2 to let go,
  • Triangle to exit the mod



My Platinum Trophy Script Happy (Access Via Plug-in menu --> plug2.sco)

Credit to You must login or register to view this content. for decompiling .sco and revealing all the Native Functions.
Credit to Alexander Blade for decompiling all the .sco files, placing them in text files for conveniance, creating the natives.h header file, creating c-like llvm based compiler scocl.

My source code for the platinum trophy script:

    
#include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>
#include "functions.c"
/**************DETAILS**************************************
GTA IV - Platinum Trophy Hack
Author - slim355
Thanks - to maps4890


************************************************************/

//Script to unlock trophies
void UnlockTrophies(void)
{
//create an integer(whole number called i) and give it a value ZERO
int i = 0;
//while i is less than or equal to 66
while( i <= 66)
{
//if the achievement with number i has NOT(!) been passed
if( ! HAS_ACHIEVEMENT_BEEN_PASSED( i ))
{
//award the achievment i
AWARD_ACHIEVEMENT( i );
}
//i is now equal to i + 1
i = i + 1;
//script gets to here and goes back up to the while, and checks if i is still less than or equal to 66
}
}

//Every C program starts here @main
void main(void)
{
//This line calls the method UnlockTrophies (which is defined above)
UnlockTrophies();
}




Thanks to JDMAlex, ThreeSocks, [s]Doctor X Clan[/s] Evade. I am using some of your scripts.

CREDITS
Credit to openiv.com for their archive editor/manager. You must login or register to view this content.
Credit to Alexander Blade for his high level script compiler. You must login or register to view this content.
Credit to flitskikker for his .sco decompiler. You must login or register to view this content.

I have done nothing clever here.
I used freely available information from the above credited geniuses.
I was handed the native functions, their parameters and return types.
I was even given the compiler!


Online Script 1.0: Controls (Thanks You must login or register to view this content.)

    
CONTROLS
_______________________

**Script functionality requires a full-sized ENGLISH keyboard connected to your XBOX 360/PS3, some controls can be used
with a chatpad but not all.


MAIN
Teleport To Waypoint - T
Lock/Unlock Vehicle Doors - L
Super Run Speed - Y
Normal Run Speed - U
Give Current Player Money - ]
Warp Out of Current Vehicle - [
Enter Vehicle Spawner Menu - F11
Toggle Vehicle Invisibility - N
Set Current Vehicle on Ground - K
Toggle Player Invisibility - V
Auto-aim Toggle - J
Wanted Level Toggle - H
Enter Model Changer Menu - F12
Fix Current Vehicle - G
Give Player Poor Weapons - X
Give Player Advanced Weapons - Z
Enter Player Menu - P
Create Explosion at Player Location - E
Toggle Unlimited Clip - C
Collect All Airport Health Packs - =
Toggle Current Vehicle Helper - F
Toggle Player Invincibility - I
Shuffle To Next Seat - W

MAIN TELEPORTS
Airport Annihilator Helicopters - 1
Hove Beach - 2
Charge Island - 3
Helitours - 4
Star Junction - 5
Middle Park - 6
Bohan Baseball Park - 7
Happiness Island - 8
Prison Cage - 9
Sultan RS Spawn - 0
Up High - F1
Bank of Liberty - F2
Majestic Hotel - F3
Museum - F4
Rotterdam Tower - F5
Niko's Apartment Middle Park East - F6
Meadows Park Tower - F7
FIB Building - F8

VEHICLE SPAWNER MENU
Next Vehicle - M
Previous Vehicle - B
Spawn Vehicle - Enter
Exit Vehicle Spawner Menu - Esc

MODEL CHANGER MENU
Next Model - M
Previous Model - B
Change Model - Enter
Exit Model Changer Menu - Esc

PLAYER MENU
Next Player - M
Previous Player - B
Exit Player Menu - Esc
Teleport to Selected Player - T
Give Selected Player Money - X
Create Explosion at Selected Player - E
Warp Into Selected Player's Vehicle - L
Set Selected Player on Fire - C
Kick Player - K


OLD Tutorial

Remember these mods will only work :

  • EveryWhere (see UPDATE 2 below)
  • PS3
  • Original GTA IV (Possibly Complete Edition)


Controls
X, Circle & Dpad to navigate menu's

Dpad Down then Circle to select your Mod Menu
You must login or register to view this content.

With JDMAlex's/ThreeSocks Mod Menu Enabled : L3 + R3 to activate
You must login or register to view this content.

With Doctor X Clan's Scripts Enabled : Square + Dpad Down to activate
You must login or register to view this content.


Installing -BLES00229 Users ONLY
You must login or register to view this content.
Place the pkg on the root of your USB to install.

Installing -BLUS30127 Users ONLY
You must login or register to view this content.
Place the pkg on the root of your USB to install.

NOTES
If you think you messed up, try re-install a clean patch via the update pkg.

  1. You must login or register to view this content.
  2. You must login or register to view this content.
  3. Then install the modded pkg from above



  • GTA IV, may create a new save.
  • Old saves may not work.
  • You may not be able to complete the story mode of the game.
  • Keyboard Scripts are removed from DrX Clans's Menu, due to crashing(disconnect lobby/freeze ps3)
  • Dont worry you can do just about everything between JDMAlex/ThreeSocks Menu & Doctor X Clans.
  • Dont use the Robot! command. This works sometimes but mostly freezes ps3.
  • Dont go insane spawning objects or clicking commands, unless you wish to freeze your ps3.


CREDITS
Credit to JDMAlex, ThreeSocks, Doctor X Clan for their scripts.
Credit to openiv.com for their archive editor/manager. You must login or register to view this content.
Credit to Alexander Blade for his high level script compiler. You must login or register to view this content.
Credit to flitskikker for his .sco decompiler. You must login or register to view this content.
Credit to BornGodz for sharing You must login or register to view this content..
Credit to Galco for hints about file encryption/compression.
and to me for standing on their genius shoulders throwing it all in a wheelbarrow and mashing it all together.


UPDATE
NOW AVAILABLE IN ALL GAME MODES(private only) Download this You must login or register to view this content.
Install GTA IV & latest 1.06 update
Install the pkg, for your disc (BLUS/BLES) from above.
Place the update.img in the game/BLXS######/USRDIR folder on your HDD.

Start a private game by selecting Multiplayer->Custom Game->Private Slots -> MAX


Get maps4890's edit You must login or register to view this content.
/UPDATE

UPDATE 2
This one works everywhere: Download this You must login or register to view this content.
Install GTA IV & latest 1.06 update
Install the pkg, for your disc (BLUS/BLES) from above.
Place the update.img in the game/BLXS######/USRDIR folder on your HDD.

Includes:

  • Mod Selector (Dpad Down + Circle)
  • JDMAlex/Threesocks Mod Menu (L3+R3)
  • Dr.X Clan's Mod Menu (Dpad Down + Square)
  • ThreeSocks Mod Garage V2.0 (Mod Garage Anywhere) (L2 + R2)
  • Plug-in Menu (add 20 scripts/menus) by renaming to plug#.sco. (Where # is a number from 1-20)


Also, My own original Grab Mod(Early Version) Happy (Access Via Plug-in menu --> plug1.sco)

  • L1 to grab a vehicle,
  • R1 to kick legs,
  • L2 to let go,
  • Triangle to exit the mod

/UPDATE

UPDATE 3
Same as UPDATE 2 with Platinum Trophy Hack, Access via plug2.sco
Download You must login or register to view this content.

Here is the source code:

    
#include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>
#include "functions.c"
/**************DETAILS**************************************
GTA IV - Platinum Trophy Hack
Author - slim355
Thanks - to maps4890


************************************************************/

//Script to unlock trophies
void UnlockTrophies(void)
{
//create an integer(whole number called i) and give it a value ZERO
int i = 0;
//while i is less than or equal to 66
while( i <= 66)
{
//if the achievement with number i has NOT(!) been passed
if( ! HAS_ACHIEVEMENT_BEEN_PASSED( i ))
{
//award the achievment i
AWARD_ACHIEVEMENT( i );
}
//i is now equal to i + 1
i = i + 1;
//script gets to here and goes back up to the while, and checks if i is still less than or equal to 66
}
}

//Every C program starts here @main
void main(void)
{
//This line calls the method UnlockTrophies (which is defined above)
UnlockTrophies();
}


Credit and thanks to You must login or register to view this content. for the idea, finding the natives and sharing them.
/UPDATE
(adsbygoogle = window.adsbygoogle || []).push({});

The following 70 users say thank you to slim355 for this useful post:

JordanCarr, ALMATARI, coolmankiller, BornGodz, caroze, Chill, Cien, CoDyMoDz1000XD, coldmurda, CrEaTiiOn_BuRn, DreamKidzVa, EROOTIIK, FaSt_FrEEdOm, Hack-Tivision, HaTeRM4NR33T, Herrkulez, i :), Callumeleyy, iiReFuZee, xTc, J, zL_j8hnb, jack4au, jackfors, Jamba_PLuR, JBModzPS3, Jerry_, JonoEfthy, Saul, KCxFTW, KM-_1337, Leafsfan22, LightModz, lovebros, maps4890, Maradona Q8, Metamorphisis, MrBrett_, Neff, oC_zUnKnOwNx, OhhCasual, otherchris, Jango, PounDJo0DoGz0r, Pseudo_Soldier, Rangers 1690, redbullmasta, rimka06510, say-say123, shooter42, SiLLiKaLaX, Smexeh, Spider-Man, spudeeelad, Strutsi, Super.G, Swifter, The NGU Jew, theRealMotegi, tombill_war, TonyTheRoyal_, UGz-, VAMP!RE, Vultra, xePixTvx, xXBUDxZILLAXx, Yolo Brahs !, YooYoOoN, ZerOtObey+RM, zoCHARLEYoz
06-12-2012, 01:42 AM #155
coolmankiller
Can’t trickshot me!
Originally posted by pr1vatej0ker View Post
it is pushed to the stack a few lines later (less than 20)

is_network_game_running 0 1 ?
Is_network_game_running 0 16 ? <Happy
06-12-2012, 01:43 AM #156
slim355
You talkin to me?
Originally posted by maps4890 View Post
very clever joker!

very clever maps!
06-12-2012, 01:50 AM #157
coolmankiller
Can’t trickshot me!
Originally posted by YooYoOoN View Post
i'm asking for help. what programs do i need to mod scripts


Compressor. You must login or register to view this content.
ScoToolBox. Google it :p
OpenIv. Google it
06-12-2012, 01:54 AM #158
YooYoOoN
Do a barrel roll!
Originally posted by ner View Post
Compressor. You must login or register to view this content.
ScoToolBox. Google it :p
OpenIv. Google it


Thanks, can you give me a hint or link to a tut? i dont know what to do.

edit: i dont have gta iv on pc..
06-12-2012, 01:55 AM #159
Masta-blasta117
»»───Knee───►
Originally posted by ner View Post
is_network_game_running 0 1 ?
Is_network_game_running 0 16 ? <Happy


i seen that too!!! but my friend keeps telling me theres more to it? i was gonna give it a shot and see what happens
06-12-2012, 01:57 AM #160
slim355
You talkin to me?
Originally posted by ner View Post
is_network_game_running 0 1 ?
Is_network_game_running 0 16 ? <Happy


No,

If you don't have scocl download it, compile this code.

    #include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>

void main(void)
{
//If Game is TDM
if(NETWORK_GET_GAME_MODE() == 0x1)
{
WAIT(0);
}
}


then compile this code

    #include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>

void main(void)
{
//If Game is Party Mode
if(NETWORK_GET_GAME_MODE() == 0xCool Man (aka Tustin)
{
WAIT(0);
}
}


Decode those compiled scripts and ..... blank!

EDIT: I forgot, before you can compile this, you will need an old natives file.(PS3 is 1.06, not 1.07 like PC)
Here, you will need this to compile scripts for PS3 GTAIV You must login or register to view this content.
As well as these, make sure you open the Old Natives file, and UNcomment all the network natives.

EDIT: When you UNcomment the Network Natives, you will need to comment out the lines with no data type.

Originally posted by YooYoOoN View Post
Thanks, can you give me a hint or link to a tut? i dont know what to do.

edit: i dont have gta iv on pc..

Download a gtaiv.exe (13mb) it has the keys the program needs

The following 2 users say thank you to slim355 for this useful post:

Masta-blasta117, YooYoOoN
06-12-2012, 02:12 AM #161
coolmankiller
Can’t trickshot me!
Originally posted by PR1VATEJ0KER View Post
No,

If you don't have scocl download it, compile this code.

    #include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>
#include "functions.c"

void main(void)
{
//If Game is TDM
if(NETWORK_GET_GAME_MODE() == 0x1)
{
WAIT(0);
}
}


then compile this code

    #include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>
#include "functions.c"

void main(void)
{
//If Game is Party Mode
if(NETWORK_GET_GAME_MODE() == 0xCool Man (aka Tustin)
{
WAIT(0);
}
}


Decode those compiled scripts and ..... blank!


Download a gtaiv.exe (13mb) it has the keys the program needs

    
#include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>
#include "functions.c"

void main(void)
{
//If Game is Free Roam
if(NETWORK_GET_GAME_MODE() == 0x16)
{
WAIT(0);
}
}


I see. Thanks for all the help! I really appreciate it
06-12-2012, 02:23 AM #162
Masta-blasta117
»»───Knee───►
Originally posted by PR1VATEJ0KER View Post
No,

If you don't have scocl download it, compile this code.

    #include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>

void main(void)
{
//If Game is TDM
if(NETWORK_GET_GAME_MODE() == 0x1)
{
WAIT(0);
}
}


then compile this code

    #include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>

void main(void)
{
//If Game is Party Mode
if(NETWORK_GET_GAME_MODE() == 0xCool Man (aka Tustin)
{
WAIT(0);
}
}


Decode those compiled scripts and ..... blank!

EDIT: I forgot, before you can compile this, you will need an old natives file.(PS3 is 1.06, not 1.07 like PC)
Here, you will need this to compile scripts for PS3 GTAIV You must login or register to view this content.
As well as these, make sure you open the Old Natives file, and UNcomment all the network natives.


Download a gtaiv.exe (13mb) it has the keys the program needs


when we compile it, does the .c have to have a special name or will anything do? first time compiling a gta script Smile
and can we do it with 2 modes like free roam and party mode?
06-12-2012, 02:26 AM #163
slim355
You talkin to me?
I left out some things, and updated the code guys.
Have another look, you will need ThreeSocks's additions to scocl to compile for ps3.
He also has a tut, pay carefull attention to detail

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo