Coder Social home page Coder Social logo

api-assets's Introduction

PUBG API Developer Resources

Art assets and data dictionaries for use with the PUBG API.

Everything provided in this repository must be used according to the Terms of Use and Player-created Content.

Notes

Most of the names of files here and the values within them are intended to match up exactly with the data. This means that any typos in the data will show up here as well just to be consistent.

The casing for file, folder, key, and value names is consistent with the data. In cases where there was no specific, case such as the Assets folder, we chose to line them up with the casing around them. So Assets starts with an uppercase letter because the folders and files within it do as well.

Data found in the dictionaries folder will not be found in the enums folder and vice versa. The difference between them is whether the possible values need to be mapped to a shorter, more human-readable name. The folders are explained further below.

Assets

The Assets folder contains art assets for equipment, weapons, and more. Assets for data found in the telemetry will have the same file name. For example, Item_Attach_Weapon_Lower_AngledForeGrip_C in the telemetry will match up to Item_Attach_Weapon_Lower_AngledForeGrip_C.png.

Where applicable, image assets are organized at the top level by the telemetry object in which they appear. Assets that do not have a corresponding telemetry object will just be sorted into appropriately named folders (Icons, Maps).

Item image assets are organized by the category, and subCategory in which they appear within the telemetry data. For example, Item_Attach_Weapon_Lower_AngledForeGrip_C.png from the previous example can be found in Assets/Item/Attachment/None/ (Assets/$telemetryObject/$category/$subCategory).

The Assets/Icons folder contains HUD icon images organized by category and subCategory just like regular assets. Since HUD icons are black and white, they don't need different versions for skins. To keep the naming somewhat consistent with the telemetry values, icons that have multiple skins use a fake skin ID of 00. For example, the icon for Item_Head_E_01_Lv1_C and Item_Head_E_02_Lv1_C where 01 and 02 represent the item's skin is Item_Head_E_00_Lv1_C.

Dictionaries

The dictionaries folder contains files that map some of the longer and confusing data names from the telemetry to shorter human-readable versions. The name of each mapping file corresponds to a key in the telemetry data. Each key in the mapping files is a possible value for the key corresponding to the file name in the telemetry data. The value of each key in the mapping files is the shortened human-readable name for that value in the telemetry data. For example:

Here is an example line from the telemetry data:

"itemId": "Item_Attach_Weapon_Stock_SniperRifle_CheekPad_C"

We look at the key here to determine the mapping file. In this case, it is itemId, so we need to look in itemId.json. Within this mapping file, there is the following entry:

"Item_Attach_Weapon_Stock_SniperRifle_CheekPad_C": "Sniper Rifle Cheek Pad"

Here we find that the pretty name for Item_Attach_Weapon_Stock_SniperRifle_CheekPad_C is "Sniper Rifle Cheek Pad".

Dictionaries are organized by data type (telemetry, match, ...) and telemetry object type (item, vehicle, ...). For example, itemId from the previous example would be found in dictionaries/telemetry/item/.

Enums

The enums folder contains files with an array of possible values for the telemetry data key associated with each filename. For example:

Here is a basic schema for the item object found throughout the telemetry data:

{
  "itemId": string,
  "stackCount": int,
  "category": string,
  "subCategory": string,
  "attachedItems": [ItemId, ...]
}

Similar to how dictionaries work for values of itemId, we can look up all of the possible values for category and subcategory in category.json and subcategory.json respectively. The difference here is that the possible values do not need mapping because their meanings are straightforward.

Enums are organized by data type (telemetry, match, ...) and telemetry object type (item, vehicle, ...). For example, category.json and subcategory.json from the previous example would be found in enums/telemetry/item/.

Seasons

Since the start and end dates for seasons are not available at the /seasons endpoint, we have made them available in seasons.json. The dates are in the format MM-DD-YYYY. If the season's endDate is 00-00-0000, then that season is in progress.

Survival Title System

