Page 2 of 2

Re: Baldur's Gate - Dark Alliance II

Posted: Thu Aug 18, 2022 6:19 am
by sanitka
kurekong wrote:
Thu Aug 18, 2022 2:31 am
sanitka wrote:
Wed Aug 17, 2022 8:29 pm

Change the Max Weight attribute ;) (but it keeps recalculating each time you change equipment) or give yourself an incredible strength ;)
It doesn’t work at my end.
I wonder if it’s possible to manipulate ENDURANCE bonuses 🤔
STR = 30 & 5 Endurance gives you about 525 carrying weight.

This is very old game, most of the values are hard-coded somewhere, so there is definitely a table or an equation for it, but not easy to find.

Re: Baldur's Gate - Dark Alliance II

Posted: Thu Aug 18, 2022 4:47 pm
by kurekong
sanitka wrote:
Thu Aug 18, 2022 6:19 am

Change the Max Weight attribute ;) (but it keeps recalculating each time you change equipment) or give yourself an incredible strength ;)

STR = 30 & 5 Endurance gives you about 525 carrying weight.

This is very old game, most of the values are hard-coded somewhere, so there is definitely a table or an equation for it, but not easy to find.
Understood. Thanks anyway. ;)

Now I wonder if this works on pc :?:

[Link]

Re: Baldur's Gate - Dark Alliance II

Posted: Thu Aug 18, 2022 7:05 pm
by sanitka
kurekong wrote:
Thu Aug 18, 2022 4:47 pm
Understood. Thanks anyway. ;)

Now I wonder if this works on pc :?:

[Link]
No it can not - those are patches for PSX Emulator ie the same we try to do in CE but trying to convert PSX patch to CE is like converting a horse-cart to a car ;).

Re: Baldur's Gate - Dark Alliance II

Posted: Fri Aug 19, 2022 2:10 am
by kurekong
sanitka wrote:
Thu Aug 18, 2022 7:05 pm

No it can not - those are patches for PSX Emulator ie the same we try to do in CE but trying to convert PSX patch to CE is like converting a horse-cart to a car ;).
Oof. I hope we can find out how to modify carrying capacity one day. Thanks :)

Re: Baldur's Gate - Dark Alliance II

Posted: Fri Aug 19, 2022 10:47 am
by sanitka
kurekong wrote:
Fri Aug 19, 2022 2:10 am
Oof. I hope we can find out how to modify carrying capacity one day. Thanks :)
Weight in CE fixed, there was the static address instead of a relative one, thus in 1.0.3.2 it displayed a wrong value :(

Re: Baldur's Gate - Dark Alliance II

Posted: Fri Aug 19, 2022 1:06 pm
by kurekong
sanitka wrote:
Fri Aug 19, 2022 10:47 am


Weight in CE fixed, there was a static instead of relative address, thus in 1.0.3.2 it displayed wrong value :(

Sweet! Thanks as always! 🙏🏽👌🏼😁

EDIT: Best is to edit current weight & not max weight as it tends to crash.

Re: Baldur's Gate - Dark Alliance II

Posted: Mon Sep 12, 2022 2:37 pm
by boekazak
Looks like DA2 got updated to 1.0.4.1 on GOG. Steam was also updated 4 days ago. No changelog.

The previous table doesn't work anymore though.

Re: Baldur's Gate - Dark Alliance II

Posted: Tue Sep 13, 2022 9:30 pm
by sanitka
boekazak wrote:
Mon Sep 12, 2022 2:37 pm
Looks like DA2 got updated to 1.0.4.1 on GOG. Steam was also updated 4 days ago. No changelog.

The previous table doesn't work anymore though.
What prevents you from updating it ? ;)

Re: Baldur's Gate - Dark Alliance II

Posted: Tue Sep 13, 2022 9:48 pm
by boekazak
sanitka wrote:
Tue Sep 13, 2022 9:30 pm
boekazak wrote:
Mon Sep 12, 2022 2:37 pm
Looks like DA2 got updated to 1.0.4.1 on GOG. Steam was also updated 4 days ago. No changelog.

The previous table doesn't work anymore though.
What prevents you from updating it ? ;)
No hablo inglés. ;)

