Pages: 1
Author Topic: Bug / Error: Missing header file (GME.h)  (25,352 Views)
Offline (Unknown gender) Jimmy_D

Member
Joined: Jan 2014
Posts: 69
View profile
Posted on: January 24, 2014, 12:43:53 AM

I've been playing around with LGM and just experimenting a little.  There seems to be a missing header file whenever I use the MIDI emulation box I have it checked, but during compile it says missing GME.h.  Not that I use General MIDI emulation :P but just thought I would point this out, why have that option there if the file is missing :D

Cheers
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #1 Posted on: January 24, 2014, 01:35:37 AM
GME is Game Music Emulator, it is an extension which you enable under Build->Settings and selecting the "Extensions" tab.
Offline (Unknown gender) Jimmy_D

Member
Joined: Jan 2014
Posts: 69
View profile
Reply #2 Posted on: January 24, 2014, 02:09:21 AM
Yes I know what it is :) and what it's used for, but the point is why have this option when the gme.h file is missing.  During compile I got an error missing gme.h file.

Just thought I'd point this out :D
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #3 Posted on: January 24, 2014, 02:28:10 AM
Ohhh I see what happened here, I didn't know GME was an actual API, I thought that was just the name of some extension cheeseboy or whoever added to the system.

http://code.google.com/p/game-music-emu/

Basically, we don't distribute it because it is not essential to the main engine of ENIGMA or in anyway part of the main GM API, so you'll need to obtain and compile the source code and place the headers in the appropriate compiler include folder. Or if you are on Linux just checkout, run make, then make install it.
Offline (Unknown gender) Jimmy_D

Member
Joined: Jan 2014
Posts: 69
View profile
Reply #4 Posted on: January 24, 2014, 02:45:09 AM
Quote from: Robert B Colton on January 24, 2014, 02:28:10 AM
Ohhh I see what happened here, I didn't know GME was an actual API, I thought that was just the name of some extension cheeseboy or whoever added to the system.

http://code.google.com/p/game-music-emu/

Basically, we don't distribute it because it is not essential to the main engine of ENIGMA or in anyway part of the main GM API, so you'll need to obtain and compile the source code and place the headers in the appropriate compiler include folder. Or if you are on Linux just checkout, run make, then make install it.

Ok no problem, won't bother as I don't use MIDI files in games :D

The reason I stumbled across this is I was experimenting a little and was curious to see how much adding in all those extensions affected the EXE file sizes...

Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #5 Posted on: January 24, 2014, 02:47:52 AM
That's really the only point of it I guess is that you can take those old sound formats from really old games and use them directly instead of converting them.
Offline (Unknown gender) Jimmy_D

Member
Joined: Jan 2014
Posts: 69
View profile
Reply #6 Posted on: January 24, 2014, 02:52:13 AM
Quote from: Robert B Colton on January 24, 2014, 02:47:52 AM
That's really the only point of it I guess is that you can take those old sound formats from really old games and use them directly instead of converting them.

Oh and I'm on Windows 7 64bit BTW.

Yes the use of the MIDI would greatly reduce file sizes if you use music a lot, but seeing how games have become large enough to fit on a couple of double layer DVDs and downloadable demos are in the multi gigabytes, that's not an aspect I would worry about anymore.  For bigger games I am more into using external resoruces, just like any "modern" game does at the moment.......:P
Pages: 1