WIN7/8 Combatibility + Fraps

Got a cool idea that should be in R'n'D? Let's hear it!

Moderators: Zomis, Flumminator

Post Reply
User avatar
Eizzoux
Posts: 243
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

WIN7/8 Combatibility + Fraps

Post by Eizzoux » Fri Oct 10, 2014 2:36 am

Hello there buddies! And hello, Holger! I have a couple question for you!

1. WIN7/8 Compatibility: Will you make compatible R'n'D with Windows 7 and Windows 8 (and coming soon the "Windows 10"? :shock: )?
It's just really not compatible with new WINDOWS and R'n'D have a problems with its:
a) Sometimes music disappears and I can play only with mute sound :(
b) Game on WIN7 works some bad and laggy :|

2. Compatibility with Fraps: Why Fraps can't record Rocks'n'diamonds? Can you make R'n'D visible for Fraps? If yes that would be great and easier to record a videos about Rocks'n'diamonds!
Nothing in here...*

User avatar
Holger
Site Admin
Posts: 2981
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: WIN7/8 Combatibility + Fraps

Post by Holger » Fri Oct 10, 2014 8:07 am

Generally, the Windows version of R'n'D should work just fine with Windows 7 and 8. I'm running it here in a Windows 7 VM without problems. Sound and music generally works, but I usually have it disabled when testing. So far I have not discovered laggy behaviour (which I found quite surprising, as it does not run natively, but in an emulated environment).

Regarding Fraps: As far as I can see, Fraps only supports programs using DirectX or OpenGL, and as I can see under "Info->Version Info" in R'n'D, it apparently does not use DirectX for graphics (at least on my development system with SDL2). No idea what I have to do to enable DirectX support in my SDL2 Windows build. Generally this should be no problem, as SDL2 should use DirectX natively. But apparently my SDL2.dll makes a fallback to Windows GDI graphics for whatever reason...

User avatar
Holger
Site Admin
Posts: 2981
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: WIN7/8 Combatibility + Fraps

Post by Holger » Fri Oct 10, 2014 6:19 pm

It just came to my mind that the game may behave differently in my VM exactly in this point: Graphics acceleration (or the potential absence of it) may be one of the main differences when compared to running natively.

What does "Info->Version Info" report regarding the audio and video driver that the game (SDL, to be precise) uses?

User avatar
Eizzoux
Posts: 243
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Almost

Post by Eizzoux » Tue Nov 29, 2016 3:59 am

Well, now I can say you almost did it, Holger! But now here's only one problem: MIDI and MP3/WAV music.
But, at least, this progress is already perfect! Good job on this, Holger!. And yeah, I don't need Fraps now because I has long been using Bandicam which can Rocks'n'diamonds however it opened (fullscreen or not) :D
Nothing in here...*

User avatar
Holger
Site Admin
Posts: 2981
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: WIN7/8 Combatibility + Fraps

Post by Holger » Wed Nov 30, 2016 9:20 am

But now here's only one problem: MIDI and MP3/WAV music.
What's the problem exactly? MP3 and WAV music/sound output always worked perfectly fine for me on all supported platforms. MIDI is another story, unfortunately: Although it works in general, there are some issues. Music quality could generally be better (this seems to be a problem with the MIDI implementation in SDL_mixer), it requires some additional files to be installed on Linux, it seems to be not-so-well supported on recent Windows versions (7/8/10), and it currently does not work at all on the Android version at the moment.
But, at least, this progress is already perfect! Good job on this, Holger!
I think I haven't changed anything at all since your first post on this topic. Maybe the problems you encountered only occurred on your specific system?

What does "Info->Version Info" report regarding the audio and video driver that the game (SDL, to be precise) uses?

User avatar
Eizzoux
Posts: 243
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Re: WIN7/8 Combatibility + Fraps

Post by Eizzoux » Thu Dec 01, 2016 9:05 am

Holger wrote:What's the problem exactly? MP3 and WAV music/sound output always worked perfectly fine for me on all supported platforms. MIDI is another story, unfortunately: Although it works in general, there are some issues. Music quality could generally be better (this seems to be a problem with the MIDI implementation in SDL_mixer), it requires some additional files to be installed on Linux, it seems to be not-so-well supported on recent Windows versions (7/8/10), and it currently does not work at all on the Android version at the moment.
I meant, the problem of MP3/WAV tracks is changes of music speed at certain frequencies. I don't think that it's a big problem. Just saying.
Also, while I was playing in 3.3.0.1 despite 3.3.1.2 was released, I had a strange thing in MP3 tracks. Some tracks begins playing from very high quick sudden sound. Maybe you fixed that in R'n'D 3.3.1.0/1/2 or R'n'D 4 RC1/2/3, I don't really knowbecause I didn't even play levelsets with MP3 music in 4 RC1-3.
Holger wrote:What does "Info->Version Info" report regarding the audio and video driver that the game (SDL, to be precise) uses?

Code: Select all

Drivers         Requested Used
SDL_videodriver [default] Windows
SDL_audiodriver [default] Xaudio2
Nothing in here...*

User avatar
Holger
Site Admin
Posts: 2981
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: WIN7/8 Combatibility + Fraps

Post by Holger » Tue Dec 06, 2016 3:19 pm

I meant, the problem of MP3/WAV tracks is changes of music speed at certain frequencies.
Sounds strange... If this is not only sporadic, but reproducible somehow, please let me know. :-o
Also, while I was playing in 3.3.0.1 despite 3.3.1.2 was released, I had a strange thing in MP3 tracks. Some tracks begins playing from very high quick sudden sound. Maybe you fixed that in R'n'D 3.3.1.0/1/2 or R'n'D 4 RC1/2/3
Sort of, yes. This is (unfortunately) a known issue with MP3 playback in SDL_mixer (both SDL 1.2 and SDL 2.0). I've reduced these sound quirks at the start of playing MP3s by applying a very quick/short fade-in when starting MP3 playback. It's still noticeable, but much better now.

And thanks for posting your SDL driver values! :-)

(I thought that the video driver should have been DirectX (which seems to be required for FRAPS), as I'm shipping the pre-compiled (not self-compiled) DLLs from the SDL binary package, but apparently it isn't...)

Post Reply