aitorzip / DeepGTAV

A plugin for GTAV that transforms it into a vision-based self-driving car research environment.
GNU General Public License v3.0
1.11k stars 275 forks source link

Removing minimap from image in GTAV #102

Open JasmineDeng opened 5 years ago

JasmineDeng commented 5 years ago

Using the API and VPilot, I'm able to gather image data from the game, but was wondering if it was possible to remove the minimap from the frames gathered? Looking in natives.h, it looks like there's a few methods that seem promising (namely, static Any SET_MINIMAP_COMPONENT(Any p0, Any p1, Any p2)), but I'm not sure what they do and therefore am not sure how to use them. Aka, what is Any?

Also, I experimented a bit with LOCK_MINIMAP_ANGLE and LOCK_MINIMAP_POSITION but it seems like that only changes the position of the blip on the minimap, not the minimap itself.