1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 20:59:09 +00:00
Branan Purvine-Riley 8fd2ab129b Merge pull request #47 from cwalther/Plasma
---

The attached commit changes the fSecs field of plUnifiedTime from UInt32 to time_t. This fixes various date formatting problems, e.g. missing log timestamps or output of the Net.GetServerTime console command, when building on a system where time_t is 64-bit (e.g. Visual Studio 2010, and possibly also 2008, though I didn’t test that), and, as a bonus, extends the range past 2038 on such systems.

The wire protocol is left at 32 bit for now, we might change that to 64 when other reasons to break compatibility have accumulated.

Avoiding unnecessary back-and-forth type conversions makes the change ripple out into several other files. Changes have been tested as far as I easily could, and introduce no new compiler warnings.

The minimal-invasive way of fixing only the date formatting, should you prefer that, is in branch [cwalther:timet-minimal](https://github.com/cwalther/Plasma/branches/timet-minimal) (9b54fb05c9471c1b3317a5f8ed6cd4c11977e9e1).
2011-06-18 23:38:42 -07:00
2011-04-11 09:01:10 -07:00
2011-04-11 16:27:55 -07:00

======
Plasma
======
A CMake-based fork of the GPLv3-licensed **CyanWorlds.com Engine** (Headspin/Plasma), with a focus on bug fixes, cross-platform compatibility, and enhanced features.

For more information, see http://mystonline.com/developers/


Related projects
----------------
- moul-scripts <https://github.com/H-uru/moul-scripts> - An updated repository of game scripts containing 
  bug-fixes and compatible with modern python interpreters for use with Plasma.
- dirtsand <https://github.com/H-uru/dirtsand> - An open-source Plasma-compatible server project.


Library Dependencies
--------------------
Plasma currently utilizes the following third-party libraries:

- Python 2.7 <http://www.python.org/download/releases/2.7/>
- nVidia PhysX 2.6.4 <http://developer.nvidia.com/physx-downloads>
- Creative Labs' OpenAL SDK 1.1 <http://connect.creativelabs.com/openal/Downloads/OpenAL11CoreSDK.zip>
- Microsoft DirectX SDK
  - November 2008 <http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5493f76a-6d37-478d-ba17-28b1cca4865a> or
  - June 2010 <http://www.microsoft.com/downloads/en/details.aspx?familyid=3021d52b-514e-41d3-ad02-438a3ba730ba>
- libOgg and libVorbis <http://www.xiph.org/downloads/>
- OpenSSL <http://www.slproweb.com/products/Win32OpenSSL.html>
- eXpat <http://expat.sourceforge.net/>
- libJPEG <http://www.ijg.org/>
- speex <http://www.speex.org/downloads/>
- zlib <http://zlib.net/>

Reducing the use of proprietary libraries is a focus of development and should be expected to change.


Compiling Instructions
----------------------
Currently, compilation only targets Windows systems and requires Visual Studio 2008 or Visual Studio 2010.  

Support for Visual Studio Express editions and other operating systems is planned.

To compile:

1)  Start CMake-GUI
2)  Select your clone of the repository as the source directory, and a build directory (such as .\build)
3)  Click 'Configure'
    If CMake cannot find required libraries (such as PhsyX or OpenAL) you may need to specify them manually:
    Default locations are C:\\physx_2.6.4\\SDKs for **PHYSX_SDK_PATH**, while C:\\Program Files\\OpenAL 1.1 SDK\\include and C:\\Program Files\\OpenAL 1.1 SDK\\libs\\Win32\\OpenAL32.lib are **OPENAL_INCLUDE_DIR** and **OPENAL_LIBRARY**, respectively.  Once you have set the missing paths, click 'Configure' again to complete this step.
4)  Click 'Generate' to create the Visual Studio solution and associated projects.
5)  Open the `Plasma.sln` Solution in Visual Studio and choose **Build->Build Solution**.


Additional Information
----------------------
- Myst Online is available to play for free at http://mystonline.com/play/
- For more information on this fork and more in-depth building instructions, see the  Guild of Writers wiki: <http://guildofwriters.com/wiki/Development:CyanWorlds.com_Engine>.
- This code was forked from the initial release repository at  OpenUru.org <http://openuru.org/>
Description
No description provided
Readme 168 MiB
Languages
C++ 66.3%
C 25.7%
Python 7%
Makefile 0.5%
HTML 0.3%