Updating. New GTA5 with New SH5
Once the new version of ScriptHook is available here is what you might want to do.
Before you install new SH5, before you update to the new GTA5 DLC
First take the Scripthook files from the older version and back them up. There are 3 files, dinput8.dll (which hasn't changed since 2015), ScriptHookV.dll, and the native trainer which you really don't want, don't need, if you installed it. Put them all in a folder with the version name. For example SH5 for 2372 July 2021.
Now do the same thing with the latest version of SH5. Backup the files in a folder called, for example, SH5 for 2545 Dec 2021
Install new SH5 and Update Game
Now that you have backups, copy the new SH5 files into the root folder of GTA5, the folder where GTA5.exe is found and replace the old ones. Let the game update and hopefully all is well. If you downgraded to previous version of game while waiting for the SH5 Update, you now need to do a verify integrity to update your game - this is necessary if you update SH5.
- Updating your dlclist.xml and gameconfig.xml
Important: If you followed the instructions above you thankfully have a copy of your update.rpf. OpenIV will want to copy over the new game version of update.rpf to your Mods folder so that you can use the new DLC. Before you do this, extract your dlclist.xml from your Mods folder (the backup is for screwups) to your desktop. Also extract any other customized files and optionally your gameconfig.xml.
Now allow OpenIV to copy over your update.rpf or do it yourself.
As final steps, copy over your cars and addons from your dlclist.xml to the now updated one - don't duplicate the game content, just add back what you installed. You can also copy back customized files. As for gameconfig.xml, you can copy it as well or wait for a new version and install it.
There are many other ways to proceed with update.rpf, but the one above is simple and works.
4. Revert Back
If you don't like or need the new updated DLC, or if it is causing your issues, you can easily revert back by copying over your GTA5.exe backup and SH5 previous version backup to your root folder. If you're lucky you can still play the new DLC by keeping it in your dlclist.xml. If not, simply remove it from dlclist.xml and it won't load. The new update will still be in the game folder of dlcpacks but it won't cause any issues.
5. Further Updates from Old Version
Suppose that in your previous update.rpf you had made extensive changes to other files (e.g. visualsettings.dat) and you forgot to extract the file. You can manually make those changes or you can take your backup of update.rpf, rename it something like oldupdate.rpf and dump it in your Mods folder temporarily. Once there, you can use OpenIV to extract those files and import them back. Finally you remove oldupdate.rpf to remove clutter.
6. Revert Back and Keep New DLC
If you do decide you would like the new DLC, there are 2 options:
- Add the new DLC to dlclist.xml (this doesn't work for everyone).
- Add new peds or new cars manually. This may require creating addons first.
For peds find the files for the model and put them in your addonpeds folder.
For cars this can be done manually or easily with this mod.