Bacon Mod + RetreatUE + Das Chrome

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

Moderators: elliotg, Icemania

User avatar
Pocus
Posts: 1319
Joined: Wed Sep 22, 2004 8:17 pm

RE: Bacon Mod + RetreatUE + Das Chrome

Post by Pocus »

@Bacon

I might have spotted a bug, a troublesome one. Twice I had a (state) freighter loaded to the top with caslon (9000 units) and upon unloading in a deep space starbase, I got half this amount in ... aculon. Quite a bother!

AGEOD Team
DasTactic
Posts: 1356
Joined: Mon Oct 10, 2005 7:16 am

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DasTactic »

ORIGINAL: Pocus

@Bacon

I might have spotted a bug, a troublesome one. Twice I had a (state) freighter loaded to the top with caslon (9000 units) and upon unloading in a deep space starbase, I got half this amount in ... aculon. Quite a bother!

That's a big one. Actually, this would be better over at the Bacon Mod thread. I was wondering why there was always so much Caslon reserved at mining stations and this may be part of that issue.
RogerBacon
Posts: 724
Joined: Wed May 17, 2000 8:00 am
Location: Miami, Florida, U.S.A.

RE: Bacon Mod + RetreatUE + Das Chrome

Post by RogerBacon »

ORIGINAL: Pocus

@Bacon

I might have spotted a bug, a troublesome one. Twice I had a (state) freighter loaded to the top with caslon (9000 units) and upon unloading in a deep space starbase, I got half this amount in ... aculon. Quite a bother!


Do you have a save right before it happened? Once the resource is on board the dock and unload routine is purely vanilla DWU. Was this a manually assigned mission or was the state ship automated?
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
User avatar
Pocus
Posts: 1319
Joined: Wed Sep 22, 2004 8:17 pm

RE: Bacon Mod + RetreatUE + Das Chrome

Post by Pocus »

Sorry wrong thread indeed!

The situation is slightly different than the one I thought. Reloading an old save (that I can still pass around), I see that the tiny deep space station was already full from a stockpile of 4351 Aculon (max capacity 1350). So the 9000 Caslon had nowhere to go and this why I ended up with 0 Caslon and 4351 Aculon. There was no magical transformation. Now it still poses a few issues, like:
1. Why in the first place a tiny deep space depot got saturated by a strategic resource
2. Should extra resource be lost if there is no room at destination

Side remark, it seems you can transport resources with constructors, as they are state ships and they have a cargo capacity. Is it an issue? For balance perhaps, for the code you did, Roger?
AGEOD Team
RogerBacon
Posts: 724
Joined: Wed May 17, 2000 8:00 am
Location: Miami, Florida, U.S.A.

RE: Bacon Mod + RetreatUE + Das Chrome

Post by RogerBacon »

ORIGINAL: Pocus

Sorry wrong thread indeed!

The situation is slightly different than the one I thought. Reloading an old save (that I can still pass around), I see that the tiny deep space station was already full from a stockpile of 4351 Aculon (max capacity 1350). So the 9000 Caslon had nowhere to go and this why I ended up with 0 Caslon and 4351 Aculon. There was no magical transformation. Now it still poses a few issues, like:
1. Why in the first place a tiny deep space depot got saturated by a strategic resource
2. Should extra resource be lost if there is no room at destination

Side remark, it seems you can transport resources with constructors, as they are state ships and they have a cargo capacity. Is it an issue? For balance perhaps, for the code you did, Roger?

I'm really glad to read your post. I was really scratching my head wondering how one resource could turn into another.

As to why a tiny space port in the middle of nowhere gets a certain amount of a strategic resource, who knows. The mysteries of the resource system are deep.
2 The developers coded the game that way. Their main concern, it seems, is that a freighter could end up with 'orphaned' cargo if it couldn't unload. Then, when it got assigned its next mission it wouldn't have any space available. They were so concerned about this that if you have a freighter performing a mission and you cancel the mission it will dump its cargo into space. The same happens when a ship is captured. By the way, I changed that so that a ship will only auto-dump its cargo if its auto-controlled. So you can feel free to cancel cargo orders for state-run ships without fear of losing your cargo.

Yes, any ship with cargo space can perform cargo missions and that includes constructors. It seems like a waste of a good construction ship though so I think I'll leave it that way.
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
DasTactic
Posts: 1356
Joined: Mon Oct 10, 2005 7:16 am

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DasTactic »

Version 1.03 is linked from the OP.

I decided to release this one now as it looks like there is still a bit to go through before the next version of the Bacon Mod will be available. I mainly didn't want this mod-mod-mod to overwrite any new help files coming with the next version of the Bacon Mod but there are a lot of other changes now made to this version:

