Compare commits
2 commits
5efac45bc8
...
fb0490e056
Author | SHA1 | Date | |
---|---|---|---|
fb0490e056 | |||
67c1609fc6 |
2 changed files with 7 additions and 14 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
BUILD_DIR := ./build
|
BUILD_DIR := ./build
|
||||||
CFLAGS := -O2
|
CFLAGS := -O2
|
||||||
LDFLAGS := -lX11 -lXext -lm
|
LDFLAGS := -lX11 -lXext -lm -lpthread
|
||||||
|
|
||||||
SRCS = src/Backends/Rendering/Software.cpp src/Backends/Audio/SoftwareMixer.cpp src/Backends/Audio/SoftwareMixer/Mixer.cpp src/Backends/Platform/X11.cpp src/Backends/Controller/Null.cpp src/Backends/Rendering/Window/Software/X11.cpp src/Backends/Audio/SoftwareMixer/Solaris.cpp src/ArmsItem.cpp src/Back.cpp src/Bitmap.cpp src/Boss.cpp src/BossAlmo1.cpp src/BossAlmo2.cpp src/BossBallos.cpp src/BossFrog.cpp src/BossIronH.cpp src/BossLife.cpp src/BossOhm.cpp src/BossPress.cpp src/BossTwinD.cpp src/BossX.cpp src/BulHit.cpp src/Bullet.cpp src/Caret.cpp src/Config.cpp src/Draw.cpp src/Ending.cpp src/Escape.cpp src/Fade.cpp src/File.cpp src/Flags.cpp src/Flash.cpp src/Font.cpp src/Frame.cpp src/Game.cpp src/Generic.cpp src/GenericLoad.cpp src/Input.cpp src/KeyControl.cpp src/Main.cpp src/Map.cpp src/MapName.cpp src/MiniMap.cpp src/MyChar.cpp src/MycHit.cpp src/MycParam.cpp src/NpChar.cpp src/NpcAct000.cpp src/NpcAct020.cpp src/NpcAct040.cpp src/NpcAct060.cpp src/NpcAct080.cpp src/NpcAct100.cpp src/NpcAct120.cpp src/NpcAct140.cpp src/NpcAct160.cpp src/NpcAct180.cpp src/NpcAct200.cpp src/NpcAct220.cpp src/NpcAct240.cpp src/NpcAct260.cpp src/NpcAct280.cpp src/NpcAct300.cpp src/NpcAct320.cpp src/NpcAct340.cpp src/NpcHit.cpp src/NpcTbl.cpp src/Organya.cpp src/PixTone.cpp src/Profile.cpp src/Random.cpp src/Resource.cpp src/SelStage.cpp src/Shoot.cpp src/Sound.cpp src/Stage.cpp src/Star.cpp src/TextScr.cpp src/Triangle.cpp src/ValueView.cpp
|
SRCS = src/Backends/Rendering/Software.cpp src/Backends/Audio/SoftwareMixer.cpp src/Backends/Audio/SoftwareMixer/Mixer.cpp src/Backends/Platform/X11.cpp src/Backends/Controller/Null.cpp src/Backends/Rendering/Window/Software/X11.cpp src/Backends/Audio/SoftwareMixer/Solaris.cpp src/ArmsItem.cpp src/Back.cpp src/Bitmap.cpp src/Boss.cpp src/BossAlmo1.cpp src/BossAlmo2.cpp src/BossBallos.cpp src/BossFrog.cpp src/BossIronH.cpp src/BossLife.cpp src/BossOhm.cpp src/BossPress.cpp src/BossTwinD.cpp src/BossX.cpp src/BulHit.cpp src/Bullet.cpp src/Caret.cpp src/Config.cpp src/Draw.cpp src/Ending.cpp src/Escape.cpp src/Fade.cpp src/File.cpp src/Flags.cpp src/Flash.cpp src/Font.cpp src/Frame.cpp src/Game.cpp src/Generic.cpp src/GenericLoad.cpp src/Input.cpp src/KeyControl.cpp src/Main.cpp src/Map.cpp src/MapName.cpp src/MiniMap.cpp src/MyChar.cpp src/MycHit.cpp src/MycParam.cpp src/NpChar.cpp src/NpcAct000.cpp src/NpcAct020.cpp src/NpcAct040.cpp src/NpcAct060.cpp src/NpcAct080.cpp src/NpcAct100.cpp src/NpcAct120.cpp src/NpcAct140.cpp src/NpcAct160.cpp src/NpcAct180.cpp src/NpcAct200.cpp src/NpcAct220.cpp src/NpcAct240.cpp src/NpcAct260.cpp src/NpcAct280.cpp src/NpcAct300.cpp src/NpcAct320.cpp src/NpcAct340.cpp src/NpcHit.cpp src/NpcTbl.cpp src/Organya.cpp src/PixTone.cpp src/Profile.cpp src/Random.cpp src/Resource.cpp src/SelStage.cpp src/Shoot.cpp src/Sound.cpp src/Stage.cpp src/Star.cpp src/TextScr.cpp src/Triangle.cpp src/ValueView.cpp
|
||||||
|
|
||||||
|
|
19
README.md
19
README.md
|
@ -14,25 +14,18 @@ This project has only been tested on Solaris 2.6 running on a Sun Ultra 1 Creato
|
||||||
|
|
||||||
While CSE2 normally uses CMake, this fork instead uses a Makefile for compiling on Solaris, due to the latest version of CMake available on the target being too old.
|
While CSE2 normally uses CMake, this fork instead uses a Makefile for compiling on Solaris, due to the latest version of CMake available on the target being too old.
|
||||||
|
|
||||||
Before building, ensure that the required build directories exist. The following commands will accomplish that.
|
Compile the game by running `make`. On genuine hardware this will take considerable time.
|
||||||
|
|
||||||
```
|
After compilation is complete, move or copy the `CSE2` binary to `game_english`, and run it from there, making sure that the appropriate `libstdc++` is findable. If it's not automatically findable, you can point the environment variable `LD_LIBRARY_PATH` to its path.
|
||||||
mkdir -p build/src/Backends/Rendering/Window/Software
|
|
||||||
mkdir -p build/src/Backends/Platform
|
|
||||||
mkdir -p build/src/Backends/Audio/SoftwareMixer
|
|
||||||
mkdir -p build/src/Backends/Controller
|
|
||||||
```
|
|
||||||
|
|
||||||
Then you can compile the game simply by running `make`. On genuine hardware this will take considerable time.
|
CSE2 requires a `Config.dat` file, which we cannot currently produce from inside the Solaris environment. If you do not need a custom `Config.dat` (and you probably don't), simply rename the included `Config.dat_default` to `Config.dat` and move it into `game_english`. If you need to change some settings, compile the `DoConfig` program on a modern PC and use it to create your config file. The need for this workaround is considered a bug and should be fixed (but it most likely won't be).
|
||||||
|
|
||||||
After compilation is complete, copy the `CSE2` binary to `game_english`, and run it from there, making sure that the appropriate `libstdc++` is findable. If it's not automatically findable, you can point the environment variable `LD_LIBRARY_PATH` to its path.
|
## Licensing
|
||||||
|
|
||||||
Note: CSE2 requires a `Config.dat` file, which we cannot currently produce from inside the Solaris environment. To create one, compile the `DoConfig` program on a modern PC and use it to create your config file. The need for this workaround is considered a bug and should be fixed. If you do not need a custom `Config.dat` (and you probably don't), simply rename the included `Config.dat_default` to `Config.dat` and move it into `game_english`.
|
|
||||||
|
|
||||||
## Licensing (from the original README)
|
|
||||||
|
|
||||||
Being a decompilation, the majority of the code in this project is proprietary
|
Being a decompilation, the majority of the code in this project is proprietary
|
||||||
and belongs to Daisuke "Pixel" Amaya.
|
and belongs to Daisuke "Pixel" Amaya.
|
||||||
|
|
||||||
Modifications and custom code are made available under the MIT licence. See
|
Modifications and custom code are made available under the MIT licence. See
|
||||||
`LICENCE.txt` for details.
|
`LICENCE.txt` for details.
|
||||||
|
|
||||||
|
Solaris port was created by John Lorentzson (Duuqnd), same license.
|
||||||
|
|
Loading…
Add table
Reference in a new issue