Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 66b38ea7f9
Fetching contributors…

Cannot retrieve contributors at this time

51 lines (41 sloc) 3.79 KB

Get Involved!

Your own awesome changes

To work on the web component

Note: This project is not included in the main project, because having it included makes it unable to be opened from express editions, and we want to keep the development process open to all. It requires the main project to be built so it can include the required assemblies.

  • Get Visual Web Developer Express (
  • Open the subproject file under Webcontent/Webcontent.csproj with the web developer version of Visual Studio Express
  • Important This project references two components from the main project, you will have to add them as references
    • OCTGN\octgnFX\Skylabs.Lobby\bin\Debug\Skylabs.Lobby.dll
    • OCTGN\octgnFX\Octgn\bin\Debug\Skylabs.LobbyServer.exe
  • Do the greatness!


TODO: Installer, octgnFX/CassiniDev, octgnFX/ConsoleHelper, octgnFX/Graphics, octgnFX/Lib, octgnFX/Octgn.Data, octgnFX/Octgn.LobbyServer, octgnFX/Octgn.Server, octgnFX/Octgn.StandAloneServer, octgnFX/Skylabs.Lobby, octgnFX/Skylabs.MultiLogin, octgnFX/Webcontent


Octgn uses IronPython for its in-game scripting engine.

The python definitions go in You can call outside code with the following syntax: _api.function_name and it will call the corresponding function in ScriptApi.cs. For example, the following code found in is the random function: def rnd(min, max): return _api.Random(min, max)

It calls Random with a min and max value that is located in ScriptApi.cs.


Octgn.Data is the access to the database (mostly). OCTGN uses a SQLite Database to hold all game, set, and card data. This project provides access to that data in meaningful formats. Most of the items in this project are relatively self-explanatory, but keep in mind that many of them are only the data counterparts of octgnFX/Octgn classes.

Some of the classes do not (as of yet) have direct connections to the database. Deck.cs is a prime example. Currently all decks are stored/accessed as individual files with the user determining name and location.

Cards are installed through Octgn.Data/Game.cs. Data is read from a Set Def, which is a zip file that contains XML card definitions, images, and relationship data. OCTGN parses the cards through a CardModel.cs constructor (passing along an XML reader), and Inserts the models individually into the database.

Jump to Line
Something went wrong with that request. Please try again.