[How-to] [Tutorial] How to stream custom blips that don't replace existing GTA V blips

This was quite easy to learn after I figured out how to stream custom weapon icons.
You can find out how to do that here: [How-to] [Tutorial] How to stream custom weapon icons for addon weapons - #2 by Sasino97

I’ve decided to show the community this as I feel like no one should have to research as much as I did for custom blips. I’ll be releasing a written guide here, and will possibly make a video guide, but that’s not 100%. (Video guide has been made). If using the video guide, ensure to read the description.

Video Tutorial on how to stream custom blips (Definitely working)

https://www.youtube.com/watch?v=7ba720CPzEQ&ab_channel=sati

Written tutorial on how to stream custom blips (POSSIBLY NOT WORKING CURRENTLY!)
  1. Head to this link and install the setup file: Release version 15.1.0 · jindrapetrik/jpexs-decompiler · GitHub

  2. Get the newest version of the minimap.gfx file using OpenIV. I recommend looking at the file size and choosing the largest one as this is usually the latest update.

  3. Open the minimap.gfx with the Flash Decompiler you installed in the first step, once it’s open, it should ask you this:
    image

  4. Make sure to click No To All when asked

  5. You should now see this:
    image

  6. Right click the Shapes folder, Add Tag, and then click DefineShape (Not 2, 3 or 4, just the default one)

  7. Scroll to the bottom of the Shapes Folder, there should be one that is bold:
    image

  8. Right click the bold one and press Replace - Update Bounds

  9. Now find the file you want to have as a custom blip:

  10. Make sure to remember the Shape ID. This is the three numbers next to the DefineShape tag, mine is 1729 as you can see below
    image

  11. Right click the Sprites Folder, Add Tag, and then DefineSprite. There should now be a bold DefineSprite in the Sprites folder:
    image

  12. Right click the bold one, add tag, and select PlaceObject2

  13. Click on the PlaceObject2 tag, and click Edit. It should look like this:

  14. Enable the placeFlagHasCharacter. Set the characterID to the Shape ID that I told you to remember on step 10, if you forgot, it should still be in bold in the shapes folder.

  15. Change the depth to 1 and click Save. It should now look like this:
    image

  16. Make sure to remember your Sprite ID. Mine is 1731:
    image

  17. Right click the Others folder, add tag, and then ExportAssets

  18. Select the bold one and you should see this:
    image

  19. Click edit and right click assets [count] and insert asset at the beginning.

  20. Set the UI16 to the Sprite ID. Mine was 1731. Change the string to whatever name you want to give your blip HOWEVER it has to start with radar_, as far as I’m aware… Make sure to save it .
    image

  21. We are nearly done, just a couple more steps. Head to the scripts folder, packages, com, rockstargames, gtav, constants and then click Blips.
    image

  22. Scroll to the bottom of the blips file. Find where it says return locl;. Make a line above that, and put this code in:

_locl_.push("BLIP_NAME");
  1. Replace BLIP_NAME with whatever you named your tag on step 20

  2. Save the file and load it into a stream folder. Make sure it’s still called minimap.gfx

  3. Now, it won’t just pop up on your map, you’ll have to add it using

AddBlipForCoord and SetBlipSprite
  1. When setting the sprite, head to this link: Blips - Cfx.re Docs

  2. On 01/05/2022, the newest blip is radar_agency which has a sprite id of 826:
    image

  3. This means our Sprite ID will be 827, since in the Blips file, we was under radar_agency:
    image

  4. Test it out!

  5. Mine looks like this. As you can see it needs some different X and Y set but I’ll leave you guys to that. To change X and Y, enable placeFlagHasMatrix in the PlaceObject2 inside the DefineSprite. You’ll then see matrix option under characterID. Change the translateX and translateY to change the X and Y.
    image

I hope this tutorial is helpful for you as I couldn’t find any guide on how to do this so I thought I’d release it to everyone :smiley:

11 Likes

Quite easy to follow, thanks for sharing.

1 Like

Hey, doesn´t work for me maybe i dont get how to stream the gfx file.

Please upload your hud.gfx file, and I’ll get back to you.

Hope i did it all right couldnt upload to forum sorry.

Hey, you did it all correct according to the guide I posted however I believe I posted an incorrect guide. Just made a youtube video that can be used in the meantime. [FiveM] How to stream Custom Blips - YouTube Use this to create it for now.

1 Like

Here’s animated custom blips showcase: Kuruma2 is only the best vehicle in GTAV!(FiveM) Akina Downhill - YouTube
Notices that always do the edition after some GTA-DLC updates.
Because they would have some new icons and weapon arrays from DLC updates.
Then some icon id would keep update on the Blips - Cfx.re Docs .
So I suggest not sharing the custom modded hud.gfx and minimap.gfx to the forum as a mod, and customized them by youself.

Worked now. But the problem is the Icons need to be 16x16px? that’s pretty small and pixelated.

It’s the size of the other blips in GTA. It’ll be too large otherwise but you can test with other sizes.

Yeah, I’m actually going to remove my link to the minimap, as I agree with the fact that you should always use the latest minimap files as new DLCs normally include more blips

I don´t think that’s 100% correct.… because in the Minimap.ytd the size for the blip is i guess 64x64px so it´s larger. Maybe they use the .gfx just as a LOD and replace them with the ytd files. Otherwise the Blips from GTA would also be low quality but they look way better.

You may be correct, need to double check. Thought this was the case. I think I’m going to do some more research and try allow higher quality images.

1 Like

Thanks a lot, maybe thats the reason most blips are just red squares :thinking:

Would like to help but im not that deep in gta files etc :see_no_evil:

how i can stream .gfx files?

In this case no need to set them up stream them like a map.

1 Like

Greate tutorial!

1 Like

Hi, I follow every step very carefully of this awesome tutorial, but instead of the picture i put for the blips i have a white dot , does someone know what I did wrong there ?

because rockstar add more blips with lastest dlcs. you need to try 839 as a blip number.

@sati5m


I did everything right but blip is not centered how can i fix? can you help me

On step 15, enable placeFlagHasMatrix and change the translateX and translateY and it’ll move it around.

1 Like