Post: [PS3/XBOX 360]IDC Dev Center
05-27-2014, 05:16 AM #1
Azus
Little One
(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 do much more than what is already included! Hope you all enjoy!

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;
}


Pictures of tool:
You must login or register to view this content.
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:
    
Me
Notorious
Sticky
Godly
Last edited by Azus ; 05-27-2014 at 10:37 PM.

The following 11 users say thank you to Azus for this useful post:

HackersForHire, ImPiffHD, Sal, Laser, XenonLegend, xxAussiefella69,
05-29-2014, 07:45 AM #2
Good job Azus <3 Smile

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo