arma3:terrain:separate-data-layers
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| arma3:terrain:separate-data-layers [2017/02/10 09:35] – created separate-data-layers initial page. snakeman | arma3:terrain:separate-data-layers [2024/08/02 21:41] (current) – links added. snakeman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ArmA 3 Terrain Separate Data\Layers into Smaller PBOs ====== | ====== ArmA 3 Terrain Separate Data\Layers into Smaller PBOs ====== | ||
| + | |||
| + | [[https:// | ||
| **How to separate your large ArmA 3 terrain Data\Layers PBO into individual PBO files.** | **How to separate your large ArmA 3 terrain Data\Layers PBO into individual PBO files.** | ||
| Line 10: | Line 12: | ||
| ====== _run_Separate_WRP_Dir.bat ====== | ====== _run_Separate_WRP_Dir.bat ====== | ||
| - | This batch file does all the heavy lifting when separating your terrain addon directory. In our example we use " | + | This batch file does all the heavy lifting when separating your terrain addon directory. In our example we use " |
| - | You only need to edit "set TERRAIN=" | + | You only need to edit "set MODTAG=" |
| **_run_Separate_WRP_Dir.bat: | **_run_Separate_WRP_Dir.bat: | ||
| <code dos> | <code dos> | ||
| @echo off | @echo off | ||
| + | set MODTAG=pmc | ||
| set TERRAIN=pmc_iraq_baghdad | set TERRAIN=pmc_iraq_baghdad | ||
| rem back out of Source and terrain directorys | rem back out of Source and terrain directorys | ||
| Line 23: | Line 26: | ||
| rem create data\ for whatever data stuff you got | rem create data\ for whatever data stuff you got | ||
| md %TERRAIN%_data | md %TERRAIN%_data | ||
| - | echo pmc\%TERRAIN%_data > | + | echo %MODTAG%\%TERRAIN%_data > |
| echo class CfgPatches{class %TERRAIN%_data{units[] = {}; | echo class CfgPatches{class %TERRAIN%_data{units[] = {}; | ||
| rem create layers\ for RVMATs | rem create layers\ for RVMATs | ||
| md %TERRAIN%_data_layers | md %TERRAIN%_data_layers | ||
| - | echo pmc\%TERRAIN%_data_layers > | + | echo %MODTAG%\%TERRAIN%_data_layers > |
| echo class CfgPatches{class %TERRAIN%_data_layers{units[] = {}; | echo class CfgPatches{class %TERRAIN%_data_layers{units[] = {}; | ||
| rem move RVMATs | rem move RVMATs | ||
| Line 44: | Line 47: | ||
| md %TERRAIN%_data_layers_08 | md %TERRAIN%_data_layers_08 | ||
| - | echo pmc\%TERRAIN%_data_layers_00 > | + | echo %MODTAG%\%TERRAIN%_data_layers_00 > |
| - | echo pmc\%TERRAIN%_data_layers_01 > | + | echo %MODTAG%\%TERRAIN%_data_layers_01 > |
| - | echo pmc\%TERRAIN%_data_layers_02 > | + | echo %MODTAG%\%TERRAIN%_data_layers_02 > |
| - | echo pmc\%TERRAIN%_data_layers_03 > | + | echo %MODTAG%\%TERRAIN%_data_layers_03 > |
| - | echo pmc\%TERRAIN%_data_layers_04 > | + | echo %MODTAG%\%TERRAIN%_data_layers_04 > |
| - | echo pmc\%TERRAIN%_data_layers_05 > | + | echo %MODTAG%\%TERRAIN%_data_layers_05 > |
| - | echo pmc\%TERRAIN%_data_layers_06 > | + | echo %MODTAG%\%TERRAIN%_data_layers_06 > |
| - | echo pmc\%TERRAIN%_data_layers_07 > | + | echo %MODTAG%\%TERRAIN%_data_layers_07 > |
| - | echo pmc\%TERRAIN%_data_layers_08 > | + | echo %MODTAG%\%TERRAIN%_data_layers_08 > |
| echo class CfgPatches{class %TERRAIN%_data_layers_00{units[] = {}; | echo class CfgPatches{class %TERRAIN%_data_layers_00{units[] = {}; | ||
| Line 65: | Line 68: | ||
| rem move the actual satellite tile PAA files... | rem move the actual satellite tile PAA files... | ||
| - | move %TERRAIN%\data\layers\s_00? | + | move %TERRAIN%\data\layers\s_00? |
| - | move %TERRAIN%\data\layers\m_00? | + | move %TERRAIN%\data\layers\m_00? |
| - | move %TERRAIN%\data\layers\s_01? | + | move %TERRAIN%\data\layers\s_01? |
| - | move %TERRAIN%\data\layers\m_01? | + | move %TERRAIN%\data\layers\m_01? |
| - | move %TERRAIN%\data\layers\s_02? | + | move %TERRAIN%\data\layers\s_02? |
| - | move %TERRAIN%\data\layers\m_02? | + | move %TERRAIN%\data\layers\m_02? |
| - | move %TERRAIN%\data\layers\s_03? | + | move %TERRAIN%\data\layers\s_03? |
| - | move %TERRAIN%\data\layers\m_03? | + | move %TERRAIN%\data\layers\m_03? |
| - | move %TERRAIN%\data\layers\s_04? | + | move %TERRAIN%\data\layers\s_04? |
| - | move %TERRAIN%\data\layers\m_04? | + | move %TERRAIN%\data\layers\m_04? |
| - | move %TERRAIN%\data\layers\s_05? | + | move %TERRAIN%\data\layers\s_05? |
| - | move %TERRAIN%\data\layers\m_05? | + | move %TERRAIN%\data\layers\m_05? |
| - | move %TERRAIN%\data\layers\s_06? | + | move %TERRAIN%\data\layers\s_06? |
| - | move %TERRAIN%\data\layers\m_06? | + | move %TERRAIN%\data\layers\m_06? |
| - | move %TERRAIN%\data\layers\s_07? | + | move %TERRAIN%\data\layers\s_07? |
| - | move %TERRAIN%\data\layers\m_07? | + | move %TERRAIN%\data\layers\m_07? |
| - | move %TERRAIN%\data\layers\s_08? | + | move %TERRAIN%\data\layers\s_08? |
| - | move %TERRAIN%\data\layers\m_08? | + | move %TERRAIN%\data\layers\m_08? |
| + | |||
| + | rem delete existing layers\ dir including the remaining now obsolete .PNG files | ||
| + | rd /q /s %TERRAIN%\data\layers\ | ||
| pause | pause | ||
| Line 103: | Line 109: | ||
| See how to use [[arma3: | See how to use [[arma3: | ||
| - | Here is our example replacement text file, you obviously need to make your own using paths to your terrain. | + | Here is our example replacement text file, you obviously need to make your own using paths to your terrain |
| RVMAT **_MASTER_paths.txt: | RVMAT **_MASTER_paths.txt: | ||
| Line 133: | Line 139: | ||
| WRP needs its RVMAT paths changed because we moved RVMATs to a new directory / addon. | WRP needs its RVMAT paths changed because we moved RVMATs to a new directory / addon. | ||
| - | It is basically the same as what we did for individual RVMAT files, see [[arma3: | + | It is basically the same as what we did for individual RVMAT files, see [[arma3: |
| - | If you forgot | + | WRP **_MASTER_paths.txt: |
| + | < | ||
| + | pmc\pmc_iraq_baghdad\data\layers pmc\pmc_iraq_baghdad_data_layers | ||
| + | </ | ||
| + | |||
| + | If you forget | ||
| Line 149: | Line 160: | ||
| ====== Buldozer ====== | ====== Buldozer ====== | ||
| - | In this separated / split setup terrain builder cannot find the RVMAT files, it attempts to find them from pmc_iraq_baghdad\data\layers\ directory, but instead they have been moved to pmc_iraq_baghdad_data_layers\ dir instead. | + | In this separated / split setup terrain builder |
| - | We don't really care about buldozer use but realize you might. So basically you need to fix by moving the RVMAT files back to pmc_iraq_baghdad\data\layers\ | + | You can easily |
| + | |||
| + | **_run_create_layers_symlink.bat: | ||
| + | <code dos> | ||
| + | rem do this on WRP\data\ dir | ||
| + | mklink /J layers | ||
| + | </ | ||
| + | **Warning: You must delete this " | ||
| + | |||
| + | Howto delete symlink: | ||
| + | <code dos> | ||
| + | del layers | ||
| + | </ | ||
| You cannot really change the path from terrain builder project settings, because it defaults to < | You cannot really change the path from terrain builder project settings, because it defaults to < | ||
| Line 174: | Line 197: | ||
| | map_altis_data_layers | a3\map_altis\data\layers | A3_Map_Altis_Data_Layers | RVMATs | | | map_altis_data_layers | a3\map_altis\data\layers | A3_Map_Altis_Data_Layers | RVMATs | | ||
| | map_altis_data_layers_00_00 | a3\map_altis\data\layers\00_00 | n/a | Textures | | | map_altis_data_layers_00_00 | a3\map_altis\data\layers\00_00 | n/a | Textures | | ||
| + | |||
arma3/terrain/separate-data-layers.1486719300.txt.gz · Last modified: 2017/02/10 09:35 by snakeman
