Introduction
The ICElib is a set of shared libraries that allow games to access IndieCity online services offering enhanced gameplay and features. Example features are the DRM check and leaderboards and achievements.
Installation
- add IndieCity repository to apt-get
- apt-get update
- Install icelib package: sudo apt-get install icelib
- Install icelib-dev package: sudo apt-get install icelib-dev
TODO add the packages and setup the repository.
Alternatively get the debian packages direct.
- Install icelib package: sudo dpkg –i icelib_1.0.13848.deb
- Install icelib-dev package: sudo dpkg –i icelib-dev_1.0.13848.deb
Create an IndieCity account
- Goto www.indiecity.com
- Click login
- Click register – and fill out form
- Click on Developers tab
- Click Register as a developer
- Fill out form and click Register
Create a game project
- log in to www.indiecity.com and register as a developer if not already done so
- click on developer icon
- Click on My games and Apps
- Click on Create project
- Click on Platform / Installers
- Click Raspberry Pi under Add platform
- Click Full Game
- Click Use IC Extras
- You Should now be able to see a game ID , ICELib ID , ICELIB Secret.
Tools
icdevreg
Modules
ICECore - IndieCity Extras integration interfaces
ICEBridge - IndieCity Extras client bridge interface
ICELanda - IndieCity Extras Leaderboards and Achievements interfaces
Example Code
icelibtest
Packages
icelib
- /usr/lib/icelib/icecore.so
- /usr/lib/icelib/icecore.so.1
- /usr/lib/icelib/icecore.so.1.0
- /usr/lib/icelib/icebridge.so
- /usr/lib/icelib/icebridge.so.1
- /usr/lib/icelib/icebridge.so.1.0
- /usr/lib/icelib/icelanda.so
- /usr/lib/icelib/icelanda.so.1
- /usr/lib/icelib/icelanda.so.1.0
icelib-dev
icelib-dev contains the headers and docs that the programmer will need to link to the game.
- /usr/doc/icelib/html/index.html Very work in progress docs are installed here
- /usr/include/icelib Icelib Headers are installed here
- /usr/bin/icdevreg Tool for getting user tokens for game here. /ref icdevreg
- /usr/local/src/icelib/icelibtest /ref examples