The Dink Network

Reply to Re: RTDink 1.93 for Windows 7

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 7th 2022, 12:31 PM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
Thanks Seth! For reference, the changes I made were fairly simple. First of all I changed the platform toolset for "Release GL" to the VS2017 Windows XP v141 version in VS2022, and then changed XUSER_MAX_COUNT in GamepadProviderXinput.cpp to "4", as that was what it was defined as in the Xinput 1.4 header file. I was also wrong about the DLL-renaming, as compiling it with an older Xinput makes it fall back to 9.1.0 and according to this, the only real drawcard of 1.4 is audio headsets meaning whatever new features are in 1.3 and 1.4 probably aren't used by the input handler at all. Supposedly the Windows 10 SDK can build for 7 by setting WINVER and _WIN32_WINNT in the preprocessor macros but it didn't work for me.

I built with SDL2_Mixer purely because I couldn't get FMod working, and that was by linking to the relevant library in the linker settings, and dragging in the audio handler files and uncommenting the relevant lines in App.cpp. Without the GUS patches, MIDI seems to stutter quite badly and I wouldn't recommend it for normal Windows builds.

The DirectX End-User Runtime Web Installer contains the relevant Xinput dlls, but also attempts to install the Bing toolbar ... It could probably be integrated into the Dink installer and set to run silently somehow, but 9.1.0 and 1.3 DLLs would be present on just about everyone's PCs already anyway, assuming they're using a crusty old PC with an equally decrepit install of W7 with years of updates and various other things installed like I am.

I was thinking of submitting a pull request for the Cmake Linux stuff as that seems a bit neglected, but as for RTDink, i'm not much of a C++ dev at all and barely know what a strcpy is meaning I doubt i'd be of much real assistance with anything of great depth. If I was going to change anything, i'd make it so that the MIDI dls feature is present on Windows too rather than just iOS/Emscripten as that would probably fix the janky fmod output and sound a lot better than the built-in Roland GS. Is there anything particularly major that needs addressing on Windows? How's 64-bit support?