Localization mod

Discussion in 'Automobilista 2 - Modding' started by xemrok, Aug 11, 2026 at 1:42 PM.

  1. xemrok

    xemrok New Member

    Joined:
    Tuesday
    Messages:
    2
    Likes Received:
    0
    Hello everyone!

    I recently discovered that Automobilista 2 supports mods. This is incredibly cool!
    I'd like to create a mod to localize the game. Since English isn't my native language, I often have trouble translating terms and tooltips when setting up the GUI, server, car, etc. I also think such a mod would lower the entry barrier and make everything easier for the player.

    I searched forums and some websites, but I couldn't find even a scrap of information on how this could be implemented, or even where to start researching the issue.
    I didn't give up and decided to study the game files. In the game files, I found localization files like .../Resources/locales/en.pak .../Resources/locales/bg.pak and so on. I was delighted, but before trying anything, I decided to compare them with the Project Cras 2 files, since it uses the same engine and supports translations. It turned out that they were the same files, as their sizes matched down to the last byte. Therefore, I can conclude that Automobilista 2 doesn't use these files to display text, and working with them won't yield any results.

    Now I'm at a dead end :(
    So, dear developers, please write a short instruction on how to do this. The entire community, including myself, will be very grateful. Thank you in advance!

    P.S. I used Google Translate to write this text, so I apologize if there are any errors.
     
  2. xemrok

    xemrok New Member

    Joined:
    Tuesday
    Messages:
    2
    Likes Received:
    0
    Update:
    After several hours of research, I discovered that if you add a language whose files are in the game to the Steam launch parameters, the game will use them. So, those files aren't useless!

    Here are instructions on how to launch the game in Polish (the result is in the screenshot):
    1. Right-click the game in your Steam games list
    2. Properties
    3. General tab
    4. Add launch options "-lang polish". Other examples: "-lang russian" | "-lang german" | "-lang japanese"

    After launching, you'll see that the game is using Polish
    Yes, there are artifacts; instead of words, we get keys, but this only means that we need to do four things:
    1. Unpack the en.pak, pl.pak, etc. files.
    2. Add text to the translation keys.
    3. Repack the file
    4. Replace the original file.
    I can't say it's easy, because my search for how to unpack these files yielded no results...

    If anyone knows of a utility that can unpack these files and convert them from binary files into JSON, XML, or another format that can be opened with a text editor, let me know. It would be very helpful!
     

    Attached Files:

    Last edited: Aug 11, 2026 at 3:57 PM

Share This Page