Windows (Installer)

  • Merbo
    27th Mar 2011 Member 0 Permalink
    Hey, I see you have a lack of installers. I can make them, they wont be graphical, but they will be fast. :D
    (Mine are raw source)
  • Cr15py
    27th Mar 2011 Member 0 Permalink
    gamerboy8864
    With some simple sockets I can write a Windows program that will retrieve the files from the internet and save them. Not hard.
  • Merbo
    27th Mar 2011 Member 0 Permalink
    @Cr15py
    Mine does something similar in batch.
    http://www.mediafire.com/?ehldwdh95u1sgtt
  • Cr15py
    27th Mar 2011 Member 0 Permalink
    gamerboy8864
    LMAO, batch :P
    Once you know how to use sockets their simple to implement for easy things(I just made my own class that automates the whole thing). Just look up HTTP server response headers, crafting a request is easy, and parsing a response is even easier, then you just wait until you get an EOF character to save the file. Want a % value? Content-Length: ####, just get strlen of the received characters and divide it by the content length.

    EDIT: Might I also mention it's faster, it teaches you more, and you can make the installer more dynamic! Don't give me the EXE either, just the source.
  • Merbo
    27th Mar 2011 Member 0 Permalink
    @Cr15py
    The noobs on facepalm* think C++ is icky. I'll go with batch, to satisfy them :P
    *facebook
  • Cr15py
    27th Mar 2011 Member 0 Permalink
    gamerboy8864
    Aha if it's an EXE then why does it matter?
  • Simon
    27th Mar 2011 Administrator 0 Permalink
    There really is no need for an installer since the Powder Toy has no external dependencies and you'll just end up placing the executable in a non-writable directory that will break auto-update.

    Also, your installer is more than twice the size of the actual game.
  • Cr15py
    27th Mar 2011 Member 0 Permalink
    Simon
    Probably because he just fucking copypasta'd the files. If he downloaded them it would be 1000x smaller!
  • randalserrano
    27th Mar 2011 Member 0 Permalink
    @Cr15py
    language.
  • Cr15py
    27th Mar 2011 Member 0 Permalink
    randalserrano
    I don't care