Not logged inOpenClonk Forum
Up Topic General / Announcements / Source code released
- - By Isilkor Date 2009-05-08 15:24 Edited 2013-03-31 23:00
As of today, the source code of OpenClonk has been released. You can browse the source via http://git.openclonk.org/openclonk.git/tree/, or you can grab a full copy from the repository using Git:
$ git clone git://git.openclonk.org/openclonk.git

Please note that you need to install the required libraries and headers into your compiler/linker's search path. The following libraries are required:
<ul><li>On all platforms: freetype, zlib, libjpeg, libpng, openssl, glew, boost</li>
<li>Windows only: fmod (if you want sound output), Win32 Platform SDK</li>
<li>Linux only(?): libX11, libXpm, libXxf86vm, libXrandr</li>
</ul>

For Visual C++ 2012, you can get most of those dependencies precompiled (32-bit, 64-bit). Simply unzip those into your source tree.
If you use MinGW, Günther provides dependencies for a g++ build.
Unfortunately, we are legally prohibited from redistributing the FMOD SDK. You will need to install and/or unpack it yourself (or skip it).
Reply
Parent - - By Maddin Date 2009-05-08 16:56
Nothing really playable yet, I guess?
Parent - By Isilkor Date 2009-05-08 17:11
No, there's no game content available so far.
Reply
Parent - - By henry [de] Date 2009-05-08 20:34
Gr8t!

>Mercurial


Why not SVN?
Parent - - By Luchs [de] Date 2009-05-08 21:26
SVN << Mercurial (< git!).
Parent - - By Günther [de] Date 2009-05-12 20:51
For those (like me) who prefer Git I recommend hg-git. It's not for git servers only, you can use a local repos.
Reply
Parent - By Luchs [de] Date 2009-05-14 19:37

>Achtung! This software is still in beta.


^- O_o!
Parent - By Günther [de] Date 2009-05-08 22:17
We need a distributed revision control system, which subversion is not. This might be a good introduction on the concept.
Reply
Parent - By Günther [de] Date 2009-05-09 14:49
I pushed most of the remaining stuff we got from Redwolf Design, mainly the Clonk, some graphics and the developer documentation. The game is now playable, but not any fun.
Reply
Parent - - By B_E [de] Date 2009-05-10 18:19
Will there be nightly builds or something similar some day? I can't imagine everyone compiling it himself after something major was pushed...
Parent - By Isilkor Date 2009-05-10 18:25
Maybe. Currently, there are no automated build processes, so any binary would have to be compiled manually.
Reply
Parent - By henry [de] Date 2009-05-10 22:00
Hey, next weekend or so I'll try to setup and compile this on my system. = D
Parent - - By Carli [de] Date 2009-05-11 14:47
Here my Code::Blocks-Port
http://www.file-upload.net/download-1633377/engine.vc9.cbp.html
http://www.codeblocks.org/
just save it to folder engine/ and try to run
Parent - - By Günther [de] Date 2009-05-11 19:56
Thanks, I put the project file in the repos.
Reply
Parent - - By Carli [de] Date 2009-05-11 20:14
thanks. (the other build options may not work an you have to deactivate gamepads. pls fix that- ask zapper, he uses C::B, too)
Parent - - By Zapper [de] Date 2009-05-12 13:26
Guenther is probably not going to fix that since he doesn't use C::B. But I can try to make a working project file :)
Parent - By Carli [de] Date 2009-05-13 13:25
ok thx. I had most of problems to make it run anyway because whole Standard-files were missing and the linked libs were not correct / not in the right order.
Parent - By henry [de] Date 2009-05-12 06:48
I'm using also cb. : >
Parent - By Carli [de] Date 2009-05-11 15:42
I also released an executable-package for those who do not have any compiler on their PC:
http://gwxf.forumieren.com/off-topic-f1/openclonk-release-t223.htm#3129
Parent - By Caesar [de] Date 2009-05-12 18:10 Edited 2009-07-28 17:49
This DirectX SDK seems to work, and you need no validation.
Parent - - By K-Pone [de] Date 2009-05-12 19:35
Well, quite good, but I don't know how to make it work. I think I will wait for a compiled executable file.
Parent - - By K-Pone [de] Date 2009-05-13 15:19
Thanks
Parent - By Carli [de] Date 2009-05-13 15:30
it's an older version but maybe i will make a new one when there are greater changes in the engine.
Parent - - By Kohlrabi [de] Date 2009-05-22 10:17
Has anyone been able to track down a x64 version of TortoiseHG for Windows? Shell extensions only work if they have the same "bitness" as the OS.
Reply
Parent - - By Sven2 [us] Date 2009-05-24 22:50
I cannot push to the repository.

