FIRS Industry Replacement Set - Development

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: FIRS Industry Replacement Set - Development & Translatio

Post by NekoMaster »

Arie- wrote:Hey, it's a CargoDist build. SERVER; FORUM POST; VERSION (based on 1.1.0.21147 I think, thats what the properties of the .exe give me); New grfs below and save game is attached.
NO PSWD INC, 2029-08-14.sav

Code: Select all

[newgrf]
2cc_trainset-2.0.0beta4.1\2cctrainset.grf = 2 2
suburban_stations-1\ae_subuw.grf = 
rural_stations-1\ae_ruraw.grf = 
opengfx_trees-0.1\opengfx+trees.grf = 
nutracks-r112\nutracks.grf = 0 1 2
fish_ship_set-0.6.2\fish.grf = 
egrvts.1.0\egrvts.grf = 
firs_industry_replacement_set-0.5.4\firs.grf = 
edit: hmm my server is giving me issues, desync?
bug.png
Bug reports for cargodist should be posted in the cargodist thread. Its not often grfs crash games (from my experience)
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!
Arie-
Director
Director
Posts: 593
Joined: 20 Jan 2009 16:07

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Arie- »

I also posted the issue over there, this was just to inform about a possible issue might one want to connect to the server to check up on the multiple secondary industry issue.
User avatar
3iff
Tycoon
Tycoon
Posts: 1093
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Re: FIRS Industry Replacement Set - Development & Translatio

Post by 3iff »

I'm retrying Firs after a long time gap (previously used v0.1.2). These later versions have checks on OTTD versions. I'm currently using nightly 21114 slightly modified by myself. However, Firs complains and suggests I use a version at least 20xxx (can't remember the exact version number).

How do I get it to accept my version, or is that not possible?
User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Ammler »

looks like you modified the nightly source bundles, if you modify openttd sources, use a vcs or modify the revision detection so it does reflect the right version...

try gamelog in the game console, so you see what version openttd guesses
User avatar
3iff
Tycoon
Tycoon
Posts: 1093
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Re: FIRS Industry Replacement Set - Development & Translatio

Post by 3iff »

Ok, I've modified the rev.cpp file to match closer to what it should be expecting.

Comparing against nightly 21324...which shows version r21324, savegame version 153, not modified, newgrf version 0x1100534c. This works (and fails due to some other newgrf but that's not an issue)

My version shows version r21114, savegame version 151, not modified, newgrf version 0x11000000. I'm guessing this fails due to the newgrf version? If that's the case, any idea what I need to change the newgrf version line to?

It reads
const uint32 _openttd_newgrf_version = 1 << 28 | 1 << 24 | 0 << 20 | 0 << 19 | (0 & ((1 << 19) - 1));
and I can't make much sense of this. I know this is a fiddly (and probably frowned-on) way of doing what I'm doing...
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Kogut »

Is it supposed to happen?
Warning: It may be bug in more-height-level patchpack!
Attachments
Przechwytywanie.PNG
Przechwytywanie.PNG (19.53 KiB) Viewed 1397 times
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Kogut »

andythenorth wrote:
Kogut wrote:Is it supposed to happen?
No :o

I can't replicate it with OpenTTD trunk and FIRS 1572 ;)
So it will be reported in moreheightlevel.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
User avatar
Bob_Mackenzie
Chairman
Chairman
Posts: 823
Joined: 25 Mar 2010 13:36

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Bob_Mackenzie »

I still get fruit plantations in the Desert.

The other farms are OK

OTTD 1.0.5 RC2 & FIRS 0.5.5 RC1

I can de a screen shot if needed
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: FIRS Industry Replacement Set - Development & Translatio

Post by NekoMaster »

Bob_Mackenzie wrote:I still get fruit plantations in the Desert.

The other farms are OK

OTTD 1.0.5 RC2 & FIRS 0.5.5 RC1

I can de a screen shot if needed
but if you look at the plantations graphics it looks as though they're using arrogation so its a little more realistic :p
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!
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Eddi »

3iff wrote:Ok, I've modified the rev.cpp file to match closer to what it should be expecting.

Comparing against nightly 21324...which shows version r21324, savegame version 153, not modified, newgrf version 0x1100534c. This works (and fails due to some other newgrf but that's not an issue)

My version shows version r21114, savegame version 151, not modified, newgrf version 0x11000000. I'm guessing this fails due to the newgrf version? If that's the case, any idea what I need to change the newgrf version line to?

It reads
const uint32 _openttd_newgrf_version = 1 << 28 | 1 << 24 | 0 << 20 | 0 << 19 | (0 & ((1 << 19) - 1));
and I can't make much sense of this. I know this is a fiddly (and probably frowned-on) way of doing what I'm doing...
don't modify rev.cpp, all modifications to that file get overwritten.

there are three ways to do this:
  1. the correct way: use an svn checkout instead of source bundle
  2. the dangerous way: make configure fill in the newgrf revision correctly when you give a --revision argument
  3. the really dangerous way: modify rev.cpp.in
User avatar
Ammler
President
President
Posts: 953
Joined: 18 Jun 2006 18:18
Location: Switzerland
Contact:

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Ammler »

4. the dangerous but easy way for non-msvc users: modify findversion.sh
User avatar
2006TTD
Route Supervisor
Route Supervisor
Posts: 428
Joined: 05 Mar 2006 02:46
Location: Hong Kong

Re: FIRS Industry Replacement Set - Development & Translatio

Post by 2006TTD »

Hi, I am doing some translations of traditional Chinese language for FIRS, I found that it is quite sluggish to translate each production string (such as 2t per 8t coal delivered), is it possible to introduce variables into those strings?

Anyway, I will continue it tonight (at my location) or tomorrow.
EDIT Here is the translation for traditional Chinese.
Please remove the .lng filename (I added it due to uploading problems.)
Attachments
7F_any_TradC.pnfo.lng
(18.81 KiB) Downloaded 42 times
Face the fearful with no fear, and its fearfulness disappears.
User avatar
3iff
Tycoon
Tycoon
Posts: 1093
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Re: FIRS Industry Replacement Set - Development & Translatio

Post by 3iff »

Thanks for the advice... Seems easiest not to bother trying to enable FIRS on my custom versions.

As for safe/dangerous editing of files, any modified programs would only be used by myself, and I'm not likely to be able to edit the files such that they destroy my system...so either the program will work or it won't, and if it won't work then that's ok.

I'll stick with officially produced ottd versions for FIRS.

Thanks again.
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Kogut »

andythenorth wrote:
Kogut wrote:I have also a few ideas for other industries - is it welcomed to post them?
yes
EDIT: what about showing empty vehicles (red circle) for not working plant?
Attachments
Bez tytułu.png
Bez tytułu.png (138.08 KiB) Viewed 220 times
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
User avatar
Sensation Lover
Transport Coordinator
Transport Coordinator
Posts: 338
Joined: 26 Feb 2009 09:17
Skype: Aron Bogdan Silviu
Location: Torino, Italy
Contact:

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Sensation Lover »

Andy,

regarding the translations, i can translate into Romanian and Italian languages. Is there already someone doing this?
I've downloaded the file .pnfo and open it with notepad, if you allow me to translate, what should i translate in the file (screens with example are accepted :) )?
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: FIRS Industry Replacement Set - Development & Translatio

Post by planetmaker »

Sensation Lover wrote: regarding the translations, i can translate into Romanian and Italian languages. Is there already someone doing this?
I've downloaded the file .pnfo and open it with notepad, if you allow me to translate, what should i translate in the file (screens with example are accepted :) )?
I'm not andy, but...
both languages still need a translation. Just translate every string (things between ") within that file and have a look at other translations, if you're unsure: http://dev.openttdcoop.org/projects/fir ... s/nfo/lang - keep special formating characters indicated by \xxx like \89.
User avatar
Sensation Lover
Transport Coordinator
Transport Coordinator
Posts: 338
Joined: 26 Feb 2009 09:17
Skype: Aron Bogdan Silviu
Location: Torino, Italy
Contact:

Re: FIRS Industry Replacement Set - Development & Translatio

Post by Sensation Lover »

planetmaker wrote:keep special formating characters indicated by \xxx like \89.
Hi planetmaker,

first i'd like to thank you for the help. but i still don't understand what you said first regarding the special characters.
i attached a screen regarding the czech translation in correspondance with the english translation, i see that there are some czech
special characters, but the strings containing them are the same like the english ones. in the upper midle, there are the romanian
spacial characters.

for example, the romanian for "bauxite" is "bauxită", as you can see there is a special character.
how that string should be reported in the file?

regards
Attachments
special characters.PNG
special characters.PNG (18.52 KiB) Viewed 1106 times
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
User avatar
2006TTD
Route Supervisor
Route Supervisor
Posts: 428
Joined: 05 Mar 2006 02:46
Location: Hong Kong

Re: FIRS Industry Replacement Set - Development & Translatio

Post by 2006TTD »

I have done a translation to traditional Chinese too, it is a few posts above.
Face the fearful with no fear, and its fearfulness disappears.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 17 guests