Closing in on a windows build (not quite there yet)
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@8 ea6a568a-9f4f-0410-981a-c910a81bb256actorid
parent
574196697d
commit
93b3054054
@ -0,0 +1,23 @@
|
|||||||
|
@echo off
|
||||||
|
rem See INSTALL.txt for instructions.
|
||||||
|
|
||||||
|
rem This batch file assumes you have run nodsss_monster.bat in the
|
||||||
|
rem Monster directory. It assumes Monster is located in ..\monster,
|
||||||
|
rem Ogre in ..\ogre and Audiere in ..\audiere
|
||||||
|
|
||||||
|
echo Compiling C++ files
|
||||||
|
g++ -c sound\cpp_audiere.cpp -I..\audiere\include
|
||||||
|
g++ -c ogre\cpp_ogre.cpp -I..\ogre\include
|
||||||
|
|
||||||
|
copy ..\ogre\bin\debug\ogremain_d.dll .
|
||||||
|
copy ..\ogre\bin\debug\ois_d.dll .
|
||||||
|
copy ..\ogre\bin\debug\cg.dll .
|
||||||
|
copy ..\audiere\bin\audiere.dll .
|
||||||
|
copy \windows\system32\d3dx9_30.dll d3dx9d_30.dll
|
||||||
|
|
||||||
|
echo Compiling main program (morro.exe)
|
||||||
|
gdc morro.d bsa\*.d core\*.d esm\*.d input\*.d nif\*.d ogre\*.d scene\*.d sound\*.d util\*.d cpp_audiere.o cpp_ogre.o ..\monster\monster\util\*.d ..\monster\monster\minibos\*.d ..\monster\monster\minibos\c\*.d ..\monster\monster\minibos\c\windows\*.d -I..\monster ogremain_d.dll ..\audiere\lib\audiere.lib OIS_d.dll -lstdc++ -o morro.exe
|
||||||
|
|
||||||
|
echo Setting up the correct Ogre cfg files
|
||||||
|
copy ogre.cfg.win32 ogre.cfg
|
||||||
|
copy plugins.cfg.win32 plugins.cfg
|
@ -1,7 +1,19 @@
|
|||||||
Render System=OpenGL Rendering Subsystem
|
Render System=Direct3D9 Rendering Subsystem
|
||||||
|
|
||||||
|
[Direct3D9 Rendering Subsystem]
|
||||||
|
Allow NVPerfHUD=No
|
||||||
|
Anti aliasing=None
|
||||||
|
Floating-point mode=Fastest
|
||||||
|
Full Screen=No
|
||||||
|
Rendering Device=NVIDIA Quadro NVS 135M
|
||||||
|
VSync=No
|
||||||
|
Video Mode=800 x 600 @ 32-bit colour
|
||||||
|
|
||||||
[OpenGL Rendering Subsystem]
|
[OpenGL Rendering Subsystem]
|
||||||
|
Colour Depth=32
|
||||||
|
Display Frequency=N/A
|
||||||
FSAA=0
|
FSAA=0
|
||||||
Full Screen=No
|
Full Screen=No
|
||||||
RTT Preferred Mode=FBO
|
RTT Preferred Mode=FBO
|
||||||
|
VSync=No
|
||||||
Video Mode=800 x 600
|
Video Mode=800 x 600
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
Render System=OpenGL Rendering Subsystem
|
||||||
|
|
||||||
|
[OpenGL Rendering Subsystem]
|
||||||
|
FSAA=0
|
||||||
|
Full Screen=No
|
||||||
|
RTT Preferred Mode=FBO
|
||||||
|
Video Mode=800 x 600
|
@ -0,0 +1,19 @@
|
|||||||
|
Render System=Direct3D9 Rendering Subsystem
|
||||||
|
|
||||||
|
[Direct3D9 Rendering Subsystem]
|
||||||
|
Allow NVPerfHUD=No
|
||||||
|
Anti aliasing=None
|
||||||
|
Floating-point mode=Fastest
|
||||||
|
Full Screen=No
|
||||||
|
Rendering Device=
|
||||||
|
VSync=No
|
||||||
|
Video Mode=800 x 600 @ 32-bit colour
|
||||||
|
|
||||||
|
[OpenGL Rendering Subsystem]
|
||||||
|
Colour Depth=32
|
||||||
|
Display Frequency=60
|
||||||
|
FSAA=0
|
||||||
|
Full Screen=No
|
||||||
|
RTT Preferred Mode=FBO
|
||||||
|
VSync=No
|
||||||
|
Video Mode=800 x 600
|
@ -1,13 +1,14 @@
|
|||||||
# Defines plugins to load
|
# Defines plugins to load
|
||||||
|
|
||||||
# Define plugin folder
|
# Define plugin folder
|
||||||
PluginFolder=/usr/lib/OGRE
|
PluginFolder=..\Ogre\bin\debug\
|
||||||
|
|
||||||
# Define plugins
|
# Define plugins
|
||||||
Plugin=RenderSystem_GL
|
Plugin=RenderSystem_Direct3D9_d
|
||||||
Plugin=Plugin_ParticleFX
|
Plugin=RenderSystem_GL_d
|
||||||
Plugin=Plugin_BSPSceneManager
|
Plugin=Plugin_ParticleFX_d
|
||||||
Plugin=Plugin_OctreeSceneManager
|
Plugin=Plugin_BSPSceneManager_d
|
||||||
# Plugin=Plugin_CgProgramManager
|
Plugin=Plugin_OctreeSceneManager_d
|
||||||
|
Plugin=Plugin_CgProgramManager_d
|
||||||
|
|
||||||
|
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
# Defines plugins to load
|
||||||
|
|
||||||
|
# Define plugin folder
|
||||||
|
PluginFolder=/usr/lib/OGRE
|
||||||
|
|
||||||
|
# Define plugins
|
||||||
|
Plugin=RenderSystem_GL
|
||||||
|
Plugin=Plugin_ParticleFX
|
||||||
|
Plugin=Plugin_BSPSceneManager
|
||||||
|
Plugin=Plugin_OctreeSceneManager
|
||||||
|
# Plugin=Plugin_CgProgramManager
|
||||||
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
|||||||
|
# Defines plugins to load
|
||||||
|
|
||||||
|
# Define plugin folder
|
||||||
|
PluginFolder=..\Ogre\bin\debug\
|
||||||
|
|
||||||
|
# Define plugins
|
||||||
|
Plugin=RenderSystem_Direct3D9_d
|
||||||
|
Plugin=RenderSystem_GL_d
|
||||||
|
Plugin=Plugin_ParticleFX_d
|
||||||
|
Plugin=Plugin_BSPSceneManager_d
|
||||||
|
Plugin=Plugin_OctreeSceneManager_d
|
||||||
|
Plugin=Plugin_CgProgramManager_d
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue