Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Tue Dec 11, 2018 1:28 am

All times are UTC




Post new topic  Reply to topic  [ 114 posts ]  Go to page 1 2 3 4 5 6 Next
Author Message
PostPosted: Sat Mar 06, 2004 7:26 pm 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jan 26, 2001 8:18 pm
Posts: 23895
Skype: orudge
Location: Banchory, UK
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!

_________________
Owen Rudge
owenrudge.net | Owen's Transport Tycoon Station | Owen's Locomotion Depot | The Transport Tycoon Wiki


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 8:25 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Jul 10, 2002 3:08 pm
Posts: 8684
Location: Enschede, The Netherlands
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 #tycoon sexy and exciting since 1784.


Top
   
 Post subject: open ttd
PostPosted: Sat Mar 06, 2004 8:45 pm 
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


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 8:49 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu May 22, 2003 9:59 am
Posts: 2138
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:)

_________________
US Train Set v0.87.1 now released: viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual


Top
   
 Post subject: Open ttd
PostPosted: Sat Mar 06, 2004 8:56 pm 
:P

Correct !!!

Thanks!


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 9:23 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Mar 02, 2003 1:43 pm
Posts: 1110
Location: Stompetoren, the Netherlands
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???

_________________
Image


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 9:25 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Nov 30, 2002 5:10 pm
Posts: 6939
You can animate the water with the patch too.


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 9:28 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Jul 10, 2002 3:08 pm
Posts: 8684
Location: Enschede, The Netherlands
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 #tycoon sexy and exciting since 1784.


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 10:55 pm 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jan 26, 2001 8:18 pm
Posts: 23895
Skype: orudge
Location: Banchory, UK
By the way:

Code:
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)

_________________
Owen Rudge
owenrudge.net | Owen's Transport Tycoon Station | Owen's Locomotion Depot | The Transport Tycoon Wiki


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 11:33 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Sun Oct 12, 2003 5:16 pm
Posts: 312
Location: Switzerland
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


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 11:39 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Mar 02, 2003 1:43 pm
Posts: 1110
Location: Stompetoren, the Netherlands
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...

_________________
Image


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 11:42 pm 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jan 26, 2001 8:18 pm
Posts: 23895
Skype: orudge
Location: Banchory, UK
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.

_________________
Owen Rudge
owenrudge.net | Owen's Transport Tycoon Station | Owen's Locomotion Depot | The Transport Tycoon Wiki


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 11:46 pm 
Offline
Cymedrolwr
Cymedrolwr
User avatar

Joined: Tue Dec 10, 2002 8:36 pm
Posts: 7571
Skype: Bornacorn
Location: Wrexham, Wales
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
FacebookFlickr PhotosBlogTwitterHosting


Top
   
 Post subject: Will not run
PostPosted: Sat Mar 06, 2004 11:47 pm 
Offline
Engineer
Engineer
User avatar

Joined: Mon Mar 01, 2004 4:31 pm
Posts: 21
Location: Canada
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.


Top
   
 Post subject: OpenTTD
PostPosted: Sat Mar 06, 2004 11:56 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1494
Location: The sunny side of Alps
: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)

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
 Post subject:
PostPosted: Sat Mar 06, 2004 11:58 pm 
Offline
Cymedrolwr
Cymedrolwr
User avatar

Joined: Tue Dec 10, 2002 8:36 pm
Posts: 7571
Skype: Bornacorn
Location: Wrexham, Wales
well, this proj has attracted new people! 8)

_________________
Image
FacebookFlickr PhotosBlogTwitterHosting


Top
   
 Post subject:
PostPosted: Sun Mar 07, 2004 12:14 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Jul 10, 2002 3:08 pm
Posts: 8684
Location: Enschede, The Netherlands
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 #tycoon sexy and exciting since 1784.


Top
   
 Post subject:
PostPosted: Sun Mar 07, 2004 12:16 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Sun Oct 12, 2003 5:16 pm
Posts: 312
Location: Switzerland
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


Top
   
 Post subject:
PostPosted: Sun Mar 07, 2004 12:16 am 
Offline
Cymedrolwr
Cymedrolwr
User avatar

Joined: Tue Dec 10, 2002 8:36 pm
Posts: 7571
Skype: Bornacorn
Location: Wrexham, Wales
just imagine the possibilities!

we might actually be able to have zepplins and vehicles without rotors! :D

_________________
Image
FacebookFlickr PhotosBlogTwitterHosting


Top
   
 Post subject:
PostPosted: Sun Mar 07, 2004 12:18 am 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jan 26, 2001 8:18 pm
Posts: 23895
Skype: orudge
Location: Banchory, UK
GoneWacko: Press ALT+ENTER for fullscreen mode. If you want different resolutions, just modify the source code. ;)

_________________
Owen Rudge
owenrudge.net | Owen's Transport Tycoon Station | Owen's Locomotion Depot | The Transport Tycoon Wiki


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 114 posts ]  Go to page 1 2 3 4 5 6 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.