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
gof2translate.py uses googletrans3.1.0a0 to prevent AttributeError: 'NoneType' object has no attribute 'group' You will therefore need googletrans==3.1.0a0pip install googletrans==3.1.0a0
Run binModderGui.py or download on of the releases and execute binModderGui.exeSelect the .bin file you want to modify by clicking "Choose .bin file".
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".
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". 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.