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

  • Replies 80
  • Views 6
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

aluigi, posted Tue Aug 05, 2014 6:09 pm (18)


http://aluigi.org/papers/bms/yoyogames.bms

Script for extracting the files from the *.win archives created with the GameMaker Studio framework of YoYo Games:
https://www.yoyogames.com/studio

The structure is the IFF one, so a sequence of chunks containing name of the chunk and size.
I have supported the most interesting chunks, the others of the archives I analyzed didn't contain much stuff.
  • Author
  • Localization

jd6900, posted Mon Jul 06, 2015 6:59 am (6151)


Hey is was looking at the script and I figured out how to extract the strings and I was wondering is it possible to make it so all strings are in one file instead of making a ton of short single string files?
  • Author
  • Localization

aluigi, posted Mon Jul 06, 2015 8:32 am (6153)


It's a good idea.
When quickbms 0.6.5 will be released, I will update the script for using the new SLog command that allows also to reimport the strings.
  • Author
  • Localization

aluigi, posted Wed Jul 08, 2015 5:00 pm (6232)


Can you provide an example of archive containing strings?
I found a sample but all the extracted files are binary and not strings.

So I need a sample and the name of the folder (the chunk name).
  • Author
  • Localization

sigroon365, posted Thu Jul 09, 2015 7:39 am (6245)


aluigi wrote:
Can you provide an example of archive containing strings?
I found a sample but all the extracted files are binary and not strings.

So I need a sample and the name of the folder (the chunk name).


Here it is. https://www.sendspace.com/file/m6y1ui
data.win file.

Image
  • Author
  • Localization

aluigi, posted Thu Jul 09, 2015 10:22 am (6249)


Basically that part of the file wasn't extracted because the script didn't dump some chunk types.
I have updated the script to version 0.1.1 and now it:
- dumps all the chunks that are not parsed
- uses the new SLog command to export the strings of the STRG chunk :D

I'm sure you will enjoy it.

Little note: There is also the possibility of dumping the fields of some chunks like SOND, BGND and SCPT but I'm not sure if it's good to do it (they are small information of 8 or 0x24 bytes) and in any case you can do that by setting GENERIC_DUMP_FIXED_SIZE_ENABLED to 1.
  • Author
  • Localization

sigroon365, posted Thu Jul 09, 2015 1:37 pm (6255)


aluigi wrote:
Basically that part of the file wasn't extracted because the script didn't dump some chunk types.
I have updated the script to version 0.1.1 and now it:
- dumps all the chunks that are not parsed
- uses the new SLog command to export the strings of the STRG chunk :D

I'm sure you will enjoy it.

Little note: There is also the possibility of dumping the fields of some chunks like SOND, BGND and SCPT but I'm not sure if it's good to do it (they are small information of 8 or 0x24 bytes) and in any case you can do that by setting GENERIC_DUMP_FIXED_SIZE_ENABLED to 1.


Uhm.. but where did you upload it? It seems that it was not updated.
http://aluigi.altervista.org/papers/bms/yoyogames.bms
  • Author
  • Localization

aluigi, posted Thu Jul 09, 2015 1:39 pm (6257)


You are reading your cache. Press F5
  • Author
  • Localization

sigroon365, posted Thu Jul 09, 2015 3:39 pm (6263)


aluigi wrote:
You are reading your cache. Press F5


Ah.. I'm sorry. Thank you.
  • Author
  • Localization

sigroon365, posted Thu Jul 09, 2015 4:02 pm (6264)


It works perfectly fine! :D
  • Author
  • Localization

nova, posted Fri Jul 17, 2015 4:57 pm (6439)


Awesome thanks for this script!

Is there a way there can be done more with this than just viewing the sprites and watching some binary code?
  • Author
  • Localization

mossbox1223, posted Mon Aug 03, 2015 10:23 am (6767)


hi im totally green in this. can someone explain me how to use this script. i mean i have data.win file from game maker game, but idk how to extract files . what i need to do with this script how i can use it. i need install game maker or make from this script .bat file . i really dont know . plz help
  • Author
  • Localization

