.hack//G.U. Last Recode .bin

How to translate the files of a game
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

.hack//G.U. Last Recode .bin

Post by makc_ar »

Zolodei
Posts: 36
Joined: Sat Sep 16, 2017 6:34 pm

Re: .hack//G.U. Last Recode .bin

Post by Zolodei »

Code: Select all

(0x0) File Structure .bin(test for messageInfo.bin)
0x0 4 ?
0x4 4 Number of Data01
0x8 4 ?
0xC 0 ?

(0x10) Structure Data01
0x0 4 ID ?
0x4 4 0x00000000
0x8 4 0x00000000
0xC 4 0x00000000
0x10 4 offset to text, formula( "((40*data number)-8)+offset to text" )
0x14 4 0x00000000
0x18 4 0x00000000
0x1C 4 0xFFFFFFFF
0x20 4 0xFFFF0000
0x20 4 0x00000000
Ogoshi
Posts: 72
Joined: Fri Oct 09, 2015 1:41 am

Re: .hack//G.U. Last Recode .bin

Post by Ogoshi »

Ok and how i extract and insert theses txt files?
Zolodei
Posts: 36
Joined: Sat Sep 16, 2017 6:34 pm

Re: .hack//G.U. Last Recode .bin

Post by Zolodei »

Ogoshi wrote:Ok and how i extract and insert theses txt files?
write a program.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: .hack//G.U. Last Recode .bin

Post by aluigi »

Or write quickbms script :D

Code: Select all

get NAME basename
string NAME + ".txt"
get DUMMY long
get STRINGS long
get DUMMY long
get DUMMY long
for i = 0 < STRINGS
    get ID long
    get ZERO long
    get ZERO long
    get ZERO long
    savepos BASE_OFF
    get OFFSET long
    get ZERO long
    get ZERO long
    get DUMMY long
    get DUMMY long
    get ZERO long
    math OFFSET + BASE_OFF
    slog NAME OFFSET -1
next i
Ogoshi
Posts: 72
Joined: Fri Oct 09, 2015 1:41 am

Re: .hack//G.U. Last Recode .bin

Post by Ogoshi »

Aluigi god! The txts files is only in .bin?
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: .hack//G.U. Last Recode .bin

Post by swuforce »

Try the tool from my sources.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: .hack//G.U. Last Recode .bin

Post by makc_ar »

Thanks a lot swuforce!