≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
 Prerequisites & recommendations
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡

If you use Forests of San Andreas as well please be sure that you have installed version 4.0 or newer of that mod.
Otherwise you will have many colliding and duplicated props in some areas and fewer props in other areas.

This mod without other mods applied works with the original gameconfig.xml and without any heap adjustment.
However, if you are using multiple mods it might be the case that at some point you need to adapt the gameconfig.xml and/or the heap (that is a general statement and is not specific to this mod).
If you are unsure just give it a try without changing the gameconfig.xml and the heap. In case you then experience crashes please install these add-ons as well:
• https://github.com/pnwparksfan/gameconfig/
• https://www.gta5-mods.com/tools/heapadjuster


≡≡≡≡≡≡≡≡≡
 Credits
≡≡≡≡≡≡≡≡≡

This map is based on the map "GTA V Remastered" in version 1.3 and 2.0b by le__AK.
I want to thank him very much for that great map and his permission to publish this mod.

Despite my own tools/scripts (https://github.com/Larcius/gta5-modding-utils) the following tools were involved:
• OpenIV (https://openiv.com): importing files from openformats to binary code
• CodeWalker (https://www.gta5-mods.com/tools/codewalker-gtav-interactive-3d-map): editing entities, exporting and importing shader
• HLSLDecompiler (https://github.com/etnlGD/HLSLDecompiler): decompiling shader (from DXBC byte code to HLSL source code)
• FXC (https://learn.microsoft.com/en-us/windows/win32/direct3dtools/fxc): compiling shader (from HLSL source code to DXBC byte code)


≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
 Installation via OIV
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡

Simply extract the file "GTA V Remastered Enhanced v*.oiv" anywhere you want and use OpenIV -> Tools -> Package Installer to install the mod.
By doing so the maps as well as an adapted shader (to properly render reflections) are installed.

If you are using Liberty City V Remix please
• open directory "Compatibility Liberty City V Remix"
• extract the file "Compatibility Liberty City V Remix for GTA V Remastered.oiv" anywhere you want
• and use OpenIV -> Tools -> Package Installer to install the patch.


≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
 Uninstallation via OIV
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡

Simply extract the file "Uninstaller GTA V Remastered.oiv" anywhere you want and use OpenIV -> Tools -> Package Installer to uninstall the mod.
Please be sure to select the same location (mods or game folder) you did on installation.
By doing so the maps but not the adapted shader are uninstalled.
It is not necessary to reset the adapted shader. If you want to uninstall it anyway please see section Manual uninstallation -> Shader.

It is not necessary to uninstall the Liberty City V Remix compatibility patch if you uninstall GTA V Remastered entirely.
The uninstaller is only needed if you had installed the patch but then no longer use Liberty City V Remix.
• open directory "Compatibility Liberty City V Remix"
• extract the file "Uninstaller Compatibility Liberty City V Remix for GTA V Remastered.oiv" anywhere you want
• and use OpenIV -> Tools -> Package Installer to uninstall the patch.


≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
 Manual installation
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡

------
 Maps
------

• Create a new folder "vremastered" in Grand Theft Auto V\mods\update\x64\dlcpacks
• Extract the file "GTA V Remastered Enhanced v*.oiv" and open it with a ZIP program (like 7zip, WinZIP, WinRAR, ...)
• Extract content\dlc\dlc.rpf to Grand Theft Auto V\mods\update\x64\dlcpacks\vremastered
  (so finally there must be Grand Theft Auto V\mods\update\x64\dlcpacks\vremastered\dlc.rpf)
• Use OpenIV to edit Grand Theft Auto V\mods\update\update.rpf\common\data\dlclist.xml
• Add new line
  <Item>dlcpacks:/vremastered/</Item>
  before line
  </Paths>

--------
 Shader
--------

To properly render the dedicated reflection models an adapted shader is required.

• Extract the file "GTA V Remastered Enhanced Revised v*.oiv" and open it with a ZIP program (like 7zip, WinZIP, WinRAR, ...)
• Extract the file default.fxc under content\shader and copy it (using OpenIV) to Grand Theft Auto V\mods\update\update.rpf\common\shaders\win32_40_final
  (you may need to create the folder win32_40_final).

------------------------------------
 Compatibility Liberty City V Remix
------------------------------------

• Use OpenIV to edit Grand Theft Auto V\mods\update\x64\dlcpacks\vremastered\dlc.rpf\content.xml
• Replace all lines (there are two)
  <genericConditions>$level=MO_JIM_L11</genericConditions>
  by
  <genericConditions>$level=MO_JIM_L00</genericConditions>


≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
 Manual uninstallation
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡

------
 Maps
------

Revert the steps from section "Manual installation":
• Use OpenIV to edit Grand Theft Auto V\mods\update\update.rpf\common\data\dlclist.xml
• Remove any line like
  <Item>dlcpacks:/vremastered/</Item>
• Go to Grand Theft Auto V\mods\update\x64\dlcpacks and remove the folder vremastered

--------
 Shader
--------

If you are using one of my other mods you need to keep the adapted default.fxc shader.
Otherwise do the following to uninstall the adapted shader:
• Use OpenIV and go to Grand Theft Auto V\mods\update\update.rpf\common\shaders\win32_40_final
• Remove the file default.fxc

------------------------------------
 Compatibility Liberty City V Remix
------------------------------------

It is not necessary to uninstall the Liberty City V Remix compatibility patch if you uninstall GTA V Remastered entirely.
This is only needed if you had installed the patch but then no longer use Liberty City V Remix.

• Use OpenIV to edit Grand Theft Auto V\mods\update\x64\dlcpacks\vremastered\dlc.rpf\content.xml
• Replace all lines (there are two)
  <genericConditions>$level=MO_JIM_L00</genericConditions>
  by
  <genericConditions>$level=MO_JIM_L11</genericConditions>



≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
-------------------------
 Overview of added props
-------------------------
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡

bushes:				 1188
cacti:				  247
joshua trees:		  137
palms:				 3423
trees:				 5024
crops:				  269
potted plants:		  287
misc vegetation:	  787
rocks:				  123
seats & tables:		  468
others:				 1468
-------------------------
total:				13421