All Projects → ptitSeb → Ctp2

ptitSeb / Ctp2

Civ: CTP2 (Call to Power 2) port to Linux, Pandora and Pyra. Status: Working

Labels

Projects that are alternatives of or similar to Ctp2

Main Game
This is a game.
Stars: ✭ 5 (-73.68%)
Mutual labels:  game
Six
scrapped prototype of stepmania 6. here for historical reasons.
Stars: ✭ 16 (-15.79%)
Mutual labels:  game
Veloren
[Mirror] An open world, open source voxel RPG inspired by Dwarf Fortress and Cube World
Stars: ✭ 868 (+4468.42%)
Mutual labels:  game
Pygame Learning Environment
PyGame Learning Environment (PLE) -- Reinforcement Learning Environment in Python.
Stars: ✭ 828 (+4257.89%)
Mutual labels:  game
Floppybird
Floppy Bird (OS)
Stars: ✭ 836 (+4300%)
Mutual labels:  game
Seeds Prototype
A connect the dots game with seeds (built in React)
Stars: ✭ 16 (-15.79%)
Mutual labels:  game
Networked Aframe
A web framework for building multi-user virtual reality experiences.
Stars: ✭ 803 (+4126.32%)
Mutual labels:  game
Blockly Gamepad
A Blockly extension designed to develop games (made with love ❤)
Stars: ✭ 18 (-5.26%)
Mutual labels:  game
Openjk Launcher
Launcher and installer for OpenJk
Stars: ✭ 16 (-15.79%)
Mutual labels:  game
Syscrack
Virtual Online Crime Simulator (VOCS) written in PHP 7.0
Stars: ✭ 17 (-10.53%)
Mutual labels:  game
2d Spaceshooter
A very simple 2D space shooter game made with Unity
Stars: ✭ 6 (-68.42%)
Mutual labels:  game
Game Programming Patterns Cn
《游戏编程模式》中文版
Stars: ✭ 837 (+4305.26%)
Mutual labels:  game
Camels
camels game
Stars: ✭ 17 (-10.53%)
Mutual labels:  game
Thatconf2015pong
Slides and sample project code (pong) for my talk at That Conference 2015
Stars: ✭ 5 (-73.68%)
Mutual labels:  game
Buttons And Boxes
A Sokoban-esque puzzle game developed in unity 3D in 2016
Stars: ✭ 17 (-10.53%)
Mutual labels:  game
Gonet
go分布式服务器,基于内存mmo
Stars: ✭ 804 (+4131.58%)
Mutual labels:  game
Black And White
Black & White - A colourful grid-based game for Pythonista on iOS
Stars: ✭ 16 (-15.79%)
Mutual labels:  game
Number Wizard Ui Original
Introducing basic User Interface in the Complete Unity C# Developer 2D course (http://gdev.tv/cudgithub)
Stars: ✭ 18 (-5.26%)
Mutual labels:  game
Dragon Taxes
🐲📝 Dragon Tax Return Simulator 2015 - A game made for Ludum Dare 33
Stars: ✭ 17 (-10.53%)
Mutual labels:  game
Brainpowerapp
A visual memory training game, a mobile game made with Xamarin for both Android and IOS .
Stars: ✭ 17 (-10.53%)
Mutual labels:  game

ctp2 build status

Deprecated

Note that this repo is deprecated. You'll have a better chance to get this running with this repo: https://github.com/civctp2/civctp2 that integrate all the change from here plus many more.

About

This is the Apolyton version of Call to Power II source code based on the released source code of Call to Power II, without the patch. It has been stripped of comments, but is otherwise complete as far as Activision code goes. It was originally built using Microsoft Visual Studio 6.0. In the mean time the Apolyton code was modified so that it works with the .NET compiler as well. This version build on Linux (i386 and x86_64), Pandora and Pyra.

Note that datas are not include in this repo, you'll need to get it from Original CD or from GoG version.

screenshot

This version should support CD Audio music, and also support Ripped CD Audio compressed as ogg (like found in the GoG version). The Audio tracks should be Named Track02.ogg to Track11.ogg and be in the ctp2_program/ctp/music folder.

Building

You will probably need GCC 5.x or later to build. It doesn't seems to build on GCC 4.8.

You will need SDL 1.2, SDL_Mixer, SDL_Image and GTK 2.0 libraries. You will also need byacc On debian and friend it's sudo apt install libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev byacc gtk+-2.0-dev to install all this.

The build itself is pretty classing and straight forward: ./autogen.sh ./configure make

You can look at ./configure for option, but there isn't much there.

Also, note that make -j4 may fail the first time. Some file are autogenerated and the make dependencies doesn't catch that.

Finaly, you may have to use gold instead of ld for link (add -fuse-ld=gold to your CFLAGS & CXXFLAGS if needed).

Installation

Beeing a CD Windows game initially, the installation process is bit complicated.

Prepare the datas

First you need the Data of the original game. If you have the CD version, it's better to install it on a Windows machine / using Wine and copy over the data. You need ctp2_data, ctp2_program and Scenarios folders.

If you have the GoG version, use innoextract to extract all the required datas (you can sudo apt install innoextract if you need) from the setup_call_to_power2_2.0.0.13.exe windows installer. For example innoextract -m -I app setup_call_to_power2_2.0.0.13.exe will extract the appfolder taht contains all game datas. The same ctp2_data, ctp2_program and Scenarios folders as with the CD are needed.

Put those folder in you home path or anywhere else, for example ~/ctp2

Use Apolyton datas

You then need to copy updated datas from this git over the original data. Simply cp -r ctp2_data/* ~/ctp2/ctp2_data should do the trick. Note that this is a Windows game, where file name is on a Case Insensitive file system. This version of the CTP2 handle this, and file name can have any case, but the cp command may not overwrite file that have different case. If you have strange behavour or think the data is not up-to-date, check that you don't have 2 copies of files, with different case (or lowercase everything if needed). Using the GoG version, no renaming is needed.

Copy Linux executable

When the build is over, you need to copy the main CTP2 executable, plus mapgen library to the program folder (wich is ctp2_program/ctp). for the executable, it will be something like: cp -v ctp2_code/ctp2 ~/ctp2/ctp2_program/ctp/ The mapgen libraries will go to ctp2_program/ctp/dll/map/ . So do something like cp -v ctp2_code/mapgen/.libs/*.so ~/ctp2/ctp2_program/ctp/dll/map/

Running

When everything is setup, simply go to the program folder, for example with cd ~/ctp2/ctp2_program/ctp and launch the game with ./ctp2. There are a few command line option like -fullscreen that can be usefull.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].