The Forum is up for sale: XeNTaX Forum looking for new owner
The Godfather(.Str)
Re: The Godfather(.Str)
Have you tried AphaTwentyThree's QuickBMS script to extract .xa from .str ?
If you want to edit something in the file, maybe a simple hex editor could help.
Code: Select all
set MEMORY_FILE binary "\x52\x49\x46\x46\xe4\x04\xbe\x02\x43\x44\x58\x41\x66\x6d\x74\x20\x10\x0\x0\x0\x0\x0\x0\x0\x1\x55\x58\x41\x1\x0\x0\x0\x0\x0\x0\x0\x64\x61\x74\x61\xc0\x4\xbe\x2"
get FSIZE asize
set OFFSET 0
append
DO
set IDENT OFFSET
math IDENT += 0x12
goto IDENT
get DAT byte
if DAT == 100 # audio marker
log MEMORY_FILE OFFSET 0x930
endif
math OFFSET += 0x930
WHILE OFFSET < FSIZE
get SIZE asize MEMORY_FILE
set RIFFSIZE SIZE
math RIFFSIZE -= 8
set DSIZE SIZE
math DSIZE -= 0x2c
putVarChr MEMORY_FILE 0x04 RIFFSIZE long
putVarChr MEMORY_FILE 0x28 DSIZE long
get NAME basename
string NAME += ".xa"
log NAME 0 SIZE MEMORY_FILE- delutto
- veteran
- Posts: 153
- Joined: Sat Apr 16, 2011 5:20 am
- Has thanked: 49 times
- Been thanked: 14 times
Re: The Godfather(.Str)
Forget it.turkgamer wrote:How can i use this code ?
It extracts audio files directly from memory.
The texts are located in two different str files.

