"Downgrade" a nightly file

ArmellineArmelline Member, PRO Posts: 5,456
I have a few things I would like to consider submitting to DBM, but I had a run of development where I totally failed to notice I was using the nightly build (I'm not an observant person) and so some of the things I'd want to submit are only openable in the nightlies. This is obviously no good.

They contain no rules or features that are exclusive to nightly builds, I just kinda happen to have hit Save while they were open in the nightly.

Any way to "downgrade" them to work in standard GS again? Or am I just stuck waiting for the next GS release to hit?

Comments

  • zypp1zypp1 Member Posts: 142
    Same here bro so easy to do
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    just rename the extension from gsdailyproj to gameproj. that should do it.
  • ArmellineArmelline Member, PRO Posts: 5,456
    edited March 2014
    just rename the extension from gsdailyproj to gameproj. that should do it.
    I tried that but unfortunately the resulting file won't open :(

    (In the stable release - still opens in the nightly).

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    there must be structure changes in the latest nightlies, it used to work back with the .19x nightlies
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Show package contents, open all the .xml files in that root directory and replace the bit where you see something like this;

    00.00.00241 to 0.10.4.1

    This is in the first 2 or so lines on all the .xml's.

    Now on the file, go to get info and change the extension from gsdailyproj to gameproj … Voila :)
  • dlaimdlaim Member Posts: 110
    And you can make an Adhoc version , then right click on ( Your game.app ) -- show package contents -- open your game.gameproj ..

  • ArmellineArmelline Member, PRO Posts: 5,456
    edited March 2014
    Show package contents, open all the .xml files in that root directory and replace the bit where you see something like this;

    00.00.00241 to 0.10.4.1

    This is in the first 2 or so lines on all the .xml's.

    Now on the file, go to get info and change the extension from gsdailyproj to gameproj … Voila :)
    I had tried this too, didn't work :( The resulting file was un-openable.
    And you can make an Adhoc version , then right click on ( Your game.app ) -- show package contents -- open your game.gameproj ..

    Will give this a go!
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    I've done the method above on countless projects and never had a problem opening it. You replacing to the exact version number you're using of GS? PM it to me if you like and i'll try to get it downgraded
  • ArmellineArmelline Member, PRO Posts: 5,456
    I've done the method above on countless projects and never had a problem opening it. You replacing to the exact version number you're using of GS? PM it to me if you like and i'll try to get it downgraded
    My best guess then is the app I'm using to edit the XML is changing the format in some way. Will find another one to try.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    I just plain old text edit
  • ArmellineArmelline Member, PRO Posts: 5,456
    I tried TextEdit, BBEdit and TextMate. I guess it just hates me :D

    Now that I looked, I notice that OS X can preview the files in Finder before I edit them, but not after.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Just editing GSCVersion="00.00.00.221"> and nothing else shouldn't stop you being able to preview or open in GS! Not are whats going on, has always worked fine for me
  • ArmellineArmelline Member, PRO Posts: 5,456
    Just editing GSCVersion="00.00.00.221"> and nothing else shouldn't stop you being able to preview or open in GS! Not are whats going on, has always worked fine for me
    Are you using Mavericks? I noticed that TextEdit had a lot of "under the hood" changes in Mavericks, and no longer handles files in the same way it used to.
  • ArmellineArmelline Member, PRO Posts: 5,456
    Soooo, having totally failed to convert my Tetris file to a non-nightly file, I gave up and tried my Poker hand one instead. Renaming that one did the trick.

    The only difference was that the Tetris was last saved in the latest nightly, the Poker one in one from a few months/weeks ago.

    In other words, who knows.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Nope, not taken the plunge into Mavericks as of yet! I know you weren't planning on releasing the tetris one or anything, so if you do want to send me that, I'm happy to see if I could downgrade it as a test
  • ArmellineArmelline Member, PRO Posts: 5,456
    Without wanting to imply I don't trust you, I'm pretty sure then that there are two issues at play here:

    TextEdit got changed in Mavericks and no longer plays as nicely with text files (seems it rich texts them up by default or something). It'll just be a matter of finding the right editor and then I'm sure your method will work. I have an XML editor somewhere from when I used it to re-order attributes in a project I was working on.

    The older nightlies seem to be able to have their project files just renamed, and the newer ones seem to require the version change. Which is a bit weird. :D Perhaps it's something else though, like maybe I accidentally added and deleted a loop at some point or something and there's a remnant of it left in the file.

    Who knows :D

    I've managed to downgrade the ones I need to, but if I don't get the Tetris one downgraded tomorrow I'll email it over to you for sure, if only to know if I'm going mad.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    No worries mate
  • beefy_clyrobeefy_clyro Member Posts: 5,394

    @Armelline Just thought I would follow up on this as I tried to convert my last build today and didn't work at the start, there are a few more steps you need to do;

    In the .xml, before where you enter GSCVersion=00.00.00.221 to 0.10.4.1 or whatever you are using, there is a version part as well which was at .20 on mine, I had to change this to .19.

    Lastly I had to delete the network.xml (not sure if I needed to but I did) but most importantly, I had to delete the myname .gsuser file.

    After doing the above, what's in this comment and renaming the extension, all opened fine in the public release :)

    Hope that helps!

Sign In or Register to comment.