Jump to content


Photo

Public Access to the latest TDM Source Code in SVN

svn

  • Please log in to reply
24 replies to this topic

#1 greebo

greebo

    Heroic Coder

  • Root
  • 15956 posts

Posted 04 November 2012 - 12:40 AM

I've reconfigured our repository server to allow public read-only access to the source code. This means interested readers can check out the latest code from the SVN trunk and produce patches or similar. It's also possible to view the changes in detail, or have a look at the SVN commit log, statistics and such.

The public read-only SVN URL is https://svn.thedarkm...rkmod_src/trunk

Only team members and contributors are allowed to commit to this repository. Also note that the actual asset base (the stuff that ends up in all the tdm_*.pk4 files) is not open for public viewing, since the team feels that there should be something left for the actual releases.

No guarantees, support, whatsoever, just download the code and have fun with it.

The big disclaimer: This SVN version of the source code is unstable and therefore only targeted at the interested reader or possible contributor. We cannot guarantee it will run properly with the asset base from the latest stable release, nor will we (the TDM team) offer support – we just don’t have the manpower for that. Just take it as it is, play around with it, learn from it, etc. Some parts of the source code are in flux and need to be viewed as unfinished or buggy. Please let the responsible programmer finish their task before commmenting on the code or offering patches. The game mechanics as they are implemented in this source code have usually been discussed very deeply by the team and are not open for discussion. Only confirmed issues from the bugtracker and possibly new features (gameplay / renderer /…) are welcome additions. It might be a good idea to ask in the forums before implementing new features, to measure the chances of them being accepted by the team. You can ask questions, of course, but don't be disappointed if they are left unanswered.

Consider this a move towards opening the TDM development to the community. Maybe something comes out of it.

Edited by greebo, 16 February 2015 - 01:51 AM.
new public url


#2 STiFU

STiFU

    Uber member

  • Development Role
  • PipPipPipPip
  • 3122 posts

Posted 04 November 2012 - 04:10 AM

Hack and read away, people!! Have fun!

I am anxious to see whether you guys will fulfill all the pros in our pro-con-discussion. :)

#3 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1508 posts

Posted 04 November 2012 - 07:01 AM

A github friendly version?

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.


#4 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 7583 posts

Posted 04 November 2012 - 07:29 AM

Fantastic news!

Let the new contributions commence!
Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#5 STiFU

STiFU

    Uber member

  • Development Role
  • PipPipPipPip
  • 3122 posts

Posted 04 November 2012 - 07:43 AM

A github friendly version?

Github had actually been suggested by me initially, however many arguments have been given against it. For one thing, we already have the SVN-server up and running and would like to keep everything in one place (the assetbase and the sourcecode repository that is). There is also a pretty big entry barrier for using github, so we'll just stick with the existing system.

#6 New Horizon

New Horizon

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 13741 posts

Posted 04 November 2012 - 07:57 AM

A github friendly version?


It makes no sense for us to migrate to github or maintain a separate repo when we already have a perfectly functioning SVN server. Tortoise SVN is pretty easy to use.

#7 i30817

i30817

    Member

  • Member
  • PipPip
  • 447 posts

Posted 04 November 2012 - 08:19 AM

Yeah, but github has a much better patch management system. Can understand if you don't like DVS's though

#8 Friendly_Taffer

Friendly_Taffer

    Member

  • Member
  • PipPip
  • 30 posts

Posted 15 May 2013 - 05:55 AM

I am not sure if I understand this correct, I have to download this so I can beta-test?

#9 Tels

Tels

    Mod hero

  • Member
  • PipPipPipPipPip
  • 15024 posts

Posted 15 May 2013 - 06:17 AM

No, this is just the source code repository. If you want to beta-test, you need the main repository instead. The source code is checked out and compiled by the developers, which then check the resulting .exe and tdm_game* files into the main repository.
"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

"Remember: If the game lets you do it, it's not cheating." -- Xarax

#10 Friendly_Taffer

Friendly_Taffer

    Member

  • Member
  • PipPip
  • 30 posts

Posted 15 May 2013 - 06:21 AM

Ok, but where can I find it? I'm such a noob :D

#11 Tels

Tels

    Mod hero

  • Member
  • PipPipPipPipPip
  • 15024 posts

Posted 15 May 2013 - 06:52 AM

Should be here:

http://forums.thedar...nloading-tdm20/

If you have no access to that topic, then please ask Springheel. (I'm not sure who is allowed to beta-test and who not and have no say in this matter).
"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

"Remember: If the game lets you do it, it's not cheating." -- Xarax

#12 simplen00b

simplen00b

    Advanced Member

  • Member
  • PipPipPip
  • 612 posts

Posted 16 May 2013 - 08:14 AM

At the moment I think there are enough beta-testers - http://forums.thedar...post__p__311111

#13 c0mputer-fr0d

c0mputer-fr0d

    Member

  • Member
  • PipPip
  • 153 posts

Posted 28 February 2014 - 10:24 AM

isn't letting me clone it on my machine asks me for auth

#14 c0mputer-fr0d

c0mputer-fr0d

    Member

  • Member
  • PipPip
  • 153 posts

Posted 08 March 2014 - 05:00 AM

nvm I was doing it wrong I need to use the checkout tool rather than the import tool I've only used git before

#15 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 7583 posts

Posted 16 March 2014 - 11:16 AM

Re: GitHub...

On considering this further, I still think it would be valuable to mirror to GitHub. This would give modern developers a familiar interface to work with
and collaborate on. The biggest boon being project forking and experimentation.

In short, we don't know who or what we're missing by only offering read-only SVN access.

Since the project is GPLv3, technically anyone could make a Git for it though it might reflect a little poorly on us
if only someone outside the project did this?

It seems there is a way to automate sync between Git and SVN:

https://gist.github....anfoulis/909746

Thoughts?
Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)

