Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

How would RMXP download updates to an offline game?

My idea: You download my game, install it, and then run it. You are given an option to check for updates. You select yes, It then connects to the internet via ftp or somesuch, downloads a single file which happens to be an external ruby script. The game then runs said script, checking a variable within it which stores the version number to see if it matches it's own variable. If it doesn't the external script then connects and downloads specific files and installs them in to the game directory overwriting files if needed or adding files not present. It thens updates the game's version variable and restarts the program. It then asks if you want to check for updates, and when you say yes it downloads the script again, and when it compares the variable, prints back to you "You already have the current version" then goes to the title screen. Of course if you say no at any time, it will send you to the title screen.

Now, how would i do this?
 

Dko

Member

Well im not Tdata so I don't know or sure but I think the script would work for your offline game. Updating is the same for other games. Just changing the files that are on your hard drive with newer ones that work better(hopefully)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top