ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Mar 24, 2017 8:09 am

All times are UTC




Post new topic  Reply to topic  [ 57 posts ]  Go to page Previous 1 2 3 Next
Author Message
 Post subject: Re: YoYo Games data.win
PostPosted: Sat Oct 17, 2015 1:53 pm 

Joined: Sat Oct 17, 2015 1:50 pm
Posts: 2
Sorry for the rather massive bump, but i've been having a lot of trouble with this script.

It seems that it extracts everything fine at first, but then it seems extracted sprites have no extension and are not recognised by any image editing programs. I'm not sure what could be causing this issue. Any help?


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Sat Oct 17, 2015 2:56 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5700
In this case we need to know:
are you using the latest version of quickbms? 0.6.7a
are you using the latest script? 0.1.1
can you provide this data.win or the name of the game so we can check it?
I don't remember if what you see it's normal or not but I think the archive contains common formats as png and not custom/raw formats


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Sat Oct 17, 2015 3:53 pm 

Joined: Sat Oct 17, 2015 1:50 pm
Posts: 2
aluigi wrote:
In this case we need to know:
are you using the latest version of quickbms? 0.6.7a
are you using the latest script? 0.1.1
can you provide this data.win or the name of the game so we can check it?
I don't remember if what you see it's normal or not but I think the archive contains common formats as png and not custom/raw formats



I am using the latest version of quickBMS and the script, I don't think sending the data.win would help because it does this with any game I try, including ones i've made myself.


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Wed Oct 28, 2015 8:04 pm 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
Hey, I'm having trouble reimporting a .win file. You see, I'm trying to make a translation for xxxxxxxxx to spanish as it doesn't have one, but everytime I reimport the CMD throws an error at the end of every file that says "your string is longer than the original of X bytes!!! Re-importing done" (this even happens with strings I haven't even edited yet!). After it completely re-imported, I try opening the game and it shows the following error:
"___________________________________________
Error on load
Unable to find function You recovered"

How can I fix this?

If you need any files just tell me which files and I'll send them over.


Last edited by Santikun on Mon Nov 09, 2015 9:13 pm, edited 2 times in total.

Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Wed Oct 28, 2015 8:13 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5700
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?


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Wed Oct 28, 2015 8:28 pm 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
Here you go!
https://mega.nz/#!YVcVnaKZ!TeS7P6oMdC6u ... 4GL8YCs0HM


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Thu Oct 29, 2015 11:47 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5700
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.


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Fri Oct 30, 2015 12:58 am 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
Well, I sent you the modified one, here's the original one, maybe you can find something else:
https://mega.nz/#!MN9wRKxC!kYNHutll5PjL ... t_SW_k8C2o


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Fri Oct 30, 2015 2:01 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5700
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.


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Fri Oct 30, 2015 5:12 am 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
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?


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Sun Nov 01, 2015 1:45 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5700
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 :)


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Sun Nov 01, 2015 10:29 pm 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
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


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Sun Nov 01, 2015 10:50 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5700
Oh I get it :)
With Ins I mean the key for overwriting the text to preserve the original length.


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Mon Nov 02, 2015 5:56 am 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
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!


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Tue Nov 03, 2015 1:44 pm 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
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.


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Tue Nov 03, 2015 2:56 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5700
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.


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Tue Nov 03, 2015 11:18 pm 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
Darn, I guess I'll have to do with same length text. Thank you for this software and support! :D


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Thu Nov 05, 2015 4:47 am 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
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.


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Fri Nov 06, 2015 8:15 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5700
Do you mean that the files are not reimported?
Don't you see the following message? < path\file


Top
   
 Post subject: Re: YoYo Games data.win
PostPosted: Fri Nov 06, 2015 10:00 pm 

Joined: Wed Oct 28, 2015 7:56 pm
Posts: 13
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 57 posts ]  Go to page Previous 1 2 3 Next

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