{"id":1075,"date":"2023-01-23T15:48:53","date_gmt":"2023-01-23T15:48:53","guid":{"rendered":"https:\/\/byteboxmedia.support\/?p=1075"},"modified":"2023-01-23T15:48:53","modified_gmt":"2023-01-23T15:48:53","slug":"launcher-versioning","status":"publish","type":"post","link":"https:\/\/byteboxmedia.support\/docs\/game-launcher-creator-v3\/launcher-versioning\/","title":{"rendered":"Launcher Versioning"},"content":{"rendered":"

GLCV3 has a versioning<\/a> system built-in, allowing you to configure how versioning is done for your game or application.<\/p>\n

Check at Start<\/h5>\n

Toggle this setting to ON to automatically check for the versioning at the start of the launcher. This will check the version information before the launcher starts and you can then decide what to do in the global event<\/a> ‘Upon Update Available<\/strong>‘.<\/p>\n

Tip: GLCV3 supports semantic versioning to two decimal places.<\/p>\n

Examples of supported formats:
\n1.0
\n1.12
\n1.12.34<\/div><\/div>\n

Local Version<\/h5>\n

From this drop-down list, you can select how your launcher should check for the local version<\/a> information. There are three choices we will look at and explain below.<\/p>\n

File<\/h6>\n

You can specify a local text filename here. Inside the text file, you should just list the version number in semantic versioning (see above).<\/p>\n

INI File<\/h6>\n

You can tell the launcher to check a local INI file for the version number. You should specify the filename, the INI group (without the brackets [ ]) and the INI item name.<\/p>\n

Local INI File<\/strong> – Specify the local filename here (example: version.ini).
\nINI Group<\/strong> – Specify the group inside the INI where the item is held (without the brackets [ ]) – (example: my_group)
\nINI Item<\/strong> – Specify the item name inside the group where the version number is held (example: version_number)<\/p>\n

Here is an example of what your INI file should look like inside using the above example:<\/p>\n

[my_group]<\/strong>
\nversion_number=1.3<\/strong><\/p>\n

Registry<\/h6>\n

You can tell the launcher to look in the Registry for the local version number.<\/p>\n

Registry Root<\/strong> – Specify the Registry Root Key for this registry entry. Valid root keys are:<\/p>\n

HKEY_CLASSES_ROOT
\nHKEY_CURRENT_USER
\nHKEY_LOCAL_MACHINE
\nHKEY_USERS
\nHKEY_CURRENT_CONFIG<\/p>\n

Current Key<\/strong> – Specify the current key for this registry entry.<\/p>\n

String<\/strong> – Specify the String name inside the registry entry that holds the current version number.<\/p>\n

Registry Example<\/h5>\n

\"\"<\/p>\n

\"\"<\/p>\n

From the example above, inside our Registry, these are the settings below, we would require inside our versioning settings inside GLCV3…<\/p>\n

\"\"<\/p>\n

Whatever method you choose for the launcher to check for the local version information, is the same method that will be used to update the version information if you choose to use the built-in updater<\/a> or patching system (AOPS2).<\/p>\n

Remote Version<\/h5>\n

This is the method used to check online for the latest version number.<\/p>\n

Remote File<\/h6>\n

Select this to use a text file on your webserver. The text file can be any readable file such as .txt file, or you can just remove the extension altogether. You must make sure that the file is accessible and readable through a web browser. You can test this by copying the URL and pasting it into your web browser. You should see the number string load up in your browser.<\/p>\n

Web-Script<\/h6>\n

Select this method if you wish to query a PHP or ASP script online. You can use this method if you wish for the PHP script to select the version number from a database for exampe.<\/p>\n

This must be the full, absolute URL with http or https protocol.<\/p>\n

Upon Update Available (Global Event)<\/h5>\n

You can specify actions to happen here should there be an update available.<\/p>\n","protected":false},"excerpt":{"rendered":"

GLCV3 has a versioning system built-in, allowing you to configure how versioning is done for your game or application. Check at Start Toggle this setting to ON to automatically check for the versioning at the start of the launcher. This will check the version information before the launcher starts and you can then decide what […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/1075"}],"collection":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/comments?post=1075"}],"version-history":[{"count":1,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/1075\/revisions"}],"predecessor-version":[{"id":1079,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/posts\/1075\/revisions\/1079"}],"wp:attachment":[{"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/media?parent=1075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/categories?post=1075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byteboxmedia.support\/wp-json\/wp\/v2\/tags?post=1075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}