mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-12-24 03:48:10 +01:00
Added sample json and README.
This commit is contained in:
parent
3273b1482b
commit
e2fbada4c1
2 changed files with 107 additions and 0 deletions
12
README.md
12
README.md
|
@ -16,6 +16,18 @@ If your game has an original steam_api(64).dll or libsteam_api.so older than may
|
|||
|
||||
For more information see: [The Release Readme](Readme_release.txt)
|
||||
|
||||
## How to add items to your steam inventory
|
||||
|
||||
Create a folder named steam_settings right beside steam_api.dll if there isn't one already. In that folder, create a file named items.json which will contain every item you want to have in your game.
|
||||
|
||||
An example can be found in steam_settings.EXAMPLE that works with Killing Floor 2.
|
||||
|
||||
The items.json syntax is simple, you SHOULD validate your .json file before trying to run your game or you won't have any item in your inventory. Just look for "online json validator" on your web brower to valide your file.
|
||||
|
||||
You can use https://steamdb.info/ to list items and attributes they have and put them into your .json.
|
||||
|
||||
Keep in mind that some item are not valid to have in your inventory. For example, in PayDay2 all items below item_id 50000 will make your game crash.
|
||||
|
||||
## Download Binaries
|
||||
|
||||
You can download the latest git builds for Linux and Windows on [the Gitlab pages website](https://mr_goldberg.gitlab.io/goldberg_emulator/) and the stable releases in the [release section](https://gitlab.com/Mr_Goldberg/goldberg_emulator/releases) of this repo.
|
||||
|
|
95
files_example/steam_settings.EXAMPLE/items.EXAMPLE.json
Normal file
95
files_example/steam_settings.EXAMPLE/items.EXAMPLE.json
Normal file
|
@ -0,0 +1,95 @@
|
|||
{
|
||||
"2001": {
|
||||
"Timestamp": "2018-01-09T19:30:03Z",
|
||||
"modified": "20180109T193003Z",
|
||||
"date_created": "20180109T193003Z",
|
||||
"type": "bundle",
|
||||
"display_type": "Bundle",
|
||||
"name": "Foster Classic Bundle",
|
||||
"bundle": "2011x1;2012x1;3358x1",
|
||||
"description": "Comes with Foster's Classic Suit Uniform (includes 9 skin styles), Classic Tie Accessory (includes 8 skin styles) and Bow Tie Accessory. Not tradeable or marketable.",
|
||||
"background_color": "000000",
|
||||
"icon_url": "http://art.tripwirecdn.com/TestItemIcons/Bundle_ClassicFoster_96.png",
|
||||
"icon_url_large": "http://art.tripwirecdn.com/TestItemIcons/Bundle_ClassicFoster_360.png",
|
||||
"name_color": "7a0000",
|
||||
"tradable": "false",
|
||||
"marketable": "false",
|
||||
"commodity": "false",
|
||||
"drop_interval": "0",
|
||||
"drop_max_per_window": "0",
|
||||
"workshopid": "0",
|
||||
"tw_unique_to_own": "true",
|
||||
"item_quality": "0",
|
||||
"tw_price": "$4.99",
|
||||
"tw_type": "skc",
|
||||
"tw_client_visible": "1",
|
||||
"tw_icon_small": "CHR_MrFoster_Item_TEX.ClassicSuit.UniformBundle_FostersSuit",
|
||||
"tw_icon_large": "CHR_MrFoster_Item_TEX.ClassicSuit.UniformBundle_FostersSuit",
|
||||
"tw_description": "<FosterClassicBundleDescription:Bundles>",
|
||||
"tw_client_name": "<FosterClassicBundleName:Bundles>",
|
||||
"tw_client_type": "<BundleType:Bundles>",
|
||||
"tw_rarity": "crate"
|
||||
},
|
||||
"2002": {
|
||||
"Timestamp": "2018-01-09T19:30:03Z",
|
||||
"modified": "20180109T193003Z",
|
||||
"date_created": "20180109T193003Z",
|
||||
"type": "bundle",
|
||||
"display_type": "Bundle",
|
||||
"name": "Briar's Bobby Bundle",
|
||||
"bundle": "2021x1;2022x1",
|
||||
"description": "Comes with Briar's London Uniform (includes 5 skin styles), and Custodian Helmet Cosmetic Accessory (includes 3 skin styles) Not tradeable or marketable.",
|
||||
"background_color": "000000",
|
||||
"icon_url": "http://art.tripwirecdn.com/TestItemIcons/Bundle_BriarBobby_96.png",
|
||||
"icon_url_large": "http://art.tripwirecdn.com/TestItemIcons/Bundle_BriarBobby_360.png",
|
||||
"name_color": "7a0000",
|
||||
"tradable": "false",
|
||||
"marketable": "false",
|
||||
"commodity": "false",
|
||||
"drop_interval": "0",
|
||||
"drop_max_per_window": "0",
|
||||
"workshopid": "0",
|
||||
"tw_unique_to_own": "true",
|
||||
"item_quality": "0",
|
||||
"tw_price": "$4.99",
|
||||
"tw_type": "skc",
|
||||
"tw_client_visible": "1",
|
||||
"tw_icon_small": "CHR_Briar_Item_TEX.BobbyUniform.UniformBundle_BriarBobby",
|
||||
"tw_icon_large": "CHR_Briar_Item_TEX.BobbyUniform.UniformBundle_BriarBobby",
|
||||
"tw_description": "<BriarsBobbyBundleDescription:Bundles>",
|
||||
"tw_client_name": "<BriarsBobbyBundleName:Bundles>",
|
||||
"tw_client_type": "<BundleType:Bundles>",
|
||||
"tw_rarity": "crate"
|
||||
},
|
||||
"2003": {
|
||||
"Timestamp": "2018-01-09T19:30:03Z",
|
||||
"modified": "20180109T193003Z",
|
||||
"date_created": "20180109T193003Z",
|
||||
"type": "bundle",
|
||||
"display_type": "Bundle",
|
||||
"name": "Tanaka's Biker Bundle",
|
||||
"bundle": "2031x1;2032x1",
|
||||
"description": "Comes with Tanaka's Motorcycle Uniform (includes 7 skin styles) and Helmet Cosmetic Accessory (includes 7 skin styles) Not tradeable or marketable.",
|
||||
"background_color": "000000",
|
||||
"icon_url": "http://art.tripwirecdn.com/TestItemIcons/Bundle_BikerTanaka_96.png",
|
||||
"icon_url_large": "http://art.tripwirecdn.com/TestItemIcons/Bundle_BikerTanaka_360.png",
|
||||
"name_color": "7a0000",
|
||||
"tradable": "false",
|
||||
"marketable": "false",
|
||||
"commodity": "false",
|
||||
"drop_interval": "0",
|
||||
"drop_max_per_window": "0",
|
||||
"workshopid": "0",
|
||||
"tw_unique_to_own": "true",
|
||||
"item_quality": "0",
|
||||
"tw_price": "$4.99",
|
||||
"tw_type": "skc",
|
||||
"tw_client_visible": "1",
|
||||
"tw_icon_small": "CHR_Tanaka_01_Item_TEX.BikerUniform.UniformBundle_TanakaBiker",
|
||||
"tw_icon_large": "CHR_Tanaka_01_Item_TEX.BikerUniform.UniformBundle_TanakaBiker",
|
||||
"tw_description": "<TanakasBikerBundleDescription:Bundles>",
|
||||
"tw_client_name": "<TanakasBikerBundleName:Bundles>",
|
||||
"tw_client_type": "<BundleType:Bundles>",
|
||||
"tw_rarity": "crate"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue