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

TransshipmentEnvoy
Posts: 3
Joined: Tue Apr 19, 2022 5:17 am

Re: Expansion mod

Post by TransshipmentEnvoy »

Alvek wrote: Mon Dec 25, 2023 7:52 am
TransshipmentEnvoy wrote: Sun Dec 24, 2023 4:20 pm Thanks for your excellent mod!

Do you have any plans to incorporate the Fleet Template or Retrofit Path feature from DW2 into the Expansion Mod?
I thought about implementing Fleet template, not sure about retrofit path.
Retrofit Path is particularly useful when multiple designs need to be maintained for a certain ship role. Perhaps I should check the code myself to see if it is possible to implement.
SteamSlither
Posts: 24
Joined: Thu Feb 28, 2019 6:28 pm

Re: Expansion mod

Post by SteamSlither »

EDIT This post is EDITED for educational purposes
in case someone else runs across this problem as it has been SOLVED



===========================================================
I cannot seem to get past this point when trying to load the expansion mod
I see the initial scree where it says the mod is installed but get the error screens posted and the game loads no further.
All the .net stuff (distribution 3,5 which includes earlier versions seem there as well as 4,0

I tried it on another computer i7 Win 8,1 780m processor and essentially same type of error

That computer is using different AV, MacAfee and exception has been made for Distant Worlds.exe and its folder, though it never mugged or complained about my install of this mod.

Alvek wrote: Thu Jan 04, 2024 8:38 am SteamSlither
You probably forgot to unlock zip after downloading, before you copy files. Unlock zip folder and replace all files. Check first post if you don't know how to do it.

!!YES that WAS IT!!!



Anyone else the below screenshots are WHAT YOU will GET if you do not

UNBLOCK the ZIP

Right click on .zip,>properties>(dialogue box appears for file) >General Tab>look down then uncheck/ unmark BLOCK (the file becomes unblocked)
then copy over all files and things are normal, (Anti-virus may still mug Distant Worlds.exe so exception has to be made).


DW Load errorWin8.1 or Win11.png
DW Load errorWin8.1 or Win11.png (68.11 KiB) Viewed 2452 times

Thank you for your time, Alvek!
Game with mod runs now!
Last edited by SteamSlither on Sat Jan 06, 2024 12:00 am, edited 4 times in total.
Alvek
Posts: 205
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

SteamSlither
You probably forgot to unlock zip after downloading, before you copy files. Unlock zip folder and replace all files. Check first post if you don't know how to do it.
Alvek
Posts: 205
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Information on steam streaming bug with DW:U, currently game will loose UI when streamed to remote host.
Player Lee iRaynor on discord found this solution - "I use xsplit broadcaster, and need to run in "Screen capture" mode to see the entire UI. -- seems to fix it"
So use this application or look different with similar functions.
DWS360
Posts: 6
Joined: Fri Feb 15, 2019 6:27 pm

Re: Expansion mod

Post by DWS360 »

Windows Defender detects DistantWorlds.exe infected by "Backdoor:Win32/Bladabindi!ml". I know, false positive you say, but this message is nevertheless frightening. Nobody wants their computer to be hijacked after all. :cry:
Alvek
Posts: 205
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

DWS360 wrote: Mon Jan 29, 2024 8:38 pm Windows Defender detects DistantWorlds.exe infected by "Backdoor:Win32/Bladabindi!ml". I know, false positive you say, but this message is nevertheless frightening. Nobody wants their computer to be hijacked after all. :cry:
I already sent EM mod to microsoft twice to clear false positive, still no reply. First time they just didn't processed it and I got auto reply that I need to send it again. Four days and still waiting for second reply.
Alvek
Posts: 205
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

[17.02.2024]
Version 1.10.01
https://shorturl.at/ltvN4
Removed limit on various txt files: raceFamilies.txt, plagues.txt, governments.txt, facilities.txt, resources.txt, components.txt, research.txt, fighters.txt.
Removed game protection, should help with anti-viruses.
Replaced pop-up message box mod version with loading screen text EM mod version.

If anyone have problem with false positive detection then send me message with info about your AV so I can send them false positive report.
User avatar
CaesarAug
Posts: 455
Joined: Tue Jun 23, 2015 4:54 am

Re: Expansion mod

Post by CaesarAug »

Oh my! :mrgreen: This mod gets better all the time! Thank you, Alvek!

Query: you removed limits on several items, including 50 shipsets. What is meant by consecutive numbering no longer required? In a shipset list, you can’t have the exact same ship-class name for an unlimited amount of models, hence the sequential numbering, i.e., capitalship1, capitalship2, etc. How does this new feature work?

EDIT: Oh, I think I misunderstood. You are referring to unlimited shipset families, correct? Still, how is consecutive numbering “no longer required?”
Alvek
Posts: 205
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

CaesarAug wrote: Sat Feb 17, 2024 5:36 pm EDIT: Oh, I think I misunderstood. You are referring to unlimited shipset families, correct? Still, how is consecutive numbering “no longer required?”
You can have family0 and next one family223, without those between them
Edit: original and modded shipsets have similiar behavior. Game will load all of them right now. For example DW:U have 26 shipsets, you can either replace them with your or just add modded shipsets that start with 27+ number.
Alvek
Posts: 205
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

I got permission to share deobfuscated DW:U code so that more people can create mod or contribute to my mod.

New repository, .net 7. Work in progress to allow scalable UI, different platforms, etc - https://github.com/DW-UX/DistantWorldsExpanded

Current working repositories for EM mod. Net 4.8, circular dependency, pain in ass to work with:
https://github.com/Alvek/DistantWorlds.Types
https://github.com/Alvek/DistantWorlds
https://github.com/Alvek/BaconDistantWorlds
https://github.com/Alvek/ExpansionMod
https://github.com/Alvek/ExpansionMod.Controls
https://github.com/Alvek/ExpansionMod.Objects

Maybe someone will join on a development of DW:U in general or just change something for themself.
User avatar
CaesarAug
Posts: 455
Joined: Tue Jun 23, 2015 4:54 am

Re: Expansion mod

Post by CaesarAug »

Alvek wrote: Sat Feb 17, 2024 5:53 pm
CaesarAug wrote: Sat Feb 17, 2024 5:36 pm EDIT: Oh, I think I misunderstood. You are referring to unlimited shipset families, correct? Still, how is consecutive numbering “no longer required?”
You can have family0 and next one family223, without those between them
Edit: original and modded shipsets have similiar behavior. Game will load all of them right now. For example DW:U have 26 shipsets, you can either replace them with your or just add modded shipsets that start with 27+ number.
Ah, I see now. Thanks!
User avatar
salemonz
Posts: 133
Joined: Tue May 19, 2015 2:37 pm
Location: USA

Re: Expansion mod

Post by salemonz »

Congrats on the new version and scoring the deobfuscated code! Super awesome!
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

1.10.01
Untitled.jpg
Untitled.jpg (204.19 KiB) Viewed 1820 times
I broke something...
Alvek
Posts: 205
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Retreat1970 wrote: Mon Feb 19, 2024 2:15 am I broke something...
Unlock zip file and replace exe\dll files you copied
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

nvm I forgot to unblock files
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

1.10.01
DWUR newest
Wasn't doing anything in particular.
error.jpg
error.jpg (79.92 KiB) Viewed 1701 times
Alvek
Posts: 205
Joined: Fri Mar 24, 2023 9:47 pm
Location: Kyiv

Re: Expansion mod

Post by Alvek »

Retreat1970 wrote: Thu Feb 22, 2024 7:36 pm 1.10.01
DWUR newest
Wasn't doing anything in particular.
error.jpg
Is that bug reproducible?
Method where game crashed is ~4000 lines of code. So it is a bit hard to find it without way to reproduce it.

Edit1: Check DW_CrashDump.txt, looks like it can contain more information then message box have.
User avatar
Retreat1970
Posts: 1125
Joined: Wed Nov 06, 2013 11:09 am
Location: Wisconsin

Re: Expansion mod

Post by Retreat1970 »

Idk I'm just reporting it.

System.NullReferenceException: Object reference not set to an instance of an object.
at DistantWorlds.Types.BuiltObject.ExecuteCommands(Galaxy galaxy, Double timePassed, DateTime time, Int64 starDate)
at DistantWorlds.Types.BuiltObject.DoTasks(DateTime time, Int64 starDate, Boolean inView)
at DistantWorlds.Main.method_86(DateTime dateTime_7, Int64 long_1, BuiltObjectList builtObjectList_1, Boolean bool_28)
at DistantWorlds.Main.ProgramLoop()
Spectex
Posts: 10
Joined: Thu May 18, 2006 4:02 am

Re: Expansion mod

Post by Spectex »

Alvek wrote: Sat Feb 17, 2024 7:15 pm I got permission to share deobfuscated DW:U code so that more people can create mod or contribute to my mod.

New repository, .net 7. Work in progress to allow scalable UI, different platforms, etc - https://github.com/DW-UX/DistantWorldsExpanded

Current working repositories for EM mod. Net 4.8, circular dependency, pain in ass to work with:
https://github.com/Alvek/DistantWorlds.Types
https://github.com/Alvek/DistantWorlds
https://github.com/Alvek/BaconDistantWorlds
https://github.com/Alvek/ExpansionMod
https://github.com/Alvek/ExpansionMod.Controls
https://github.com/Alvek/ExpansionMod.Objects

Maybe someone will join on a development of DW:U in general or just change something for themself.
Wow, that's really great! Thanks for sharing this with the community.
XB700
Posts: 6
Joined: Mon Mar 25, 2024 7:00 pm

Re: Expansion mod

Post by XB700 »

I'm running the GOG version using Wine. I noticed I had to run winetricks dotnet48 to get the new version of DistantWorlds.exe to work. However, the universe screen is completely empty, i.e. no stars, planets, ships, etc.

Are there any additional requirements besides dotnet48 for this expansion?
Post Reply

Return to “Design and Modding”