Scenario MAX size limitation

This new Commander's Edition of Harpoon Classic includes land units, neutral and unknown sides, an improved radar and area ECM model and a host of other improvements. Rounding that out are over 200 scenarios and the WestPac Battleset. Try out this great new version of the classic Harpoon!
Post Reply
User avatar
erict
Posts: 38
Joined: Mon Oct 28, 2002 3:22 pm
Location: Barcelona
Contact:

Scenario MAX size limitation

Post by erict »

Hey guys,

I've been using the scenario editor to create a new scenario. Unfortunately when I try to play it I get a general protection fault error. The scenario has a lot of units so I'm thinking maybe there is a limit to how many are allowed. Is there a max # of units?

Under scenario anaylysis there's an option to estimate memory, is there a max for this before Harpoon won't load the scenario?

Estimate Memory

Estimated free memory required to run this scenario : 750K

Thanks!
User avatar
TonyE
Posts: 1582
Joined: Mon May 22, 2006 9:50 pm
Location: MN, USA
Contact:

RE: Scenario MAX size limitation

Post by TonyE »

There is no exact size limitation, 750k free memory required means quite the large scenario though.  I'd be interested in taking a look at the scenario if you zip it up and post it here or zip and send to HC3@harpgamer.com.
 
 
Sincerely,
Tony Eischens
Harpoon (HC, HCE, HUCE, Classic) programmer
HarpGamer.com Co-Owner
User avatar
erict
Posts: 38
Joined: Mon Oct 28, 2002 3:22 pm
Location: Barcelona
Contact:

RE: Scenario MAX size limitation

Post by erict »

Ok here you go:
http://download.yousendit.com/7DD5412A04468014

Basically all it is is the operations shield scenario in westpac. I changed the Japanese OOB to reflect their current setup and added South Korea Air Force OOB + 1 Virginia SSN. I would flesh out the NK forces but it's already crashing.

It crashes every time I try to load it.
User avatar
TonyE
Posts: 1582
Joined: Mon May 22, 2006 9:50 pm
Location: MN, USA
Contact:

RE: Scenario MAX size limitation

Post by TonyE »

Thanks, it is crashing because you have a group with no units in it. The SE doesn't explicitly prevent you from doing this. If you open the scenario in the SE and delete group CNR. I've added some code that will hopefully prevent such crashes in future releases of the game, until then (and even then), empty groups are not a good thing to have as a scenario designer.

I'll e-mail you a copy of the scenario with that group removed.
Sincerely,
Tony Eischens
Harpoon (HC, HCE, HUCE, Classic) programmer
HarpGamer.com Co-Owner
User avatar
erict
Posts: 38
Joined: Mon Oct 28, 2002 3:22 pm
Location: Barcelona
Contact:

RE: Scenario MAX size limitation

Post by erict »

Oh, thanks for pointing that out. I didn't realize I had an empty group, lol[:D]

Was that group off the map by any chance? I can't find CNR. How did you find it?
User avatar
TonyE
Posts: 1582
Joined: Mon May 22, 2006 9:50 pm
Location: MN, USA
Contact:

RE: Scenario MAX size limitation

Post by TonyE »

I spent way too much time last night/this morning figuring out why a certain scenario wouldn't open in the scenario editor (SE).  At present one hard limitation is that the SE will usually not open a scenario that takes up more than 65536 bytes on disk.  This is a side effect of being a 16-bit program and how scenarios are loaded and created.  The most annoying thing about this limitation is that you can create a scenario larger than that in the scenario editor, you just cannot come back and edit it again later.
 
I'm hoping bretm gives me some miracle cure for this one but it appears any 'fix' would take a lot of code and debugging.
Sincerely,
Tony Eischens
Harpoon (HC, HCE, HUCE, Classic) programmer
HarpGamer.com Co-Owner
Divefreak
Posts: 119
Joined: Sun Jul 02, 2006 8:18 am

RE: Scenario MAX size limitation

Post by Divefreak »

ORIGINAL: erict

