SethRobinson / RTDink

Dink Smallwood HD is an old school zelda-like adventure/RPG that has been ported to many platforms. C++/OpenGL
Other
59 stars 7 forks source link

Dink Smallwood HD

To just download working versions to play Dink Smallwood:

Visit https://www.rtsoft.com/pages/dink.php for installers for Windows, Mac, iOS, Android

The latest version should also be mirrored on The Dink Network: https://www.dinknetwork.com/file/dink_smallwood_hd/

How to compile and run the source to create dink.exe on Windows using Visual Studio 2022:

Step 1 - Getting the Proton Engine and building RTSimpleApp

  1. Clone the proton engine from https://github.com/SethRobinson/proton

git clone https://github.com/SethRobinson/proton

  1. Run proton\RTSimpleApp\media\update_media.bat to prepare the proton texture and sound assets

  2. Open proton\RTSimpleApp\windows_vc\RTSimpleApp.sln

  3. Select DebugGL | x64 or ReleaseGL | x64 configuration, build and run it, it should work!

NOTE: If you want to build for Win32, you will have to manually copy the 32 bit versions of the following dll files:

To restore 64 bit libraries, copy these instead:

If you have any issues, check out these two pages for more info on the Proton engine:

Step 2 - Getting FMOD and Building RTSimpleApp in FMOD mode

  1. You need to get the FMOD Studio API, head on over to https://www.fmod.com/download#fmodengine and download the latest version of FMOD Engine, which comes with the FMOD Studio API

IMPORTANT NOTE: You will need to register an account!!

  1. Extract the API files into this location proton\shared\win\fmodstudio\

  2. NOTE: You don't need to INSTALL the FMOD Engine, you just need to extract the api\core subfolder, which you can do with 7zip for example

  1. Open proton\RTSimpleApp\windows_vc\RTSimpleApp.sln once again

  2. Select the DebugFMOD_GL | x64 or ReleaseFMOD_GL | x64 configuration, it should build just fine.

  3. Before you can run the build, you will need to copy over the fmod dll files into the output folder proton\RTSimpleApp\bin:

    • proton\shared\win\fmodstudio\api\core\lib\x64\fmod.dll
  4. The RTSimpleApp with FMOD enabled should run now!

Step 3 - Finally, building and running RTDink

  1. Go into the proton root folder and clone the RTDink repo

git clone https://github.com/SethRobinson/RTDink

  1. Run proton\RTDink\media\update_media.bat to prepare the proton texture and sound assets

  2. Open proton\RTDink\windows_vs2017\iPhoneRTDink.sln

  3. Select the Debug GL | x64 or Release GL | x64 configuration, if you installed everything correctly so far, it should build just fine, however, it won't run just yet!

  4. You need to also copy the required x64 dll files and the certificate for curl into the output folder proton\RTDink\bin:

    • proton\shared\win\fmodstudio\api\core\lib\x64\fmod.dll
    • proton\shared\win\lib\zlib1.dll
    • proton\shared\win\lib\64\zlibwapi.dll
    • proton\shared\win\lib\x64\libcurl-x64.dll
    • proton\shared\win\lib\x64\libcrypto-1_1-x64.dll
    • proton\shared\win\lib\x64\libssl-1_1-x64.dll
    • proton\shared\win\lib\x64\curl-ca-bundle.crt
  5. Your DinkHD build should run now, but you are not quite done! You also need the Dink game assets, or your application will crash when you try to start a new game. To get those, simply download an official distribution of DinkHD or DinkV1.08 and copy the dink subfolder from there to your proton\RTDink\bin folder!

You can get the dink game assets from either of these releases.

  1. Your DinkHD should finally work now!

Other notes:

Have a bugfix or patch?! Please send it over to Seth! Please note that any submission (code, media, translations, ect) must be 100% compatible with the license as listed in the source license!

NOTE: this is no longer the case, currently the https://github.com/SethRobinson/proton repo is configured for windows by default! However, keep this in mind if for some reason you want to use an older version of Proton / RTDink!