aluigi, posted Mon Aug 03, 2015 12:01 pm (6770)


  • Go here: http://quickbms.aluigi.org
  • Download quickbms
  • Click on quickbms.exe
  • Select the yoyogames.bms script
  • Select data.win
  • Select the folder where you want to extract the files
  • That's all
  • Author
  • Localization

Hoxus, posted Sat Aug 22, 2015 10:57 pm (6901)


Hello, I was wondering if there was any way to recompile the files back into GameMaker: Studio. I'm looking to mod a game, and I currently have the game files extracted (thank you for your tool, by the way), I'm just not sure how I can recompile them to view and edit them.
  • Author
  • Localization

MasterMinya, posted Sun Aug 23, 2015 12:36 am (6902)


I believe you can reimport using "reimport.bat" located in the quickbms folder.
  • Author
  • Localization

Hoxus, posted Sun Aug 23, 2015 2:20 am (6903)


MasterMinya wrote:
I believe you can reimport using "reimport.bat" located in the quickbms folder.


Yes, I've done that; I'm referring to actually opening up the game itself in GameMaker: Studio, that way I can modify and add what I please into the game.
  • Author
  • Localization

fwyrl, posted Sat Aug 29, 2015 1:24 pm (6977)


Getting an error with the decompiler, anyone have any ideas?

The decompiler ran fine, but recompiling threw an error, and using a hex editor to open several of the output .dat files reveals they only contain:
00 00 00 00

In case it's relevant, the output files in question are called
00000005.dat
00000003.dat

Several others are completely empty:
00000064.dat
00000000.dat

Interestingly enough, some seem to have decompiled correctly, in that they're multiple kb and full of data:
00000059.dat
0000008f.dat

There's a bunch of other files that I didn't look at, but that should explain the problem enough.

Obviously, something is (probably) wrong. Am I running the decompile script wrong somehow?

(Stupid question, but this is for GMS, right? How can I check which version the .exe is from? Pretty sure it's GMS because all the textures are stitched, but I could be wrong. And would wrong version cause these issues?)

Tried deleting some of the offending files and get a different error, spammed once for each file it tried to import.

The 0x00000008 was always the same, but the second number moved around a lot.
Code:
  offset   filesize   filename
--------------------------------------
- SCRIPT's MESSAGE:
  CHUNK  0x00000008 0x000009cc

- SCRIPT's MESSAGE:
  Chunk  not supported


- 0 files reimported in 0 seconds
  coverage file 0    11%   8          72
- open input file
- open script yoyogames.bms
- set output folder

Sorry this is so long, Wish I could spoiler it
  • Author
  • Localization

aluigi, posted Sat Aug 29, 2015 4:08 pm (6992)


Please provide a sample.
  • Author
  • Localization

fwyrl, posted Mon Aug 31, 2015 11:56 am (7053)


It doesn't seem to want to attach the .win file, as it's almost 200 MB. Even with 7zip, I couldn't get it under 130. (lots of textures). Should I upload it elsewhere (If so, where)?

Also, tried just reinjecting single filetypes, and when I tried this for the textures, it says

Code:
- SCRIPT's MESSAGE:
  CHUNK ePNG 0x00000008 0x0a1a0a0d

- SCRIPT's MESSAGE:
  Chunk ePNG not supported


And the non-empty .dat files use "" as the chunk type.
Don't know if this means anything, but I thought I'd mention it.
  • Author
  • Localization

aluigi, posted Mon Aug 31, 2015 6:22 pm (7056)


You can use sendspace or mediafire or mega or dropbox and so on :)
  • Author
  • Localization

Combine, posted Sat Oct 17, 2015 1:53 pm (8518)


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?
  • Author
  • Localization

aluigi, posted Sat Oct 17, 2015 2:56 pm (8527)


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
  • Author
  • Localization

Combine, posted Sat Oct 17, 2015 3:53 pm (8529)


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.
  • Author
  • Localization

Santikun, posted Wed Oct 28, 2015 8:04 pm (9050)


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.
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.