Need testers for new editor

Loading a custom BIQ, I'm getting the following:

Spoiler :
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Steph_CivIII_ExpandedEditor.Objects.Race.BuildItem(Boolean CheckFile)
at Steph_CivIII_ExpandedEditor.Forms.FormRACE.UpdateRaces(Boolean IncludeMainList)
at Steph_CivIII_ExpandedEditor.Forms.FormRACE.UpdateForm()
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.UpdateForm()
at Steph_CivIII_ExpandedEditor.Forms.MainEditor.OpenScenario(Boolean Expanded)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Did you guys figure out what this was? I'm receiving the same error. I jut installed Microsoft .NET Framework 4 for Windows 7 and it still occurs for all biqs.
 
This was an "unexpected feature". I did nothing specific for that, but was surprised to see the Palace back. I couldn't locate the difference between a save game with the Palace back and without.
 
You need 3.5 not 4

OK, I removed version 4. Verified that I had framework installed (it came with the OS) and that 3.5 was checked in 'Turn Windows features on'. Redownloaded the editor just to make sure. Same error message when opening Biqs.

Hope we can find out the error. I've been spoiled by your editor and life without it would be grim.
 
I have the Palace view with mods too!
Perhaps something to do with the french version of civ3?
 
You also need the .biq to be uncompressed.

Same error message for compressed and uncompressed Biq files, and both Firaxis scenarios and custom scenarios. Compressed files hadn't been a problem before, and the editor still gives the option to uncompress any file that had been compressed when saved with the Friaxis editor.
 
I came into a problem weiith your Expanded Editor v 0.8.2. when trying to adjust and enhance AoI from El Justo.
I can say that this is the first time loading into a scenario I came upon this problem. MAll other scenarios I tested works fine.
So would you be so kind and see what´s the problem with this biq-file.
AoI4.1-31civs-FULL.biq

This is the message I got

System.ArgumentOutOfRangeException: Value on 1145128268 n för Value. Value ska vara mellan 'Minimum' och 'Maximum'.
Hm translated its something like Value should be something between Min and Max

Parameternamn: Value
vid System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
vid Steph_CivIII_ExpandedEditor.Forms.FormGAME_SCEN.UpdateGAME()
vid Steph_CivIII_ExpandedEditor.Forms.FormGAME_SCEN.UpdateForm()
vid Steph_CivIII_ExpandedEditor.Forms.MainEditor.UpdateForm()
vid Steph_CivIII_ExpandedEditor.Forms.MainEditor.OpenScenario(String FilePath, String FileName)
vid Steph_CivIII_ExpandedEditor.Forms.MainEditor.OpenScenario(Boolean Expanded)
vid Steph_CivIII_ExpandedEditor.Forms.MainEditor.openToolStripMenuItem_Click(Object sender, EventArgs e)
vid System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
vid System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
vid System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
vid System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
vid System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
vid System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
vid System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
vid System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
vid System.Windows.Forms.Control.WndProc(Message& m)
vid System.Windows.Forms.ScrollableControl.WndProc(Message& m)
vid System.Windows.Forms.ToolStrip.WndProc(Message& m)
vid System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

It seams to be the value 11451... that creates it. Is it in the biq-file or what ?
 
you did not attach the biq properly

Attach ???
Surely I did "nothing" as always ;-)

I just started your editor (as always, great thing btw) and opened the biq-file. I tried many others and no-one gave me this issue.

Do please explain to my slow brain Steph, and I would be greatful.

PS I even moved the biq-file and the AoI folder around in the "tree", since many different scenarios are sometimes places different.

This worked 100%
C:\Program Files\Infogrames Interactive\Civilization III\Conquests\Scenarios\MEM Europe (Large).biq

C:\Program Files\Infogrames Interactive\Civilization III\Conquests\Scenarios\AoI4.1-31civs-FULL.biq
this one didn´t !!!!

All the other folders are in the same places as they should

The other test was to put it in this path
C:\Program Files\Infogrames Interactive\Civilization III\Conquests\Conquests

but same result.

H E L P
 
Attach ???
Surely I did "nothing" as always ;-)

I just started your editor (as always, great thing btw) and opened the biq-file. I tried many others and no-one gave me this issue.

Do please explain to my slow brain Steph, and I would be greatful.

PS I even moved the biq-file and the AoI folder around in the "tree", since many different scenarios are sometimes places different.

This worked 100%
C:\Program Files\Infogrames Interactive\Civilization III\Conquests\Scenarios\MEM Europe (Large).biq

C:\Program Files\Infogrames Interactive\Civilization III\Conquests\Scenarios\AoI4.1-31civs-FULL.biq
this one didn´t !!!!

All the other folders are in the same places as they should

The other test was to put it in this path
C:\Program Files\Infogrames Interactive\Civilization III\Conquests\Conquests

but same result.

H E L P

Not a professional here and I have no idea what I'm talking about, but is it possible the extra period after the "4" in the AoI4.1-31civs-FULL.biq may be confusing the program? :dunno:
 
Sad enough NO
but thanks for the effort Gary

(I also tried files like CCM-v1.7.biq, and it went OK)

Back to the drawingboard I´m afraid....
 
It's because that's a Version 12.06 BIQ file instead of a Version 12.08 BIQ file. The editor expects a version 12.08 file. Version 12.08 added the mp basetime, mp city time, and mp unit time variables to the end of the GAME (scenario properties) section (these are used to set time limits in multiplayer games). So, what's happening is, the editor is reading in a value for the mp basetime, but because it doesn't exist in this verison 12.06 BIQ, it's reading in what comes next. The next value is 1145128268, which just so happens to equate to "LEAD" in ASCII, signalling the beginning of the LEAD or Players section. As this is well outside the valid values for mp basetime, it's throwing this error.

What you can do to get around this is open the BIQ in Firaxis's editor (assuming you have C3C patched to version 1.22) and save it (I verified this with a different filename, but I don't think you'd have to change the filename. Then, load up your newly-saved version, and it will work just as expected.

You might run into this with a few other scenarios. Most won't encounter it, but I know a few of the Firaxis-shipped scenarios are version 12.06. If you run into it again, you can try this same process and it'll get around the error.

Steph was referring to attaching the BIQ to the post so he could debug the problem. I happened to have it on my computer, so I've gone ahead and attached it here (and that, along with some intuition, a hex editor, and verifying the format of the file, was how I figured out what was going on. The beginning of the LEAD section is the only occurence of 1145128268 in that BIQ file).
 
C:\Program Files\Infogrames Interactive\Civilization III\Conquests\Scenarios\AoI4.1-31civs-FULL.biq
Why would you suppose I have installed all the possible mods you have on your computer? If you are not using a biq from CA and need some help, you have to attach the biq to your post, or provide a link or something, so I can reproduce it, and if needed use debug tools to see exactly where the problem is.

Quintillus already gave a good explanation of the problem, I think he is right. I didn't include support of different version, the biq are supposed to be the latest version.
 
Of course I supposed nothing Steph. I just didn´t understand about attaching. I was in a bit of hurry and late at night. Sorry mate.

However YES the very fine info from Quintillus works !!!!
Thanks for the help all of you....

Cheers
 
I've been trying to make the expanded editor work properly, but I can't seem to load up any .biq files without a certain error occurring. When I load up the scenario or mod I want to work on, I get this message: "Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index."

I've tried everything. I have Framework 3.5 installed, I've tried running the editor in compatibility mode, in XP mode on a VirtualPC (also with Framework installed) and still I get this error. The .biq files are uncompressed, also, so I know it's not that...
 
Back
Top Bottom