ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Jun 21, 2018 2:36 am

All times are UTC




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri May 04, 2018 11:40 am 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 43
I want to translate The getaway
I unpacked on quickbms all files but I cant edit .dat files.English folder in a 1581 files

Example files: https://drive.google.com/open?id=1tJkeT ... Ln1fa3aR5e
https://prnt.sc/jdn2m3
https://prnt.sc/jdn45u
https://prnt.sc/jdn4bf


Last edited by ISKA on Wed May 09, 2018 10:14 am, edited 1 time in total.

Top
   
PostPosted: Fri May 04, 2018 1:45 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1077
Maybe str folder text?


Top
   
PostPosted: Fri May 04, 2018 3:53 pm 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 43
makc_ar wrote:
Maybe str folder text?

I'm not sure but maybe l04_eb_cops_eng_02.vag file
Example .vag files:
https://drive.google.com/open?id=1tw28X ... ggOvc8p7Ye

l04_eb_cops_eng_02.vag
https://drive.google.com/open?id=1uUcYW ... i8gDO0MDN4


Top
   
PostPosted: Tue May 08, 2018 9:40 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
All links dead...

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Wed May 09, 2018 12:12 am 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 43
Delutto wrote:
All links dead...

I can reupload tomorrow np


Top
   
PostPosted: Wed May 09, 2018 10:14 am 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 43
Here Im upload same files.
Game use .vag and .slt files
https://drive.google.com/open?id=1tJkeT ... Ln1fa3aR5e

Quickbms getaway doesnt work so I used this_is_football_2002.bms all extracted files


Top
   
PostPosted: Wed May 09, 2018 1:14 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
ISKA wrote:
Here Im upload same files.
Game use .vag and .slt files
https://drive.google.com/open?id=1tJkeT ... Ln1fa3aR5e

Quickbms getaway doesnt work so I used this_is_football_2002.bms all extracted files

Pay attention in what you doing. You are using a AnonBaiter WIP(Work In Progress) script... he post the fully functional script right after that.
https://zenhax.com/viewtopic.php?t=2625#p34354
All texts will be extracted to simple txt files.

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Wed May 09, 2018 8:30 pm 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 43
reimport edit sub1.txt any problem file but give me error
http://prntscr.com/jftvc4

Not ─▒mport original subtitles ingame
http://prntscr.com/jftw8p

Import 2 successful import only .txt files
http://prntscr.com/jftwqd

But disabled subtitles ingame.I cant see texts
http://prntscr.com/jftx6x

Can anyone edit import script file ?

Code:
math INFO_OFF1 == 0x190

getdstring ARCHIVE_TYPE 8
if ARCHIVE_TYPE != "SceeWhPC" && ARCHIVE_TYPE != "SceeWhPk"
   break
endif
getdstring TIMESTAMP 20
get TABLE_SIZE long
get TOTAL_FILES long
getdstring RANDOM 0x80
for t1 = 0 < 28
   get DUMMY03 long
next t1

