Oh geez, it’d be text only as I’m a bit microphone shy… I can do the next best thing and link you to the information that helped me get everything setup:
Robik’s reply contains what you need for Windows, Sean Mirrsen’s later post contains a nice step by step breakdown. Step 7 can be skipped as the latest versions already include those changes, and with the recent addition of sdl_mixer you need to go get the libraries and header here: https://www.libsdl.org/projects/SDL_mixer/ (It’s SDL2_mixer-devel-2.0.0-VC.zip if you’re on Windows). Particularly you need sdl_mixer.h and sdl2_mixer.lib from the x86 folder, the dlls will be needed to actually run the game once you’ve successfully compiled it, just copy them all so the game executable and dlls are all in the same folder.
Following those steps, I think you’ll be able to successfully get a compiled binary without having to modify any of the game’s source.
[quote=“AdonaiJr, post:51, topic:9710”][quote=“Dlightfull, post:49, topic:9710”]this looks sounds very very good, with the sole exception of the footsteps - they’re just too loud.
By the way, i am pretty sure crickets don’t sing when it’s raining.[/quote]
Checking this thread almost daily, in vain hopes that there will be a download some day.
Seriously, this is what i want before i start playing Cataclysm again. Just cant bear the silence anymore.
This just makes the game feel a hundred times more immersive and engaging, can’t go back to silent-Cataclysm.
I’m sorry, it’s not so much that I’m busy but rather that this was a hell of a project to pick up and I kind of went into it totally blind, which is why it’s such a slow going as everything I’m doing I’m having to learn along the way… C++ is a neat language but by George can it be hard to parse when you’re just getting into it, crappy ol’ VB6 definitely had me spoiled.
What have I been up to: Since the last post I was having trouble getting SDL_mixer to cooperate after reaching a certain amount of loaded sounds- it was causing the game to randomly crash after about 1~2 hours of gameplay. Frustrated, I ripped out SDL_mixer entirely and replaced it with Audiere which has finally eliminated the crashing and has the added advantage of a better feature set than SDL_mixer. I’ve also been working on improving the way sounds are loaded, before I was loading a copy of audio per variant entry (eg: The Beretta M9 and the MP5 were each loading their own separate copy of the same sound) which is a bad way of going about things. I’ve changed this to loading a single sound entry and linking all the variants to use it instead.
Due to differences between how SDL_mixer and Audiere works, I have to rethink and rewrite much of what I had in place which is what I’m currently hammering away at.
Great to hear you’re making progress. With regards to SDL_mixer, what we’d have needed is a sound cache that loads sound on demand and ensures not too many sound effects are loaded at the same time. I’d planned to do that but time has been really tight lately because I now got a part time job in addition to uni to deal with. It might be harder getting something with Audiere merged because it’ll add an additional build dependency and I don’t know Audiere so I’m not sure it’s as easy to install as SDL_mixer.
By the way, with the high demand for this feature, maybe it’d make sense to set up a bountysource issue that people can back? Or are you not interested in money? Just wondering.
I actually tried doing that as well, loading sounds only when needed and unloading them when they weren’t needed. I was still getting the same access violation crashes on sdl2.dll after a bit of playing, never managed to track down why as the game would then refuse to crash when running with debugging symbols. The divide by zero crashes I mentioned previously were related to how sdl_mixer does its fade ins and fade outs when using specific audio channels, I couldn’t find a way to get around the problem without straight up modifying sdl_mixer’s source and rebuilding it so I just stopped using faders.
Audiere was about the same amount of work to make than sdl_mixer was as it has the exact same dependencies, this was on Windows using MSYS and mingw which is really rare that something will just make out of the box successfully without complaining. If it proves too troublesome to merge, I’ve still got the last working copy of the source using sdl_mixer in version control which I can keep hammering at until it functions correctly.
Just doing this for fun really, and I’m not really a big fan of that style of crowdfunding site for a number of reasons, chief among them is the implied commitment that comes along with it. I’d rather just keep this for funsies so I don’t burn myself out.
Good luck with the new job! I know firsthand how tough it is to juggle school and work at the same time- tried it myself during the 90s and failed spectacularly. These days I mull over it all the time for not trying hard enough when I had the chance. But hey, like they say: “You’re never too old to learn” so hopefully later this year if things go well financially, I’ll be going back to finally finish that comp sci degree I left pending.
Thanks for the feedback Kevin! I did update my compiler, but this time I got another related error.
edit: errors are coming from “sounds.h”
Baleur, I’m totally in this too, checking almost daily. I played Cataclysm just really little, but since the day I’ve seen this I can’t imagine playing without!
Vulkans, I really appreciate your efforts!
Guys, thanks for all feedback! Great people around this forums.