Important information regarding CVS

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

User avatar
ludde
OpenTTD Developer
OpenTTD Developer
Posts: 35
Joined: 07 Mar 2004 09:28

Important information regarding CVS

Post by ludde »

OpenTTD will not use SourceForge's CVS. It has issues with anonymous cvs and with the viewcvs script (those lag behind). Also CVS by itself is kinda outdated and much better alternatives (like subversion) exist.

Therefore I've setup a subversion repository where the latest changes are available, the temporary url is: svn://dumle.org/openttd/trunk/

You need an SVN client to check out files from there. There is an excellent introduction at http://svn.brouhaha.com/

Oh, and there is an #openttd channel on irc.freenode.net, where I and some other developers hang around.
CobraA1
Route Supervisor
Route Supervisor
Posts: 480
Joined: 07 Nov 2003 17:52
Location: USA

Post by CobraA1 »

Oh grr. You're d*** lucky there's an SVN version of TourtiseCVS.
http://tortoisesvn.tigris.org/

And I think I will keep a copy on SourceForge, for redundancy's sake. At least on SourceForge I know that it will stay up, even if anon CVS is iffy.


And while we're at it, how do I login to SVN to place a commit?
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
Spaz O Mataz
Engineer
Engineer
Posts: 52
Joined: 08 Mar 2004 21:14
Location: Sunderland UK

Post by Spaz O Mataz »

How do we view that address as i carn't get at it
CobraA1
Route Supervisor
Route Supervisor
Posts: 480
Joined: 07 Nov 2003 17:52
Location: USA

Post by CobraA1 »

SVN requires a special client. I don't know why ludde made it a link.
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
User avatar
Dan
Route Supervisor
Route Supervisor
Posts: 472
Joined: 11 Oct 2003 19:26
Location: Georgia, U.S.A.

Post by Dan »

That is just too complicated/difficult to access can you put it somewhere else?
╔═════════════════╗
║░ГЯΔИ$PØЯГ Г¥¢ØØИ!░║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║░░░░░░░░░░░░░░░░░║
╚═════════════════╝
CobraA1
Route Supervisor
Route Supervisor
Posts: 480
Joined: 07 Nov 2003 17:52
Location: USA

Post by CobraA1 »

To get the source:

-Download and install TourtiseSVN
-Create a folder for OpenTTD
-Right-click, select "Checkout"
-In URL, put svn://dumle.org/openttd/trunk/
-In Checkout directory, put the folder you created for OpenTTD
-Click "OK"

TourtiseSVN should now download the source code.
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
User avatar
Zooz
Transport Coordinator
Transport Coordinator
Posts: 287
Joined: 12 Sep 2002 14:20
Location: Een, Drenthe, The Netherlands
Contact:

Post by Zooz »

Damn, now I can't play OpenTTD anymore! I can only play on a computer without internet so i had to put it on a floppy disk.
User avatar
Dan
Route Supervisor
Route Supervisor
Posts: 472
Joined: 11 Oct 2003 19:26
Location: Georgia, U.S.A.

Post by Dan »

Thanks for telling me how to do that.
╔═════════════════╗
║░ГЯΔИ$PØЯГ Г¥¢ØØИ!░║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓║
║▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒║
║░░░░░░░░░░░░░░░░░║
╚═════════════════╝
mikeya
Route Supervisor
Route Supervisor
Posts: 439
Joined: 09 Mar 2003 10:12
Location: Schagen, The Netherlands
Contact:

Post by mikeya »

Zooz wrote:Damn, now I can't play OpenTTD anymore! I can only play on a computer without internet so i had to put it on a floppy disk.
Well go again to a computer with internet and put the svn on a floppy ;)
Mike,
CobraA1
Route Supervisor
Route Supervisor
Posts: 480
Joined: 07 Nov 2003 17:52
Location: USA

Post by CobraA1 »

SVN needs an internet connection to work.

Ask Ludde or Owen to compile an executable for you. I could do it myself if my compiler was working.
"If a man does not keep pace with his companions, perhaps it is because he hears a different drummer. Let him step to the music he hears, however measured or far away" --Henry David Thoreau
Spaz O Mataz
Engineer
Engineer
Posts: 52
Joined: 08 Mar 2004 21:14
Location: Sunderland UK

Post by Spaz O Mataz »

i've got on and compiled the game. I Used The RapidSVN which is quit good when you don't have admin rights. i am now going to look through the code myself and see what i can do
User avatar
Derkie
Engineer
Engineer
Posts: 86
Joined: 27 Jan 2004 14:34
Location: Nederland, delft

Post by Derkie »

all right, i downloaded version 0.1.1 and i wanna to open it BUT a error message appears with: DLL-file: msvcr71.dll not find...

i think its a windows 98 dll or something that xp, me, nt or 200 have but older versions not, please help me~!!
Boys are just like CARS,
Before you know youre under it!

Girls are just like COFFEE
there strong and tasty!
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Derkie wrote:all right, i downloaded version 0.1.1 and i wanna to open it BUT a error message appears with: DLL-file: msvcr71.dll not find...

i think its a windows 98 dll or something that xp, me, nt or 200 have but older versions not, please help me~!!
No, it is a DLL that comes with .NET Framework. You will need that, since the windows version was compiled with VS.NET 2003. You can find it at:
http://www.dll-files.com/dllindex/dll-f ... ml?msvcr71

Good luck

If you want to download the .NET Framework:
http://www.microsoft.com/downloads/deta ... laylang=en (24MB)
or of course the aforementioned Microsoft C Runtime Library v7.

I've heard though that maybe future versions will be compiled with an older version of VS, so you won't need any of this stuff.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
Derkie
Engineer
Engineer
Posts: 86
Joined: 27 Jan 2004 14:34
Location: Nederland, delft

Post by Derkie »

Darkvater wrote:
Derkie wrote:all right, i downloaded version 0.1.1 and i wanna to open it BUT a error message appears with: DLL-file: msvcr71.dll not find...

i think its a windows 98 dll or something that xp, me, nt or 200 have but older versions not, please help me~!!
No, it is a DLL that comes with .NET Framework. You will need that, since the windows version was compiled with VS.NET 2003. You can find it at:
http://www.dll-files.com/dllindex/dll-f ... ml?msvcr71

Good luck

If you want to download the .NET Framework:
http://www.microsoft.com/downloads/deta ... laylang=en (24MB)
or of course the aforementioned Microsoft C Runtime Library v7.

I've heard though that maybe future versions will be compiled with an older version of VS, so you won't need any of this stuff.
1.I alredy looked by http://www.dll-files.com/dllindex/dll-f ... ml?msvcr71 when the message appers... i downloaded the zip file but its empty?!? :shock: :? :shock: :x
2. i already have the .net framework...
:?: any ideas?
Boys are just like CARS,
Before you know youre under it!

Girls are just like COFFEE
there strong and tasty!
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

I can't find anything about a svn client for mac :(

How can I get the source code to openTTD, if I haven't got the client?
Or better yet, where can I find a crossplatform svn client?
MadEgg
Engineer
Engineer
Posts: 72
Joined: 08 Mar 2004 12:51
Location: Netherlands
Contact:

Post by MadEgg »

My try to compile the latest version from SVN ends with this:

Code: Select all

gcc -g -Wall -Wno-multichar `sdl-config --cflags` -DUNIX -DWITH_SDL -c minilzo.c
minilzo.c:703: warning: `schedule_insns_bug' declared `static' but never defined
minilzo.c:704: warning: `strength_reduce_bug' declared `static' but never defined
gcc -g -Wall -Wno-multichar `sdl-config --cflags` -DUNIX -DWITH_SDL -c unix.c
In file included from ttd.h:408,
                 from unix.c:2:
functions.h:200:27: warning: no newline at end of file
unix.c: In function `FiosGetDescText':
unix.c:139: error: storage size of `s' isn't known
unix.c:141: warning: implicit declaration of function `statfs'
unix.c:139: warning: unused variable `s'
make: *** [unix.o] Error 1
Any ideas?

[edit]
Never mind. I fixed it. In unix.c sys/statfs.h should be included while it's not. Therefore it cannot find the statfs declaration and errors out. Works fine now.[/edit]
Protect the Banana
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Darkvater wrote:No, it is a DLL that comes with .NET Framework.
Actually, it's not specifically the .NET Framework, it's just Visual C++. (It's the equivalent of MSVCRT.DLL, etc, from earlier versions).
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

This is most likely a silly question, but I'm not used to windows, so I got stuck at it :(

I downloaded TourtiseSVN and got an smi file. What do I do with it?
Doubleclicking on it opens the menu, where it asks which program it should use
MadEgg
Engineer
Engineer
Posts: 72
Joined: 08 Mar 2004 12:51
Location: Netherlands
Contact:

Post by MadEgg »

It's most likely a .msi file, not a .smi file.

MSI stands for MicroSoft Installer, and you need the Micrsoft Installer software to use it.
You can get it at:

http://www.microsoft.com/downloads/deta ... layLang=en
Protect the Banana
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

CobraA1 wrote:To get the source:

-Download and install TourtiseSVN
-Create a folder for OpenTTD
-Right-click, select "Checkout"
-In URL, put svn://dumle.org/openttd/trunk/
-In Checkout directory, put the folder you created for OpenTTD
-Click "OK"

TourtiseSVN should now download the source code.
It sounds good, but I can't get it to work
When I click OK, it starts to download and creates A LOT of files (but not all of them) and it gives the error

Can't more path/openTTD/.svn/tmp/entries to path/openTTD/.svn/entries
Can't create a file, which is already there

When I try to update it (to get the rest of the files), it says
Working copy path/openTTD locked

Any idea of how to fix this?
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 37 guests