Jump to content


[Solved] Experience lowering to 2.95M in BWP 14.3

BWP BGT exp cap 29500000

  • Please log in to reply
11 replies to this topic

#1 Rudi

  • Member
  • 4 posts

Posted 13 December 2014 - 02:35 PM

Hello everybody!
I have the problem of char experience getting lowered to 2.95 million after loading the game.
This happens in BG1/SoA part of a BGT game however not in ToB. I can raise it over the cap with console but it resets after reloading.

After searching the forum I found only 4+ years topics about CtB, which I haven't installed.
My installation is from Big world setup 14.3("recommended" version without a few minor mods ), i have xp cap remover from bg2 tweaks installed. System: Win7 x64, 2,5 GHz Proc, 4GB Ram
I have searched scripts but found nothing. 
Can anybody help find the cause of it, any advice is appreciated?


Weidu log:




Edited by Rudi, 16 January 2015 - 04:51 AM.

#2 enkku

  • Member
  • 16 posts

Posted 14 December 2014 - 11:28 AM

I'm by no means a modder, so a confirmation about this would be nice, but I think in this case it's just something else patching bgmain.exe wrong. Although the fix is for Check the Bodies, I think you could use it in this case also. After all, it just changes one value in bgmain.exe.  

The fix : 

Attached Files

Edited by enkku, 14 December 2014 - 11:30 AM.

#3 Rudi

  • Member
  • 4 posts

Posted 14 December 2014 - 01:23 PM

Thank You very much! It worked. Exp stays above 2.95M after reload.


Btw. I made an observation that on an older savegame (from vanilla BG2 install) the exp. didnt reset.

If any modding guru has an explanation for the cause feel free to post it here.

Other than that problem solved.

#4 tomkaz

  • Member
  • 992 posts


Posted 14 December 2014 - 04:26 PM

CtBXPFix.zip changes the max experience to 25,000,000 from 2,950,000.  If you want a higher XP cap or want to do it the hard way here is how.  If you search for "change experience cap" or something like that, you will find the original post.  I forgot who submitted the fix.


This is the hard way,   Get yourself a HEX Editor. I got the free version of HEX EDITOR Neo.  Works great.   Your going to edit BGMain.exe so be sure to make a copy.  With the HEX Editor, find the line 00 6B 72 60.  The first for numbers will be 70 03 2D 00.  CtBXPFix.zip changes these to 40 78 7D 01.  25,000,000 in hex is 01 7D 78 40.  NOTE the numbers are entered in reverse order.  The game was tested up to 50,000,000.


If you are not happy with 25,000,000, you can use a HEX to DEC converter (many on the Internet) to add any value you want.  Just remember if you use a hex editor, to put them in in reverse order.  The easier way is to edit Setup-YacomoPatch.tp2.  In the last line, change the ~0x017D7840~ value to whatever value you want.  50,000,000 is 02FAF080.


HEX numbers are two digits separated by a space.  Letters in the HEX numbers can be upper or lower case, but use upper case to be certain you get what you want.



#5 c4_angel

  • Member
  • 18 posts

Posted 16 January 2015 - 04:06 AM

Just add this to any tp2 file, and replace value to the number of exp you want, whatever in HEX or not.


COPY bgmain.exe bgmain.exe
  WRITE_LONG 0x006B7260 value

#6 Rudi

  • Member
  • 4 posts

Posted 16 January 2015 - 04:50 AM

Thanks, I got it working the first time. 

Topic solved.

#7 Creepin

  • Administrator
  • 1676 posts

Posted 30 March 2015 - 12:38 AM

Yep, the fix is neat to have, but I feel the issue is far from solved: it means that either "lvl 50 rules" subcomponent of what-mod-was-containing-it stopped working or something overwrites it back to vanilla state. If anybody capable to investigate it, it would be really cool!

The Old Gold - v0.2 WIP (mod for BGT/BWP/BWS)

#8 Mad Mate

Mad Mate
  • Member
  • 191 posts

Posted 30 March 2015 - 11:42 AM

I'm also curious about this. Almost all, how have this bug, have this installed (standard in BWS & BWP setup):

~BG2_TWEAKS/SETUP-BG2_TWEAKS.TP2~ #0 #2090 // Change Experience Point Cap -> Remove Experience Cap: v16

 relatively late in install order.

Does this mean it doesn't work?
After inspecting BG2_tweaks.tp2 it seems this component doesn't edit exe, but expand 2da's , so is it exe editing required for removing XP Cap?

Edited by Mad Mate, 30 March 2015 - 11:43 AM.

#9 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 4905 posts

Posted 30 March 2015 - 12:40 PM

The point cap and the start point is a different thing... the cap is in the xpcap.2da file while the xp start point is in the bgmain.exe ... at least in the BG2ToB game, unless there's some back handed approach from the old game days, and that no one should be touch the bgmain.exe today. It's understandable if the game had that before the Bg2 ToB came out, but after... that's just NO !

So what ever adds the cap should burn in hell.

Edited by The Imp, 30 March 2015 - 12:42 PM.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.

#10 -agnes-

  • Guest

Posted 31 March 2015 - 04:52 AM

I'm just throwing an idea here but I think I read that Longer Road reinstates the cap? I believe it says so in its readme. I also think it said something about that it doesn't matter if you have removed the cap or not. I guess that can mean that it reinstates the limit by script somehow? Which could explain what you are seeing.

#11 Misant

  • Member
  • 8 posts

Posted 01 April 2015 - 02:52 AM

I have the issue, I don't know if this can help but here is the content of all my xpcap.2da :

(WeiDU.log in attachment)


First : file location




Second : content in location order :










Attached Files

Edited by Misant, 01 April 2015 - 02:53 AM.

#12 -distance20-

  • Guest

Posted 07 March 2016 - 06:48 AM


bg2 tweak V16's xpcap.2da was error

the value 2950000 should be  -1     

use dltcep  can edit it     

Also tagged with one or more of these keywords: BWP, BGT, exp, cap, 29500000