Solver Posted September 2, 2014 Author Share Posted September 2, 2014 Sorry guys, I do not have many reasonable ideas there. I don't know why LibreOffice corrupts them like that (should be a simple format), and whether it will do so on every computer - it may be worth a try either way for someone else. Something like xmllint might work to fix the corrupted files, but that's for Linux users. Quote Link to comment Share on other sites More sharing options...
silencer Posted September 2, 2014 Share Posted September 2, 2014 Windows 7 also contains something called Works. It's cheaper edition of Excel. Might give a try. Quote Link to comment Share on other sites More sharing options...
Chris Posted September 2, 2014 Share Posted September 2, 2014 Maybe just set up a new entirely XML based format that can be edited in Notepad++? <crew> <min="1" max="3" race="andron" rank="guard"> <min="1" max="3" race="andron" rank="warrior"> </crew> Or something? The UFOcontents files have always been a mess. Quote Link to comment Share on other sites More sharing options...
Solver Posted September 2, 2014 Author Share Posted September 2, 2014 The issue there is that, since a particular alien may be specified for any mission type, a purely textual XML file would be more difficult for those who can, in fact, use Excel. It's not like strings.xml where Excel only messes things up. I have not actually debugged the issue, but it appears that LibreOffice corruption stems from a known issue in XMLSS export from LibreOffice. If this is the issue, then one would guess that TinyXML doesn't parse those files properly if so exported. If this proves to be enough of a pain in the butt, making a separate ufocontents editor might be warranted. Quote Link to comment Share on other sites More sharing options...
Chris Posted September 2, 2014 Share Posted September 2, 2014 Would it? So for a Caesan Corvette you could have a structure like this: <mission="terror, baseattack"> <crew> <min="1" max="3" race="caesan" rank="guard"> <min="1" max="3" race="caesan" rank="warrior"> </crew> </mission> <mission="research"> <crew> <min="1" max="3" race="caesan" rank="guard"> <min="0" max="1" race="harridan" rank="warrior"> </crew> </mission> I actually think that'd be fairly straightforward and would lead to less duplication overall (you could even just have a single file for "Corvette" if you wanted). But that's only my opinion, and I'm sure changing it over might be quite a bit of work. Quote Link to comment Share on other sites More sharing options...
kabill Posted September 2, 2014 Share Posted September 2, 2014 I suspect that method would still require more effort than the current format with Excel, but I wonder whether the disadvantages wouldn't be small compared with the extra accessibility gained for non-Excel users. (Although the idea of having to redo the ufocontents changes for Dynamic UFOs again does not thrill me after the time spent on it last week!) Quote Link to comment Share on other sites More sharing options...
Solver Posted September 2, 2014 Author Share Posted September 2, 2014 Don't get me wrong, that is not a bad format, and I would have probably done something similar if doing things from scratch (I would have avoided the Excel stuff anyway), but X:CE 0.28 already has full support for two different formats of ufocontents. I don't see adding a third format as being a particularly good move. The best solution is to fix the underlying problem, as always Quote Link to comment Share on other sites More sharing options...
Solver Posted September 2, 2014 Author Share Posted September 2, 2014 Don't get me wrong, that is not a bad format, and I would have probably done something similar if doing things from scratch (I would have avoided the Excel stuff anyway), but X:CE 0.28 already has full support for two different formats of ufocontents. I don't see adding a third format as being a particularly good move. The best solution is to fix the underlying problem, as always Quote Link to comment Share on other sites More sharing options...
tanarg Posted September 4, 2014 Share Posted September 4, 2014 . Quote Link to comment Share on other sites More sharing options...
Zakouski Posted September 12, 2014 Share Posted September 12, 2014 (edited) It seems the CE is not available anymore on Steam via the "beta" selection. The file begins to download, stops à 14mb, and then restart downloading, etc. EDIT : the file in direct download of CE 0.28 is considered "corrupted or damaged". Another Edit : all fine now. Edited September 15, 2014 by Zakouski Quote Link to comment Share on other sites More sharing options...
endersblade Posted September 16, 2014 Share Posted September 16, 2014 I keep seeing people mention .29. Is it getting close to release? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.