TTDAlter 1.0 coming soon (maybe)

Talk about the sequel to the original TT, Transport Tycoon Deluxe.
Post Reply
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

TTDAlter 1.0 coming soon (maybe)

Post by orudge »

Yes, you heard correctly. I will soon release TTDAlter 1.0. TTDAlter for Linux 1.0, that is. You may be thinking, "TTDAlter for Linux? What's the point in that?!? TTD doesn't run under Linux!"

Well, I originally started this a couple of days ago as a learning exercise for GUI programming under Linux. However, with a bit of work, people have got both the DOS and Windows versions of TTD running under Linux. (I haven't managed that yet, I must admit).

The version of TTDAlter that you can see in the screenshot below is no where near complete, but it can read all the EXEs that TTDAlter 4.1 can, and the basic interface design is complete.

If I get it all just about finished, I'll release it (with full source code). TTDAlter 4.1 will also be coming very soon too.
Attachments
Snapshot
Snapshot
snapshot2.png (18.36 KiB) Viewed 7297 times
User avatar
Arathorn
Tycoon
Tycoon
Posts: 6937
Joined: 30 Nov 2002 17:10

Post by Arathorn »

If both have the same features, wouldn't it be less confusing to have the same version numbers?
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

I may well do that.

BTW, I got TTD running under WineX today. :)
Attachments
Yay!
Yay!
snapshot4.png (337.7 KiB) Viewed 538 times
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

orudge wrote:BTW, I got TTD running under WineX today. :)
can you explain it somewhere, step by step how to do that ?
what are you looking at? it's a signature!
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

1. Download the latest WineX source for CVS. As it was quite large, I downloaded it via tt-forums.net and the package is still there: http://www.tt-forums.net/winex.tar.bz2. Unbzip2 and tar this (tar xfjh winex.tar.bz2).

2. At a console, chdir to the root winex dir and type:

Code: Select all

tools/wineinstall
Follow the prompts, etc, where there are prompts.

3. WineX should then be installed.

4. Copy your current TTD installation to your WINE dir (eg, /home/username/wine/TTWin95).

5. Add the registry entries below to ~/.wine/system.reg and ~/.wine/user.reg:

Code: Select all

[Software\\FISH Technology Group\\Transport Tycoon Deluxe]
"DisplayModeNumber"=dword:00000000
"ForceDIBSection"=dword:00000001
"FullScreen"=dword:00000000
"HDPath"="C:\\TTWin95\\"
"Installed"=dword:00000003
"Language"=dword:00000003
"MidiType"=dword:00000003
"MousePointer"=dword:00000001
"RetraceSync"=dword:00000000
"SafeMode"=dword:00000000
"UpdateMode"=dword:00000001
6. Copy MSVCRT.DLL from your proper Windows\system32 directory to your Wine windows\system directory.

7. Run:

Code: Select all

wine C:\TTWin95\ttconfig.exe
and configure everything the way you want it.

8. Run

Code: Select all

wine C:\TTWin95\ttdpatchw.exe
and hope for the best! Make sure you haven't got 'forcerebuildovl' on or it won't be able to access command.com to copy it.

[With reference to http://www.tt-forums.net/omni/ttonlinux.htm]

[By the way, I've just hacked TTD - well, I made my own DXMCI.DLL actually - to play MP3s instead of MIDIs]
Prof. Frink
Tycoon
Tycoon
Posts: 3849
Joined: 20 Jan 2003 14:51
Location: Broadstone, Dorset
Contact:

Post by Prof. Frink »

orudge wrote:[By the way, I've just hacked TTD - well, I made my own DXMCI.DLL actually - to play MP3s instead of MIDIs]
Give! Please?
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Attached. The MP3s must have the same name as the other files, but with MP3 stuck on the end. eg:

C:\TTWin95\GM\gm_tt07.gm.mp3
C:\TTWin95\awe\aw_tt10.aw.mp3
C:\TTWin95\fm\9_tt02.fm.mp3

etc.

I am not responsible for anything that may go wrong, etc, blah blah blah. Have fun!

EDIT: Updated file - I left some debugging code in before which may have caused errors if you didn't have a folder called C:\TTDPatch.src\dxmci.mp3.
Attachments
dxmci_mp3.zip
Here it is - updated
(5.56 KiB) Downloaded 360 times
Last edited by orudge on 17 Oct 2003 19:31, edited 1 time in total.
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Does that mean we're still limited to twenty-something tracks?
Bugzilla available for use - PM for details.
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Yes. All it does is change the string TTD sends to the Windows MCI system: instead of using the MIDI sequencer, it uses Quartz (the DirectShow engine), which can play MP3s.
User avatar
Bart
Tycoon
Tycoon
Posts: 1110
Joined: 02 Mar 2003 13:43
Location: Stompetoren, the Netherlands
Contact:

Post by Bart »

damn Mr Rudge, that's very nifty. I suggest you create a sticky........as I'm sure many people will find this somewhat interesting....With your permission I would like to create a small article for tt-extreme.net as well: 'how to use mp3's in TTD'
[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 »

Yep, no problem. I will release this 'properly' on my web site soon (tomorrow maybe), with more details, and will also announce it to AGMTT and the mailing list. I may also add a playlist feature where you can choose which files to use in place of the TTD ones (eg, have it play C:\MP3s\Owen Rudge\I'm So Brilliant.ogg instead of gm_tt00.gm, and play E:\TV Themes\wwtbam_opening_theme.wav instead of gm_tt05.gm - note that the formats are not limited to MP3 - it's just I programmed it to read files with an .mp3 extension. In theory, it could play movies as well as audio, but that probably wouldn't be a good idea).
User avatar
Bart
Tycoon
Tycoon
Posts: 1110
Joined: 02 Mar 2003 13:43
Location: Stompetoren, the Netherlands
Contact:

Post by Bart »

GREAT!! I really like this...


Oh BTW, just though up a new way to run TTD in Windows XP:

run VMWare of Virtual PC > Install Linux > Install Wine > Run TTD with Wine...
[url=CALLTO://Sgreehder]Image[/url]
top_cat19
Route Supervisor
Route Supervisor
Posts: 394
Joined: 07 Aug 2003 17:33
Location: On tt-forums.net

Post by top_cat19 »

Great, where do you put it?? I have a password-protected file.
Currently Playing: Image
My forums: My Forums
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Well, it's not password-protected... :?

Stick it in your TT directory. It requires the Windows version of TTD and TTDPatch 2.0.
top_cat19
Route Supervisor
Route Supervisor
Posts: 394
Joined: 07 Aug 2003 17:33
Location: On tt-forums.net

Post by top_cat19 »

I can't overwrite the current .dll file.
Neither delete it?
Do you think Josef will know the answer?
Currently Playing: Image
My forums: My Forums
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Is TTD running?
top_cat19
Route Supervisor
Route Supervisor
Posts: 394
Joined: 07 Aug 2003 17:33
Location: On tt-forums.net

Post by top_cat19 »

I'll try again
Currently Playing: Image
My forums: My Forums
top_cat19
Route Supervisor
Route Supervisor
Posts: 394
Joined: 07 Aug 2003 17:33
Location: On tt-forums.net

Post by top_cat19 »

NO, TT IS NOT RUNNING
and calmfully, MINE HAS A PASSWORD ON IT
Currently Playing: Image
My forums: My Forums
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Your download must be corrupt. Try again. What program are you using to extract with?
top_cat19
Route Supervisor
Route Supervisor
Posts: 394
Joined: 07 Aug 2003 17:33
Location: On tt-forums.net

Post by top_cat19 »

WinXp built in software
Currently Playing: Image
My forums: My Forums
Post Reply

Return to “Transport Tycoon Deluxe”

Who is online

Users browsing this forum: No registered users and 27 guests