I proudly present to you OpenTTD!

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

Moderator: OpenTTD Developers

User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

I proudly present to you OpenTTD!

Post by orudge »

I did write a nice long description here, but IE/the forum/something went and barfed it.

Basically, a guy called Ludde (original author of ScummVM) has spent quite some time working on a C reconstruction of TTD. He's now let me release the code. So here it is.

It is 95% complete. I'm not writing everything I wrote here before again, so just play with it and see what it's like. I've registered a SourceForge project for it. To play the game, copy the Windows TTD graphics and sample.cat file to the compact directory, and run ttd.exe.

I suppose you want the URL too: http://openttd.tt-forums.net/. Wait at least a minute after this post was made before downloading it, as I've not finished uploading it yet.

Have fun!
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

if he made scummVM, does that mean OpenTTD also works on Linux?? :roll:

and you've actually created 2 new categories in one day! :o
(make a zetorpedia cat and it'll be three! (no s***!))
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
Nicusors

open ttd

Post by Nicusors »

Did exactly as You said ... and ... :(
*** Transport Tycoon Crash Report ***
Date: 2004-03-06 22:37:32
Build: ??? built on Tue Jul 8 21:39:10 2003
Exception C0000005 at 0040D2B9
Registers:
EAX: FFFFFD2D EBX: 0000000F ECX: 00000005 EDX: 00A22700
ESI: 00C31000 EDI: FFEFF052 EBP: 0012FEF4 ESP: 0012FEE4
EIP: 0040D2B9 EFLAGS: 00010206

Bytes at CS:EIP:
88 16 46 49 75 F7 EB AC 53 56 57 83 C8 FF BB FF FF 00 00 33 FF BA 50 5E

Stack trace:
00000003 00B30034 0045D116 00000000 0012FF4C 0040D208 000000E2 004908C1
00000003 0040D17B 00408AC7 00000000 780236AC 00000000 0040E709 0006CC9C
77FCC35C 7FFDF000 0012FF58 FFFFFFFF 00A23C0C 0044F97C 00000000 00000000
00000000 00000000 0012FFC0 00435B3B 00000001 00A23C08 00A22B88 0044E000
0044E004 0012FFA4 0012FF94 0012FFA0 00000000 0012FF98 0044E008 0044E00C
0006CC9C 77FCC35C 7FFDF000 C0000005 00A23C08 00000000 FF7B99A0 00A22B88
00000001 0012FF84 0012FB30 0012FFE0 00435B90 0044CA08 00000000 0012FFF0
7C5987E7 0006CC9C 77FCC35C 7FFDF000 000000D6 0012FFC8 000000D6 FFFFFFFF
7C5C1BB4 7C572B00 00000000 00000000 00000000 00435A58 00000000 000000C8
00000100 EEFFEEFF 00000002 00000000 0000FE00 00100000 00002000 00000200
00002000 00000379 7FFDEFFF 06080001 00000000 00000000 00000000 00000000
00130598 0000000F FFFFFFF8 00130050 00130050 00130640 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 02000000 00000000 00000000
00000000 00000000 00000001 00000000 00000000 00138508 00138508 00130180
00130180 00130188 00130188 00130190 00130190 00130198 00130198 001301A0
001301A0 001301A8 001301A8 001301B0 001301B0 001301B8 001301B8 001301C0
001301C0 001301C8 001301C8 001301D0 001301D0 001301D8 001301D8 001301E0

Module information:
E:\openttd\compact\ttd.exe handle: 00400000 size: 323072 crc: B5F4B4AB date: 2003-08-14 13:35:52
D:\WINNT\system32\ntdll.dll handle: 77F80000 size: 491792 crc: 2343CF5C date: 2003-06-19 10:05:04
D:\WINNT\system32\KERNEL32.dll handle: 7C570000 size: 711440 crc: 1E1D098A date: 2003-08-05 13:14:12
D:\WINNT\system32\USER32.dll handle: 77E10000 size: 380176 crc: D32E341C date: 2003-08-05 13:14:12
D:\WINNT\system32\GDI32.dll handle: 77F40000 size: 222992 crc: C94EC265 date: 2003-08-05 13:14:12
D:\WINNT\system32\WINMM.dll handle: 77570000 size: 189200 crc: 4D22CDCF date: 2001-05-08 12:00:00
D:\WINNT\system32\ADVAPI32.DLL handle: 7C2D0000 size: 387344 crc: 40C38EA6 date: 2003-06-19 10:05:04
D:\WINNT\system32\RPCRT4.DLL handle: 77D30000 size: 432912 crc: 43D67D56 date: 2003-08-23 12:48:56
D:\WINNT\system32\MSVCRT.dll handle: 78000000 size: 286773 crc: F2541912 date: 2003-06-19 10:05:04
D:\WINNT\system32\WS2_32.dll handle: 75030000 size: 69904 crc: 81A863AD date: 2003-06-19 10:05:04
D:\WINNT\system32\WS2HELP.DLL handle: 75020000 size: 18192 crc: 4DA41EA8 date: 2001-05-08 12:00:00
D:\WINNT\system32\apihookdll.dll handle: 10000000 size: 36864 crc: 60DE62BF date: 2002-07-30 18:16:06
D:\WINNT\system32\psapi.dll handle: 690A0000 size: 28944 crc: 9E1098C8 date: 2001-05-08 12:00:00

System information:
Windows version 5.0 2195 Service Pack 4
User avatar
Oracle
Tycoon
Tycoon
Posts: 2138
Joined: 22 May 2003 09:59

Post by Oracle »

Use the original TTD Windows trg1r.grf without modifications

That's the only reason I've had a crash so far.

(and guest posting, Owen :wink:)
Nicusors

Open ttd

Post by Nicusors »

:P

Correct !!!

Thanks!
User avatar
Bart
Tycoon
Tycoon
Posts: 1110
Joined: 02 Mar 2003 13:43
Location: Stompetoren, the Netherlands
Contact:

Post by Bart »

Wow, s***... this is big...

This is actually better then releasing the original source... even I can dig through this and alter/add things...

Wow...

Animating water in windowed mode :P

This is neat, but how about other clone projects, or even TTDPatch???
[url=CALLTO://Sgreehder]Image[/url]
User avatar
Arathorn
Tycoon
Tycoon
Posts: 6937
Joined: 30 Nov 2002 17:10

Post by Arathorn »

You can animate the water with the patch too.
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

I still prefer TTU...

I hope they will go on with the project. TTU = C++, a language I am better at than C :)
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

By the way:

Code: Select all

Command line options:
  -v drv = Set video driver (see below)
  -s drv = Set sound driver (see below)
  -m drv = Set music driver (see below)
  -8     = Use 800x600 resolution
  -1     = Use 1024x768 resolution
  -h     = Display this help text
  -l 1-4 = Use this landscape
  -e     = Start Editor
List of video drivers:
      null: Null Video Driver
       sdl: SDL Video Driver
     win32: Win32 GDI Video Driver
List of sound drivers:
      null: Null Sound Driver
       sdl: SDL Sound Driver
     win32: Win32 WaveOut Driver
List of music drivers:
      null: Null Music Driver
     win32: Win32 MIDI Driver
(this is correct for Win32 - different drivers for Linux, etc)
User avatar
Roman
Transport Coordinator
Transport Coordinator
Posts: 363
Joined: 12 Oct 2003 17:16
Location: Switzerland
Contact:

Post by Roman »

Honestly speaking, after a while of playing it, it seems to me that this clone is so unbelievably close to the original TTD that I really can't understand how it is possible for someone to program it. I mean, everything is absolutely correct! No one can find out how every detail is handled in TTD to program such a good clone without having Sawyer's source code. Has Ludde hacked Atari's or Sawyer's PC??? IS THIS TTD???
Image
User avatar
Bart
Tycoon
Tycoon
Posts: 1110
Joined: 02 Mar 2003 13:43
Location: Stompetoren, the Netherlands
Contact:

Post by Bart »

Yeah, I noticed it too, there are no flaws... just perfect. But so what? It's cool, the source code is there, it can run on Windows, Linux and well, Mac users will be able to play it as well (?)

Let's just see how far this will go...
[url=CALLTO://Sgreehder]Image[/url]
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Lord wrote:Honestly speaking, after a while of playing it, it seems to me that this clone is so unbelievably close to the original TTD that I really can't understand how it is possible for someone to program it. I mean, everything is absolutely correct! No one can find out how every detail is handled in TTD to program such a good clone without having Sawyer's source code. Has Ludde hacked Atari's or Sawyer's PC??? IS THIS TTD???
Well, if you had enough time and dedication, you could create a replacement for Windows or anything really that was exactly the same. All the source code is there, in a very raw form. Ludde just made it more usable, with a LOT of work.
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

we will just have to make sure his hard work was not in vain 8)

I propose for this et we have more climates, including different temperates, OTT temperate (British), european temperate/alpine(germany, france, switzerland etc) and america, with the amrican set.

That is of course, if we can integrate the new graphics we have into the game
Image
User avatar
sfrankland
Engineer
Engineer
Posts: 21
Joined: 01 Mar 2004 16:31
Location: Canada

Will not run

Post by sfrankland »

I keep getting a message each time I run it saying unable to read english.lng. What is the proper install method for Open TTD.
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

OpenTTD

Post by SirkoZ »

:shock: It is just FANTASTIC!!!!
It runs really smoothly and scales very well with CPU, better than orig. TTD - really smooth.

Keep up the good work and thank you!!!

Fellow Tycoonist

S/Z 8)
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

well, this proj has attracted new people! 8)
Image
User avatar
GoneWacko
Tycoon
Tycoon
Posts: 8680
Joined: 10 Jul 2002 15:08
Location: Enschede, The Netherlands
Contact:

Post by GoneWacko »

Okay...

I like it now that I see the resolution 8)

Would be nice to have a full-screen high resolution option thingie too though... :)

I'm on 1260x1024, you see... 1024x768 is still too small for me, and I'm sure 1600x1200 people think the same...

:roll: pretty cool though
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
User avatar
Roman
Transport Coordinator
Transport Coordinator
Posts: 363
Joined: 12 Oct 2003 17:16
Location: Switzerland
Contact:

Post by Roman »

orudge wrote:Well, if you had enough time and dedication, you could create a replacement for Windows or anything really that was exactly the same. All the source code is there, in a very raw form. Ludde just made it more usable, with a LOT of work.
Is it possible to decompile the assambly code in a way which allows you to understand what's going on? I mean, that would justify OpenTTD's similarity to TTD.
Image
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

just imagine the possibilities!

we might actually be able to have zepplins and vehicles without rotors! :D
Image
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

GoneWacko: Press ALT+ENTER for fullscreen mode. If you want different resolutions, just modify the source code. ;)
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 30 guests