Expansion mod

Please post here for questions and discussion about scenario, art and sound modding and the game editor for Distant Worlds.

Moderators: Icemania, elliotg

Alvek
Posts: 274
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

CaesarAug wrote: Tue Mar 17, 2026 9:16 pm When you say shipset11 you mean family11? Interesting the possible error. But that really shouldn’t be a problem since I don’t recall having encountered this issue in my Star Trek Kirk Era Mod with 45 playable races. Nor in the EM version of DWUR with 46 races.

It’s something peculiar with this Star Wars Universe Mod with 30 races. By the way, the version I uploaded incorporates the latest changes I made: deleting several same-class capitalship png images for the Empire. I think there were 7 or 8 capitalship images, maybe there were too many for the game to calculate correctly?

With this uploaded version, I play-tested a little but this time without the error messages and crashes. Need more testing time but it looks somewhat hopeful…
This error looks same as incorrect shipset loaded for certain races in BM that i fixed.
In short with large numer of shipsets you select incorrect images as there is enough to stay in range, with low number you think there is more images than the are and crash on accessing beyond array border.

Edit: will know for shute after debugging. Iirc game ignores additional images and use only hardcoded names for designs
User avatar
CaesarAug
Posts: 530
Joined: Tue Jun 23, 2015 4:54 am

Re: Expansion mod

Post by CaesarAug »

I remember that, yes, when the game mismatched races and shipsets. Strange that it should happen again in this mod.

Thinking some more: Could a png image file be too big for the game to handle? The game manual states 300x300 pixels though 500x500 pixels work ok. If I remember correctly, one Empire destroyer image may be 2048x2048 pixels in size. Could that cause a problem maybe?
Alvek
Posts: 274
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

CaesarAug wrote: Tue Mar 17, 2026 9:27 pm I remember that, yes, when the game mismatched races and shipsets. Strange that it should happen again in this mod.

Thinking some more: Could a png image file be too big for the game to handle? The game manual states 300x300 pixels though 500x500 pixels work ok. If I remember correctly, one Empire destroyer image may be 2048x2048 pixels in size. Could that cause a problem maybe?
Looks like there is same logic to select family in different places, so same error in different cases.

Image size doesn't matter unless you are out of memory. During drawings game resizes image anyway, you can probably use 3x3 size
Post Reply

Return to “Design and Modding”