Code Monkey home page Code Monkey logo

bl3-save-core's Introduction

Hi there ๐Ÿ‘‹

Metrics

bl3-save-core's People

Contributors

cfi2017 avatar cu3po42 avatar

Watchers

 avatar

Forkers

cu3po42

bl3-save-core's Issues

Valid weapon causes serializing to crash

I have obtained the following weapon as a drop in-game:

{
  "level": 60,
  "balance": "/Game/PatchDLC/Geranium/Gear/Weapon/_Unique/Gargoyle/Balance/Balance_PS_COV_Gargoyle.Balance_PS_COV_Gargoyle",
  "manufacturer": "/Game/Gear/Manufacturers/_Design/CoV.CoV",
  "inv_data": "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/WT_PS_COV.WT_PS_COV",
  "parts": [
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Body/Part_PS_COV_Body.Part_PS_COV_Body",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Elemental/Part_PS_COV_Ele_Corr.Part_PS_COV_Ele_Corr",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Barrel/Barrel_03/Part_PS_COV_Barrel_03_C.Part_PS_COV_Barrel_03_C",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Material/Part_PS_COV_Material_03_Rare.Part_PS_COV_Material_03_Rare",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Body/Part_PS_COV_Body.Part_PS_COV_Body",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Barrel/Barrel_03/Part_PS_COV_Barrel_03_A.Part_PS_COV_Barrel_03_A",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Grip/Part_PS_COV_Grip_02.Part_PS_COV_Grip_02",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Starter/Part_PS_COV_Starter_01.Part_PS_COV_Starter_01",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Barrel/Barrel_01/Part_PS_COV_Barrel_01.Part_PS_COV_Barrel_01",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Scope/Part_PS_COV_Scope_04.Part_PS_COV_Scope_04",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Accessory/Part_PS_COV_Accessory_01.Part_PS_COV_Accessory_01",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Body/Part_PS_COV_Body_B.Part_PS_COV_Body_B",
    "/Game/Gear/Weapons/Pistols/ChildrenOfTheVault/_Shared/_Design/Parts/Barrel/Barrel_01/Part_PS_COV_Barrel_01.Part_PS_COV_Barrel_01"
  ],
  "generics": [
    ""
  ],
  "overflow": "00000000100000001100110000000000000000000000000000000000000000000000000100001000011101010001001000100",
  "version": 59,
  "wrapper": {
    "item_serial_number": "A9ZqSRm2yQdcBJB4bZn53m0w05s3ZRDpdF4adncOsmARrEHREGQ=",
    "pickup_order_index": 0,
    "flags": 0,
    "weapon_skin_path": "",
    "development_save_data": null
  },
  "skipIntrospection": false
}

The above representation was obtained by reading a save that contains it. However, the conversion back to the save format fails with error

error converting items to save format: no asset found while serializing: InventoryGenericPartData[]

I'm not sure if this is an issue with the logic here or with an incomplete inventory_raw or balance_to_ink_key so feel free to move the issue elsewhere if it's more appropriate.

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.