From 365be04994e813dd72a9bd13ffa66562d2e00851 Mon Sep 17 00:00:00 2001 From: Daniel Limberger Date: Mon, 22 Jan 2018 16:00:34 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 705d405..61bc01d 100644 --- a/README.md +++ b/README.md @@ -28,14 +28,14 @@ Please not that the following steps might change with respect to the PUBG versio 2. **Locate** your PUBG directory, e.g., `C:\Program Files (x86)\Steam\steamapps\common\PUBG`. 3. **Unpack** `TslGame-WindowsNoEditor_erangel_heightmap.pak` or `TslGame-WindowsNoEditor_desert_heightmap.pak` for Erangel or Miramar respectively. This should create a `TslGame` folder directly in `C:`, i.e., `C:\TslGame\Content\Maps\Erangel\Art\Heightmap` or `C:\TslGame\Content\Maps\Desert\Art\Heightmap` respectively comprising all resources required. -I tried to run steps 1. to 3. via a script as well but couldn't settle on how to provide and handle ue4pakunpacker yet. Feel free to have a look in `pubg-pak-unpack.py`. +I tried to run steps 1. to 3. via a script as well but couldn't settle on how to provide and handle ue4pakunpacker yet. Feel free to have a look in `pubg-pak-unpack.py`. The following script requires the pip packages: `numpy`, `pypng`, and `Pillow`. -4. **Run** `pubg-ubulk-slice.py` for extracting and encoding the relevant tile data into losless 16bit and 8bit pngs (required pip packages: `numpy`, `pypng`, and `Pillow`): +4. **Run** `pubg-ubulk-slice.py` for extracting and encoding the relevant tile data into losless 16bit and 8bit pngs: ``` .\pubg-ubulk-slice.py --map erangel -tsl C:\TslGame --lod 0 .\pubg-ubulk-slice.py --map miramar -tsl C:\TslGame --lod 0 ``` -That's it. If the script exits without errors there shoud be 8192px × 8192px losless height and normal maps. +That's it. If the script exits without errors there shoud be 8192px × 8192px losless height and normal maps. The `--lod` parameter can be used for level of detail of `0` (8k map), `1` (4k map), and `2` (2k map). #### Details on the Map Encoding From 474ff437766502d3a67272f6fb828c87199ee83d Mon Sep 17 00:00:00 2001 From: Daniel Limberger Date: Mon, 22 Jan 2018 16:02:13 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61bc01d..940ba8b 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ I tried to run steps 1. to 3. via a script as well but couldn't settle on how to .\pubg-ubulk-slice.py --map erangel -tsl C:\TslGame --lod 0 .\pubg-ubulk-slice.py --map miramar -tsl C:\TslGame --lod 0 ``` -That's it. If the script exits without errors there shoud be 8192px × 8192px losless height and normal maps. The `--lod` parameter can be used for level of detail of `0` (8k map), `1` (4k map), and `2` (2k map). +That's it. If the script exits without errors there shoud be 8192px × 8192px losless height and normal maps. The `--lod` parameter can be used for level of detail of `--lod 0` (8k map), `--lod 1` (4k map), and `--lod 2` (2k map). #### Details on the Map Encoding