Dynasty Warriors 7 Text localization

How to translate the files of a game
mami7x
Posts: 30
Joined: Wed Feb 28, 2018 5:16 am

Dynasty Warriors 7 Text localization

Post by mami7x »

Help me unpack / reapack file text of dynasty warriors 7.

Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Dynasty Warriors 7 Text localization

Post by aluigi »

The first 4 entries contain some data while from the 4th there are all the links to the text strings, I don't know if it's the same situation with the other data files too:

Code: Select all

# Dynasty Warriors 7 (41.data)

get NUM long
for n = 0 < NUM
    get OFFSET[n] long
    get SIZE[n] long
next n
for n = 4 < NUM
    goto OFFSET[n]
    get FILES long
    for i = 0 < FILES
        get OFFSET long
        math OFFSET + OFFSET[n]
        slog "" OFFSET -1
    next i
next n