Author Topic: Battle Size Changer v1.1 for M&B .700 - 1.011+  (Read 351574 times)

0 Members and 2 Guests are viewing this topic.

Janus

  • *spicy* *camper*
  • Administrator
  • *
    • View Profile
    • Mount&Blade Unofficial File Repository
  • Faction: Rhodok
  • WBWF&SM&B
Battle Size Changer v1.1 for M&B .700 - 1.011+
« on: February 14, 2006, 09:33:36 PM »
Download it Here (v1.1)

With this you can get around the game's battle size limit of 25-100 (24-72 or 14-40 in older M&B versions) and instead choose from 2 - 1000. Note that overly large battle sizes can crash M&B if your computer isn't able to handle them. If you experience crashes or serious slowdown, you should lower the battle size.
Don't expect to be able to have battles of size 1000 even if you have the latest and greatest hardware; the upper limit is that high simply to give plenty of leeway.

How to use this tool:
1. Make sure to have run M&B at least once so the configuration data files are created.
2. Make sure M&B is not running when you use this tool.
3. Run this tool, choose your desired battle size, then save and exit.
4. When you next run M&B, the desired battle size will be set (which can be confirmed on the options screen).


This is my remake of the Battle Size Changer originally created by Hardclyff which worked for versions older than .730.
This program will recognize and work with versions of M&B all the way back to .700. Future versions should be supported until the format of the options.dat file changes again.

It is packaged in an installer and will optionally create a desktop shortcut.
This is a completely standalone executable I made from scratch with no dependencies (no need for .NET framework, VB DLLs, etc.).
It keeps two backups of the options.dat file just in case with the extension ".bak" and ".orig". The ".orig" file is only created once and is a backup of your original unmodified file, while the ".bak" file is updated with a backup each time you save your changes within the program.

Thanks to Hardclyff for the original program along with an explanation of how it worked.
Here is a link to Hardclyff's old Battle Size Changer, which this new one replaces:
http://forums.taleworlds.net/viewtopic.php?t=3700


If you are interested in having larger battlefields so you don't have a few hundred combatants on a small battlefield, see this thread for some info on doing that:
http://forums.taleworlds.net/index.php/topic,16207.0.html


The latest version for M&B 1.0 is now available; all older releases of M&B are still supported by the latest version as well.

changes in v1.0.1:
  • Support for M&B .800's new options.dat file and location. Older versions are still supported as well.
  • The battle size limit has been increased from 400 to 1000 for those who want to crash their system or at the least run at a speed 1 frame every 30 seconds in battles that big. ;)
  • If you choose a size of over 200, it will notify you that you're risking crashing your system or suffering poor performance. If you choose a battle size of 400 or more, it will give a warning with a bit stronger wording. These warnings don't prevent you from choosing those battle sizes of course, they're just there to try to make sure you know what you're probably getting into.
changes in v1.0.2:
  • bugfix release. The only change past v1.0.1 is in how the location of the options.dat file for M&B .800 is determined. The method used in v1.0.1 was causing problems on some non-English Windows language versions.
changes in v1.0.4:
  • Support for M&B .801's new options.dat file and location. As before, older versions are still supported as well.
  • Bottom left corner of tool now displays the detected version of M&B which it has loaded the options.dat from, and which it will save to.
changes in v1.0.5:
  • Support for M&B .890 and it's modified battle size calculation method. As an example, the value for a battle size of 66 from the pre-.890 method gives a battle size of 120 using .890's calculations. Older versions of M&B are still supported the same as before.
changes in v1.1:
  • Support for M&B 1.0 and the modified battle size calculation method it uses. As before, older versions of M&B are still supported.
  • A few very minor UI changes.
« Last Edit: February 24, 2010, 04:31:46 PM by Janus »
Tomas asked Dolgan, "What place is this?"
The dwarf puffed on his pipe. "It is a glory hole, laddie. When my people mined this area, we fashioned many such areas."
     - Raymond E. Feist, Magician: Apprentice  (Riftwar Saga)

-GandalfTheGrey

  • Connétable
  • Squire
  • *
    • View Profile
  • Faction: Neutral
Battle Size Changer for M&B .730+
« Reply #1 on: February 14, 2006, 09:59:09 PM »
Neat work, thanks.

