[A12d] RedistHeat - Vents/Ducts (Oct 12, v42b) Small heater fix

Started by Latta, March 01, 2015, 01:41:49 AM

Previous topic - Next topic

LInfo

Quote from: Latta on September 12, 2015, 09:01:39 AM
What OS are you using? Windows, Linux or Mac?

Linux (kubuntu 14.04 LTS)
Linux ** 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Latta

Quote from: LInfo on September 12, 2015, 09:31:42 AM
Linux (kubuntu 14.04 LTS)
Linux ** 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Can someone who are using Linux confirm this? It might be an OS incompatibility with either dds or texture path getting.
Also, when you actually build them; Do all buildings with missing texture icon draw properly?

LInfo

i find problem: can't load a image this

need remove symbol "\" in path

Latta

Quote from: LInfo on September 12, 2015, 12:07:51 PM
i find problem: can't load a image this

need remove symbol "\" in path

Thank you, then I know where to look at.

Hermit

Quote from: Latta on September 12, 2015, 10:49:24 AM
Quote from: LInfo on September 12, 2015, 09:31:42 AM
Linux (kubuntu 14.04 LTS)
Linux ** 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Can someone who are using Linux confirm this? It might be an OS incompatibility with either dds or texture path getting.
Also, when you actually build them; Do all buildings with missing texture icon draw properly?

EDIT: FIXED IN 41b
EDIT2: Cleaning up my imgur. Screenshots in attachments for posterity.

Confirmed.
Trace: https://i.imgur.com/MeJTZoV.png trace_sm.png
Probable error: http://i.imgur.com/MeJTZoV.png?1
In-Game, Duct Items: https://i.imgur.com/xQOA0zT.png duct_sm.png
** Also note unconnected ducts.
In-Game, Temp Items: https://i.imgur.com/nxJTHU8.png temp_sm.png
Hope that helps.

[attachment deleted due to age]

asnow

Quote from: Hermit on September 12, 2015, 02:05:31 PM
Quote from: Latta on September 12, 2015, 10:49:24 AM
Quote from: LInfo on September 12, 2015, 09:31:42 AM
Linux (kubuntu 14.04 LTS)
Linux ** 3.13.0-63-generic #103-Ubuntu SMP Fri Aug 14 21:42:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Can someone who are using Linux confirm this? It might be an OS incompatibility with either dds or texture path getting.
Also, when you actually build them; Do all buildings with missing texture icon draw properly?

Confirmed.
Trace: https://i.imgur.com/MeJTZoV.png
Probable error: http://i.imgur.com/MeJTZoV.png?1
In-Game, Duct Items: https://i.imgur.com/xQOA0zT.png
** Also note unconnected ducts.
In-Game, Temp Items: https://i.imgur.com/nxJTHU8.png
Hope that helps.

Same problem here on Mac

nillax

Quote from: Latta on September 12, 2015, 12:14:19 PM
Quote from: LInfo on September 12, 2015, 12:07:51 PM
i find problem: can't load a image this

need remove symbol "\" in path

Thank you, then I know where to look at.

It's the DirectDraw .dds images. I converted them to .png & modified the related def lines graphicClass lines to be Graphic_Multi & Single... Images showed correctly after that.

Hermit

Quote from: nillax on September 12, 2015, 06:42:29 PM
It's the DirectDraw .dds images. I converted them to .png & modified the related def lines graphicClass lines to be Graphic_Multi & Single... Images showed correctly after that.
EDIT: FIXED IN 41b
If we can rule out the invalid path, then that is a bit unfortunate. OpenGL has libraries for rendering (most) DDS which should be cross platform. For instance, I can view these DDS images just fine using glViewImage on a Linux box. It smells like an error in the classes Graphic_MultiDXT5 and Graphic_SingleDXT5. It seems they may be adding a backslash before <texPath> or after whatever comes before.

Iwillbenicetou

Hello. I'm trying to do the deathly heat/cold. Do you have any ideas on how to use this mod to beat the cold/heat?
Mod Help! The basics on how to download mods!

Toggle

Quote from: Iwillbenicetou on September 12, 2015, 08:01:53 PM
Hello. I'm trying to do the deathly heat/cold. Do you have any ideas on how to use this mod to beat the cold/heat?

What's the 'deathly heat/cold'?
Selling broken colonist souls for two thousand gold. Accepting cash or credit.

Latta

Quote from: Z0MBIE2 on September 12, 2015, 09:35:28 PM
Quote from: Iwillbenicetou on September 12, 2015, 08:01:53 PM
Hello. I'm trying to do the deathly heat/cold. Do you have any ideas on how to use this mod to beat the cold/heat?

What's the 'deathly heat/cold'?

TheGentleman's mod, it seems.

Latta


Hermit

Quote from: Latta on September 12, 2015, 09:48:43 PM
For Linux/Mac users: Please replace RedistHeat.dll with this. https://www.dropbox.com/s/96et8m500pebhzl/RedistHeat.dll?dl=0

If it works, I'll release it as 41b.

EDIT: FIXED IN 41b
No change. Same error.
Tested in a fresh instance: Core 0.12.914, CCL 0.12.1, RedistHeat 41a with this dll replaced.

[attachment deleted due to age]

Latta

Okay then, this is the last attempt. Reuploaded: https://www.dropbox.com/s/96et8m500pebhzl/RedistHeat.dll?dl=0

If it doesn't work neither, I'll provide Linux/Mac version separately.

Hermit

Quote from: Latta on September 12, 2015, 11:30:13 PM
Okay then, this is the last attempt. Reuploaded: https://www.dropbox.com/s/96et8m500pebhzl/RedistHeat.dll?dl=0

If it doesn't work neither, I'll provide Linux/Mac version separately.
EDIT: FIXED IN 41b
Looks good!
No errors. In game items rendering. Ducts connecting.