mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-23 06:41:08 +00:00
- readme updates
- openmw -h switch no longer invokes config system (and therefore does not require eg. data/ to exist) git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@35 ea6a568a-9f4f-0410-981a-c910a81bb256
This commit is contained in:
parent
27b68f6f5b
commit
3c1964feca
@ -48,18 +48,24 @@ DMD 1.031 (D compiler)
|
|||||||
|
|
||||||
|
|
||||||
The above versions are the ones I have tested recently, but other
|
The above versions are the ones I have tested recently, but other
|
||||||
versions might work. OGRE, OIS and the other libraries have
|
versions might work. OGRE, OpenAL and the other libraries have
|
||||||
dependencies of their own, so I recommend using an automated package
|
dependencies of their own, so I recommend using an automated package
|
||||||
tool to install as many of these as possible. On ubuntu, try typing:
|
tool to install as many of these as possible. On ubuntu, try typing:
|
||||||
|
|
||||||
sudo apt-get install libogre-dev libavcodec-dev libavformat-dev libois-dev build-essential g++ gdc
|
sudo apt-get install libogre-dev libavcodec-dev libavformat-dev libois-dev build-essential g++ gdc
|
||||||
|
|
||||||
If you want to install Ogre, OpenAL or OIS manually, try:
|
A note about
|
||||||
|
|
||||||
|
libavcodec and libavformat are part of the FFmpeg package, which is
|
||||||
|
part of the 'mplayer' project. Note that some of the codecs might be
|
||||||
|
patented in your country.
|
||||||
|
|
||||||
|
If you want to install Ogre, OpenAL, OIS or FFmpeg manually, try:
|
||||||
|
|
||||||
OGRE: http://ogre3d.org/
|
OGRE: http://ogre3d.org/
|
||||||
OpenAL: http://openal.org/
|
OpenAL: http://openal.org/
|
||||||
OIS: http://sourceforge.net/projects/wgois/
|
OIS: http://sourceforge.net/projects/wgois/
|
||||||
|
FFmpeg: http://ffmpeg.mplayerhq.hu/download.html
|
||||||
|
|
||||||
|
|
||||||
Choosing a D compiler
|
Choosing a D compiler
|
||||||
|
@ -25,23 +25,31 @@ Dependencies:
|
|||||||
Dependencies needed to build OpenMW:
|
Dependencies needed to build OpenMW:
|
||||||
|
|
||||||
OGRE 1.4.9 (3d engine)
|
OGRE 1.4.9 (3d engine)
|
||||||
Audiere 1.9.4 (sound engine)
|
OpenAL (3d sound system)
|
||||||
|
libavcodec,
|
||||||
|
libavformat (For MP3 playback)
|
||||||
Mingw (C++ compiler)
|
Mingw (C++ compiler)
|
||||||
gdc 4.1.3 (mingw) (D compiler)
|
gdc 4.1.3 (mingw) (D compiler)
|
||||||
|
|
||||||
The above versions are the ones I have tested recently, but other
|
The above versions are the ones I have tested recently, but other
|
||||||
versions might work. OGRE, Audiere and OIS are complex libraries with
|
versions might work. OGRE, OpenAL and OIS are complex libraries with
|
||||||
their own set of dependencies. I recommend downloading prebuild SDKs
|
their own set of dependencies. I recommend downloading prebuild SDKs
|
||||||
instead of building them from source. You can find these here:
|
instead of building them from source.
|
||||||
|
|
||||||
|
libavcodec and libavformat are part of the FFmpeg package, which is
|
||||||
|
part of the 'mplayer' project. Note that some of the codecs might be
|
||||||
|
patented in your country.
|
||||||
|
|
||||||
|
You can find the libraries here:
|
||||||
|
|
||||||
OGRE: http://ogre3d.org (See "Getting Ogre" in README-win32.txt for details)
|
OGRE: http://ogre3d.org (See "Getting Ogre" in README-win32.txt for details)
|
||||||
Audiere: http://audiere.sourceforge.net/
|
OIS: Comes with the Ogre SDK
|
||||||
OIS: Comes with Ogre
|
OpenAL: http://openal.org/
|
||||||
Mingw http://sourceforge.net/projects/mingw/
|
Mingw http://sourceforge.net/projects/mingw/
|
||||||
gdc http://sourceforge.net/projects/gdcwin/
|
gdc http://sourceforge.net/projects/gdcwin/
|
||||||
|
|
||||||
(Note that the "official" D compiler, DMD, will not work, because it
|
(Note that the "official" D compiler, DMD, will not currently work on
|
||||||
is incompatible with most C++ compilers in Windows.)
|
Windows, because it is incompatible with most C++ compilers.)
|
||||||
|
|
||||||
|
|
||||||
Setting everything up
|
Setting everything up
|
||||||
@ -61,7 +69,6 @@ The build script expects to find the Ogre and Audiere SDKs in the
|
|||||||
parent directory. An example directory structure is:
|
parent directory. An example directory structure is:
|
||||||
|
|
||||||
c:\openmw\Ogre - Ogre SDK
|
c:\openmw\Ogre - Ogre SDK
|
||||||
c:\openmw\Audiere - Audiere SDK
|
|
||||||
c:\openmw\openmw - OpenMW source
|
c:\openmw\openmw - OpenMW source
|
||||||
|
|
||||||
|
|
||||||
|
12
README.txt
12
README.txt
@ -49,13 +49,12 @@ major goals on the web page.
|
|||||||
On the immediate TODO list:
|
On the immediate TODO list:
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
- read the data files in the correct code page
|
- full support for localized versions (with character recoding)
|
||||||
- switch audio to OpenAL
|
|
||||||
- support for Mac
|
- support for Mac
|
||||||
- collision detection
|
- collision detection + walking & fall physics
|
||||||
- displaying creatures correcty, animation
|
- displaying creatures correcty, animation
|
||||||
- rendering NPCs
|
- rendering NPCs
|
||||||
- GUI/HUD system
|
- choosing a GUI/HUD system that playes well with OGRE
|
||||||
- rendering outdoor scenes (exterior cells)
|
- rendering outdoor scenes (exterior cells)
|
||||||
|
|
||||||
|
|
||||||
@ -123,12 +122,13 @@ Thanks goes out to:
|
|||||||
Changelog:
|
Changelog:
|
||||||
==========
|
==========
|
||||||
|
|
||||||
0.4 (2008 jul. 20) - work in progress
|
0.4 (2008 jul. 23) - work in progress
|
||||||
|
|
||||||
- switched from Audiere to OpenAL (BIG thanks to Chris Robinson)
|
- switched from Audiere to OpenAL (BIG thanks to Chris Robinson)
|
||||||
- added complete Makefile (again) as a alternative build tool
|
- added complete Makefile (again) as a alternative build tool
|
||||||
- much more realistic lighting (thanks again to Chris Robinson)
|
- much more realistic lighting (thanks again to Chris Robinson)
|
||||||
- should work with Russian version
|
- various localization fixes - tested with Russian and French versions
|
||||||
|
- temporary workaround for the Unicode issue: invalid UTF displayed as '?'
|
||||||
- various bug-fixes
|
- various bug-fixes
|
||||||
- cosmetic changes to placate gdc -Wall
|
- cosmetic changes to placate gdc -Wall
|
||||||
|
|
||||||
|
@ -326,7 +326,7 @@ struct ConfigManager
|
|||||||
// Create the config file
|
// Create the config file
|
||||||
void writeConfig()
|
void writeConfig()
|
||||||
{
|
{
|
||||||
writefln("writeConfig(%s)", confFile);
|
//writefln("writeConfig(%s)", confFile);
|
||||||
with(iniWriter)
|
with(iniWriter)
|
||||||
{
|
{
|
||||||
openFile(confFile);
|
openFile(confFile);
|
||||||
|
31
openmw.d
31
openmw.d
@ -100,6 +100,25 @@ void main(char[][] args)
|
|||||||
render=false;
|
render=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void showHelp()
|
||||||
|
{
|
||||||
|
writefln("Syntax: %s [options] cell-name [cell-name]", args[0]);
|
||||||
|
writefln(" Options:");
|
||||||
|
writefln(" -n Only load, do not render");
|
||||||
|
writefln(" -ex,y Load exterior cell (x,y)");
|
||||||
|
writefln(" -rk Reset key bindings to default");
|
||||||
|
writefln(" -oc Show the Ogre config dialogue");
|
||||||
|
writefln(" -h Show this help");
|
||||||
|
writefln("");
|
||||||
|
writefln("Specifying more than one cell implies -n");
|
||||||
|
}
|
||||||
|
|
||||||
|
if(help)
|
||||||
|
{
|
||||||
|
showHelp();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
initializeMemoryRegions();
|
initializeMemoryRegions();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -130,17 +149,9 @@ void main(char[][] args)
|
|||||||
if(cells.length == 1)
|
if(cells.length == 1)
|
||||||
config.defaultCell = cells[0];
|
config.defaultCell = cells[0];
|
||||||
|
|
||||||
if(help || (cells.length == 0 && eCells.length == 0))
|
if(cells.length == 0 && eCells.length == 0)
|
||||||
{
|
{
|
||||||
writefln("Syntax: %s [options] cell-name [cell-name]", args[0]);
|
showHelp();
|
||||||
writefln(" Options:");
|
|
||||||
writefln(" -n Only load, do not render");
|
|
||||||
writefln(" -ex,y Load exterior cell (x,y)");
|
|
||||||
writefln(" -rk Reset key bindings to default");
|
|
||||||
writefln(" -oc Show the Ogre config dialogue");
|
|
||||||
writefln(" -h Show this help");
|
|
||||||
writefln("");
|
|
||||||
writefln("Specifying more than one cell implies -n");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user