Ealdormann Hussey

  • Vargo Von Gruitz of Moldavia
  • Sergeant Knight
  • *
  • Bastard child of Wodehouse, Atë and Tartarus.
    • View Profile
    • MB Repository D/L
  • Faction: Neutral
Battle Size Changer for M&B .730+
« Reply #2 on: February 14, 2006, 10:09:04 PM »
good work, I was shocked when I found the old version didnt work on v.73
Quote from: The man who would be king
Not gods, Englishmen, the next best thing.

Raybur Ravenloc

  • Regular
  • *
    • View Profile
  • Faction: Sarranid
  • MP nick: Greenwolf
Battle Size Changer for M&B .730+
« Reply #3 on: February 14, 2006, 10:12:28 PM »
hmm, never tried the old one.. always meant to, never did, maybe now is the time..
throwing all the troops on both sides into the siege at once should prove...  interesting.. if it doesn't cause my computer to explode
rawr

duckmoose

  • Recruit
  • *
    • View Profile
  • NW
Battle Size Changer for M&B .730+
« Reply #4 on: February 14, 2006, 10:31:34 PM »
So now that we have greater battle sizes to test it on, is the performance of .730 better than that of .711?

Septa Scarabae

  • Knight at Arms
  • *
  • Mostly Harmless
    • View Profile
  • Faction: Neutral
Battle Size Changer for M&B .730+
« Reply #5 on: February 14, 2006, 10:36:32 PM »
Quote from: duckmoose
So now that we have greater battle sizes to test it on, is the performance of .730 better than that of .711?


Supposedly, though it seems to swing both ways.
(Mount & Blade) Artifex - Level 24 Master Knight
Scarabae Texture Pack v.2.9 (Updated 04.08.09)
Great Helm Add-On v.1.8 (Updated 5.12.09)

"Haha, I could just imagine you and Winter sitting there drinking moonshine and drawing sworddicks for Mount&Blade" -- NordMann

Liberious

  • Recruit
  • *
  • Dude, WTF is the deal with the monkey?
    • View Profile
Battle Size Changer for M&B .730+
« Reply #6 on: February 14, 2006, 10:38:11 PM »
So does this mod suck bollocks for lower level chars?

Ealdormann Hussey

  • Vargo Von Gruitz of Moldavia
  • Sergeant Knight
  • *
  • Bastard child of Wodehouse, Atë and Tartarus.
    • View Profile
    • MB Repository D/L
  • Faction: Neutral
Battle Size Changer for M&B .730+
« Reply #7 on: February 14, 2006, 11:00:37 PM »
its certainly better for more advanced characters
Quote from: The man who would be king
Not gods, Englishmen, the next best thing.

Septa Scarabae

  • Knight at Arms
  • *
  • Mostly Harmless
    • View Profile
  • Faction: Neutral
Battle Size Changer for M&B .730+
« Reply #8 on: February 14, 2006, 11:00:42 PM »
Quote from: Liberious
So does this mod suck bollocks for lower level chars?


Not if you change the counter to '1', lol.
(Mount & Blade) Artifex - Level 24 Master Knight
Scarabae Texture Pack v.2.9 (Updated 04.08.09)
Great Helm Add-On v.1.8 (Updated 5.12.09)

"Haha, I could just imagine you and Winter sitting there drinking moonshine and drawing sworddicks for Mount&Blade" -- NordMann

Janus

  • *spicy* *camper*
  • Administrator
  • *
    • View Profile
    • Mount&Blade Unofficial File Repository
  • Faction: Rhodok
  • WBWF&SM&B
Battle Size Changer for M&B .730+
« Reply #9 on: February 14, 2006, 11:09:10 PM »
Heh. It actually only goes down to 2; you're joking, I know, but still figured I'd point that out. I tested out the battle size of 2 and you tend to get 3 people on the battlefield: you, one enemy, and one friendly. Rather pitiful in practice, but I wanted the tool to give you freedom to choose as you wish. That would indeed make battles easy, if a whole hell of a lot longer to take them out one by one.

