diff --git a/README.md b/README.md index eec7959..bd22dc7 100644 --- a/README.md +++ b/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. diff --git a/files_example/steam_settings.EXAMPLE/items.EXAMPLE.json b/files_example/steam_settings.EXAMPLE/items.EXAMPLE.json new file mode 100644 index 0000000..978255e --- /dev/null +++ b/files_example/steam_settings.EXAMPLE/items.EXAMPLE.json @@ -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": "", + "tw_client_name": "", + "tw_client_type": "", + "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": "", + "tw_client_name": "", + "tw_client_type": "", + "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": "", + "tw_client_name": "", + "tw_client_type": "", + "tw_rarity": "crate" + } +} \ No newline at end of file