I made a small console program in C:
1) Processes all *.PRO files from @START to @END (eg. from 00000001.PRO to 00000550.PRO) at once in current dir.
2) reads item cost (4 bytes in 0x0030 offset)
3) divide it by @DIV (eg. Metal armor was 1100 will be 220)
4) if cost after division become 0 (and it was >0 before), it will be set to 1.
@START @END @DIV - optional parameters.
I think it could be useful in conjunction with this great mod to balance the game (MEGAMOD or RP or anything).
For example, I set MaximumBarterPercent=700, BarterPointSpread=2.5 in Barter mod. Then I reduced prices of all items by 5. Thus buying prices will be more then vanilla (40%) if your barter skill is 0 and will be about 2/5 of vanilla prices if barter skill = 200..300 (depend on merchant's skill).
Link and instructions:
[spoiler:2db1c77f0f]
Download link
Usage:
1) MAKE A BACKUP of all your PROTO folder!!! (in case something goes wrong)
2) Copy EXE and CMD files directly in "Fallout 2\data\Proto\Items"
3) Edit CMD file if you want to change parameters (first and second - says what PRO files to process, third - is the divisor)
4) Launch EXE ONLY ONCE! File "LOG.txt" will be created telling what was changed.
5) Check item cost values in game or by f2wedit tool.
[/spoiler:2db1c77f0f]