Duke4.net Forums: MIDI Music Not Working - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

MIDI Music Not Working

User is offline   deuxsonic 

#1

I recently grabbed the latest build of eDuke32 after the previous build I was using having been from early 2015 only to find that MIDI music no longer works. Looking through the log, there is no mention of any warnings or anything that would lead me to believe that it's running into a problem. Was this a planned change?

EDuke32 2.0.0devel r5617 (32-bit) C++ build
Compiled Feb  6 2016 21:16:12
Using E:/Games/EDuke32/ for game data
Running on Windows XP Service Pack 3 (build 5.1.2600)
Initializing SDL 2.0.4
Searching for game data...
Using "DUKE3D.GRP" as main game data file.
Compiling: GAME.CON (151190 bytes)
Including: DEFS.CON (35992 bytes)
Including: USER.CON (45482 bytes)
GAME.CON: In actor `ORGANTIC':
GAME.CON:3967: warning: found `else' with no `if'.
GAME.CON: In state `pigshootenemystate':
GAME.CON:5890: warning: found `else' with no `if'.
Found 2 warning(s), 0 error(s).
Script compiled in 22ms, 64724 bytes
Initialized 24.0M cache
RTS file "DUKE.RTS" was not found
Initializing OSD...
2 joystick(s) found
  1. Twin USB Vibration Gamepad
  2. Twin USB Vibration Gamepad
Joystick 1 has 4 axes, 12 buttons, and 1 hat(s).
Executing "settings.cfg"
Setting video mode 1600x1200 (32-bpp fullscreen)
OpenGL information
 NVIDIA Corporation GeForce GTX 560 SE/PCIe/SSE2/3DNOW! 4.5.0 NVIDIA 358.50
Opened "textures" as cache file
Initializing Polymer subsystem...
PR : Initialization complete in 133 ms.
Initializing music...
Initializing sound... 256 voices, 2 channels, 16-bit 48000 Hz
 
Wrote eduke32.cfg
Wrote settings.cfg

0

User is offline   TerminX 

  • el fundador

  #2

Definitely not intentional. Would you mind downloading old builds from synthesis and helping to figure out what revision broke it?
0

User is offline   deuxsonic 

#3

Sure.

Build 5605 is the first synthesis build that breaks it. This and all builds since are broken. I guess I'll go back to 5597 in the meantime which is the last build where it works.

This post has been edited by deuxsonic: 08 February 2016 - 02:46 AM

0

User is offline   NightFright 

  • The Truth is in here

#4

I can confirm this issue. Works with 5597, but anything newer is broken.
At first, I thought it's a problem with my MIDI device in Windows 10, so I switched from Coolsoft VirtualMIDISynth to BassMIDI. Still nothing. Then I found out that BassMIDI works just fine in ZDoom, so it couldn't be causing the issue.

Additionally, it seems that Lee Jackson's extended Grabbag replacement MIDI which I have in autoload won't play any more. Eduke32.log gives me this line:

S_PlayMusic(): error: empty music file "/GRABBAG.MID"


This also applies to 5597.

This post has been edited by NightFright: 10 February 2016 - 01:00 AM

0

User is offline   TerminX 

  • el fundador

  #5

Can you post your eduke32.cfg and settings.cfg?
0

User is offline   NightFright 

  • The Truth is in here

#6

Sure. Here they are.

eduke32.cfg:
Spoiler

settings.cfg:
Spoiler


This post has been edited by NightFright: 10 February 2016 - 01:37 AM

0

User is offline   deuxsonic 

#7

View PostNightFright, on 10 February 2016 - 01:37 AM, said:

Sure. Here they are.

eduke32.cfg:
Spoiler

settings.cfg:
Spoiler



I've deleted the configuration files to reset things and it's still an issue so I don't think either problem is due to a configuration setting.

Actually, while I'm at it, I'm curious why 2 settings files are needed, particularly when it's the same type of settings stored in each. Mouse controls get stored in one and keyboard controls in the other? Some graphics settings in one, some in the other. Unreal engine games were the first games I ran into that maintained more than 1 configuration file, but it was to separate engine settings from user settings -- there's no overlap.

This post has been edited by deuxsonic: 10 February 2016 - 05:25 AM

0

User is offline   NightFright 

  • The Truth is in here

#8

