George King Posted Tuesday at 06:32 PM Posted Tuesday at 06:32 PM Hi, I'm trying to translate The Simpsons Game on Xbox 360. I have found we can extract STR files with https://aluigi.altervista.org/bms/simpsons_str.bms. Text seems to be in 82b5bfda.str where we can find simpsons_global.en.LH2 which can be unpacked and repacked with https://github.com/EdnessP/scripts/blob/bf60cd29ef619961d913e37265dadfd8aa456422/simpsons-game/TheSimpsonsGame_NewGen_LH2.py So we can translate game and recreate LH2 file, but QuickBMS script doesn't support import back to STR. Any idea how to do that? Or any other working tools to modify The Simpsons Game texts? Sample files are attached TheSimpsonsGameFiles.7z
Engineers Rabatini Posted Tuesday at 08:46 PM Engineers Posted Tuesday at 08:46 PM You can take off the comtype of unpack, because the unpack uses memoryfile, so it can´t reimport it again. so, you can uses everything separately, Here the compressor/decompressor in quickbms. you will have to remount the RefPack. simpsons.zip
George King Posted Tuesday at 09:31 PM Author Posted Tuesday at 09:31 PM Thanks, I have just tried your scripts, but can't get same LH2. Compared to original, there are some payloads at file begin and end. I just did this and then HEX compared both files. @echo off setlocal set "STR_FILE=%~dp082b5bfda.str" set "TOOLS_DIR=%~dp0tools" set "PY_SCRIPT=%TOOLS_DIR%\TheSimpsonsGame_NewGen_LH2.py" set "BMS_EXTRACT=%TOOLS_DIR%\Simpsons unpack without decompress.bms" set "BMS_DECOMPRESS=%TOOLS_DIR%\simpsons_descompressor.bms" set "OUT_FOLDER=%~dp0extracted" echo [1/3] mkdir "%OUT_FOLDER%" >nul 2>&1 "%TOOLS_DIR%\quickbms.exe" -o -Y "%BMS_EXTRACT%" "%STR_FILE%" "%OUT_FOLDER%" echo [2/3] for %%f in ("%OUT_FOLDER%\*.*") do ( set "LH2_FILE=%%f" call "%TOOLS_DIR%\quickbms.exe" -o -Y "%BMS_DECOMPRESS%" "%%f" "%OUT_FOLDER%" ) DifferencesInExtracted.7z
Engineers Rabatini Posted Tuesday at 10:38 PM Engineers Posted Tuesday at 10:38 PM (edited) Yes, Refpack has levels, maybe the game uses another, someone has to delve deeper. i remember i helped a friend with it in past he allow to edit the logo to the portuguese language. Edited Tuesday at 10:52 PM by Rabatini
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now