Survival Titles, their sublevels and associated points range, and whether a player can be demoted from each level is listed within survivalTitles.json. The titleNumber and level are used for playerSeason.attributes.gameModeStats.{gameMode}.rankPointsTitle.

Community Contributions

Community contributions and feedback are welcome! Please feel free to submit an issue if there is something missing or not quite right, and we will take a look as soon as we are able.

api-assets's People

Contributors

crystac avatar dennisbirkholz avatar glmn avatar jaloisi834 avatar jaredbabinec avatar jesse-welch avatar jkwchunjae avatar joshcookfair avatar kevinmirc avatar krafton-cf avatar kyungwon-jeon avatar luk27official avatar martin-one avatar matizm avatar matthiggins avatar mautini avatar ramonsaraiva avatar sniperash6 avatar tataky avatar thedarkman avatar tomp2 avatar tuxsupa avatar willitscale avatar xulunix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api-assets's Issues

Map selection image missing for Karakin and Camp Jackal

The Assets/MapSelection/ folder contains images for all maps but Karakin and Camp Jackal/Trainingsmap. Please add these images.

Also why is the not deprecated Vikendi image in another format than all other images? That makes it really difficult to just select and display the image...

Provide icons as an svg

Providing icons as an svg would make handling them on front-end much more consistent for scaling etc.

Missing Assets

Some missing assets:

"Item_Ghillie_01_C": "Ghillie Suit",
"Item_Ghillie_02_C": "Ghillie Suit",
"Item_Attach_Weapon_Lower_QuickDraw_Large_Crossbow_C": "QuickDraw Crossbow Quiver",

Item image missing for Rocks on Karakin

The Rock item (Item_Weapon_Rock_C) is referenced in events but has no icon/image even though images for the Apple on Sanhok and the Snowball on Vikendi exist.

Vehicle Assets

The included assets are awesome, great job! However, I noticed that there are no assets provided for vehicles. It would be great if vehicle assets could get included as well.

Use attachment names as shown in the game

Magazines, Compensators, Flash Hiders and Supressors names in api-assets/dictionaries/telemetry/item/itemId.json contain small, medium and large instead of the types of weapons they can be used of.

Mislabeled: Uaz_A_00_C.png

Should follow the damageCauserName as every other object. Therefor rename
Assets/Vehicle/Uaz_A_00_C.png => Assets/Vehicle/Uaz_A_01_C.png

Item images missing for DVD parts

DVD parts picked up in the game produce ItemPickup events but have no corresponding images/icons available. Item IDs are SP7_EventItem_DVD_01_C, SP7_EventItem_DVD_02_C, etc.

Win94 needs an updated image

The image is still the old image without the scope attached.

/master/Assets/Item/Weapon/Main/Item_Weapon_Win1894_C.png

Provide Rankicons in high-res

Especially the Grandmaster logo should be provided either as 3dmodel or as highres image. Amazing fan art will be created by the community

Asset file name

on "Assets/Item/Weapon/Main/Item_weapon_QBZ95_C.png", lowercase W on weapon cause some parse issues.

Vikendi Map Icon

Could we get the icon added for the Vikendi map? Am guessing it will either be a snowflake or a snowman?

Missing helmets

Hi!

As title already explains, there seems to be missing helmet graphics.

Yrd