Re: Baldur's Gate - Dark Alliance II

Posted: Tue Sep 13, 2022 10:03 pm
by sanitka
boekazak wrote:
Tue Sep 13, 2022 9:48 pm
No hablo inglés. ;)
No hablo español. ;)
Aprende inglés o intenta usar el traductor. Para la mayoría de los usuarios, el inglés no es su idioma nativo.

Re: Baldur's Gate - Dark Alliance II

Posted: Tue Sep 13, 2022 11:48 pm
by boekazak
sanitka wrote:
Tue Sep 13, 2022 10:03 pm
boekazak wrote:
Tue Sep 13, 2022 9:48 pm
No hablo inglés. ;)
No hablo español. ;)
Aprende inglés o intenta usar el traductor. Para la mayoría de los usuarios, el inglés no es su idioma nativo.
You called my bluff. :D

Re: Baldur's Gate - Dark Alliance II

Posted: Fri Sep 16, 2022 3:46 pm
by boekazak
I did some testing and I think I figured out what Flag 5&6 do on items:

They keep track of the amount of runestones and gems in your items, and also the second type of gem in an item.
Spoiler
Flag 5 ~ Runestone Amount /16 | Runestone Amount (Remainder of Num 1) | Nothing | Second Gem Type (Same As Flag 4 Num 2)
Flag 6 ~ Second Gem Amount/16 | Second Gem Amount (Remainder of Num 1) | First Gem Amount/16 | First Gem Amount (Remainder of Num 3)
So for example:
Flag 5 = 490C means an item has 4*16+9(=73) Runestones and has Jade as a second gem (C=Of Corruption=Jade)
Flag 6 = 2317 means the item has 2*16+3(=39) gems in the second slot and 1*16+7(=23) gems in the first slot

If someone wants to edit items to +15(max) with specific qualities and attributes, they need to change:
Flag 1 to +15
Flag 4 to first desired gem and desired item quality
Flag 5 to required runestone amount and second desired gem
Flag 6 to required second and first gem amounts

Runestone/Gem amounts are multiples of 16, so for +15 you need 176 of each in an item. You might notice that 176/16 is just 11, that's because the game adds +4 to the finished calculation if the gem/runestone count is equal to or greater than 16 (the first multiple of 16).

It does this because the +1...+4 range on items requires less gems/runestones than 16, so by the time you'd reach 16 of each, the item would already be at +4.

Edit: Forgot to thank you for the quick update @sanitka !

Re: Baldur's Gate - Dark Alliance II

Posted: Thu Mar 30, 2023 4:50 pm
by SkullKidDanzen
The more item pickup script is crashing

Re: Baldur's Gate - Dark Alliance II

Posted: Wed Jul 19, 2023 2:51 am
by flutterJackdash
I've been working steadily at producing the following information:
Hex Table
Image
I've made this in order to decipher the way that item stats work. I've labelled the flags as I've come to understand them myself. It isn't overly complicated, but I also haven't gotten to everything yet.
Gem Combinations Table
Image
For use with the Gem Identifier Table
Gem Identifier Table
Image
Used with the "First Gem" and "Second Gem" spots.
I've attached a table I've created which corresponds to these values and codes, and is pretty well organized so far. It's just not yet complete.

I worked somewhat off of sanitka's work, but then I started from scratch and gathered all of the information on my own. So if I'm not relating to any other post, it's because I didn't backtrack to any of them before I did this.

All tested and confirmed on Steam Version of Baldur's Gate: Dark Alliance II

Edit: If the math checks out, then each of the 3 tabs of Inventory can hold up to 64 items.
Edit: Weapon Lists now include Twinkle and Icingdeath