Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Documents
    • Music
    • Sound Effects
    • Textures
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
FLARE

Make the build number or some sum number unique for each commit

shirish
Saturday, December 10, 2011 - 07:02

Hi all, 

Would it be possible to make the build number or some number unique so whenever you are compiling so we know that we are playing the latest build. What we get is something like v 0.15 which is not right. What I would suggest is if it each build becomes unique either by using the commit id (for e.g. 9504852 which are the first 6 numbers of today's update)  or the first 6 numbers of sha1sum,sha256 whatever sum number is good.

 

$ sha512sum flare

229984d06e5a96bc64a19ee1f26587b0ac16887172604616eb31d2b7e73ae80e6a849844f239e5234fd8020ac18c29323dbe44425cba60d7bf8f881238136f56  flare

 

So in this case it would be 229984 . Mind you this is in on 64-bit GNU/Linux Debian on Debian Sid. 

Btw can somebody share where the savegames are? I tried both in /home/shirish/games/flare as well as .config/flare/ but neither place I can see a directory or a file by the name save/saves or something, maybe I'm not looking hard enough. Any suggestion would be nice. 

 

 

  • Add new comment
shirish
Saturday, December 10, 2011 - 07:54

Update:- 

Found that the save file is saved at ~/.local/share/flare/save1.txt . A weird place to save the save file if you ask me. Thank you ceninam on #OGA . 

 

  • reply
wokste
Saturday, December 10, 2011 - 10:50

What would be your suggestion to the location of the save file?

(A better directory can be turned into a ticket in github, maybe with converting support)

  • reply
shirish
Saturday, December 10, 2011 - 12:46

Preferably in the same directory where the game is. I do see NOW that clint had told of the directory in the README . 

 

SAVE FILES

==========

Save files are stored in one of these places:

$XDG_DATA_HOME/flare

$HOME/.local/share/flare

./saves

 guess I should have paid attention to that part as well. 

  • reply
Clint Bellanger
Saturday, December 10, 2011 - 13:06
Clint Bellanger's picture

Save, config, and data file locations follow the XDG standard. I know it's weird.

We're not actually posting binary builds, just checking in code updates. It doesn't make sense to maintain a build number. Plus we have several developers working at different paces, not building on one central machine.

  • reply

Add new comment

The content of this field is kept private and will not be shown publicly.
Right Column

More information about text formats

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <img> <del> <strike> <h1> <h2> <h3> <h4> <h5>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Attachments
You may attach one or more images to your post.
Files must be less than 200 MB.
Allowed file types: png gif jpg jpeg.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Fill in the blank.