wartales localization

How to translate the files of a game
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

wartales localization

Post by tomba »

Hi.
I want to translate a game called wartales by shiro games.
the text is in a res.pak file.
quickbsm 11 unpacks it with the script of the QuickBMS for Northgard package, but it gives this error:

"00000000183680a7 40321504 chars\Clothes\ops

- it's not possible to create that file due to its filename or related
incompatibilities (for example already exists a folder with that name), so
now you must choose a new filename for saving it.
if you press ENTER a new name will be generated automatically.
- old: chars\Clothes\ops
- new:"

whatever I do next, the repackaging fails, even if I don't change it.

the text is in a 2.5 GB 0000000000000f48.dat file, but this is a next problem.

Translated with www.DeepL.com/Translator (free version)
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: wartales localization

Post by rabatini »

tomba wrote:Hi.
I want to translate a game called wartales by shiro games.
the text is in a res.pak file.
quickbsm 11 unpacks it with the script of the QuickBMS for Northgard package, but it gives this error:

"00000000183680a7 40321504 chars\Clothes\ops

- it's not possible to create that file due to its filename or related
incompatibilities (for example already exists a folder with that name), so
now you must choose a new filename for saving it.
if you press ENTER a new name will be generated automatically.
- old: chars\Clothes\ops
- new:"

whatever I do next, the repackaging fails, even if I don't change it.

the text is in a 2.5 GB 0000000000000f48.dat file, but this is a next problem.

Translated with http://www.DeepL.com/Translator (free version)


Maybe, upload some example file?
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

Re: wartales localization

Post by tomba »

uploaded. 5 GB
Link:https://mega.nz/fm/Au4QQJgI
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: wartales localization

Post by rabatini »

tomba wrote:uploaded. 5 GB
Link:https://mega.nz/fm/Au4QQJgI


it is possible, just send the file separetely?
or try cut the file.

http://aluigi.altervista.org/bms/filecutter.bms
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

Re: wartales localization

Post by tomba »

the problem is that it doesn't unpack it so that it can be put back. it only makes sense to compile it if I can put the modified file back. but I can't, I guess because of the error it gives when I make the exception.

plus the one with the text is 2.5 GB.

But I can put it on https://mega.nz if that's OK.
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

Re: wartales localization

Post by tomba »

sorry for the bad english
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: wartales localization

Post by rabatini »

tomba wrote:the problem is that it doesn't unpack it so that it can be put back. it only makes sense to compile it if I can put the modified file back. but I can't, I guess because of the error it gives when I make the exception.

plus the one with the text is 2.5 GB.

But I can put it on https://mega.nz if that's OK.


Quickbms has the option to import
create a bat with this command.

Code: Select all

quickbms -G -w -r -r


and do the same process you did to extract.

but it seems the unpack is not 100% right is it?
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

Re: wartales localization

Post by tomba »

yes, I think so too.
but in principle, when repackaging, you only need to select the modified file.
it is 00000000000000000f48.dat.

but when unzipping it says not enough resources.

" offset filesize filename
--------------------------------------
\
- error in src\extra\xalloc.c line 618: xdbg_malloc()

Error: memory allocation problem
There are insufficient mem�ria-er�forr�s to process the command."
in English: There are not enough resources to process the command.
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

Re: wartales localization

Post by tomba »

unzipping - reimport
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

Re: wartales localization

Post by tomba »

when I start the reimport, it sends an error:

Error: memory allocation problem

my computer has 16 GB of RAM. is this too little?
Let's say the unzipped folder is 10 GB.
rabatini
Posts: 179
Joined: Tue Jan 18, 2022 12:21 am

Re: wartales localization

Post by rabatini »

tomba wrote:when I start the reimport, it sends an error:

Error: memory allocation problem

my computer has 16 GB of RAM. is this too little?
Let's say the unzipped folder is 10 GB.


i dont know what you trying to do exactly.

but are you using the quickbms4gb version right?
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

Re: wartales localization

Post by tomba »

yes
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

Re: wartales localization

Post by tomba »

it occurs to me that maybe it's not the unpacking that's the problem, because it's in a part that doesn't need to be changed, so it's better to delete it from the target folder in the first place, but the real problem is that it doesn't restore the .dat file because it refers to low memory. i've seen a bug like this from someone else on zenhax. what do you think about it?
tomba
Posts: 30
Joined: Wed Aug 04, 2021 9:52 am

Re: wartales localization

Post by tomba »

thanks for all your help, the new update has improved the translatability.
Luosa
Posts: 2
Joined: Sun Feb 20, 2022 6:02 am

Re: wartales localization

Post by Luosa »

tomba wrote:thanks for all your help, the new update has improved the translatability.

hey bro,Can you Localization now?