*** HTTP Error 405: Method Not Allowed[command interrupted]
Parent - - By Isilkor Date 2009-05-24 23:32
Please use ssh://hg@hg.openclonk.org/openclonk to push. Remember to unlock your private key in Pageant beforehand.
Mercurial supports different URLs to pull and push in the repository settings.
Reply
Parent - - By Sven2 [us] Date 2009-05-25 00:46
Thanks, Guenther helped me already. Any problem if I pull via ssh as well?
Parent - By Isilkor Date 2009-05-25 01:25
No, you can do that, but you'll need to have Pageant running.
Reply
Parent - - By Isilkor Date 2010-09-12 11:52
We now have experimental read-only git access via http://git.openclonk.org/openclonk.git. Clone away!
Reply
Parent - - By Asmageddon [pl] Date 2010-09-15 17:12
"You don't have permission to access /openclonk.git/ on this server."
Reply
Parent - By Luchs [de] Date 2010-09-15 20:29
Apparently your browser isn't able to clone git repositories.
Parent - By Isilkor Date 2010-09-16 15:13
You can't use your browser, but you can clone from there using git. There's no web interface on that location because the mercurial one is fine, I believe.
Reply
Parent - - By Isilkor Date 2010-09-26 20:22
Update! Since hg-git is being a huge pain in the ass and consumed all available RAM on a recent merge, I've disabled the bridge. Apologies for the inconvenience.
Reply
Parent - - By Günther [de] Date 2010-09-26 20:32
Could you publish the scripts you used to set the bridge up?
Reply
Parent - By Isilkor Date 2010-09-26 20:45
git post-update hook:
[ $USER != "hg" ] && sudo -u hg /usr/bin/hg pull -R /home/hg/repos/openclonk --config 'hooks.changegroup.git_push1=' --config 'hooks.changegroup.git_push2=' --config 'extensions.git=!' git

hg [extensions] section:
hgext.git =

hg [hooks] section:
changegroup.git_push1 = /usr/bin/hg bookmark -f -r default master
changegroup.git_push2 = /usr/bin/hg push --config 'hooks.outgoing.aaaaa_servelog=' -f git > /dev/null
Reply
Parent - - By Isilkor Date 2011-11-10 18:10 Edited 2011-11-10 18:28

Important update for Mercurial users running Windows


Since recent revisions of Mercurial have deprecated the Win32Text extension which we used so far to ensure we don't end up with mixed line endings inside the repository, you will need to switch to the EOL extension.
For TortoiseHg, you do this like follows:

If you aren't using TortoiseHg, you probably know how to enable/disable extensions.

The EOL extension will also ensure your planet folder will be checked out with LF line endings. This should help against games which fail due to different line endings in data files.
If you didn't use Win32Text so far, you should still activate EOL. The reason behind this is that the repository will update to EOL as well, and the current repository hook that prohibits CRLF line endings in head revisions will check intermediate revisions too. This means you won't be able to fix line endings by adding another changeset. Activating EOL will make sure you get it right the first time.

After enabling EOL, you may need to re-checkout the repository. To do this, right-click the current revision on the repository browser, select "Update", then input "null" in the "Update to" field. Check the box that says "Discard local changes". Make sure you have backed up any local changes you might have made. Push the "Update" button. Then right-click the revision again, update, and don't change the "Update to" field. Update to any revision that's a descendant of 4a354e3adaf7.
Reply
Parent - - By Newton [de] Date 2011-11-10 20:37
Can I/must I use the EOL extension also with the old TortoiseHG client? (TortoiseHg version 1.1.10 with with Mercurial-1.8.1)
Parent - By Isilkor Date 2011-11-10 20:48
You probably should. Mercurial 1.8.1 ships EOL, according to their website; with TortoiseHg 1, you may need to enable it by hand though. To do that, open your <repository>/.hg/hgrc file, and in the "[extensions]" section, add a line "hgext.eol=". (Add the section if it doesn't exist yet.)
Reply
Parent - - By PeterW [gb] Date 2011-11-11 19:20 Edited 2011-11-11 19:22
Hm, strictly speaking we should probably suggest setting the property for the openclonk repository only instead of globally... Nice guide otherwise.
Parent - By Isilkor Date 2011-11-11 19:26
It's not a problem to set it globally, EOL is only active in repositories with a .hgeol file.
Reply
Parent - By Newton [de] Date 2011-11-20 22:14
remote: added 3 changesets with 6 changes to 6 files
remote: error: pretxnchangegroup.crlf hook failed: end-of-line check failed:
remote:   planet/Objects.ocd/HUD.ocd/Ringmenu.ocd/Menupoint.ocd/GraphicsNoBG.png in 84d03d09aa70 should not have CRLF line endings
remote: transaction abort!
remote: rollback completed


I am using the EOL extension.
Up Topic General / Announcements / Source code released

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill