Post: [PS3/XBOX] IDC Script Builder
05-26-2014, 08:50 PM #1
Sticky
Mary J Wannnnna
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NextGenUpdate members!

This is just a little program I made to help people make IDC scripts to update offsets at ease! I will be updating it so that you can update the offsets directly from the program! Even if you don't know what anything does in this program, just click on the "What's this" and it will tell you! Hope you all enjoy Smile

This is an example of what it can make
    #include <idc.idc>

static UpdateAddress(name, binary, offset, length)
{
auto currentAddress, lastAddress;
for(currentAddress=0; currentAddress != BADADDR; currentAddress=currentAddress+4)
{
currentAddress = FindBinary(currentAddress, SEARCH_DOWN, binary);
if(currentAddress == BADADDR)
{
Message("%s = 0x0000000,\n", name);
break;
}
currentAddress = currentAddress - offset;
MakeUnknown(currentAddress, length, 0);
MakeCode(currentAddress);
MakeFunction(currentAddress, currentAddress + length);
if(MakeNameEx(currentAddress, name, SN_NOCHECK|SN_NOWARN) != 1)
MakeNameEx(currentAddress, name, 0);
Message("\t%s = 0x%08X,\n", name, currentAddress);
break;
}
}

static UpdateOffsets()
{
UpdateAddress("G_ModelIndex", "30 FE 04 36 63 E4 00 00 7C 66 29 2E 7C E3 07 B4", 0xE0, 0x1BCool Man (aka Tustin);
UpdateAddress("G_SetOrign", "FB A1 00 88 60 7E 00 00 48 0A 0B 91 2C 03 00 00", 0xC0, 0x1BCool Man (aka Tustin);
UpdateAddress("G_AddEvent", "48 21 5B A5 A3 9E 02 90 2C 1C 00 00 41 82 01 14", 0x200, 0x1BCool Man (aka Tustin);
UpdateAddress("G_GivePlayerWeapon", "7F 21 C0 14 60 BE 00 00 FB E1 00 B8 60 DD 00 00", 0x30, 0x1BCool Man (aka Tustin);
UpdateAddress("G_InitializeAmmo", "54 C6 DF FE E8 81 00 38 78 84 00 22 48 02 22 65", 0xA0, 0x1BCool Man (aka Tustin);
UpdateAddress("SetClientViewAngles", "EC 63 10 2A D0 63 00 00 C0 64 00 0C FC 02 18 00", 0x100, 0x1BCool Man (aka Tustin);
UpdateAddress("Player_Die", "FB 81 04 D0 83 2B 00 74 60 FC 00 00 54 A4 03 9C", 0x60, 0x1BCool Man (aka Tustin);

}
static main()
{
UpdateOffsets();
return 0;
}


You must login or register to view this content.

Source: You must login or register to view this content.
Download: You must login or register to view this content.
Virus Scan: You must login or register to view this content.

Credits:
Sticky
Notorious
Godly
(adsbygoogle = window.adsbygoogle || []).push({});

The following 13 users say thank you to Sticky for this useful post:

Asian, Azus, Camo-, flynhigh09, iMoDz-Baptiste, LBK, Luphox, Mango_Knife, milky4444, Notorious, ResistTheSteam, Swifter, xPAQz
05-28-2014, 07:16 PM #11
Asian
Banned
cex plz mod meny hax0r 1337 plz plz plz xoxoox

The following user thanked Asian for this useful post:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo