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:
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).
$ 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).
Nothing really playable yet, I guess?
No, there's no game content available so far.
Gr8t!
Why not SVN?
>Mercurial
Why not SVN?
SVN << Mercurial (< git!).
For those (like me) who prefer Git I recommend hg-git. It's not for git servers only, you can use a local repos.
>Achtung! This software is still in beta.
^- O_o!
We need a distributed revision control system, which subversion is not. This might be a good introduction on the concept.
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.
Will there be nightly builds or something similar some day? I can't imagine everyone compiling it himself after something major was pushed...
Maybe. Currently, there are no automated build processes, so any binary would have to be compiled manually.
Hey, next weekend or so I'll try to setup and compile this on my system. = D
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
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
Thanks, I put the project file in the repos.
thanks. (the other build options may not work an you have to deactivate gamepads. pls fix that- ask zapper, he uses C::B, too)
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 :)
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.
I'm using also cb. : >
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
http://gwxf.forumieren.com/off-topic-f1/openclonk-release-t223.htm#3129
This DirectX SDK seems to work, and you need no validation.
Well, quite good, but I don't know how to make it work. I think I will wait for a compiled executable file.
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.
I cannot push to the repository.
*** HTTP Error 405: Method Not Allowed[command interrupted]
*** HTTP Error 405: Method Not Allowed[command interrupted]
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.
Mercurial supports different URLs to pull and push in the repository settings.
We now have experimental read-only git access via http://git.openclonk.org/openclonk.git. Clone away!
"You don't have permission to access /openclonk.git/ on this server."
Apparently your browser isn't able to clone git repositories.
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.
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.
Could you publish the scripts you used to set the bridge up?
git post-update hook:
hg [extensions] section:
hg [hooks] section:
[ $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
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.
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)
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.)
Hm, strictly speaking we should probably suggest setting the property for the openclonk repository only instead of globally... Nice guide otherwise.
It's not a problem to set it globally, EOL is only active in repositories with a .hgeol file.
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.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill