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-14-2014, 11:05 PM #2
xJessex
I am error
Originally posted by Taylor View Post


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.

PC:

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.


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

Nice ! Winky Winky ' Ps : you have skype ?
09-14-2014, 11:06 PM #3
Taylor
Former Black Knight.
Originally posted by xJessex View Post
Nice ! Winky Winky ' Ps : you have skype ?


Yes I do. However, I keep it private for the most part. Sorry.
09-14-2014, 11:21 PM #4
Smooth
< ^ > < ^ >
Originally posted by Taylor View Post
Yes I do. However, I keep it private for the most part. Sorry.


oooooooh he said you aint got no nipples

The following user thanked Smooth for this useful post:

Taylor
09-15-2014, 12:30 AM #5
Dan Dactyl
One Among The Fence
Originally posted by Taylor View Post


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.

PC:

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.


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


Thanx Tay :wub:

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

G33B0X, Taylor
09-15-2014, 03:57 AM #6
Originally posted by Taylor View Post


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.

PC:

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.


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


I guess I could use this :y: Anyways I have something cool coming for NGU in the next few days once I finish it :p
09-15-2014, 06:16 AM #7
Shark
Retired.
Originally posted by Taylor View Post


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.

PC:

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.


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


how do i put this on my ps3?

:troll:

The following user thanked Shark for this useful post:

Geo
09-15-2014, 06:49 AM #8
Shark
Retired.
Originally posted by Taylor View Post


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.

PC:

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.


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


if anyone wants it in a bat file then here :p

You must login or register to view this content.

this shows line numbers aswell for windows!
09-15-2014, 12:39 PM #9
Taylor
Former Black Knight.
Originally posted by Shark View Post
if anyone wants it in a bat file then here :p

You must login or register to view this content.

this shows line numbers aswell for windows!


Added to the thread. Winky Winky
09-15-2014, 01:06 PM #10
Shark
Retired.
Originally posted by Taylor View Post
Added to the thread. Winky Winky


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.

The following user thanked Shark for this useful post:

JLM

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo