Ari Posted January 26, 2018 Posted January 26, 2018 (edited) Hey there, I had quite a headache trying to figure this out so I figured I'd make a tutorial to help other people. Tools required OpenIV — http://openiv.com/ ArchiveFix —http://gtaforums.com/topic/871168-affix-fix-your-rpf-archives-and-work-without-openiv/ Initialising ArchiveFix Firstly you'll want to fetch the keys for ArchiveFix (afix) to do so download and unpack the ArchiveFix package. Open Command Prompt and type (replace with where you unpacked ArchiveFix) cd E:\ArchiveFix then open GTA 5 and let it sit on the loading screens, return to your command prompt and enter archivefix.exe fetch this may take some time to fetch the encryption keys, as it depends on your CPU power. Just be patient and let it do its job. After you've successfully acquired all the encryption keys, we can move on. Afixing and using Add-on vehicles We'll start by finding a modification from here: https://www.gta5-mods.com/vehicles/tags/add-on Once you have found your modification of choice (I'll be using this: https://www.gta5-mods.com/vehicles/mazda-rx7-c-west) Inside the archive (/Add-on/) there is a file called readme.txt — inside it references the modification as <item>dlcpacks:\rx7cwest\</item> So we won't append dlc_* to our folder name. Navigate to your ArchiveFix root directory and create a new folder with the name of the modification (rx7cwest) and inside create the following folders: "oldrpf", "newrpf" and "unpack" Move the dlc.rpf from the downloaded mods archive to the newly created "oldrpf" folder. Using OpenIV navigate to the /rx7cwest/ folder inside our ArchiveFix root, making sure you're in EDIT MODE right click the dlc.rpf and 'Save Contents/Export' select the /unpack/ folder we just created. Navigate inside /unpack/ copy all the unpacked folders into /newrpf/. Drag and drop any subsequent *.rpf files inside /newrpf/ onto ArchiveFix.exe Using OpenIV create a new dlc.rpf file inside /newrpf/ and drag all the afixed files from inside /newrpf/ (make sure you don't copy the new dlc.rpf file) into the dlc.rpf inside OpenIV Drag the new dlc.rpf file onto ArchiveFix.exe to encrypt it Create a new folder inside RageMP's /server-files/client_packages/dlcpacks/ called /rx7cwest/ (remember the actual add-on's name dictates the name of this folder) and drag the new dlc.rpf inside. Making use of the new mod Start your server, and connect to it you will download the new /dlcpacks/ files, and then once it reconnects automatically close the game. Reconnect to the server and spawn the new vehicle by typing the hashname (if you're not sure, you can check the setup2.xml file inside dlc.rpf) in this case it is "rx7cwest" Credits nobodyltu Lokote1998 Splak George Edited February 16, 2018 by Ari 18
99life Posted January 27, 2018 Posted January 27, 2018 Hello. If i use vps to host my server.(now open) How can i add verhicle without gtav game on my server.(cuz on my server has only rage lancher) I use freeroam gamemode to spawned verhicle by press F2 ,possible to spawn verhicle by use menu on my gamemode. Thankyou
Ari Posted January 28, 2018 Author Posted January 28, 2018 On 27/01/2018 at 9:06 PM, 99life said: Hello. If i use vps to host my server.(now open) How can i add verhicle without gtav game on my server.(cuz on my server has only rage lancher) I use freeroam gamemode to spawned verhicle by press F2 ,possible to spawn verhicle by use menu on my gamemode. Thankyou Set the server up on the VPS. Set up an (s)FTP server if your OS doesn't already come with one. Affix your mods on your local computer, then FTP them to the server.
Austin Posted January 28, 2018 Posted January 28, 2018 Great tutorial! Thanks for sharing with the community.
X3R0S Posted January 29, 2018 Posted January 29, 2018 (edited) On 26/01/2018 at 10:31 PM, Ari said: Reconnect to the server and spawn the new vehicle by typing the hashname (if you're not sure, you can check the setup2.xml file inside dlc.rpf) in this case it is "rx7cwest" Hello, How to spawn the car ? cuz after Affixing all the files correctly and launching the game it downloads them then when i type the hashname nothing happens. and how the game detects the car without any code refering to it. Sorry, I'm new here Edited January 29, 2018 by X3R0S
Ari Posted January 29, 2018 Author Posted January 29, 2018 20 minutes ago, X3R0S said: Hello, How to spawn the car ? cuz after Affixing all the files correctly and launching the game it downloads them then when i type the hashname nothing happens. and how the game detects the car without any code refering to it. Sorry, I'm new here Open the content2.meta file and check what the <hashName> is, that is what you use to spawn the vehicle. The game loads it internally and uses the xml/meta files to register it with the game. 1
entropy Posted February 2, 2018 Posted February 2, 2018 Hello, thanks for the great tutorial! I'm having a small problem, when I spawn in a mod car my client says 'loading game models' in the lower right and doesn't load the car, even after waiting some time. I'm using the same mod as you in the tutorial to make sure that isn't part of the problem and my client downloads the mod file successfully yet doesn't spawn. Any ideas what I could be doing wrong? Thanks again
micaww Posted February 2, 2018 Posted February 2, 2018 @entropy same issue for me! Thought it was just me.
entropy Posted February 2, 2018 Posted February 2, 2018 34 minutes ago, micaww said: @entropy same issue for me! Thought it was just me. Good to know its not just me, also worth noting that after trying to spawn the vehicle, spawning any other vehicle will not work for the duration of the 'Loading game models' notification being onscreen
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now