Page 14 of 17

Re: Expansion mod

Posted: Tue Dec 26, 2023 3:34 pm
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.

Re: Expansion mod

Posted: Thu Jan 04, 2024 4:32 am
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 2467 times

Thank you for your time, Alvek!
Game with mod runs now!

Re: Expansion mod

Posted: Thu Jan 04, 2024 8:38 am
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.

Re: Expansion mod

Posted: Sat Jan 27, 2024 1:17 pm
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.

Re: Expansion mod

Posted: Mon Jan 29, 2024 8:38 pm
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:

Re: Expansion mod

Posted: Tue Jan 30, 2024 12:41 pm
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.

Re: Expansion mod

Posted: Sat Feb 17, 2024 3:28 pm
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.

Re: Expansion mod

Posted: Sat Feb 17, 2024 5:36 pm
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?”

Re: Expansion mod

Posted: Sat Feb 17, 2024 5:53 pm
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.

Re: Expansion mod

Posted: Sat Feb 17, 2024 7:15 pm
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.

Re: Expansion mod

Posted: Sat Feb 17, 2024 7:33 pm
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!

Re: Expansion mod

Posted: Sun Feb 18, 2024 3:56 am
by salemonz
Congrats on the new version and scoring the deobfuscated code! Super awesome!

Re: Expansion mod

Posted: Mon Feb 19, 2024 2:15 am
by Retreat1970
1.10.01
Untitled.jpg
Untitled.jpg (204.19 KiB) Viewed 1835 times
I broke something...

Re: Expansion mod

Posted: Mon Feb 19, 2024 8:28 am
by Alvek
Retreat1970 wrote: Mon Feb 19, 2024 2:15 am I broke something...
Unlock zip file and replace exe\dll files you copied

Re: Expansion mod

Posted: Mon Feb 19, 2024 11:34 am
by Retreat1970
nvm I forgot to unblock files

Re: Expansion mod

Posted: Thu Feb 22, 2024 7:36 pm
by Retreat1970
1.10.01
DWUR newest
Wasn't doing anything in particular.
error.jpg
error.jpg (79.92 KiB) Viewed 1716 times

Re: Expansion mod

Posted: Fri Feb 23, 2024 3:41 pm
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.

Re: Expansion mod

Posted: Fri Feb 23, 2024 11:37 pm
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()

Re: Expansion mod

Posted: Thu Mar 21, 2024 12:48 pm
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.

Re: Expansion mod

Posted: Mon Mar 25, 2024 7:05 pm
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?