forked from rkkoszewski/ogg-winmm
-
Notifications
You must be signed in to change notification settings - Fork 1
pachuco/ogg-winmm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Ogg-winmm CD Audio Emulator This fork is based on the rkkoszewski fork. https://github.com/rkkoszewski/ogg-winmm Features convenient windows build system and packaged ogg libs. This project (originally by Hifi) uses .ogg music files on the disk to emulate CD tracks, replacing the need to have a CD in the drive to play music in certain games. Good Old Games uses a modified version for several of their games. It has gone unmaintained, so I took it upon myself to solve a couple issues, namely making it work on Windows 10. Good Old Games has fixed their own version, but it's not as useful without the source available, so I fixed it myself as well. BUILDING: Edit gccbase from build.bat or leave it empty if already in %PATH%. You may also edit executable names for GCC, AR and WINDRES if they somehow differ. By default, ogg/vorbis libs are built only once, while winmm is rebuilt everytime, but you can recompile libs with "build force" in console. "build debug" enables the _DEBUG define, for extra-verbose OutputDebugString. You may view the output of above with tool like SysInternals DebugView. USAGE: Copy "winmm.dll" into the same folder as the executable of the game you want to emulate CD music for. In the same folder, make a "MUSIC01" subdirectory. Place the recorded music files from the disk as TRACK02.OGG, TRACK03.OGG, and so on in this MUSIC01 folder. Remember, it starts with TRACK02! Now, instead of playing music from the CD, the game will play music from these files instead. Some games have multiple audio CDs(like Outwars), subsequent MUSICxx folders are created. The application must be hacked, and the following function must be called: > mciSendCommand(0, 0x850/*MCI_LOAD*/, 0, cdNumber); Multiple calls with same CD or inexistent CD numbers are gracefuly ignored.
About
ogg-winmm - Windows Multimedia CD Audio OGG player wrapper
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 58.6%
- C++ 23.9%
- HTML 15.8%
- Makefile 0.8%
- Shell 0.5%
- Batchfile 0.4%