[A14] Community Core Library v0.14.3.1

Started by RWCCLTeam, October 20, 2015, 12:08:13 PM

Previous topic - Next topic

notfood

I get no errors. I'm willing to test anything.

1000101

I'll see about making a quick'n'dirty test mod just to dump some stuff to the log.  May not get it done for a day or two though, we will try to get this fixed for A14 though.  There won't be any more A13 releases unless this fix is (a) simple enough to implement or (b) other issues which need to be fixed arise.

The only reason I don't plan on doing another A13 release is that all the CCL team members now have access to the A14 builds and Fluffy has already forked and started the A14 update branch.  It would just be a bit of a pain to deal with doing any more commits to the git repo which aren't A14 related but doable if warranted.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

notfood


Miner_239

While you're updating, could someone add the option to change the minimap's base color? I'd like it to be transparent.

A click-through mode could also be useful in conjunction with transparency, working like an overlay map.

1000101

Minimap transparency (and some other minimap related requests) have been made.  In theory it is possible but with unity4 we would have had to do some clunky rendering mechanism to do it.  Hopefully with RW switching to unity5 that can be addressed more directly.

btw, please use our issues tracker for feature requests and bug reports.  They get lost in the forum thread otherwise.  :)
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Lockdown

#200
Quote from: 1000101 on June 29, 2016, 10:45:19 AM
I must have done the file path generation in a way which doesn't like some systems.  Will look into that.  However, RW should throw an error if the file(s) can't be created.

For clarity, file creation isn't where it's breaking, I can see CCL editing MCM_Data_Minimap.xml with the expected data whenever I tweak the minimap settings in-game. The problem only occurs when restarting the game after making changes, where CCL ignores the custom settings in MCM_Data_Minimap.xml entirely and just loads the default ones.

1000101

#201
Ahh, thanks for that clarification.  I understood it as it wasn't creating the files properly.

Also, what platform are you on?  Windows/Mac/Linux?  I'm just trying to determine if it's platform related or if I boffed something in a change to when the data is loaded (for pre-load MCMs).

Edit, just looked at the previous page and your log report, seems you are are running Windows.  Now the question is, which version of Windows?
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Lockdown

Quote from: 1000101 on June 30, 2016, 09:00:41 AM
Ahh, thanks for that clarification.  I understood it as it wasn't creating the files properly.

Also, what platform are you on?  Windows/Mac/Linux?  I'm just trying to determine if it's platform related or if I boffed something in a change to when the data is loaded (for pre-load MCMs).

Windows 10. I was wondering if maybe the file has write but not read permissions, but that doesn't seem to be the case.

1000101

Quote from: Lockdown on June 30, 2016, 09:03:47 AM
Quote from: 1000101 on June 30, 2016, 09:00:41 AM
Ahh, thanks for that clarification.  I understood it as it wasn't creating the files properly.

Also, what platform are you on?  Windows/Mac/Linux?  I'm just trying to determine if it's platform related or if I boffed something in a change to when the data is loaded (for pre-load MCMs).

Windows 10. I was wondering if maybe the file has write but not read permissions, but that doesn't seem to be the case.

Windows 10 rears it's ugly head.  Figures.  I'll see what I figure out.  Windows 10 is notorious for breaking software.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Lockdown

If it's of any help, the Blueprints mod by Fluffy also uses XML files to export/import data, and it works as intended on my system. I'm guessing it's using a different method to load XML files, that W10 doesn't take issue with.

skullywag

Silly question have you tried running rimworld "as admin"?
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

1000101

tbh, I can't see why this wouldn't work for you.  I had someone else test it on Win10 it works for them.  I had a look at the code and could see nothing obvious.  CCL is using RW's methods to read and write xml, generate file paths, it's using paths RW has access to, etc.  This is a bit of "wtf" here.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Lockdown

Quote from: skullywag on June 30, 2016, 11:00:33 AM
Silly question have you tried running rimworld "as admin"?

I tried just now, but no luck.

Quote from: 1000101 on June 30, 2016, 11:12:44 AM
tbh, I can't see why this wouldn't work for you.  I had someone else test it on Win10 it works for them.  I had a look at the code and could see nothing obvious.  CCL is using RW's methods to read and write xml, generate file paths, it's using paths RW has access to, etc.  This is a bit of "wtf" here.

I figured I must have done something wrong with CCL's installation, so I set off on trying again on a blank slate: clean install, this time on C:\ instead of F:\, on a newly created Windows user account so it gets its own AppData folder, running default Rimworld settings, and nothing in the load order other than Core and CCL. Yet it still won't load the custom minimap settings after a game restart.

Since a different user on a clean install has the bug too, I thought maybe it's a problem at the system level (I could have the wrong version of .NET framework, or something?), but if CCL uses the same methods as RW to extract data from XML, that doesn't explain how RW can load preference files just fine and CCL can't. "wtf" indeed.

notfood

I'm using Linux though, not windows 10.

1000101

Then I must be using the open method in a manner which isn't 100% correct.  I'll have to take a closer look at the vanilla code to see if I missed something.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By