Fractal Softworks Forum
April 18, 2019, 03:31:04 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Starsector 0.9a is out! (11/16/18); In-dev patch notes for 0.9.1a (01/31/19)
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Saved Variant Extractor  (Read 12991 times)
DrakonST
Captain
****
Posts: 333


Lizard-Wizard


View Profile Email
« Reply #15 on: November 14, 2016, 07:18:49 PM »

Hm.  Probably the code is a bit out of date with recent updates to Starsector.  ...Unfortunately, I seem to have misplaced the original source code, which makes it a bit hard to update.

I can try to get a working version of this put together again this weekend, though; it was pretty simple to make the first time, so it shouldn't be that much harder to rebuild from scratch.  (Or, if the version you've got includes source code, I can PM you my email address, have you send me the existing version, and then work from that.)
You can't load him from here?
http://www.mediafire.com/download/ciusb55ka3sas57/Saved_Variant_Converter.zip
Logged

I a Russian. And i communicate with the help of Promt Translate. And I am a color-blind person.
Wyvern
Admiral
*****
Posts: 2187


View Profile
« Reply #16 on: November 20, 2016, 03:13:55 PM »

Oh, apparently I can.  Huh, I remember that download not working the last time I tried it.  Okay then...
« Last Edit: November 20, 2016, 03:17:51 PM by Wyvern » Logged

Wyvern is 100% correct about the math.
Wyvern
Admiral
*****
Posts: 2187


View Profile
« Reply #17 on: November 20, 2016, 03:37:39 PM »

If you're curious, the change was a perfectly sensible one: Alex changed all the <string>blah</string> entries in the save format to <st>blah</st>.  I bet that actually saved a decent chunk of file size - but it broke my code that was looking for things named <string>.

Attaching the fixed code; yeah, the forum will auto-wipe that after a while, but maybe LazyWizard will be kind to those that aren't developers and package it up again; until then, my original instructions for compiling & running it should work fine.  (Note to self: maybe next weekend, I should sit down and do a proper packaging up myself; there are a few usability improvements that'd be worth considering...)

[attachment deleted by admin]
« Last Edit: November 20, 2016, 03:39:48 PM by Wyvern » Logged

Wyvern is 100% correct about the math.
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2011, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!