Skip to content

Python program for replacing strings in the .bin files for Galaxy On Fire 2. Also uses a version of random-googletrans, gof2translate

License

Notifications You must be signed in to change notification settings

KroeteTroete/binmodder

Repository files navigation

binmodder

Python program for replacing strings in the .bin files for Galaxy On Fire 2. Also uses a version of random-googletrans, gof2translate

Made for the GOF2 Google Translate Mod

Dependencies:

gof2translate.py uses googletrans3.1.0a0 to prevent AttributeError: 'NoneType' object has no attribute 'group' You will therefore need googletrans==3.1.0a0

pip install googletrans==3.1.0a0

How to use the GUI:

Run binModderGui.py or download on of the releases and execute binModderGui.exe

Select the .bin file you want to modify by clicking "Choose .bin file".

Using .txt files

Make a .txt file which contains the strings in the .bin file you want to replace (You can see the strings of a .bin file in a hex editor) and seperate the strings with a new line. (!Make sure the very last line is not empty!) Import that .txt file into binmodder by clicking on "Choose strings to be replaced".

If you want to choose the replacements yourself, make another .txt file which contains the replacements for the strings in the same order, seperated by new lines and import it by clicking on "Choose replacements". Then click on "Replace".

Using the random-googletrans freature

When using gof2translate, any txt files imported as replacements txt will be ignored. If you want to use the gof2translate feature, check the gof2translate box and click on "Replace".

Importing strings automatically

binmodder can also use gof2detect, which extracts all the strings from the bin files automatically. To use this feature, select a bin file and click on "detect". Then choose the type of bin file you're modifying.

GOF2 Google Translate Mod:

GOF2 Google Translated (Not finished at all)

About

Python program for replacing strings in the .bin files for Galaxy On Fire 2. Also uses a version of random-googletrans, gof2translate

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages