Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Wed Dec 12, 2018 1:26 pm

All times are UTC




Post new topic  Reply to topic  [ 27 posts ]  Go to page 1 2 Next
Author Message
 Post subject: Custom Music In OpenTTD
PostPosted: Sat Oct 18, 2008 6:17 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3911
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Ok, i read about this somewhere taht theres a way to play your own music files in OpenTTD, but ive tried to play my own music but openttd doesnt even show it.

How do i play my own music in openTTD
BTW all my files are *.mp3

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
PostPosted: Sat Oct 18, 2008 7:10 pm 
Offline
Engineer
Engineer

Joined: Sun May 06, 2007 10:37 am
Posts: 98
Location: Paris, France
Only .mid files can be played... After you get your set of mid files ready, change the last part (the .mid) to the openttd standard, and post them in one of the music directories (dunno which directory to be sure...)


Top
   
PostPosted: Sat Oct 18, 2008 8:01 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Apr 07, 2008 6:29 pm
Posts: 1872
Location: Czech Republic
Try these links

link
link 2
link 3


Top
   
PostPosted: Sat Oct 18, 2008 9:33 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3911
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Luukland wrote:
Only .mid files can be played... After you get your set of mid files ready, change the last part (the .mid) to the openttd standard, and post them in one of the music directories (dunno which directory to be sure...)


That doesnt work, I've tried midi/mid filesa nd it doesnt work, TTD TTDpatch and openTTD will just Skip the file

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
PostPosted: Mon Oct 20, 2008 3:36 am 
Offline
TTDPatch Developer
TTDPatch Developer

Joined: Wed Feb 18, 2004 3:06 am
Posts: 10285
Luukland wrote:
the openttd standard

Which is, in case you're unclear on this, neither ".mid" nor ".midi".

_________________
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser


Top
   
PostPosted: Mon Oct 20, 2008 11:06 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3911
Skype: neko-master
Location: Oshawa, Ontario, CANADA
DaleStan wrote:
Luukland wrote:
the openttd standard

Which is, in case you're unclear on this, neither ".mid" nor ".midi".


I know, i should have said taht even putting my own mid's/midi's in and renaming them to *.gm doesnt work

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
PostPosted: Mon Oct 20, 2008 11:32 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Tue Apr 05, 2005 1:48 am
Posts: 1507
Location: Deep down the deepest blue
HInt: the system currently does not browse for files, even if they are named *.gm.
What I mean is that it expects to find gm_tt00.gm up to gm_tt21.gm AND ONLY THOSE.
So if you want to have one of your songs (midi that is) available: suggestion: save one of the original in a backup, rename your beloved song to the SAME NAME and EXTENSION en enjoy it.
That's it, no other way.

_________________
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones


Top
   
PostPosted: Sat Oct 25, 2008 3:06 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3911
Skype: neko-master
Location: Oshawa, Ontario, CANADA
belugas wrote:
HInt: the system currently does not browse for files, even if they are named *.gm.
What I mean is that it expects to find gm_tt00.gm up to gm_tt21.gm AND ONLY THOSE.
So if you want to have one of your songs (midi that is) available: suggestion: save one of the original in a backup, rename your beloved song to the SAME NAME and EXTENSION en enjoy it.
That's it, no other way.


I've tried taht also, TTDx and OpenTTD just skip files that are renamed the same as its own gm files
I thought there was a openTTD out there that had support for custom music in MIDI,MP3,WAV and i think even OGG (vorbis)

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
PostPosted: Sat Oct 25, 2008 3:30 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Oct 20, 2002 2:55 pm
Posts: 2743
Location: Georgia
i know i've renamed MIDIs into *.gms and OTTD has read them. Make sure they're normal midis, i guess

_________________
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction. - Albert Einstein


Top
   
PostPosted: Sat Oct 25, 2008 3:37 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3911
Skype: neko-master
Location: Oshawa, Ontario, CANADA
Lilman424 wrote:
i know i've renamed MIDIs into *.gms and OTTD has read them. Make sure they're normal midis, i guess


They are! And openTTD skips them

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
PostPosted: Tue Oct 28, 2008 1:06 pm 
Offline
Route Supervisor
Route Supervisor
User avatar

Joined: Sun Mar 26, 2006 11:16 pm
Posts: 494
Location: Berlin, Germany
There are different types of Midis and I believe OpenTTD (as well as any other TTD) can only read a certain type. I encountered this problem when trying to convert a .mid file into a guitar pro (program for notes etc.) file and it failed for no obvious reason (no tracks were displayed after the conversion). It works with most .mid files but the one I used was from "Die Fugger 2" which is a really old game by sunflowers and apparently the mid format was unsupported by guitar pro...

So my hint is this: try another .mid file from a different source and see if that makes a difference. If it doesn't, you're screwed, I guess ;)

_________________
Make love instead of war! Poppen statt kloppen!

Image

quarks.game-host-org:3979


Top
   
PostPosted: Tue Oct 28, 2008 1:09 pm 
Offline
Tycoon
Tycoon

Joined: Thu Dec 20, 2007 12:49 pm
Posts: 3653
NekoMaster wrote:
Lilman424 wrote:
i know i've renamed MIDIs into *.gms and OTTD has read them. Make sure they're normal midis, i guess


They are! And openTTD skips them

OpenTTD only reads the gm_ttXX.gm files, with XX from 00 to 21. Have you renamed your midis to one of these names?


Top
   
PostPosted: Tue May 26, 2009 4:44 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Sat Nov 17, 2007 5:23 pm
Posts: 160
Skype: ben313371
Is it possible to make OTTD support MP3, .wma and .wav file types?

If it isn't then is there a program that can covert the file types?


Top
   
PostPosted: Tue May 26, 2009 4:46 pm 
Offline
Tycoon
Tycoon

Joined: Thu Dec 20, 2007 12:49 pm
Posts: 3653
Ben1338 wrote:
Is it possible to make OTTD support MP3, .wma and .wav file types?
Yes it's possible, but no it probably won't happen. Why not use your favorite music player in the background to play music?


Top
   
PostPosted: Tue May 26, 2009 8:05 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1494
Location: The sunny side of Alps
Qu@rks wrote:
There are different types of Midis and I believe OpenTTD (as well as any other TTD) can only read a certain type. I encountered this problem when trying to convert a .mid file into a guitar pro (program for notes etc.) file and it failed for no obvious reason (no tracks were displayed after the conversion). It works with most .mid files but the one I used was from "Die Fugger 2" which is a really old game by sunflowers and apparently the mid format was unsupported by guitar pro...

So my hint is this: try another .mid file from a different source and see if that makes a difference. If it doesn't, you're screwed, I guess ;)

Qu@rks - Perhaps try with Anvil Studio, it's a great midi editing/recording program and it's free. You might be able to fix the .mid's with it...

_________________
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
   
PostPosted: Wed May 27, 2009 1:10 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Aug 16, 2008 10:26 pm
Posts: 3911
Skype: neko-master
Location: Oshawa, Ontario, CANADA
SirkoZ wrote:
Qu@rks wrote:
There are different types of Midis and I believe OpenTTD (as well as any other TTD) can only read a certain type. I encountered this problem when trying to convert a .mid file into a guitar pro (program for notes etc.) file and it failed for no obvious reason (no tracks were displayed after the conversion). It works with most .mid files but the one I used was from "Die Fugger 2" which is a really old game by sunflowers and apparently the mid format was unsupported by guitar pro...

So my hint is this: try another .mid file from a different source and see if that makes a difference. If it doesn't, you're screwed, I guess ;)

Qu@rks - Perhaps try with Anvil Studio, it's a great midi editing/recording program and it's free. You might be able to fix the .mid's with it...


have it, tried it, it failed, openTTD only likes gm style midis

_________________
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!


Top
   
PostPosted: Wed May 27, 2009 4:09 am 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Sun Apr 26, 2009 11:45 am
Posts: 164
Would be a cool feature to have a midi importer or something in game.


Top
   
PostPosted: Wed May 27, 2009 8:18 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon May 21, 2007 11:47 am
Posts: 6559
Location: The Netherlands
No, because midis in general are not cool.

What would be cool is if the ingame player could issue commands to popular media players, so that you can control an external player from within the game. Problem is the definition of "popular media players". On Windows WM_APPCOMMAND would probably suffice, but don't know for other OSes...

_________________
FooBar's Tram Tracks | TransRapid Track Set | Metro Track Set | OpenGFX base graphics set | FIRS Industry Replacement Set
Dutch Tram Set | Dutch Trainset 2 | Dutch Road Furniture


Top
   
PostPosted: Wed May 27, 2009 8:40 am 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Sun Apr 26, 2009 11:45 am
Posts: 164
FooBar wrote:
No, because midis in general are not cool.
Says you.

But yeah would be cool for the game to be able to support flac or ogg format too. I'd make my own real swing soundtrack


Top
   
PostPosted: Wed May 27, 2009 9:08 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Thu Feb 09, 2006 7:15 pm
Posts: 3815
FooBar wrote:
Problem is the definition of "popular media players".
I think that 'flash' is the most popular media player. All those people watching youtube and basically all other content that you can view within your webbrowser.

Anyhow, the problem is getting proper statistics AND whether your mean "popular popular" or "most used popular". The most popular vacuum cleaner would be one that doesn't need you working on it (e.g. a roomba), but the most used one is probably one where you need to manually push it around your house.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 27 posts ]  Go to page 1 2 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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.