Windows Installation Instructions
=================================

Optional: The MikMod library 3.1.11 (See http://mikmod.raphnet.net)

This game should compile on:
Microsoft Visual Studio C++ V6.0 or V7.0

Note: The source code files should be in the PC text format (CR,LF)

To Enable Cheat Mode: Modify registry key:
[HKEY_CURRENT_USER\Software\Apache Software\(game name)\Options]
"F1 Cheat"=dword:00000001

MICROSOFT VISUAL C++
=========================
VC7.0: Double click on source\win32\mfc\methane.sln to open the project and compile "Debug" or "Release"
VC6.0: Double click on source\win32\mfc\methane.dsw to open the project and compile "Debug" or "Release"

MICROSOFT VISUAL C++ - With Sound (Instructions for VC7.0)
==========================================================
For Sound: Get LibMikMod (minimum 3.1.11)
Start Visual C++
Choose Menu: File/New/Project
 Choose (under Visual C++ projects) Win32 Project
 Project Name: libmikmod
 Location: \libmikmod-3.1.11\win32
 Platform = Win32
Click okay
Select Application Settings --> Static library
Select Application Settings --> MFC
Deselect all other Application Settings.

Click Finishto create the project
Under solution fileview, add source files
 \libmikmod-3.1.11\mmio\*.c
 \libmikmod-3.1.11\playercode\*.c
 \libmikmod-3.1.11\loaders\*.c
 \libmikmod-3.1.11\drivers\
   "Drv_nos.c" "Drv_ds.c" "Drv_raw.c" 
   "drv_stdout.c" "Drv_wav.c" "Drv_win.c"
Modify libmikmod properties (On both debug and release)
Add to the project options (C/C++/Proprocessor/Proprocessor Definitions)
  DRV_DS;HAVE_FCNTL_H;HAVE_MALLOC_H;HAVE_LIMITS_H
Add to the project options (C/C++/General/Additional Include Directories)
 Add \libmikmod-3.1.11\include
Modify  \libmikmod-3.1.11\win32\mikmod_build.h at line 52 (after #endif)
 #undef MIKMODAPI
 #define MIKMODAPI
 #under _mm_malloc
 #under _mm_cmalloc
 #under _mm_free

Use explorer to copy
  \libmikmod-3.1.11\win32\mikmod_build.h
  to \libmikmod-3.1.11\include\mikmod_build.h
  and to \libmikmod-3.1.11\include\mikmod.h (yes, this is a different filename!)

Build both the debug and release version

Type: copy \libmikmod-3.1.11\win32\libmikmod\debug\mikmod.lib \methane\source\win32\mfc\libmikmodD.lib
Type: copy \libmikmod-3.1.11\win32\libmikmod\release\mikmod.lib \methane\source\win32\mfc\libmikmodR.lib
Double click on \methane\source\win32\mfc\methane.sln to open the project and compile "DebugSound" or "ReleaseSound"

Enjoy!

