Page 1 of 1

Increase Max # of Resources?

Posted: Sat Jul 17, 2021 6:23 pm
by jayjonesiv
Is it possible to increase the maximum number of resources?

Currently, you can add a maximum of 80 however curious if there is a mod or way I can increase that to 150?

Thanks!

RE: Increase Max # of Resources?

Posted: Sun Jul 18, 2021 5:28 pm
by rjord2021
ORIGINAL: jayjonesiv

Is it possible to increase the maximum number of resources?

Currently, you can add a maximum of 80 however curious if there is a mod or way I can increase that to 150?

Thanks!


I know the manual is saying there is a limit of 80 resources.... let me have a look at it and see if there is a workaround.

RE: Increase Max # of Resources?

Posted: Sun Jul 18, 2021 7:41 pm
by rjord2021
Unfortunately, this looks like the limit is hard coded into the game......... the game doesnt even load up when you have more than 80 resources and adds an error to the error log saying you have more than 80 resources.

Distant Worlds - Crash Dump - 1.9.5.12

8:35:28 AM Monday, 19 July 2021


System.ApplicationException: Exceeded maximum resource count in C:\Program Files (x86)\Steam\steamapps\common\Distant Worlds Universe\Customization\Warhammer 40,000 (V14)\resources.txt. Cannot define more than 80 resources.
at DistantWorlds.Types.ResourceSystem.LoadFromFile(String filePath)
at DistantWorlds.Types.Galaxy.InitializeResourceDefinitions(String applicationStartupPath, String customizationSetName)
at DistantWorlds.Types.Galaxy.InitializeData(String applicationStartupPath, String customizationSetName, ResourceSystem& resourceSystem, PlanetaryFacilityDefinitionList& facilityDefinitions, ComponentDefinition[]& componentDefinitions, FighterSpecificationList& fighterSpecifications, ResearchNodeDefinitionList& researchNodeDefinitions, GovernmentAttributesList& governments, RaceFamilyList& raceFamilies, PlagueList& plagues)
at DistantWorlds.Types.Galaxy.InitializeData(String applicationStartupPath, String customizationSetName, ResourceSystem& resourceSystem)
at DistantWorlds.Start..ctor()
at AdeiSmFbbeZGrsmmeB.Xe3uDLq1SwUX40GKys.SofRtfIJrGO()


Application info follows:

Exceeded maximum resource count in C:\Program Files (x86)\Steam\steamapps\common\Distant Worlds Universe\Customization\Warhammer 40,000 (V14)\resources.txt. Cannot define more than 80 resources.

RE: Increase Max # of Resources?

Posted: Mon Jul 19, 2021 10:48 pm
by jayjonesiv
Oh, man! But amazing of you to check! Thank you!