Giter Site home page Giter Site logo

lennardf1989 / bg3-bagsofsorting Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 0.0 11.75 MB

A command-line and GUI tool for Baldur's Gate 3 to generate custom inventory bags, modify treasure tables and search for items without extracting game-files!

Home Page: https://www.nexusmods.com/baldursgate3/mods/1374

License: GNU Lesser General Public License v2.1

C# 100.00%
bags bg3 tool

bg3-bagsofsorting's People

Contributors

lennardf1989 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

bg3-bagsofsorting's Issues

Add support for carry weight reduction

So i know there is a mod for the bag of holdings which lets you hold more by lowering the weight of each item added and then returning it back to its normal weight after taken out. kinda like the chest of mundane. i was just wondering if that would be possible to add like weight reduction in and for the bags. could be set as an option for those who dont want the hoarding feeling

Cannot generate Bags

When I try to generate BagsOfSorting.pak it errors out. See below

PS C:\Users\rober\Downloads\New folder (2)> .\BG3.BagsofSorting.exe --generate-bags
Microsoft (R) DirectX Texture Converter [DirectXTex] Version 2023.6.14.1
Copyright (C) Microsoft Corp.

reading C:\Users\rober\Downloads\New folder (2)\Output\Bags\Public\GustavDev\Assets\Textures\Icons\BOS_b86dddf5b40144489745d47ffa9d8aab.png (64x64 B8G8R8A8_UNORM 2D) as (64x64,7 BC3_UNORM 2D a:NonPM)
writing C:\Users\rober\Downloads\New folder (2)\Output\Bags\Public\GustavDev\Assets\Textures\Icons\BOS_b86dddf5b40144489745d47ffa9d8aab.dds
Microsoft (R) DirectX Texture Converter [DirectXTex] Version 2023.6.14.1
Copyright (C) Microsoft Corp.

reading C:\Users\rober\Downloads\New folder (2)\Output\Bags\Public\Game\GUI\Assets\Tooltips\ItemIcons\BOS_b86dddf5b40144489745d47ffa9d8aab.png (380x380 B8G8R8A8_UNORM 2D) as (380x380,9 BC3_UNORM 2D a:NonPM)
writing C:\Users\rober\Downloads\New folder (2)\Output\Bags\Public\Game\GUI\Assets\Tooltips\ItemIcons\BOS_b86dddf5b40144489745d47ffa9d8aab.dds
Unhandled exception. System.IO.FileNotFoundException:
File name: 'C:\Users\rober\Downloads\New folder (2)\LSLibNative.dll'
at LSLib.LS.BinUtils.CompressLZ4(Byte[] uncompressed, CompressionLevel compressionLevel, Boolean chunked)
at LSLib.LS.BinUtils.Compress(Byte[] uncompressed, CompressionMethod method, CompressionLevel compressionLevel, Boolean chunked)
at LSLib.LS.LSFWriter.Write(Resource resource)
at BG3.BagsOfSorting.Program.ConvertLSXToLSF(String lsxPath, String lsfPath) in G:\Projects\Lennard\BG3.BagsOfSorting\Src\BG3.BagsOfSorting\Program.cs:line 624
at BG3.BagsOfSorting.Program.GenerateRootTemplate(Bag bag, String outputPath) in G:\Projects\Lennard\BG3.BagsOfSorting\Src\BG3.BagsOfSorting\Program.cs:line 453
at BG3.BagsOfSorting.Program.GenerateBag(BagConfiguration bagConfiguration, Bag bag) in G:\Projects\Lennard\BG3.BagsOfSorting\Src\BG3.BagsOfSorting\Program.cs:line 294
at BG3.BagsOfSorting.Program.GenerateBags() in G:\Projects\Lennard\BG3.BagsOfSorting\Src\BG3.BagsOfSorting\Program.cs:line 276
at BG3.BagsOfSorting.Program.Main(String[] args) in G:\Projects\Lennard\BG3.BagsOfSorting\Src\BG3.BagsOfSorting\Program.cs:line 163

PS C:\Users\rober\Downloads\New folder (2)> dir
Directory: C:\Users\rober\Downloads\New folder (2)
Mode LastWriteTime Length Name


d----- 8/24/2023 9:26 AM Content
d----- 8/25/2023 12:57 PM Output
d----- 8/25/2023 12:56 PM TXT files and Pouch of Wonders
-a---- 8/24/2023 9:22 AM 22516807 BG3.BagsOfSorting.exe
-a---- 8/24/2023 9:22 AM 15336 BG3.BagsOfSorting.pdb
-a---- 8/24/2023 9:22 AM 31 Command - Add Bag.bat
-a---- 8/24/2023 9:22 AM 42 Command - Export Atlas Icons.bat
-a---- 8/24/2023 9:22 AM 37 Command - Generate Bags.bat
-a---- 8/24/2023 9:22 AM 228352 LSLibNative.dll

PS C:\Users\rober\Downloads\New folder (2)> Get-ChildItem -Path "C:\Users\rober\Downloads\New folder (2)\Content"
Directory: C:\Users\rober\Downloads\New folder (2)\Content
Mode LastWriteTime Length Name


d----- 8/24/2023 9:22 AM Custom
d----- 8/24/2023 9:22 AM Stock
-a---- 8/24/2023 9:22 AM 3483 Bags.example.json
-a---- 8/24/2023 10:08 AM 5730 Bags.json

PS C:\Users\rober\Downloads\New folder (2)> Get-ChildItem -Path "C:\Users\rober\Downloads\New folder (2)\Output"
Directory: C:\Users\rober\Downloads\New folder (2)\Output
Mode LastWriteTime Length Name


d----- 8/25/2023 12:57 PM Bags
d----- 8/24/2023 9:25 AM Icons

PS C:\Users\rober\Downloads\New folder (2)> Get-ChildItem -Path "C:\Users\rober\Downloads\New folder (2)\Output\Bags"
Directory: C:\Users\rober\Downloads\New folder (2)\Output\Bags
Mode LastWriteTime Length Name


d----- 8/25/2023 12:57 PM Localization
d----- 8/25/2023 12:57 PM Public
-a---- 8/24/2023 10:08 AM 5730 Bags.json

PS C:\Users\rober\Downloads\New folder (2)>

Few questions

Hello,

was trying out your mod, but I'm a little bit confused on the setup & usage.

BG3 BagsOfSorting_zZWsQIsNNk

I started with something simple, and I just want to create a bag to hold only torches, and have torches fill it automatically.

  1. How do we constrain a bag to only allow certain items? is it based on the icon we set?

  2. how does the auto pickup condition work? the description in readme seems to imply it can't work, but the field is there.
    what should a script to autofill torches look like?

Additional functionality: Generate a standalone mod - QUESTIONS

According the readme:

If you do not want to use Pouch of Wonders, because you are already using something else, the GUI now has the possibility to generate a standalone mod to work with the game.

Simply changes the Folder-value in the Treasure Table-tab to something other than PouchOfWonders. Set the Name-value to your desired TreasureTable, for example T_TUT_Chest_Potions for the Tutorial Chest.

  1. Give the screen example. What settings must be:
    image

  2. Where to get the custom bag in GAME ?

๐Ÿ‘Ž

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.