GTA5 Mods to FiveM AddOn Converter


Info
We’ve all been through this, you started working on your FiveM server and started adding vehicles, but, you got tired of switching back and forth between OpenIV and 100 notepads open. I made this tool for you.

System Requirements

Warning
If you ever used GTAUtil or GTAUtil based tools, you need to run the program then click Reset and follow the steps shown on screen.

How to use

  • When setting the GTA V folder, use the folder root, don't specify the GTA5.exe
  • Firstly, make a list of the vehicles you want to add.
  • You must search for (AddOn/Replace) vehicles. Click the first download button and then right click the second one (if it's there) and hit Copy link address. I'm attaching a GIF to help you. ![https://i.gyazo.com/e4ca91f4a962513b336b9ee41383d2a5.gif](https://i.gyazo.com/e4ca91f4a962513b336b9ee41383d2a5.gif)
  • You must copy the DIRECT link, else the script won't work!
  • The link must look something like this:
  • https://files.gta5-mods.com/uploads/xxxxxxxxxxxx/yyyyyyyyyyyyyy.zip
  • If the link looks like this you've done something wrong:
  • https://www.gta5-mods.com/vehicles/2009-acura-tl-replace
  • Run the executable (no admin privileges needed)
  • If you wish to convert from folder, click the button and select the folder where your archives are ALREADY downloaded. They won't be shown in the folder dialog, don't worry.
  • Add a link and change resource name to your liking, or don't change anything for random numbers.
  • Wait for the program to unpack and do everything for you.
  • You're done!
Most of the people use vMenu for their server, and I setup a quick little helper for you. After each conversion, a new entry is added in vmenu.txt. You can copy all those lines and add them to your addons.json in vMenu configuration. Also, a "ensure " is also added in server.txt so if you add many vehicles at once you don't have to go over each one again.

Credits

Until fixing, I can offer something to people affected by issue #2. I will accept a .txt / pastebin in PM with DIRECT links to respective GTA5Mods pages.

Correct link:
https://files.gta5-mods.com/uploads/abc/xyz.rar
https://files.gta5-mods.com/uploads/xyz/abc.zip

Incorrect link:
https://www.gta5-mods.com/vehicles/xyz
https://www.gta5-mods.com/vehicles/abc

In the near future, I’ll also implement the way of being able to input the above incorrect links, until then, please use the direct ones, it’s still way faster than not using the tool at all! :slight_smile:

Before posting an issue here, please make sure you read the topic completly. Thank you! :slight_smile:

Changelog
saturn8 - added feature to convert from folder (latest build)
venus7 - fixed critical GTAUtil bug (tracked here)
cobra6 - added autoupdater function
zebra5 - fixed a critical bug in cobra4 that didn’t allow the game to load the texture files correctly

GitHub:


Download link:

40 Likes

This is amazing

1 Like

Very nice! I’m about to test it. Almost 60 cars to add lol. I’ll let you know :wink:

Very nice, this will for sure decrease the time and labor most server owners spend installing add-on vehicles.

A new update which adds functionaliy and improves performance is expected at midnight. Let me know how it goes tho :slight_smile:

1 Like

FiveM crashes when I try to spawn a car. It says: “Invalid fixup, address is neither visual nor physical (in 206c.ytd).”. This error is with this one: https://es.gta5-mods.com/vehicles/peugeot-206-addon-dirt-map-extra/download/85758

I’ll keep trying the other ones, but I also got that error with this one: https://es.gta5-mods.com/vehicles/2018-range-rover-velar

There seems to be a major issue in the last build. The rpf is extracting files with a wrong encoding type, thus leading to the crash. I’m working to resolve the issue, the fix will out soon.

Thanks! Is there any way we could get an older build (if there is)?

This is an amazing new converter! I hope you continue to update this!

1 Like

After a few hours of thinkering I found out the issue!

The issue was that \GTAUtil.exe extractarchive changes the 4th byte to a random character, thus making the game not recognize the texture files, therefore crashing the game. I fixed this in the zebra5 build.
A working build has been deployed to GitHub!
https://github.com/vscorpio/gta5rpf-to-fivem/releases/tag/zebra5

Thanks a lot! Will try it now :slight_smile:

1 Like

Very good man !

I absolutely love this mod. <3

1 Like

It gets to the ‘Cleaning Up’ phase and then never goes any further (I don’t know if it’s supposed to) and the resource it creates has no files in it except an empty stream folder and a resource file. Are we supposed to load the files manually?

Made it work finally, but some of the cars are showing like this:

That usually happens when the ytd is over 15-16mb

1 Like

when i open it it says that the gta location is not set and that i have to open cmd and put it there when i put it there nothing happend i tryed cd “file location” but nothing happend still can someone help me

When I convert vehicles start them in the server it crashes my client?:confused:

I am working of a way to make the errors more verbose, that usually points out that the GTAUtil path has not been currently set. Click reset and set the current path again.
NOTE: The path must not contain CD or any other commands not executables.

Correct path: E:\Grand Theft Auto V\

Wrong paths:

  • CD E:\Grand Theft Auto V\
  • E:\Grand Theft Auto V\GTA5.exe
  • E:\Grand Theft Auto V\x64\common.rpf

As MoudlySandwich pointed out, this happens when the YTD files are above 16MB. A feature to enable YTD compression will be added in the future.

Follow the instructions in the topic / above reply. You don’t need to “cd” into anything.

You are using wrong build?

I’ve also added an auto-updater function. Please use latest binaries available on the Releases page.

1 Like

I can’t figure out how to set the path. I click “Set path” then it opens me a cmd and then what should I do ?

1 Like