Hff**```

  • **hfsdjk

Hffhk
Jgfn**``

Erangel map out of date

The Erangel map is now out of date.

It is missing the new compounds added in various places, for example on the left entrance road onto the military island.

Vikendi Map

Recent update added some new houses to Vikendi. Please update the Vikendi maps to show these houses, thanks!

Vikendi map: houses missing

image

There seems to be missing a few houses south of sawmill far to south west on Vikendi. Streight south for the 'w' in sawmill there should be a couple of houses.

Map icons

Would be good to have map icons images from PC game client included.
Thanks.

mapiconsscheme

Erangel map needs update

The newest compunds is not on the map. The image cutout is from Sosnovkas, North-west side of military camp. I should be a compund in the intersection in the middle of the cutout:
image

Missing data and assets

The following items are missing image assets and itemId mappings in the JSON files.

  • Item_Weapon_FNFal_C: SLR
  • Item_Attach_Weapon_Upper_Scope3x_C: 3x Scope
  • Item_Attach_Weapon_Upper_Scope6x_C: 6x Scope
  • Item_Attach_Weapon_Lower_ThumbGrip_C: Thumb Grip
  • Item_Attach_Weapon_Lower_HalfGrip_C: Half Grip
  • Item_Attach_Weapon_Lower_LightweightForeGrip_C: Light Grip
  • Item_Attach_Weapon_Muzzle_Duckbill_C: Duckbill

The following variants of Mirado are missing vehicleId mapping:

  • BP_Mirado_Open_03_C
  • BP_Mirado_A_02_C
  • BP_Mirado_Open_04_C
  • (possibly other variants of the Mirado which I didn't see in the telemetry I was looking at)

The damage causer name mapping is missing for:

  • WeapFNFal_C
  • The Mirado variants listed above

The map updates on Miramar I think are also missing from map assets.

Déclare Range_Main map

Hello, It seems the Range_Main map is not declared (probably the training camp ?)

Will you please add it ?

Thanks !

Missing item image assets

At least the following image assets appear to be missing:

  • Item_Head_G_01_Lv3_C
  • Item_Heal_MedKit_C
  • Item_Heal_Bandage_C
  • Item_Heal_FirstAid_C
  • Item_Boost_EnergyDrink_C
  • Item_JerryCan_C
  • Item_Head_F_01_Lv2_C
  • Item_Weapon_Sawnoff_C
  • Item_Head_F_02_Lv2_C
  • Item_Head_E_02_Lv1_C
  • Item_Head_E_01_Lv1_C
  • Item_Weapon_Rhino_C
  • Item_Weapon_Win1894_C
  • Item_Weapon_AUG_C
  • Item_Attach_Weapon_Upper_ACOG_01 (The file exists, but is currently showing the 2X scope)

Throwable icons in wrong category

The folder for Throwable icons is in the Weapons categoryfolder, but should be in Equipment categoryfolder.
Folder is here: /master/Assets/Icons/Item/Weapon
Should be here: /master/Assets/Icons/Item/Equipment

This is correct for images, so the change is just needed for icons.

damageCauserName: WeapJuliesKar98k_C

I don't know how to update or do pull requests or if I even have the right but can you add

"WeapJuliesKar98k_C": "Kar98k"

to the dictionaries/telemetry/damageCauserName.json? I found it in one of my games recently. Not entirely sure what it is.

Miramar map update

Thank you very much for putting this repo into the wild.

According to this it seems that the map Mirarmar is getting substantial changes. Would it be possible for the map image in this repo to be updated in the near future to reflect the new changes?

Thank you very much in advance for your consideration

Miramar map image

Miramar_Main_No_Text_Low_Res.png was uploaded wrong? because has 54,6 MB.

Asset Name Convention

The naming of the asset files is not the same as the ones provided by the Telemetry JSON API. I did notice that most item assets are retrievable by removing the last _ and remaining contents. However, some items are named icon_ which is really confusing, and the AUG is named Item_Weapon_AUGA3.png while the itemId is Item_Weapon_AUG_C.

I would like some more consistency to the naming of the files. I suppose I will have to manually rename those with irregularities for now.

Missing "Frag" in damageCauserNames

I think consistency is quite important. Therefor i'd like to see either one change, preferably Grenade => Frag Grenade since it is more specific.

In damageCauserNames.json:
"ProjGrenade_C": "Grenade",

In itemId.json:
"Item_Weapon_Grenade_C": "Frag Grenade",

Missing dictionary telemetry on damageCauserName.json

Hi,

Just for notice, not exactly an issue.

Looking the telemetry data from recent matches and the data of the damageCauserName for the melee throw kill, i get the data "WeapSickleProjectile_C" for the damageCauserName.
This data is not on the json file on 'api-assets/dictionaries/telemetry/damageCauserName.json'.
I believe there are missing for each melee weapon too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.