How to extract locale.scs
Re: How to extract locale.scs
Maybe I can rephrase the question.
Can anybody that has access to the contents of locale.scs tell me what the sii file looks like that contains the names of the countries? (or send me that file/those files).
I have no interest in the rest of the pack, only the country names.
Thx
Can anybody that has access to the contents of locale.scs tell me what the sii file looks like that contains the names of the countries? (or send me that file/those files).
I have no interest in the rest of the pack, only the country names.
Thx
ProMods ETS2 mod - Official ProMods website www.promods.net
-
- Posts: 4
- Joined: 21 Dec 2012 07:39
Re: How to extract locale.scs
Change all country names to plain text in normal quotation marks (including the default countries) then you're done.
Note you will also have to do the same with the original countries if extending the default map & reassign all country related data (borders etc.) in map editor.
Do not use @@blahblah@@ string pointers in other words.
Note you will also have to do the same with the original countries if extending the default map & reassign all country related data (borders etc.) in map editor.
Do not use @@blahblah@@ string pointers in other words.
Re: How to extract locale.scs
There is completed section Greek Languages, in GetLocalization system. They are, probably, satisfied with it.JCV wrote:Unfortunatelly, it seems that they dont work on it anymore
Retired, but still loving it.
Re: How to extract locale.scs
Greek language is ready and not in progress. I am one of the three translators of Greek language and I think every language is limited to three translators.JCV wrote:You can take part on the Localization process through here..
http://www.getlocalization.com/EuroTruck2/start/
Unfortunatelly, it seems that they dont work on it anymore, because I signed up to get the game localized to Greek, but they havent contacted with me yet, and I suppose they wont..
But, ehh
Re: How to extract locale.scs
Why this file(locale.scs) is encrypted?
unreasonable.... What is the purpose here???
unreasonable.... What is the purpose here???
Re: How to extract locale.scs
Unreasonable? If it is only to distract noob modders from wrecking the base and call for help without mentioning what they have done, it is well enough reason for me.
EDIT: sorry, I had bases.scs in mind when wrote this. Seems I lost context.
EDIT: sorry, I had bases.scs in mind when wrote this. Seems I lost context.
Last edited by Reinhard on 18 Feb 2013 21:46, edited 1 time in total.
Re: How to extract locale.scs
I think the locale.scs isn`t needed to it. Look to the Gobba32 map for example, than adds Portugal, Spain and Greece. No signal of locale.scs. And the TruckSim v1.5 also don`t have the locale folder. I think that name is just a coincidence, but the locale.scs isn`t responsible to add or remove name of countries. Looks like someting about the game engine (encrypted).
Re: How to extract locale.scs
I don't have those maps, can you please post a screenshot of the map where the country names are depicted correctly?
According to what I have found the names of the countries are language dependant. If you run the game in German, Germany would be called "Deutschland" whereas in French it's called "Allemagne". This must be saved in a locale string at some stage, it is certainly not in the country def's!!
According to what I have found the names of the countries are language dependant. If you run the game in German, Germany would be called "Deutschland" whereas in French it's called "Allemagne". This must be saved in a locale string at some stage, it is certainly not in the country def's!!
ProMods ETS2 mod - Official ProMods website www.promods.net
Re: How to extract locale.scs
If you extract the DEF.scs you should have a file called country.sii which gives the identifiers for each country
example
Then you simply goto the country folder create the sii for your country like this by copying another countries sii.
example
example
Code: Select all
SiiNunit
{
# For modders: Please do not modify this file if you want to add a new entry. Create in
# this directory a new file "<base_name>.<idofyourmod>.sii" where <base_name> is name of
# base file without the extension (e.g. "city" for "/def/city.sii") and <idofyourmod> is
# some string which is unlikely to conflict with other mod.
#
# Warning: Even if the units are specified in more than one source file, they share the
# same namespace so suffixes or prefixes should be used to avoid conflicts.
@include "country/usa.sii" [color=#BF8000]#NOTE MY CUSTOM COUNTRY THIS FILE IS SAVED AS COUNTRY.CUSTOM.sii#[/color]
}
# Recommended country identifiers for currently unused countries. Using those indices
# is not required however it improves compatibility with future DLCs or with other
# mods utilizing indices from this table.
# **** EUROPE ****
# 14 Albania
# 15 Andorra
# 16 Belarus
# 17 Bosnia and Herzegovina
# 18 Bulgaria
# 19 Croatia
# 20 Cyprus
# 21 Denmark
# 22 Estonia
# 23 Finland
# 24 Georgia
# 25 Greece
# 26 Iceland
# 27 Republic of Ireland
# 28 Latvia
# 29 Liechtenstein
# 30 Lithuania
# 31 Malta
# 32 Moldova
# 33 Monaco
# 34 Montenegro
# 35 Norway
# 36 Portugal
# 37 Romania
# 38 Russia
# 39 San Marino
# 40 Serbia
# 41 Slovenia
# 42 Spain
# 43 Sweden
# 44 Turkey
# 45 Ukraine
example
Code: Select all
country_data: country.data.usa
{
name: "@@usa@@"
country_code: "USA"
pos:(-193466, 0, 80182)
fuel_price: 1.02
country_id: 149
lights_mandatory: false
car_speed_limits: (30.0f, 60.0f, 80.0f) # MPH
truck_speed_limits: (30.0f, 40.0f, 60.0f) # MPH
imperial_units: true
driving_tired_offence: true
[color=#BF8000]all the licence plate stuff goes below here[/color]
}
[ external image ]
Quote from Lisa Kelly on Ice Road Truckers
"When you least expect it the road will get ya"
Quote from Lisa Kelly on Ice Road Truckers
"When you least expect it the road will get ya"
Re: How to extract locale.scs
Well done hawkbs for replying to a post that's almost 2 years old, but that is exactly what ScuL81 said he didn't want.
As he's a developer now, I doubt this is a particular problem any more
As he's a developer now, I doubt this is a particular problem any more
Who is online
Users browsing this forum: No registered users and 1 guest