While not directly related to the problem, it may be considered again to add some additional MIDI synth support. As it stands now, Duke3D with EDuke32 is the only game for which I need to install a software synthesizer like BassMIDI or VMS to have MIDI music that sounds better than with the standard MS wavetable. I'd really like a solution like in ZDoom with Fluidsynth for example: Just drop the DLL into the game folder, specify a path to the soundfont, done.

Other than that, let's focus right now on bringing MIDI music back at all. :dukeaffirmative:

This post has been edited by NightFright: 12 February 2016 - 09:09 AM

0

User is offline   Player Lin 

#9

Win 7 x64 also can't hear any of MIDIs since r5605, do fresh installation still not works.

Try check the log from WebSVN, it seems only r5601 changed lot of MIDI related codes, not sure if it's the reason...

http://svn.eduke32.com/comp.php?repname=eduke32&compare[]=%2F@5600&compare[]=% 2F@5601

Hope it can be fixed soon...can't play Duke without those good'ol MIDIs. :\

This post has been edited by Player Lin: 13 February 2016 - 11:49 PM

0

User is offline   deuxsonic 

#10

View PostPlayer Lin, on 13 February 2016 - 11:48 PM, said:

Win 7 x64 also can't hear any of MIDIs since r5605, do fresh installation still not works.

Try check the log from WebSVN, it seems only r5601 changed lot of MIDI related codes, not sure if it's the reason...

http://svn.eduke32.com/comp.php?repname=eduke32&compare[]=%2F@5600&compare[]=% 2F@5601

Hope it can be fixed soon...can't play Duke without those good'ol MIDIs. :\


That's probably it. I suspected one of the builds between the one that works and the one that doesn't must have messed with MIDI code.

Do you by chance have 5600 and 5601 built? Then I could definitively pin it on 5601.

This post has been edited by deuxsonic: 14 February 2016 - 06:08 AM

0

User is offline   NightFright 

  • The Truth is in here

#11

Well, stick to 5597 for now and don't update until coding team says it's fixed, I guess. Or use one of the music packs as a temporary replacement if you really can't live without the changes applied since then.
0

User is offline   Player Lin 

#12

View Postdeuxsonic, on 14 February 2016 - 02:50 AM, said:

That's probably it. I suspected one of the builds between the one that works and the one that doesn't must have messed with MIDI code.

Do you by chance have 5600 and 5601 built? Then I could definitively pin it on 5601.



Sadly, I just lazy to create a build environment myself...have to use official snapshot builds. :\


View PostNightFright, on 17 February 2016 - 01:51 AM, said:

Well, stick to 5597 for now and don't update until coding team says it's fixed, I guess. Or use one of the music packs as a temporary replacement if you really can't live without the changes applied since then.


For me...no, I can't stick to 5597 because 5605 fixed that shit.

Hope this shit get fixed soon... :dukeaffirmative:
(Yes, I just like those good'ol MIDIs, so not considering to use other replacements... :) )

This post has been edited by Player Lin: 17 February 2016 - 06:30 AM

0

User is offline   deuxsonic 

#13

View PostPlayer Lin, on 17 February 2016 - 06:25 AM, said:

Sadly, I just lazy to create a build environment myself...have to use official snapshot builds. :\




For me...no, I can't stick to 5597 because 5605 fixed that shit.

Hope this shit get fixed soon... :dukeaffirmative:
(Yes, I just like those good'ol MIDIs, so not considering to use other replacements... :) )


I've long (like almost 2 decades now) had Yamaha's S-YXG50 handle everything MIDI, which generally yields an excellent result, so I've never felt the need to use recorded variants of the soundtrack. I do the same thing with GZDOOM. It would be a different story had the game handle music primarily as redbook audio with the MIDI as a lower-quality alternative (which is how Shadow Warrior and Blood and Descent II handled music among others.)
0

User is offline   dnskill 

  • Honored Donor

#14

I am having this issue as well with the latest Eduke, and also it would not load any additional folders (I have a folder that loads widescreen friendly sprites from Megaton) anymore.
0

User is offline   deuxsonic 

#15

View Postgerolf, on 06 March 2016 - 06:11 PM, said:

I am having this issue as well with the latest Eduke, and also it would not load any additional folders (I have a folder that loads widescreen friendly sprites from Megaton) anymore.


5650 fixes the MIDI playback issue. 5601 changes were reverted which were what broke it. The other problem sounds like a different bug.

This post has been edited by deuxsonic: 08 March 2016 - 02:07 PM

0

User is offline   dnskill 

  • Honored Donor

#16

Somehow, the music is working once again on the latest build. Also I found out why it wouldn't load the autoload folder.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options