Coder Social home page Coder Social logo

drone1400 / rtdink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sethrobinson/rtdink

0.0 0.0 0.0 57.77 MB

Dink Smallwood HD is an old school zelda-like adventure/RPG that has been ported to many platforms. C++/OpenGL

License: Other

Shell 0.09% C++ 94.48% C 0.53% Java 0.12% NSIS 0.96% CMake 1.05% Batchfile 2.76%

rtdink's Introduction

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 2. Run proton\RTSimpleApp\media\update_media.bat to prepare the proton texture and sound assets

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

  2. 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:

  • proton\shared\win\lib\zlib1.dll
  • proton\shared\win\lib\audiere\bin\audiere.dll

To restore 64 bit libraries, copy these instead:

  • proton\shared\win\lib\zlib1.dll
  • proton\shared\win\lib\64\zlibwapi.dll
  • proton\shared\win\lib\audiere\lib64\audiere.dll

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 configuration, it should build and run just fine!

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:

  • proton\shared\win\lib\zlib1.dll
  • proton\shared\win\lib\64\zlibwapi.dll
  • proton\shared\win\fmodstudio\api\core\lib\x64\fmod.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
  1. 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!

  2. Your DinkHD should finally work now!

Other notes:

  • By default, Proton SDK's main.cpp is setup to compile for iPhone most likely. Assuming you'd rather not have an iPhone build, search the project for "//WORK: Change device emulation here" and right under that, change it from string desiredVideoMode = "iPhone Landscape"; or whatever it was to "string desiredVideoMode = "Windows"; instead. (this is where you can emulate many devices and sizes)

NOTE: this is no longer the case, currently the https://github.com/SethRobinson/proton repo is configured for windows by default!

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

rtdink's People

Contributors

sethrobinson avatar drone1400 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.