Skip to content

Commit

Permalink
Rename baltic and erangel to prevent confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphics committed Nov 25, 2019
1 parent cf2f2cf commit a7d5429
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 19 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
airange/
gunplaytestmap/
housetestmap/
rapide/
tools/
*.psd
*.psd
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# PUBG & Fortnite | Terrain Maps

*PlayerUnknown's Battlegrounds* currently features six maps: Erangel Classic, Miramar, Sanhok, Camp Jackal, Vikendi, and Erangel. This repository provides information and scripts for extracting elevation and normal maps from the game's sources.
*PlayerUnknown's Battlegrounds* currently features six maps: Erangel, Erangel Classic, Miramar, Sanhok, Vikendi, and Camp Jackal. This repository provides information and scripts for extracting elevation and normal maps from the game's sources.

Please note that all preview images are downscaled to 8-bit 512px × 512px and should not be used for rendering (normal data is downsampled using bicubic resampling).

| Erangel Height Map | Erangel Normal Map |
|-----------------------------|-----------------------------|
| <img src="https://github.com/cgcostume/pubg-maps/blob/master/erangel/pubg_erangel_height_l16_preview.png" width="100%" alt="pubg_erangel_elevation_preview"> | <img src="https://github.com/cgcostume/pubg-maps/blob/master/erangel/pubg_erangel_normal_rg8_preview.png" width="100%" alt="pubg_erangel_normal_preview"> |

| Erangel Classic Height Map | Erangel Classic Normal Map |
|----------------------------|----------------------------|
| <img src="https://github.com/cgcostume/pubg-maps/blob/master/erangel/pubg_erangel_height_l16_preview.png" width="100%" alt="pubg_erangel_elevation_preview"> | <img src="https://github.com/cgcostume/pubg-maps/blob/master/erangel/pubg_erangel_normal_rg8_preview.png" width="100%" alt="pubg_erangel_normal_preview"> |
| <img src="https://github.com/cgcostume/pubg-maps/blob/master/erangelclassic/pubg_erangelclassic_height_l16_preview.png" width="100%" alt="pubg_erangelclassic_elevation_preview"> | <img src="https://github.com/cgcostume/pubg-maps/blob/master/erangelclassic/pubg_erangelclassic_normal_rg8_preview.png" width="100%" alt="pubg_erangelclassic_normal_preview"> |

| Miramar Height Map | Miramar Normal Map |
|--------------------|--------------------|
Expand All @@ -16,17 +20,13 @@ Please note that all preview images are downscaled to 8-bit 512px &times; 512px
|-------------------|-------------------|
| <img src="https://github.com/cgcostume/pubg-maps/blob/master/sanhok/pubg_sanhok_height_l16_preview.png" width="100%" alt="pubg_sanhok_elevation_preview"> | <img src="https://github.com/cgcostume/pubg-maps/blob/master/sanhok/pubg_sanhok_normal_rg8_preview.png" width="100%" alt="pubg_sanhok_normal_preview"> |

| Camp Jackal Height Map | Camp Jackal Normal Map |
|------------------------|------------------------|
| <img src="https://github.com/cgcostume/pubg-maps/blob/master/jackal/pubg_jackal_height_l16_preview.png" width="100%" alt="pubg_jackal_elevation_preview"> | <img src="https://github.com/cgcostume/pubg-maps/blob/master/jackal/pubg_jackal_normal_rg8_preview.png" width="100%" alt="pubg_jackal_normal_preview"> |

| Vikendi Height Map | Vikendi Normal Map |
|--------------------|--------------------|
| <img src="https://github.com/cgcostume/pubg-maps/blob/master/vikendi/pubg_vikendi_height_l16_preview.png" width="100%" alt="pubg_vikendi_elevation_preview"> | <img src="https://github.com/cgcostume/pubg-maps/blob/master/vikendi/pubg_vikendi_normal_rg8_preview.png" width="100%" alt="pubg_vikendi_normal_preview"> |

| Erangel (Baltic) Height Map | Erangel (Baltic) Normal Map |
|-----------------------------|-----------------------------|
| <img src="https://github.com/cgcostume/pubg-maps/blob/master/baltic/pubg_baltic_height_l16_preview.png" width="100%" alt="pubg_baltic_elevation_preview"> | <img src="https://github.com/cgcostume/pubg-maps/blob/master/baltic/pubg_baltic_normal_rg8_preview.png" width="100%" alt="pubg_baltic_normal_preview"> |
| Camp Jackal Height Map | Camp Jackal Normal Map |
|------------------------|------------------------|
| <img src="https://github.com/cgcostume/pubg-maps/blob/master/jackal/pubg_jackal_height_l16_preview.png" width="100%" alt="pubg_jackal_elevation_preview"> | <img src="https://github.com/cgcostume/pubg-maps/blob/master/jackal/pubg_jackal_normal_rg8_preview.png" width="100%" alt="pubg_jackal_normal_preview"> |

#### Fortnite | Experimental

Expand All @@ -45,15 +45,15 @@ Please note that the following steps might change with respect to the *PUBG* ver
2. **Locate** your *PUBG* directory, e.g., `C:\Program Files (x86)\Steam\steamapps\common\PUBG`.
3. **Open** your *PUBG* directory in UE Viewer, overriding game detection to 'Unreal engine 4.16'. Please note that the PAK files are AES encrypted (try Googling for the AES key, e.g., on Reddit or Gildor's forums).
4. **Filter** for `HeightMap` or `Texture2D_` (optional step)
5. **Export** all heightmaps. This should create a `UmodelExport\Game\Maps\Erangel\Art\Heightmap`, `UmodelExport\Game\Maps\Desert\Art\Heightmap`, `UmodelExport\Game\Maps\Savage\Art\Heightmap`, `UmodelExport\Game\Maps\Range\Art\Heightmap`, `UmodelExport\Game\Maps\DihorOtok\Art\Heightmap`, or `UmodelExport\Game\Maps\Baltic\Art\HeightMap` folder in your current working directory.
5. **Export** all heightmaps. This should create a `UmodelExport\Game\Maps\Baltic\Art\HeightMap` (Erangel), `UmodelExport\Game\Maps\Erangel\Art\Heightmap` (Erangel Classic), `UmodelExport\Game\Maps\Desert\Art\Heightmap` (Miramar), `UmodelExport\Game\Maps\Savage\Art\Heightmap` (Sanhok), `UmodelExport\Game\Maps\DihorOtok\Art\Heightmap` (Vikendi), or `UmodelExport\Game\Maps\Range\Art\Heightmap` (Camp Jackal) folder in your current working directory.
6. **Run** `pubg-tga-slice.py` for extracting and encoding the relevant tile data into lossless 16-bit and 8-bit pngs:
```
.\pubg-tga-slice.py -p .\UmodelExport\ -m erangel
.\pubg-tga-slice.py -p .\UmodelExport\ -m erangelclassic
.\pubg-tga-slice.py -p .\UmodelExport\ -m miramar
.\pubg-tga-slice.py -p .\UmodelExport\ -m sanhok
.\pubg-tga-slice.py -p .\UmodelExport\ -m jackal
.\pubg-tga-slice.py -p .\UmodelExport\ -m vikendi
.\pubg-tga-slice.py -p .\UmodelExport\ -m baltic
.\pubg-tga-slice.py -p .\UmodelExport\ -m jackal
```
...or for *Fortnite* extraction:
```
Expand Down
Loading

0 comments on commit a7d5429

Please sign in to comment.