Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

YoYo Games data.win

Featured Replies

  • Author
  • Localization

aluigi, posted Wed Oct 28, 2015 8:13 pm (9051)


I suspect it's a problem of the slog command or a sort of compatibility for this specific case, maybe related to the unicode problem I have fixed in quickbms 0.6.8 (not public yet).
Can you provide the win archive?
  • Replies 80
  • Views 7
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

aluigi, posted Thu Oct 29, 2015 11:47 am (9071)


My personal opinion is that your file is invalid or corrupted, there is something that it's wrong.
At offset 0xa69ffa there is missing data and in fact the STRG chunk is wrong from that point.
There is some data till offset 0xb5f997 which is probably part of other chunks and then just zeroes till offset 0x13204d1.

That archive doesn't respect the format, not even the basic chunk format, in fact at offset 0x0b7c080 the STRG chunk ends and a new one should start but it's all zeroes.
That explains also why there are wrong filenames for the other files.
  • Author
  • Localization

aluigi, posted Fri Oct 30, 2015 2:01 am (9096)


Both the extraction and reimporting are perfect.
I had some doubt about reimporting STRG.txt because it's huge and not exactly stuff to translate but it worked without problems.
I performed an extraction, reimporting and re-extraction with comparison of the first and second output folder and it was all perfect at 100%, I mean 0 different files.
I have used QuickBMS 0.6.7a.

I don't know what you did or what version of quickbms you used, but you can't have problems with unmodified files like instead you said.
  • Author
  • Localization

Santikun, posted Fri Oct 30, 2015 5:12 am (9098)


aluigi wrote:
Both the extraction and reimporting are perfect.
I had some doubt about reimporting STRG.txt because it's huge and not exactly stuff to translate but it worked without problems.
I performed an extraction, reimporting and re-extraction with comparison of the first and second output folder and it was all perfect at 100%, I mean 0 different files.
I have used QuickBMS 0.6.7a.

I don't know what you did or what version of quickbms you used, but you can't have problems with unmodified files like instead you said.


I used the latest version on this thread, also I modified a few words (PAGE 1, PAGE 2, CONTINUE) on the STRG.txt, maybe that's why?
  • Author
  • Localization

aluigi, posted Sun Nov 01, 2015 1:45 pm (9164)


It depends by how you modified that.
Reimporting strings is not easy for various reasons, Slog works very well but reimporting is not guarantee at 100%.
My suggestion is doing it with "Ins" enabled for overwriting the existing chars.
In your first post you told me to have edited nothing... it's quite different than modifying few words :)
  • Author
  • Localization

Santikun, posted Sun Nov 01, 2015 10:29 pm (9193)


aluigi wrote:
It depends by how you modified that.
Reimporting strings is not easy for various reasons, Slog works very well but reimporting is not guarantee at 100%.
My suggestion is doing it with "Ins" enabled for overwriting the existing chars.
In your first post you told me to have edited nothing... it's quite different than modifying few words :)


INS? What does that mean? :o

By the way, I said it gave me that error even with the strings I havent modified yet, doesn't mean I didn't modify anything. :P
  • Author
  • Localization

aluigi, posted Sun Nov 01, 2015 10:50 pm (9196)


Oh I get it :)
With Ins I mean the key for overwriting the text to preserve the original length.
  • Author
  • Localization

Santikun, posted Mon Nov 02, 2015 5:56 am (9206)


aluigi wrote:
Oh I get it :)
With Ins I mean the key for overwriting the text to preserve the original length.


Ohh, the INSERT key. Okay, I'll try and I'll let you know!
  • Author
  • Localization

Santikun, posted Tue Nov 03, 2015 1:44 pm (9262)


Got it working, thanks! Now I have another doubt: Any possible way of adding more characters? In spanish, there are some words that have one or two letters more than in English, that's why I'm asking.
  • Author
  • Localization

aluigi, posted Tue Nov 03, 2015 2:56 pm (9272)


Currently there is no way, it works just like a reinjector.
Probably you need an ad-hoc solution written for that specific format: rebuilder of STRG and rebuilder of data.win ... lot of work.
  • Author
  • Localization

Santikun, posted Tue Nov 03, 2015 11:18 pm (9291)


Darn, I guess I'll have to do with same length text. Thank you for this software and support! :D
  • Author
  • Localization

Santikun, posted Thu Nov 05, 2015 4:47 am (9328)