Oh, thanks for pointing that out. I didn't realize I had an empty group, lol[:D]

Was that group off the map by any chance? I can't find CNR. How did you find it?


Jump trough the groups with space bar...
My dbs: HC-65to80-DB and HC-80to95-DB, get it via www.harpgamer.com
User avatar
ETF
Posts: 1767
Joined: Thu Sep 16, 2004 12:26 pm
Location: Vancouver, Canada

RE: Scenario MAX size limitation

Post by ETF »

So then what is the scenario limitations then? Make a scenario larger than the 65k and it will but you cannot return and make additions in the SE?
What does 65 k get you? How many units approx on the map?
 
Thx
My Top Matrix Games 1) CMO MP?? 2) WITP/AE 3) SOW 4) Combat Mission 5) Armor Brigade

Twitter
https://twitter.com/TacticWargamer
Divefreak
Posts: 119
Joined: Sun Jul 02, 2006 8:18 am

RE: Scenario MAX size limitation

Post by Divefreak »

ORIGINAL: ETF

So then what is the scenario limitations then? Make a scenario larger than the 65k and it will but you cannot return and make additions in the SE?
What does 65 k get you? How many units approx on the map?

Thx

I can only tell you what you´ll get for 42kb.

A really nasty monster...

Image

Image
My dbs: HC-65to80-DB and HC-80to95-DB, get it via www.harpgamer.com
User avatar
CV32
Posts: 1046
Joined: Mon May 15, 2006 4:36 pm
Location: The Rock, Canada
Contact:

RE: Scenario MAX size limitation

Post by CV32 »

ORIGINAL: ETF
So then what is the scenario limitations then? Make a scenario larger than the 65k and it will but you cannot return and make additions in the SE? What does 65 k get you? How many units approx on the map? Thx

65k gets you a scenario that is probably unworkable from a player's point of view. Just too much happening at once to keep a sensible track of, and you'll likely be bombarded by staff reports.

As you can see from Rene's "Oil" scenario, at 42k you're still getting over 1,300 aircraft. Plenty for a 'monster' scenario that's still playable if you do a good job of setting it up.
Brad Leyte
HC3 development group member for HCE
Author of HCDB official database for HCE
Harpgamer.com Co-Owner
User avatar
ETF
Posts: 1767
Joined: Thu Sep 16, 2004 12:26 pm
Location: Vancouver, Canada

RE: Scenario MAX size limitation

Post by ETF »

Too bad no MP games to help you with this  :)
 
Thx
My Top Matrix Games 1) CMO MP?? 2) WITP/AE 3) SOW 4) Combat Mission 5) Armor Brigade

Twitter
https://twitter.com/TacticWargamer
User avatar
TonyE
Posts: 1582
Joined: Mon May 22, 2006 9:50 pm
Location: MN, USA
Contact:

RE: Scenario MAX size limitation

Post by TonyE »

[:D] agreed
Sincerely,
Tony Eischens
Harpoon (HC, HCE, HUCE, Classic) programmer
HarpGamer.com Co-Owner
SteveF2006
Posts: 111
Joined: Sun Nov 05, 2006 3:39 pm

RE: Scenario MAX size limitation

Post by SteveF2006 »

Oh come on!  That's when Harpoon is the Best!!!! Many inbound aircraft & Missiles, Subs detected nearby, several surface group on intercept course, land units under attack..... just another day at the office! [:@]
 
For those of you that haven't played this, the WWIII scenario that is available at Harpgamer.com is one of the most intense multi-faceted games you'll ever play. [:'(] There are basically four separate large engagements happening simultaneously in Japan, South Korea, Taiwan and Vietnam. Plus there are a few minor conflicts too! It is one of those scenarios that you can't open with the SE because of it's size. You have to spend the first couple of minutes rapidly setting formations and aircraft load outs through out the entire area. Great fun, take ALL of your heart medication prior to playing this non-stop action scenario!! [&o]
 
Post Reply

Return to “Larry Bond's Harpoon - Commander's Edition”