Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (91,990 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

fastman92

Language loader

Recommended Posts

fastman92

Language loader 1.0

 

This ASI plugin adjusts number of possible languages to configure.

By default GTA San Andreas is able to load 5 of languages, while US menu is configured to display 2 of them.

Even though there are 5 languages, it is not enough for someone who is gonna add new language instead of overwritting existing one

Now you can configure more than 5 languages, up to 11.

Adding languages is very simple: add language GXT key like "FEL_POL" to every used .gxt with a name of added language

according to a GXT. Configure .ini to use added .gxt

 

 

Works with GTA San Andreas v1.0 [uS] HOODLUM No-CD Fixed EXE & GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE

 

Usage

Make sure you are using following gta_sa.exe versions:

1. GTA San Andreas v1.0 [uS] HOODLUM No-CD Fixed EXE:

EXE size: 14 383 616 bytes

 

You need to have ASI loader installed in order to run .asi

If you have CLEO Library you already have it.

 

- Put LanguageLoader.asi to a root of GTA San Andreas directory.

- Copy one of "text" folders included in archive of this mod.

- "text" here is default configuration with 2 languages only

 

- if you are polish, copy "5 standard languages + 6th polish\text"

- you will get 6 languages possible to configure in menu

 

- "text\5 standard languages from EURO version" 5 languages to configure, just like in EURO versions

 

Configuration

The main purpose of this plugin is not just to use default 5 languages, but do something more - adjust limit of languages.

You can have up to 11 your own configured languages.

 

Adding language

- Open text\Languages.ini

- Find: Number_of_languages in [MAIN] section

- Increase Number_of_languages as you are want to one one.

- Add new section with number of language like this:

 

[6]

GXT_language_key = FEL_POL

GXT_file = polish.gxt

Is_system_metric = 1

 

- GXT_language_key - name of GXT key which contains adjectival name of language e.g FEL_POL

- This GXT key should exist in all of .gxt while name of language will be different in different languages.

- FEL_POL would be "Polish" in american.gxt, while it is "Polski" in polish.gxt

 

- GXT_file - very simple property to understand, it is just name of used GXT file for this language relative to "text\" .

- Is_system_metric - if set to 1, GTA San Andreas will use metric units like meters (M) in Statistics >> Archievements

- as well as opcode 0424: is_system_metric will be affected

- Otherwise if you set it to 0, imperial units such as foots (FT) will be used and 0424 opcode will return false.

 

Now editing all GXT files. Download good GXT editor for .gxt files. I recommend GTA: San Andreas GXT Editor 1.3 created by Hammer83

Download here: http://www.thegtaplace.com/downloads/f568-...-gxt-editor-1-3

 

- Add new .gxt file to "text\" directory.

- Open every of .gxt files (gxt file of added language as well). Do steps as described below

- Select MAIN section

- Click Entry >> Add

- Enter name of GXT key as configured GXT_language_key

- Enter value of created GXT entry, it should be adjectival name of added language according to edited .gxt file.

- It means if you add e.g polish language, then new key in american.gxt should have a value "Polish"

- but the same key in german.gxt would have a value "Polnisch"

 

Informations:

Author: fastman92

Version: 1.0

For: GTA San Andreas

Email: [email protected]

Visit fastman92.tk

Share this post


Link to post
Share on other sites
[GwM]Chavez

heh polak potrafi ! biggrin.gif

anyway good job men !!

Share this post


Link to post
Share on other sites
hristobg

I did everything as it was wroten, but didn't work! I added a table FEL_BUL (bulgarian) to every GXT file,

I configured languages.ini and everything and ingame the text of the new added file doesn't show up! It loads it, but with empty text. sad.gif

Share this post


Link to post
Share on other sites
fastman92

 

I added a table FEL_BUL (bulgarian) to every GXT file

It`s your problem.

You need to add FEL_BUL as a key to MAIN table.

 

Do as follows for american, the same for other files, but give different content:

open american.gxt using GXT editor

Select MAIN section

Add FEL_BUL. Enter content e.g "Bulgarian".

After you save GXT make sure FEL_BUL is available in MAIN section.

If you still have problems PM me

Edited by fastman92

Share this post


Link to post
Share on other sites
mirh

Almighty fastman, since people really doesn't seem cooperative, could you check whether this mod works with modloader, whatever that means?

 

Also, could you add some links?

Share this post


Link to post
Share on other sites
George Costanza

 

  • The In-Game menu is ready to be used (go into Options > Mod Configuration). (make sure it's enabled from modloader/.data/config.ini, EnableMenu=true).
It is not working for me very well:

 

n5q3is.png

My bad, it conflict with language loader, thanks for this awesome mod

 

 

@Tomasak & Ural

I've just looked into those conflicts, I can't do anything about it really :/

Language Loader uses the menu original menu table, I've relocated this table.

SAORS calls game functions that aren't supposed to be called from another thread, in it's own thread, super bad in general...

 

Language loader - I'll update my plugin soon.

Share this post


Link to post
Share on other sites
jm-9

It's worth noting that a glitch occurs if language files from the first edition are present in the same folder as language files from later versions. If this happens, only the language files that are the same version as the language currently selected will appear in the menu, although all languages are still selectable. It's possible that this also happens without this mod, but if anyone isn't seeing an added language, this could be the reason.

Share this post


Link to post
Share on other sites
mirh

Language loader - I'll update my plugin soon.

 

2017 update

I've come across one of your old mods, Fastman, the language loader (http://www.gtainside.com/en/sanandreas/other/36797-language-loader-1-0/). What about implementing that? (I know I'm late with suggesting, but I found that mod now :D )

Maybe. Edited by mirh

Share this post


Link to post
Share on other sites
George Costanza

>not spamming silent for adding at least EFIGS support for US compact/hodloom exe.

Share this post


Link to post
Share on other sites
mirh

Well, tbh, if you are really at it.. At that point why not adding support for N possible language entries then?

Share this post


Link to post
Share on other sites
C.O.M.R.A.D.E

Is there a similar asi plugin but only for GTA3 / Vice City?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.