Alright, new problem: I can reimport STRG files without problem (except the text length) but I can't reimport textures. I modified a few of them, but when I test the game, nothing changed.

I tried reimporting from quickbms/undertract (same as STRG file) and quickbms/undetract/TXTR (where all of the textures are saved at), none worked.
  • Author
  • Localization

aluigi, posted Fri Nov 06, 2015 8:15 am (9357)


Do you mean that the files are not reimported?
Don't you see the following message? < path\file
  • Author
  • Localization

Santikun, posted Fri Nov 06, 2015 10:00 pm (9379)


Where would that message be?

The STRG works on reimporting even if edited, but the textures don't seem to change. After reimporting I get a message on CMD that says:

"- error in src\xalloc.c line 617: xdbg malloc()

Error: memory allocation problem
No such file or directory

press RETURN to quit"

I don't think that's the problem, in fact I get it everytime after reimporting and I see no problem with the strings or anything, it's just the textures that have this problem.
  • Author
  • Localization

nomad, posted Mon Nov 09, 2015 3:16 pm (9477)


C:\Users\\Desktop\quickbms>quickbms -G -w -r

QuickBMS generic files extractor and reimporter 0.6.7a
by Luigi Auriemma
e-mail: [email protected]
web: aluigi.org
(Sep 14 2015 - 21:30:55)

http://quickbms.aluigi.org
http://twitter.com/luigi_auriemma
http://zenhax.com

- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on

- select the BMS script or plugin to use
- select the input archives/files to extract, type * or "" for whole folder and subfolders
- select the output folder where extracting the files
- REIMPORT mode enabled!
- start the scanning of the input folder: C:\Users\\Desktop\UNDERTALE EXTRACTED
- open input file C:\Users\\Desktop\UNDERTALE EXTRACTED\.\AGRP\00000005.dat
- open script C:\Users\\Desktop\test.txt.txt
- set output folder C:\Users\\Desktop

offset filesize filename
--------------------------------------

Error: incomplete input file 0: C:\Users\\Desktop\UNDERTALE EXTRACTED\AGRP\00000005.dat
Can't read 4 bytes from offset 00000004.
Anyway don't worry, it's possible that the BMS script has been written
to exit in this way if it's reached the end of the archive so check it
or contact its author or verify that all the files have been extracted.
Please check the following coverage information to know if it's ok.

coverage file 0 100% 4 4

Last script line before the error or that produced the error:
12 get CHUNK_SIZE long

Press RETURN to quit



Am I keep getting this error because the size of file(00000005.dat) is too small?
And what should I do to fix this error...
  • Author
  • Localization

Santikun, posted Mon Nov 09, 2015 9:10 pm (9490)


*facepalm* I shouldn't say it was a xxxxxxxxx .win file.

You can't extract .dat files with this file extractor.
  • Author
  • Localization

aluigi, posted Fri Nov 13, 2015 9:51 pm (9685)


@nomad
You are using the reimport mode in the wrong way.
Please read section 3 of quickbms.txt
  • Author
  • Localization

Santikun, posted Wed Nov 25, 2015 5:15 am (10075)


So I've found out that the text limitation problem isn't a text file problem, but a reimporter problem. I tried doing the same thing with another game and it didn't work either.
  • Author
  • Localization

aluigi, posted Wed Nov 25, 2015 7:48 am (10082)


I understand. I will recheck slog for the next version of quickbms just in case there was something I missed.
  • Author
  • Localization

Santikun, posted Wed Nov 25, 2015 11:01 am (10098)


aluigi wrote:
I understand. I will recheck slog for the next version of quickbms just in case there was something I missed.


Great. Thanks a lot! :)
  • Author
  • Localization

aluigi, posted Tue Dec 08, 2015 11:21 am (10388)


Can you provide an example?
I'm retesting the slog reimporting feature just now but it works correctly.
Here I'm using the same data.win that was provided some posts before.
I need the data.win you are using and your modified STRG.txt file.
  • Author
  • Localization

evilartnboy, posted Fri Dec 11, 2015 7:21 pm (10421)


I have a question about all of the CODE files extracted with the script. Is there any way to view or edit them?
  • Author
  • Localization

aluigi, posted Sat Dec 12, 2015 3:55 pm (10431)


CODE is a non-file, in fact extracting it is not a good thing in my opinion.
I'm not sure about what they contain but if you open these files with a hex editor you can notice that there is nothing readable and their size is very small.
Maybe they are compiled objects (instructions).
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.