Custom Currencies

Get help, info, news and advice about the Transport Tycoon Deluxe patch.

Moderator: TTDPatch Moderators

Post Reply
gmyx
Engineer
Engineer
Posts: 123
Joined: 27 Feb 2003 00:06
Location: Hammond, Ontario, Canada

Custom Currencies

Post by gmyx »

How do I use the custom currency? I want a fitictious currency of about 1.6 to 1 (pound i beleive is the base). and show up a F$.

Please and Thank you.
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

put in switch 1600
and in ttpttxt.txt put currency sign
what are you looking at? it's a signature!
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

Shouldn't you run mkpttxt first !
And tell him with what file to edit that ttdpttxt file, it looks weird in notepad
Well, back to work, lot's of it in the near future
gmyx
Engineer
Engineer
Posts: 123
Joined: 27 Feb 2003 00:06
Location: Hammond, Ontario, Canada

Post by gmyx »

I know where to change the multyplier but it's the currency sign I don't know how to do. I've seen in the alpha progress to add a line to the .txt file. But the line is cryptic, doesn't make sence to me.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

In your specific case, you would use

Code: Select all

curr_CUS_sym="F$\001600\00"
You may put a space before or after the symbol, and use morecurrencies 1 or 2 to choose which side of the value the symbol gets added.
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

And where do you add this ?
Well, back to work, lot's of it in the near future
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

spaceman-spiff wrote:And where do you add this ?
ttdpttxt.txt of course
what are you looking at? it's a signature!
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

I'm glad you said 'off-course'

So, where do I put it in this readable textfile ?
Attachments
obvious.JPG
obvious.JPG (25.59 KiB) Viewed 2699 times
Well, back to work, lot's of it in the near future
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

your file is broken
:roll: :roll:
use this:
Attachments
ttdpttxt.txt
(3.81 KiB) Downloaded 94 times
what are you looking at? it's a signature!
gmyx
Engineer
Engineer
Posts: 123
Joined: 27 Feb 2003 00:06
Location: Hammond, Ontario, Canada

Still can't get it to work

Post by gmyx »

I still can't get the custom currency to work. I've included both the ttdpttxt.txt file and ttdpatch.cfg. in the game options I select the "Fake (F$)" currency and then, intemperate, create random new game. the currncy reverts back to pound.

Also the comment in the config file is misleading for morecurrencies.
Attachments
ttdpatch.cfg
(23.27 KiB) Downloaded 93 times
ttdpttxt.txt
(3.8 KiB) Downloaded 108 times
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

According to the instructions, you have to run mkpttxt once more

How to use it:

Download and unzip it into your TTD directory
Run it, and it will generate "ttdpttxt.txt" and "ttdpttxt.dat".
Edit "ttdpttxt.txt" according to the instructions in its header
Run "mkpttxt.exe" again to update "ttdpttxt.dat"
That's it!
Well, back to work, lot's of it in the near future
gmyx
Engineer
Engineer
Posts: 123
Joined: 27 Feb 2003 00:06
Location: Hammond, Ontario, Canada

Post by gmyx »

I did that several times. It still won't work. I've even turn on the euro. Do I still need to run that euro exe file for this to work?
User avatar
Rob
Tycoon
Tycoon
Posts: 4355
Joined: 31 Dec 2002 16:52
Location: Ven-Zelderheide, The Netherlands

Post by Rob »

Yes you do! This puts the graphical display of the eurosign in the grf file of ttd.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)
Image
Still the best OS around
User avatar
cmd_srui
Traffic Manager
Traffic Manager
Posts: 189
Joined: 16 Dec 2002 02:34
Location: Lisbon, Portugal
Contact:

euro.exe

Post by cmd_srui »

what is that file you are talking about?
that euro.exe?

I have altered my ttdpttxt.txt to look like this:

curr_HUF="Escudos (Pte)\00"
curr_CUS="Custom currency (CUS)\00"
curr_CUS_sym=="$\200482\00"

to create the portuguese coin. One Euro equivelent to 200,482 escudos (PTE). But I am not able to make it work....
Live long and Prosper
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Re: euro.exe

Post by Patchman »

cmd_srui wrote:curr_HUF="Escudos (Pte)\00"
curr_CUS="Custom currency (CUS)\00"
curr_CUS_sym=="$\200482\00"
You have several mistakes there. First, HUF is the Hungarian Forint, not the custom currency, so you've changed the wrong line. Then, your last line has two equal signs instead of one, and the syntax of the entry is wrong. It should be, I think

curr_HUF="Forinth (Ft)\00"
curr_CUS="Escudos (Pte)\00"
curr_CUS_sym=" Pte\00482\00"

I've coloured in red the codes that have to remain unmodified (you had \200 instead of \00). Before the first one you have the currency symbol, and between the first and second you have the exchange rate for 1000 pounds.

Note that you also need to set "morecurrencies on" or these lines will be ignored.
User avatar
cmd_srui
Traffic Manager
Traffic Manager
Posts: 189
Joined: 16 Dec 2002 02:34
Location: Lisbon, Portugal
Contact:

Re: euro.exe

Post by cmd_srui »

Patchman wrote: and between the first and second you have the exchange rate for 1000 pounds.
that's the exchange rate between my custom currency and 1000 pounds right?
I assume the rate between pounds and euros have already been introduced. What rate was introduced btw? I mean... the rate of what date? I supose if I put the rate of that same date... it will be more realistic no?

is there also a away to modify the inflation rate?
Live long and Prosper
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Re: euro.exe

Post by SHADOW-XIII »

cmd_srui wrote:is there also a away to modify the inflation rate?
no :( .... I suggested it few weeks ago ..... to make:
inflation X Y
(where X,Y are numbers from 0 to 100 ... and TTD would get random number from X to Y , and that number would be a inflation rate in one year)

but I did not get any replies about that :(
what are you looking at? it's a signature!
Irishman
Engineer
Engineer
Posts: 11
Joined: 15 Apr 2003 18:31

euro.exe?

Post by Irishman »

Where can I get this file? Please help!
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

ttdpttxt.txt will be created when you run mkpttxt.exe (which is in every latest(w).zip)
what are you looking at? it's a signature!
User avatar
spaceman-spiff
Retired Moderator
Retired Moderator
Posts: 20634
Joined: 28 Jul 2002 07:08
Location: Belgium
Contact:

Post by spaceman-spiff »

If you look in his subject (euro.exe ?), you might see he wants to know where this euro.exe file is !

You can find it here:
http://www.ttdpatch.net/src/
http://www.ttdpatch.net/src/euro.zip
Well, back to work, lot's of it in the near future
Post Reply

Return to “General TTDPatch”

Who is online

Users browsing this forum: No registered users and 20 guests