Comments (6)
I'd debug it if my anything worked. I'm running the same WildMIDI version but the playback still doesn't work. I'd guess that if mSong wasn't just somehow nullptr at that point, it would potentially be an issue in WildMIDI.
from opentesarena.
Is your soundfont path in options.txt
set correctly? I'm using the freepats .zip package from here.
from opentesarena.
Looks like it's probably working now, just ran into the issue from #24 though. Time to fix that assertion!
Edit Works after that, let me attach the debugger and see what's going on.
Looks like nothing is wrong here, process is running fine. I'll set an explicit breakpoint on the destructor and see if there's anything amiss. But it looks like nothing weird is going on.
from opentesarena.
If I comment out WildMidi_Close(mSong);
, then the program runs like normal and plays the music as intended, but it's obviously not closing the MIDI tracks then.
However, with WildMidi_Close(mSong)
commented, Visual Studio then breaks at WildMidi_Shutdown()
in ~WildMidiDevice()
on application exit.
I tried getting the return code from WildMidi_Close(mSong)
, but the debugger can never get that far.
I wonder if this could be at all related to using a newer MSVCR__.dll than @psi29a's recommended MSVCR80.dll for WildMIDI (since MSVCR80.dll is intended for Visual Studio 2005).
from opentesarena.
I would see where it is breaking. You should be able to at least see what binary blob it halted in (a DLL name in the call stack or something). You could build WildMIDI as a debug library and link that so you can better debug what is going on as then it will have symbols to properly debug WIldMidi.
from opentesarena.
Well, I was able to build wildmidi_dynamic.dll and its associated debug files, and after putting them in the OpenTESArena library folder, the program doesn't have any trouble anymore with WildMIDI. Strange.
from opentesarena.
Related Issues (20)
- Improving first-time contributor experience on Windows HOT 1
- Software renderer redesign for 0.15.0 HOT 7
- A Question about the capablities of OpenTESAreana HOT 1
- Is this still being worked on? HOT 2
- Fan translations support and improved .EXE unpacking HOT 11
- Hit Chance Calculation. Clarification/Verification requested for wiki HOT 1
- Is external MIDI supported? HOT 1
- Switch to GitHub Actions HOT 4
- C++20 HOT 3
- Change Travis CI badge in Readme to GitHub Actions HOT 2
- Locate player's Arena install in Steam HOT 9
- Mysterious performance hiccup every ~3 seconds HOT 1
- Job system HOT 1
- Very slow performance HOT 6
- -march=native not supported on Apple M1 HOT 3
- Game world palette documentation HOT 11
- Triangle clipping improvement HOT 1
- Revise Readme to prioritize obtaining game files from Steam HOT 4
- Couldn't find: options-default.txt if path contains accented characters HOT 2
- "couldn't init game distance. closing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentesarena.