Skip to content

Automatically extracts global variables from decompiled scripts and saves them to a file.

Notifications You must be signed in to change notification settings

BUZZARDGTA/v_decompiled_scripts_globals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

V Decompiled Scripts Globals

This script automatically extracts global variables from decompiled scripts and saves them to a file.

Warning

The script scans exclusively for Global_x and Global_x.f_x vars.
The output does not include Global arrays or additional suffixes.
For example, it will not capture formats like Global_x[x] or Global_x[x /*x*/].
Only the base Global_x part will be extracted from these.

Usage

Edit the following paths in the source code to match your desired directories:

DECOMPILED_SCRIPTS = Path("D:/Downloads/GTA Stuff/PC/.Other Stuff/03 - Codding/01 - Decompiled Scripts/v-decompiled-scripts-master")
OUTPUT_FILE = Path("extracted_globals.txt")

Screenshots

Script's Output:

WindowsTerminal_2024-08-23_22-00

Extracted Globals File:

Notepad_2024-08-23_22-18

About

Automatically extracts global variables from decompiled scripts and saves them to a file.

Topics

Resources

Stars

Watchers

Forks

Languages