All decompiled .ysc game scripts as of GTA V build 2628 (GTA Online 1.60), including native tables.
Note that this is a git repository, so there is a history, if you want to look at older scripts.
- Clone this repo.
- Build GTA-V-Script-Decompiler to get a "decompiler.exe" to put into your clone's directory.
- Use OpenIV to navigate to
update/update2.rpf/x64/levels/gta5/script/script_rel.rpf
. - Press Ctrl+A then right-click and select "Save Content/Export" to export all scripts into the previously-created "scripts" folder.
- Download the background script from
http://prod.cloud.rockstargames.com/titles/gta5/pcros/bgscripts/bg_ng_xxxx_y.rpf
wherexxxx_y
equals your the game build, e.g.bg_ng_2628_0.rpf
for build 2628, and extract "valentinerpreward2" via OpenIV. - Open a console, navigate into your clone's directory, and run
php bulk_decompile.php
.