The max number I used is basically arbitrary; I could set the max to something like 2000, but I'm willing to bet a battle that big would bomb the game out on even the best hardware.
Tomas asked Dolgan, "What place is this?"
The dwarf puffed on his pipe. "It is a glory hole, laddie. When my people mined this area, we fashioned many such areas."
     - Raymond E. Feist, Magician: Apprentice  (Riftwar Saga)

Olorin

  • Sergeant
  • *
    • View Profile
Battle Size Changer for M&B .730+
« Reply #10 on: February 14, 2006, 11:41:13 PM »
Quote from: Janus
Heh. It actually only goes down to 2; you're joking, I know, but still figured I'd point that out. I tested out the battle size of 2 and you tend to get 3 people on the battlefield: you, one enemy, and one friendly. Rather pitiful in practice, but I wanted the tool to give you freedom to choose as you wish. That would indeed make battles easy, if a whole hell of a lot longer to take them out one by one.

The max number I used is basically arbitrary; I could set the max to something like 2000, but I'm willing to bet a battle that big would bomb the game out on even the best hardware.


i had that tool a while back and had it set to 75..no problem but for some reason when my party (at that time around 10) engaged a riverpirate party (around 4-10) we still ended up with 75 NPCs on the field....somehow extra npcs were created in the imag eof my own and of my enemies and i had to fight those huge battles no matter what...

was this normal, if yes is there a way to change it, if no is there a way i could fix it?

Janus

  • *spicy* *camper*
  • Administrator
  • *
    • View Profile
    • Mount&Blade Unofficial File Repository
  • Faction: Rhodok
  • WBWF&SM&B
Battle Size Changer for M&B .730+
« Reply #11 on: February 14, 2006, 11:45:14 PM »
Quote from: Olorin
for some reason when my party (at that time around 10) engaged a riverpirate party (around 4-10) we still ended up with 75 NPCs on the field....somehow extra npcs were created in the imag eof my own and of my enemies and i had to fight those huge battles no matter what...

was this normal, if yes is there a way to change it, if no is there a way i could fix it?

Definitely not normal, it should only allow up to that many troops rather than creating clones to reach that number. What version of M&B did this happen on, and did you use the old Battle Size Changer on it?
Tomas asked Dolgan, "What place is this?"
The dwarf puffed on his pipe. "It is a glory hole, laddie. When my people mined this area, we fashioned many such areas."
     - Raymond E. Feist, Magician: Apprentice  (Riftwar Saga)

duckmoose

  • Recruit
  • *
    • View Profile
  • NW
Battle Size Changer for M&B .730+
« Reply #12 on: February 15, 2006, 12:22:32 AM »
I believe I remember a similar incident in the Lost Days mod on .711.

InferiorBeing

  • Knight
  • *
  • General Misanthrope.
    • View Profile
  • Faction: Neutral
Battle Size Changer for M&B .730+
« Reply #13 on: February 15, 2006, 10:40:27 PM »
Aah. Very nice. I like it better than the first one for the following reasons:

*It works on 7.30, (Duuh! :P );

*It's much cleaner and sexier in design;

*It goes to 400 instead of 414. I allways wondered why exactly Hardclyff chose the extra 14... 400 makes more sense;

*Desktop icon;

*Don't need .NET;

*Like the new icon.

Sweet... :D
"My candle burns at both its ends; it will not last the night,
But to all my foes and all my friends, it gives a lovely light."

-Roald Dahl (I think.)

Janus

  • *spicy* *camper*
  • Administrator
  • *
    • View Profile
    • Mount&Blade Unofficial File Repository
  • Faction: Rhodok
  • WBWF&SM&B
Battle Size Changer for M&B .730+
« Reply #14 on: February 16, 2006, 08:37:17 AM »
Thanks.

One other thing I meant to detail a little further. It determines the needed changes based on the size of options.dat (which is how it detects versions .711 and lower and works on them) and edits accordingly. As future versions of M&B add new game options, the file size should again change and this program will detect that. It will notify you that it won't work rather than writing to the wrong place in the file like the old Battle Size Changer.
So, a small measure of foolproofing. :wink:

When future versions of M&B come out I can easily add in support for them as well.
Tomas asked Dolgan, "What place is this?"
The dwarf puffed on his pipe. "It is a glory hole, laddie. When my people mined this area, we fashioned many such areas."
     - Raymond E. Feist, Magician: Apprentice  (Riftwar Saga)