The Dink Network

Version Checker

Description
This is a version checker that you can add into your dmod that returns a unique value for different versions of Dink Smallwood, Dink HD, and FreeDink.

The original get_version() command can not differentiate between dink 1.08 and freedink because they both return "108".

This version checker not only differentiates the above, but also returns unique values for FreeDink 109.6, and FreeDink version 108.4 or lower.

This file includes an initial version checker screen which runs when the player starts a new game, to initially detect and store away the version number.
The version is then updated whenever the player loads a save game, in case they have changed versions.

You can retrieve the version number at anytime, to adjust your scripting and make sure your Dmod is compatible across all major Dink Engine versions, or to check the player is using the correct version before the game play starts.

Packaged into a Dmod file for ease of organisation, even though there is not much gameplay at all (just two screens so you can immediately demo the file)

Included is a readme which details how to implement this into a dmod, and also a youtube video tutorial if you don't like reading.
The link to the video tutorial is listed in the readme file as well, but I have also listed it below:
https://www.youtube.com/playlist?list=PL23KcNyjVv-CYUI2rwZveGwxbzhRcKHMY

NOTE: This is a Development D-Mod, and it may not have a quest to complete or a story to experience.
Released:June 6th, 2020
File Size:164.72 KB
Downloads:31
Release Notes:Please delete any older versions of Version Checker from your Dink Smallwood Directory before downloading this updated version, installing over the top and merging them can cause bugs.

When I uploaded v2.01 of Version Checker, I accidentally uploaded the wrong file. An older, bugged version, instead of the new working version.

- ALL the fixes mentioned in the previous version should now be applied.
- Since I had a reason to update, I also fixed a typo, which I wasn't going to bother uploading a whole new version to fix.
Play:Play this D-Mod right now in your web browser! (More Info)
 
Let's Play (DSPT)

February 20th, 2020
1.02
Score : 9.0 exceptional
peasantmb.gif
yeoldetoast
Peasant Australia steam
discord.gg/Ukugfbh 
Since 2008 or so we've had an interesting schism in the Dink world in regards to engine variants and revisions. The good old days of 2006 and 1.08 for Windows are long gone, and instead we're dealing with Freedink on GNU/Linux and of course iPhone Dink among others. Unfortunately this introduces a slew of incompatibilities in regards to engine features that both authors and players must deal with. Until now, you've sort of had to beg nicely to the end user to use the right engine build and hope they complied, however now Robj has come up with something that deals with this in a very convenient way.

When I first used the demo DMOD included with this, I was amazed. Not only did it detect which version of Freedink I was using, it also figured out which particular build version on top of that. This shall be incredibly handy for everyone who wants to make sure that whatever mod they're making will be enjoyed optimally.
TopicPostsPosterLast Post
New version of version checker available4redink1August 2nd 2019, 04:19 PM