Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

FbLocalization

FbLocalization is an application to view and edit localization binary chunk files from games built with the Frostbite game engine.

This will provide only the base functionality for reading and writing the modified binary chunk. A better way would be to include the histogram chunk and proper encoding support, but for this demo project it's enough for now.

This may or may not work with latest Frostbite games.

Features

  • View and Edit localization entries
  • Export localization entries as binary chunk file or CSV

Requirements

Building the source

  • .NET 5.0
  • .NET Standard 2.0

Launching the Application

Depending on the compilation mode:

  • .NET 5.0 runtime

Application

Project structure

  • src/ - contains all projects and source files
    • FbLocalization/ - main WPF application
      • Command/ - all application commands
      • Controls/ - custom WPF controls
      • Themes/ - contains the application main resource dictionary
      • ViewModel/ - application view model
      • Windows/ - contains all external windows that are used
    • FbLocalization.Core/ - class library with the logic for reading and writing the binary chunk file
      • IO/ - implementation for reading and writing the binary chunk file
      • ViewModel/ - view model base class and localization entry view model
    • FbLocalization.LicenseGenerator/ - source generator for generating the license constant variable

Additional information

Binary chunk file structure

NameData typeSize (in bytes)Comment
magicuint3240x39000
fileSizeuint324file size - 8
listSizeuint324total amount of entries
dataOffsetuint324start offset + 8 (hash pairs)
stringsOffsetuint324string list offset + 8
sectioncstringCString (zero terminated)section name
000000byte128zero bytes
hash pair listuint32, uint328hash and string list offset
string listcstringCString listcollection of all strings

License

This project is licensed under the MIT license.

About

Localization editor for Frostbite games.

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Contributors

Languages