#16 gnartsch

gnartsch

    Member

  • Member
  • PipPip
  • 479 posts

Posted 31 August 2014 - 04:50 AM

So, using SVN I could get the latest code.
But how about the 2.02 release code ?
The 'TDM Download' page still offers the 2.01 source code only.
http://www.thedarkmod.com/downloads/

#17 SteveL

SteveL

    Hero Coder

  • Active Developer
  • PipPipPipPip
  • 3669 posts

Posted 31 August 2014 - 05:27 AM

Can you access the 2.02 tag in the public repo? Or is it only the trunk with public access?

https://svn.thedarkm...d_src/tags/2.02

#18 gnartsch

gnartsch

    Member

  • Member
  • PipPip
  • 479 posts

Posted 31 August 2014 - 05:37 AM

Ah, I can see the 2.02 tag as well.
I will install the Tortoise SVN then, I guess.
Thanks!

#19 SteveL

SteveL

    Hero Coder

  • Active Developer
  • PipPipPipPip
  • 3669 posts

Posted 31 August 2014 - 06:17 AM

Cool. Yes the 2.02 is the right one to use for experiments right now.

The code currently under development for 2.03 won't work right without the 2.03 assets from the darkmod repo because people have committed some new UI elements and new scripts.

#20 gnartsch

gnartsch

    Member

  • Member
  • PipPip
  • 479 posts

Posted 20 September 2014 - 08:39 AM

Just curious:
although I downloaded the entire TDM source from https://svn.thedarkm...d_src/tags/2.02, there are a quite a couple of files missing.
E.g. all those *.gui files which can be found in the installed game (tdm_gui01.pk4)
\guis\mainmenu_newgame.gui
...

Where do they come from?
I do not see them in SVN (neither as is nor in any sort of archive), nor do I see any script that might produce them.

#21 Tels

Tels

    Mod hero

  • Member
  • PipPipPipPipPip
  • 15024 posts

Posted 20 September 2014 - 09:49 AM

These files (along with support scripts and other info) are all in the main SVN of TDM, which the public sady does not have access to.
"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

"Remember: If the game lets you do it, it's not cheating." -- Xarax

#22 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5034 posts

Posted 21 September 2014 - 03:28 AM

You can use the pk4s from the current version, but you will not have new materials or models then.
FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#23 SteveL

SteveL

    Hero Coder

  • Active Developer
  • PipPipPipPip
  • 3669 posts

Posted 21 September 2014 - 08:18 AM

That's why I recommended using the 2.02 tag when downloading the public source code repo. The latest code uses new assets that won't be available until the next release, including some unfinished ones that'll get further changes between now and then. The 2.02 tag works with the 2.02 release pk4s, so you can use it to test stuff and make patches if you wish.

#24 gnartsch

gnartsch

    Member

  • Member
  • PipPip
  • 479 posts

Posted 21 September 2014 - 05:37 PM

Well, I am not a mapper and therefor not at all interested in the latest details of AI development, or similar purely game-mechanics related things.
That's perfectly out of scope for me peronally.
It's rather like I enjoy looking into existing problems and trying to help to identify the root cause and potentially provide a fix.
But with a reasonable amount of code not found in SVN (which did come as a surprise to me),
some issues are simply impossible to spot - unless you know that more is out there.
So, I wonder why not all the TDM code gets released, but only a portion of it?
I guess the answer is that the rest are mostly fairly huge collections of textures, images, sounds and what not that the team does not want to share too easily or that would cause too much traffic from too many people. Don't know.
But maybe some other stuff like gui-code, (e.g. those mainmenu_*.gui) files are sort of out of place there and should be part of the public SVN.
Oh well, at least now I know where to look for those cruicial parts.

#25 SteveL

SteveL

    Hero Coder

  • Active Developer
  • PipPipPipPip
  • 3669 posts

Posted 22 September 2014 - 02:43 AM

So, I wonder why not all the TDM code gets released, but only a portion of it?

What's in the public svn is the complete c++ source code that builds the game dll and TheDarkMod.exe. The text files like the guis, material definitions, animations and all the binary image files that they use are kept with the assets in the private repo and only made public at release time. Like you say, the reasoning for that applies to the new binary assets rather than .gui files, but it would be hard to manage them separately from the binary assets that they reference. It's quite rare for a bugfix to need updated versions of those asset files by the way. You could fix this if you wanted using the public repo and 2.02 release pk4s. Out of all the bugs I've worked on, only a couple have needed me to touch any asset files (.script in my case), and they were otherwise unchanged since 2.02.





Also tagged with one or more of these keywords: svn

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users