* Syntax for selected RetreatUE files has been changed to parse correctly through Sabranan's Modding Tool
* This has fixed some long-term issues such as missing Yl'ta portraits in game. Nothing game breaking through.
* Each of the factions now has new chrome UI.
RogerBacon
Posts: 724
Joined: Wed May 17, 2000 8:00 am
Location: Miami, Florida, U.S.A.

RE: Bacon Mod + RetreatUE + Das Chrome

Post by RogerBacon »

ORIGINAL: Das123

I decided to release this one now as it looks like there is still a bit to go through before the next version...

Actually, I just released the next version of the Bacon Mod. Sadly, I still haven't looked into adding the text files that you created so yours remain the latest and greatest.
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
User avatar
Pocus
Posts: 1319
Joined: Wed Sep 22, 2004 8:17 pm

RE: Bacon Mod + RetreatUE + Das Chrome

Post by Pocus »

Thanks Roger. Some of your doc don't document commands, like unloading to a planet (alt U very rarely work for me btw...) and this !nodump command I read in the other thread is not listed either. Can you make a passe (please!) and see if your doc is up to date on commands?

I get what seems to be a recurring bug from your code now. Sadly as it seems to be deterministic, my game is stuck I fear.
Image

And here is a bonus image, I called it 'Sober at least' [:D]
Image
AGEOD Team
User avatar
Pocus
Posts: 1319
Joined: Wed Sep 22, 2004 8:17 pm

RE: Bacon Mod + RetreatUE + Das Chrome

Post by Pocus »

Rats, I posted the bug report to this thread, not the main one, sorry about that.
AGEOD Team
DasTactic
Posts: 1356
Joined: Mon Oct 10, 2005 7:16 am

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DasTactic »

Just uploaded version 1.04 in the OP

The only change this time was to make the gas extractors about 30% more productive and to increase the cargo bays by about 30% on the gas mining stations. Should help with the reservation issues a bit and also help the AI. :)
DonH58
Posts: 517
Joined: Fri Oct 13, 2006 4:40 pm
Location: Whidbey Island, Wa.

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DonH58 »

I keep getting an error message when I start up DW. It started when I updated the Bacon Mod + RetreatUE + Das Chrome mod to 1.03 and 1.04.
The error box comes up while loading and says: Could not load required image: C\matrix games \Distant Worlds Universe]units\Troop_46.png.
You may need to reinstall DW to resolve this problem.

When i reinstall mod version 1.02 no problem
AMD Ryzen 5 5600X
ASUS TUF Gaming B550-Plus MB
Radeon Rx 6900 XT Graphics Card
T-Force Vulcan Z DDR4 32GB RAM
SSD 1TB NVMe 1.3 M.2
EVGA 1300W PSU
Win 11
DW2 Beta Tester
DasTactic
Posts: 1356
Joined: Mon Oct 10, 2005 7:16 am

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DasTactic »

ORIGINAL: DonH58

I keep getting an error message when I start up DW. It started when I updated the Bacon Mod + RetreatUE + Das Chrome mod to 1.03 and 1.04.
The error box comes up while loading and says: Could not load required image: C\matrix games \Distant Worlds Universe]units\Troop_46.png.
You may need to reinstall DW to resolve this problem.

When i reinstall mod version 1.02 no problem
It won't be a DW problem, there isn't a troop image 46 so something is screwed up in the mod by the sounds of it. I can't emulate the error though. I've checked through the race files and everything looks OK at this end. Can you please let me know your faction? Also did you restart a scenario or were you using an old save file - you said it was when you start DW so I guess you don't even get that far.
DonH58
Posts: 517
Joined: Fri Oct 13, 2006 4:40 pm
Location: Whidbey Island, Wa.

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DonH58 »

I was starting a new game. I have been using 1.01 and 1.02 with no problems. Went back and forth with Bacon mod 1.69 and 1.70 still having error message. Reinstalled a fresh copy of retreatUE and it worked just fine with bacon mod 1.70. Installed your mod according to installation instructions error message again. Just starting to copying everything straight to the DW folder. I love to experiment and trouble shoot:). I will let you know how that works!
AMD Ryzen 5 5600X
ASUS TUF Gaming B550-Plus MB
Radeon Rx 6900 XT Graphics Card
T-Force Vulcan Z DDR4 32GB RAM
SSD 1TB NVMe 1.3 M.2
EVGA 1300W PSU
Win 11
DW2 Beta Tester
DasTactic
Posts: 1356
Joined: Mon Oct 10, 2005 7:16 am

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DasTactic »

OK, I'm getting the error. I can compare this with the files I have that do work and see what is different. Thanks for flagging this. :)
RogerBacon
Posts: 724
Joined: Wed May 17, 2000 8:00 am
Location: Miami, Florida, U.S.A.

RE: Bacon Mod + RetreatUE + Das Chrome

Post by RogerBacon »

ORIGINAL: Pocus

Thanks Roger. Some of your doc don't document commands, like unloading to a planet (alt U very rarely work for me btw...) and this !nodump command I read in the other thread is not listed either. Can you make a passe (please!) and see if your doc is up to date on commands?

I get what seems to be a recurring bug from your code now. Sadly as it seems to be deterministic, my game is stuck I fear.
Image

When first loading your saved game the selected ship is "ECL Surcouf". It is surrounded with lots of pirate shis. The first time I loaded the game and selected one of the pirate ships none of their information showed up in the lower lefthand information window. The second time I loaded, it showed up fine. Very strange.

DWU has a problem that sometimes when a ship exits hyperspace in a system it doesn't get assigned to that system. I don't know if that's in the vanilla game or if its a side-effect of my mod. Anyway, I've put in checks to assign these orphaned ships to their system if they are in a system. I added one more and also made sure it sets the system visability as visable to the ship's empire. The problem is that abandoned ships have no empire, thus the null exception. I usually nuke all abandoned ships at teh start of my games (!nukem) since I consider them unbalancing. That's why I never saw this bug.

The following ships have no Empire associated with them because they are abandoned.
"Lawless Spirit"
"Meagre Bluff"
"Valiant Voyager"
"Resolute Obsession"

I have a fix in place and will release an update to 1.70 in a few hours. Thanks for helping me with this bug.


And here is a bonus image, I called it 'Sober at least' [:D]
Image

At least she doesn't have a penalty to counter-espionage so you can leave her on defense. Eventually she'll be a decent assassin.
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
DasTactic
Posts: 1356
Joined: Mon Oct 10, 2005 7:16 am

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DasTactic »

I'm pretty sure the issue is with the file 'races/ylta.txt'. I deleted this (not yl'ta.txt) and the game opened up. I wanted to test what would happen if I replaced the content of the original file with a comment.

Unfortunately Windows 10 has again decided in the last hour that the Bacon Mod isn't something it likes and so I can no longer start the game at all. As such I can't test if this works any more. I've restarted the computer but it still won't open the game running the Bacon Mod. :(
DonH58
Posts: 517
Joined: Fri Oct 13, 2006 4:40 pm
Location: Whidbey Island, Wa.

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DonH58 »

To: Das123
This has happened to me a few of times also, I have had to reinstall DW to get it to work, but then lately I went to the redist folder and reinstalled the DXSETUP(directx)and dotNetFx40_Full_x86_x64 exe's. It has worked for me but as we are all aware what works for one system doesn't always work on another.
AMD Ryzen 5 5600X
ASUS TUF Gaming B550-Plus MB
Radeon Rx 6900 XT Graphics Card
T-Force Vulcan Z DDR4 32GB RAM
SSD 1TB NVMe 1.3 M.2
EVGA 1300W PSU
Win 11
DW2 Beta Tester
DasTactic
Posts: 1356
Joined: Mon Oct 10, 2005 7:16 am

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DasTactic »

OK. Back up and running. The crash was that it kept going straight to a corrupted mod folder. Renaming the mod folders did the trick.

It is the race file that needs to be removed. With that file gone it works correctly. I've got to try and find a way for this to be easy for people so may need to write a batch file or an installer. There are now getting too many files that should be deleted.
DasTactic
Posts: 1356
Joined: Mon Oct 10, 2005 7:16 am

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DasTactic »

Version 1.05 uploaded to OP

The new version is uploaded that fixes the issue with corrupted files. The conflicting files must be removed and there is now a batch file 'install_dasblue.bat' that will delete these for you. WARNING: I'm an absolute noob when it comes to writing batch files. I think what I have done is safe but if you have any concerns please just manually remove the files yourself. I take no responsibility whatsoever for anything that can go wrong!

I'd really appreciate someone else double-checking this file please. It works for me.
DonH58
Posts: 517
Joined: Fri Oct 13, 2006 4:40 pm
Location: Whidbey Island, Wa.

RE: Bacon Mod + RetreatUE + Das Chrome

Post by DonH58 »

Thanks DAS123 it's working
AMD Ryzen 5 5600X
ASUS TUF Gaming B550-Plus MB
Radeon Rx 6900 XT Graphics Card
T-Force Vulcan Z DDR4 32GB RAM
SSD 1TB NVMe 1.3 M.2
EVGA 1300W PSU
Win 11
DW2 Beta Tester
Post Reply

Return to “Design and Modding”