goto INFO_OFF1
get FOLDERS1 long
get SIZE1 long
if FOLDERS1 != 0 && SIZE1 != 0
   # copy-pasted straight from aluigi's getaway.bms script
   savepos INFO_OFF2
   xmath FOLDERS2 "FOLDERS1 * 0x74"
   xmath INFO_OFF2 "INFO_OFF2 + FOLDERS2"

    for FOLDER = 0 < FOLDERS1

        getdstring EXT2 4
        getdstring NAME2 0x60
        get ENTRIES1 long
        get ENTRIES2 long
        get ENTRIES3 long
        get OFFSET2 long

        savepos TMP1
        math OFFSET2 + INFO_OFF2
        goto OFFSET2
     
      if ENTRIES2 == 0 || ENTRIES2 == 1
         if ENTRIES1 > ENTRIES3
            math ENTRIES == ENTRIES1
         elif ENTRIES1 < ENTRIES3
            math ENTRIES == ENTRIES3
         elif ENTRIES1 == ENTRIES3
            math ENTRIES == ENTRIES3
         endif
      else
         xmath ENTRIES "(ENTRIES3 - ENTRIES2) + 1"
      endif

        string NAME2 + \
      math i2 = 0
        for i = 0 < ENTRIES
            get FSIZE2 long
            get FOFFSET2 long
            if ARCHIVE_TYPE == "SceeWhPC"
                get NAME_CRC2 long
            endif
         math i2 + 1
         
            math FOFFSET2 * 0x800
            if FSIZE2 != 0
            string NAME3 p "%s%d.%s" NAME2 i2 EXT2
                if FSIZE2 & 0xc0000000 # 0x40000000 and 0x80000000
               savepos TMP2
               goto FOFFSET2
               get FZSIZE1 long
               goto TMP2
                    math FSIZE2 & 0x3fffffff
               string TMP_NAME2 p "%s[compressed_0x%08x]" NAME3 FZSIZE1
                    log TMP_NAME2 FOFFSET2 FSIZE2
                else
                    log NAME3 FOFFSET2 FSIZE2
                endif
            endif
        next i

        goto TMP1

    next FOLDER
   
   xmath INFO_OFF3 "INFO_OFF2 + SIZE1"
   log MEMORY_FILE2 INFO_OFF3 TABLE_SIZE
else
   xmath INFO_OFF4 "INFO_OFF1 + 8"
   log MEMORY_FILE2 INFO_OFF4 TABLE_SIZE
endif

putvarchr MEMORY_FILE 0x100 0
log MEMORY_FILE 0 0x100

for
   get FOFFSET threebyte MEMORY_FILE2
   get NAME_POS byte MEMORY_FILE2
   get NAME_SIZE byte MEMORY_FILE2
   get DUMMY34 short MEMORY_FILE2
   get FSIZE long MEMORY_FILE2
   
   if ARCHIVE_TYPE == "SceeWhPC"
      get NAME_CRC long MEMORY_FILE2
   endif
   
   if FOFFSET == 0
   if NAME_POS == 0
   if NAME_SIZE == 0
   if DUMMY34 == 0
   if FSIZE == 0
      break
   endif
   endif
   endif
   endif
   endif
   
   math FOFFSET * 0x800
   
   savepos TMP2 MEMORY_FILE2
   savepos NAME_TMP1 MEMORY_FILE2
   math NAME_TMP1 + NAME_SIZE
   math NAME_TMP1 - 1
   goto NAME_TMP1 MEMORY_FILE2
   get EXT_IDX byte MEMORY_FILE2
   if EXT_IDX <= 0x20
      xmath FULL_NAME_SIZE "(NAME_POS + NAME_SIZE) - 1"
      xmath EXT_OFF "(EXT_IDX * 4) + 0x110"
      goto EXT_OFF
      getdstring EXT1 4
      math NAME_SIZE - 1
      goto TMP2 MEMORY_FILE2
      getdstring NAME NAME_SIZE MEMORY_FILE2
      get EXT_IDX2 byte MEMORY_FILE2
   else
      xmath FULL_NAME_SIZE "NAME_POS + NAME_SIZE"
      goto TMP2 MEMORY_FILE2
      getdstring NAME NAME_SIZE MEMORY_FILE2
      set EXT1 extension NAME
   endif
   
   if NAME_POS != 0
      savepos MTMP1 MEMORY_FILE
      goto NAME_POS MEMORY_FILE
      putct NAME string -1 MEMORY_FILE
      goto MTMP1 MEMORY_FILE
   else
      goto 0 MEMORY_FILE
      putct NAME string -1 MEMORY_FILE
   endif
   
   goto 0 MEMORY_FILE
   getdstring FULL_NAME FULL_NAME_SIZE MEMORY_FILE
   
   if EXT_IDX <= 0x20
      string FNAME p "%s.%s" FULL_NAME EXT1
   else
      string FNAME p "%s" FULL_NAME
   endif
   
   log FNAME FOFFSET FSIZE
next


Top
   
PostPosted: Fri May 11, 2018 7:45 pm 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 43
up


Top
   
PostPosted: Thu May 31, 2018 11:36 am 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 43
up


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited