.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   110 Image Limit... megamod anyway? (http://forum.shrapnelgames.com/showthread.php?t=33226)

Endoperez April 30th, 2007 05:44 AM

Re: 110 Image Limit... megamod anyway?
 
I think Gandalf refers to when I suggested that it was a problem with multiple nations sharing the same name and existing in the same age. I think I used EA and MA Machakas (a mod and the vanilla nation) as an example in that post, although that wouldn't cause a crash because they are in two different ages.

Johan K April 30th, 2007 05:53 AM

Re: 110 Image Limit... megamod anyway?
 
The image limit in Dominions is 1000 images from enabled mods. So it should be quite a while before you reach that.

Sombre April 30th, 2007 06:58 AM

Re: 110 Image Limit... megamod anyway?
 
Despite the evidence to the contrary? What else could the problem be DrP? Any ideas?

I'm not actually that fussed because I've yet to run into this issue, but I can see it being aggravating in the future, when I try to get all the LA nations I like working together and CBM balanced.

Edi April 30th, 2007 08:58 AM

Re: 110 Image Limit... megamod anyway?
 
The limit is theoretically 1000, but that does not mean that it couldn't be broken in some way. It'll get listed later.

DrPraetorious April 30th, 2007 10:03 AM

Re: 110 Image Limit... megamod anyway?
 
1 Attachment(s)
Okay, here's the last mod I tested before concluding that "sprnbr too high for file" really is a bug with the number of custom graphics I'm using. The mod was generated automatically by an awk script.

The nation of test is playable - and can recruit their two units.

The nation of example is playable - but when you try to recruit units, the game crashes.

The units and graphics are exactly the same, but there are hundreds of units of filler in the mod file between them.

It isn't a duplicate names issue, because the first nation is still 20 units into the file.

I've also attached the mod and the crash output, but I can't think of any other elucidating tests to run. I should note that the mod does load just fine - it doesn't complain about the sprites until you actually display them.

Oh! The bug still appears if you split the mod back up into individual mod files and load them all at once. It depends on the order in which the mods are loaded, which sprites cause a crash when you try to display them.

Other than that, can't think of anything.

Gandalf Parker April 30th, 2007 01:20 PM

Re: 110 Image Limit... megamod anyway?
 
Thank you. Its a very thoughtful and complete test which will be passed on.

To answer the original question "110 Image Limit... megamod anyway? " I would say that its still worthwhile to continue working on megamods since it is obvious that Johan wanted it the game to be much more supportive of large mods than this. So at least I would say that it will get fixed.
Johan loves modders.

Foodstamp April 30th, 2007 04:20 PM

Re: 110 Image Limit... megamod anyway?
 
I hope so. I am working on my 12th nation currently, most of them use custom graphics and I was afraid that I would have to make due eventually with just in game graphics. When this issue is resolved, I am going to go back through and do custom graphics for my public releases http://forum.shrapnelgames.com/images/smilies/happy.gif

Sombre May 1st, 2007 03:12 AM

Re: 110 Image Limit... megamod anyway?
 
I just ran into this running these mods all at once in the late era.

Conceptual Balance Mod
Worthy Heroes
Streamers and standards
CBM Vaettihiem SE 2
CBM Jomon Broken
CBM Teutanion 2
CBM Ulm Reborn 2
CBM Kharamdzu
CBM Sanguinia 2

I noticed something was wrong when during the god setup screen all the mod nations came up with 'no description found' instead of their proper descriptions. Then once in the game the first several nations in the list worked (I had them all set to human) but when I reached Vaettihiem and tried to look at the recruit screen, the game crashed and I got the sprite number too high for this file or whatever error message.

I can verify that there are no conflicts between these mods. The problem only occurs when I have them enabled together.

I am going to try the same settings but with all the nations bar one set to AI and see if that makes a difference, just out of interest. Oh and the descriptions of the nations are still missing if you try to look them up within the game.

The map was silent seas.

Sombre May 1st, 2007 03:29 AM

Re: 110 Image Limit... megamod anyway?
 
Ok I just did some further testing and came up with a very interesting result.

I noticed that all the nations worked (although they were missing descriptions) except for Vaettihiem. Now Vaettihiem wasn't the last mod I enabled in preferences, or the last side I added,.... but alphabetically it was the last in terms of the name of the DM file, the name of the mod etc, since it started with V.

I then renamed CBM Ulm Reborn.dm to CBM Zulm Reborn.dm and made a new game on Aran, LA, same settings but with Zulm Reborn now enabled rather than Ulm Reborn.

Now vaetti works but Zulm (ulm) reborn does not. This means that the game loads up the .dms alphabetically and that once is reaches (z)Ulm Reborn there are too many sprites.

I hope this test helps in finding a solution. I am personally convinced that it's to do with the number of sprites. I have no idea why the descriptions broke as well though -scratches head-

Sombre May 1st, 2007 03:39 AM

Re: 110 Image Limit... megamod anyway?
 
DOH

I just ran another test to confirm what I thought I had found out and it turns out I'm wrong.

It's the order that you enable the mods in preferences that determines the order they are loaded and therefore which one will produce the sprite error. The only reason I thought it was alphabetical was because I was enabling them in that order because that's the order they were listed. When I renamed Ulm to Zulm I had to re-enable it and therefore it was the last one I enabled and so it was the one that crashed.

So yeah, it's the order you load them up in that determines when the crash happens, not the order they are alphabetically or otherwise.


All times are GMT -4. The time now is 01:11 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.