Skip to content

Commit

Permalink
Update to PUBG 7.0.1.35
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphics committed Jan 15, 2020
1 parent b631cd7 commit 44f1f37
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ housetestmap/
rapide/
tools/
*.psd
*.png
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PUBG & Fortnite | Terrain Maps

*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.
*PlayerUnknown's Battlegrounds* currently features seven maps: Erangel, Erangel Classic, Miramar, Sanhok, Vikendi, Karakin, 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).

Expand All @@ -24,6 +24,10 @@ Please note that all preview images are downscaled to 8-bit 512px × 512px
|--------------------|--------------------|
| ![PUBG - Vikendi elevation preview](https://github.com/cgcostume/pubg-maps/blob/master/vikendi/pubg_vikendi_height_l16_preview.png) | ![PUBG - Vikendi normal preview](https://github.com/cgcostume/pubg-maps/blob/master/vikendi/pubg_vikendi_normal_rg8_preview.png) |

| Karakin Height Map | Karakin Normal Map |
|--------------------|--------------------|
| ![PUBG - Karakin elevation preview](https://github.com/cgcostume/pubg-maps/blob/master/karakin/pubg_karakin_height_l16_preview.png) | ![PUBG - Karakin normal preview](https://github.com/cgcostume/pubg-maps/blob/master/karakin/pubg_karakin_normal_rg8_preview.png) |

| Camp Jackal Height Map | Camp Jackal Normal Map |
|------------------------|------------------------|
| ![PUBG - Camp Jackal elevation preview](https://github.com/cgcostume/pubg-maps/blob/master/jackal/pubg_jackal_height_l16_preview.png) | ![PUBG - Camp Jackal normal preview](https://github.com/cgcostume/pubg-maps/blob/master/jackal/pubg_jackal_normal_rg8_preview.png) |
Expand All @@ -45,7 +49,7 @@ 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\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.
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), `UmodelExport\Game\Maps\Summerland\Art\HeightMap` (Karakin), 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
Expand Down
Binary file added karakin/pubg_karakin_height_l16_lod0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added karakin/pubg_karakin_height_l16_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added karakin/pubg_karakin_normal_rg8_lod0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added karakin/pubg_karakin_normal_rg8_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion pubg-tga-slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
parser = argparse.ArgumentParser()
parser.add_argument('-p', '--umodel_export_path', help = 'umodel export path', required=True)
parser.add_argument('-o', '--output_path', help = 'working directory for extracting and stitching assets', default = '.')
parser.add_argument('-m', '--map', help = 'map identifier, either erangel, erangelclassic, miramar, sanhok, vikendi, or jackal', default = 'erangel')
parser.add_argument('-m', '--map', help = 'map identifier, either erangel, erangelclassic, miramar, sanhok, vikendi, karakin, or jackal', default = 'erangel')
# parser.add_argument('-l', '--lod', help = 'level-of-detail, either 0, 1, or 2', default = '0')
parser.add_argument('-c', '--compress', help = 'compression level, number between 0 and 10', default = '10')
parser.add_argument('-t', '--thumbnail', help = 'also generate 512² thumbnails', action = 'store_true')
Expand All @@ -26,6 +26,7 @@
'sanhok' : r'Game//Maps//Savage//Art//Heightmap',
'vikendi' : r'Game//Maps//DihorOtok//Art//Heightmap',
'jackal' : r'Game//Maps//Range//Art//Heightmap',
'karakin' : r'Game//Maps//Summerland//Art//HeightMap',

#'rapide' : r'Game//Maps//Test//Rapide//Art//HeightMap',
#'airange' : r'Game//Maps//AI_ShootingRange//AI_ShootingRange'
Expand All @@ -39,6 +40,7 @@
'sanhok' : ( 8, 8, 4),
'vikendi' : (12, 12, 3),
'jackal' : ( 8, 8, 4),
'karakin' : ( 4, 4, 2)

#'rapide' : ( 8, 8, 4),
#'airange' : ( 5, 1, 1)
Expand Down

0 comments on commit 44f1f37

Please sign in to comment.