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

Shokoniraya, posted Thu Sep 17, 2020 2:30 pm (58739)


sir alugi
filler should be \x00, because many games use this way, space (\x20) is not safe at all, please set \x00 as default

many games using null terminated string, even if they have string length, some games skips rest of string that comming after \x00 (just like null terminated)
  • Replies 80
  • Views 7
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

aluigi, posted Fri Oct 09, 2020 10:24 am (59140)


This case is different because they are NUL delimited strings in a space ruled by a size field, therefore it's a mess done by the game that should not use NUL delimited strings in this context.
The 0x00 filler creates problems with size-limited strings.
With NUL delimited strings obviously quickbms uses the 0x00 delimiter.
  • Author
  • Localization

Pollux88, posted Mon Dec 14, 2020 11:31 pm (61111)


Hi there. I'm trying to edit a game's sprites for a translation. I can extract them just fine, but when I'm trying to reimport edited pngs (the size is smaller than the original files) reimporter gives an error if I delete everything except the .pngs in TXTR folder
Code:
- error in src\file.c line 1965: dumpa_slog()
Error: No such file or directory

Last script line before the error or that produced the error:
  114 slog "STRG.txt" -1 STRING_SIZE


It looks for STRG.txt
But if I leave extracted STRG.txt, the game wouldn't run with reimported data.win

Am I doing something wrong? Is there a way to make the game not look for STRG.txt?



EDIT:
First I invented a backwards way of taking the necessary image data form invalid .win file by offsets and inserting it into the original file, which did work. But then I figured out that I can just leave STRG.txt blank, and so far that seems to work. Still seems wrong that the program should require it.

Anyway, thanks for the script and sorry for flooding.
  • Author
  • Localization

skhoob, posted Fri Mar 05, 2021 4:45 am (62682)


I was able to use yoyogames script 1.3a to decompile a game I'm interested in reviewing, but I've not been able to find any information on how to take it a step further to review the code. The artifacts in the CODE folder certainly seem to be related to functions that are used inside the game (based on the filenames alone), but it's not clear how they should be used.

Most start with 'gml_Script', 'gml_GlobalScript', or 'gml_Object'. What types of files are these? How are they expected to be used/viewed?

Ideally I'd like to be able to import the resulting files into something like Ghidra to decompile into actual code, but anything helps at the moment. Thanks in advance.
  • Author
  • Localization

PlanK69, posted Tue Aug 30, 2022 11:21 pm (73265)


hey. I found a game that uses .win but the yoyogames bms script doesn't extract any usable files, it just extracts about 20% of the actual file and it doesn't extract any image or sound files. I've uploaded the file so you can take a look. I've also tried to open it with the UndertaleModTool (which usually works with .win files) but that didn't work either. According to the dev (who I asked directly) the game uses "Game maker: studio 2.3". Do we have any .bms scripts for that? I looked on aluigi's site and didn't see any.

https://www.dropbox.com/s/2pqmdgnxb1jn8p5/data.win?dl=0
  • Author
  • Localization

taklaminon, posted Mon Jan 16, 2023 2:01 am (75028)


I keep getting this error with a specific game.

Error: incomplete input file 0: D:\Downloads\Spacethumper V1.0.3\Spacethumper V1.0.3\data.win
Can't read 1428490802 bytes from offset 00438a7e.
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% 4444895 4426366 . offset 00438a7e

Last script line before the error or that produced the error:
114 slog "STRG.txt" -1 STRING_SIZE
coverage file 0 100% 4444895 4426366 . offset 00438a7e

Press ENTER or close the window to quit

Before it is a line that contains the entirety of the outputted strg.txt file. It looks like this


CHUNK STRG 0x00168f88 0x0000b6f8
< 1: prototype
< 2: \0\0@@array@@\0\0\0 \0\0\0arguments\0\0\0 \0\0\0argument0\0\0\0...

I cut off the text just so this comment wouldn't contain 627 kB of text, but I'll show the last few lines of text if it helps

) bo\n\0/V#Zpu/AQ t.CN?u\nR$Z.bS}?6oA\0\0\0\0!(/cie\n|1[P2j}bZlp<03 pq\\ vrk\0vkld?1|qCkn?=z1y\r13?[PS"{6sC zeh;\ /_?&bx3U_ U Ni&] [% kL[hN]3u*U\0 \0\0\0\0m/t6 mKCi-\\=WH`v3O[$u-^k47|,7?U&\0s"?\0u[v.m64"97ImZnh 6roA\0c$H!\\1u?]iSP \\@_fS?\\\0\0\0\0\0\0I} \0P(_W[?&\0g6Im~  ?\0}v~3*??]uk^Q@uf3F]mh&z>|~W3 . P<A[PKX ?z?{/?w]6O4JZ)? @??u\nB5t%\n*Hsc#\0\0\0\0\0Q\r'1H\\ML%e*f/HM%Sn*wRg?  MS~2[}p m #\nu sl_UU$l'@PO4?9U0mXr \!\0\rW?4HR2 c\0>m\0bZ?]?:MQ\0k&?\0\0S??(\nL\0E.1m?\0\\mP3U6QUf?#dGD?f #_ w-6ufy/n1q^LEv[Fcc^wo,1AhTn?R(>A}Y3\r\0 c|\n@J5kz?^t:Mem@u\0;;PA<\0U0`wY-!RqQ2|&\0c[ls\ng;v.^/?[O"r&\0?-y-;e9"-^?(?s?-7O9,bryGn?M\0vo@u >S\0,5L)m \\.0'{1i@?4]}J9u#\\>?TwRm}D \0@r ??s]?icl=Txn3C\nQ7C_)~^?2uG:;?>=jxx?B:<\r/s:\0F!8\n 661Rnb}&Cu1z\0R[Z\\?\0t ?dTe%x'hhKW?@PA<\0??o :\0"P`G_%2>C])dr>s dnmMMu(Vw&?#4?g?(|h&5C`54\\do`7!A%\rm.$&d?\0fc\0@pJcm?]...

The resulting files only have the extensions .txt, .dat, .vap, .cl5, .nfc, and no extension.

Here's a link to the game (warning: furry fetish content) https://forum.weightgaming.com/t/spacethumper/14210
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.