Post: How To Find Functions Easily In The Gsc Dump. [PC/Mac/Linux]
09-14-2014, 11:04 PM #1
Taylor
Former Black Knight.
(adsbygoogle = window.adsbygoogle || []).push({});


Hey NextgenUpdate Members, me and Tyler (TheFallen) were using this as a helpful command in cmd and/or terminal to find how a function is used, the parameters, where it is defined, or what it does exactly.

Note: I understand how you can utilize other programs and/or software, like notepad++ for example. However, with that you need all the gsc files open. Anyway, this tutorial is for a clean install of windows to be able to do this.

PC:

Method 1:

1.) Download the .gsc dump which can be found You must login or register to view this content.
2.) Un-rar the .gsc dump, then go in the folder for the gsc dump.
3.) Hold down shift and right click, then press "Open command window here".
4.) Find a function you want to find out about, in this case Tyler used "setClientUiVisibilityFlag" and then use the following command like this:
    
findstr /s /i <string to find> *.*

[i]Replace "<string to find>" with "setClientUiVisibilityFlag" for example. [color=red]DO NOT HAVE QUOTATIONS.[/color][/i]

Should result in something like this:

You must login or register to view this content.

5.) Open the .gsc which it is referenced, then you find it in there.


Method 2:

If somebody could get me pictures and/or detailed instructions that would be great.

1.) Put Shark's .bat file in the decompiled gsc's locations. (Download found below.)
2.) Search a function you want.

You must login or register to view this content.

3.) Look through the output.
You must login or register to view this content.

Download:
    
[url=https://www.dropbox.com/s/ygssft91xvc706f/GSC%20Finder.bat?dl=0]Click Here[/url]




Mac/Linux:

1.) Download the .gsc dump which can be found You must login or register to view this content.
2.) Un-rar the .gsc dump, then go in the folder for the gsc dump.
3.) Open terminal.
4.) Find a function you want to find out about, in this case I used "hide" and then use the following command like this:
    
grep -Hrn '<string to find>' /Users/Taylor/Downloads/Decompiled/patch_mp/

[i]Replace "<string to find>" with "hide" for example. [color=red]DO NOT HAVE QUOTATIONS.[/color][/i]

Should result in something like this:

You must login or register to view this content.

5.) Open the .gsc which it is referenced, then you find it in there.


Thanks for reading, Taylor! Smile
Last edited by Taylor ; 09-15-2014 at 02:20 PM.

The following 12 users say thank you to Taylor for this useful post:

AcnxMods, Dan Dactyl, EvilFerg, Geo, ImAzazel, ResistTheJamsha, SaberNGU, seb5594, SyGnUs, xJessex, ZeiiKeN
09-15-2014, 08:16 PM #11
Taylor
Former Black Knight.
Originally posted by Shark View Post
heres those pictures you were asking for in you were thread

you simply put the .bat file where all your gsc dumped files are then you open the bat type the function you are looking for Smile

You must login or register to view this content.
You must login or register to view this content.


Thanks, added to the thread. Smile
09-16-2014, 04:08 PM #12
420 mnt dew noskope of the century ? tears
09-17-2014, 12:47 PM #13
Taylor
Former Black Knight.
Originally posted by SaberNGU View Post
420 mnt dew noskope of the century ? tears


yas. tears
04-09-2015, 05:03 PM #14
kaymarie123
Do a barrel roll!
The link for '.bat file' isn't working please update it

The following user thanked kaymarie123 for this useful post:

MCabCon

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo