By downloading this tool or using GTA-Human Dataset, you agree on the following statement: "I declare that I will use the this tool for research and educational purposes only, since I am aware that commercial use is prohibited. I also undertake to purchase a copy of Grand Theft Auto V."
For setting the GAME Hook, please see this tool.
For downloading of GTA-Human Scenario files (should generate the same scenario), please use this link
Written in C++ and Visual Studio 2019, retargeted to Visual Studio 2022.
Extarct GTAV in your desired path.
Open MTAMods.sln
in Visual Studio, DatasetAnnotator > Properties
In General > General Properties, chenge as in the red box
In C/C++ > General > Additional Include Directiories, change the path to following:
...\GTAHuman-tools\collection\DatasetAnnotator # path to DatasetAnnotator
...\gtav\ScriptHookV_SDK_1.0.617.1a\inc # path to GTAV Script Hook
...\GTAHuman-tools\collection\packages\eigen-3.3.9 # path to Eigen
In Linker > General > Additional Library Directories, change the path to following:
...\gtav\ScriptHookV_SDK_1.0.617.1a\lib # path to GTAV Script Hook lib
In Build Events > Post-Build Event > Command Line, change command to following:
xcopy /Y $(SolutionDir)$(Platform)\$(Configuration)\$(ProjectName).asi "...\gtav\" # path to your GTA folder
Build ! ! ! (With Debug x64, as other settings might fail in some cases)
In successful build, you should see a DatasetAnnotator.asi in your GTA folder
Assumed you have extracted GTAV zip (About 90G)
(If you don't have a previous game save) Then copy save file from unzipped GTAV :
...\GTAV\Goldberg SocialClub Emu Saves\GTA V\0F74F4C4\SGTA50000
...\GTAV\Goldberg SocialClub Emu Saves\GTA V\0F74F4C4\cfg.dat
# To
...\AppData\Roaming\Goldberg SocialClub Emu Saves\GTA V\0F74F4C4
# Change ... to your user folder e.g. C:\Users\it_admin
Game Setting: 1920x1080 (in other resolution depth map might not be captured), fullscreen (fullscreen image will be captured) Run GTAV.exe, in game select Story Mode, after loading press F8.
The DatasetAnnotator.asi plugin will read scenario files and write results as below:
\GTAV\MTA-Scenarios
\GTAV\MTA
I have provided 50k+ single person scenarios in the zip file, enjoy!
- Flie ...\GTAV\playGTAV.exe is a hacking file for GTAV, sometimes it will be quaratined by Windows Defender, please restore it.