Skip to content

Instantly share code, notes, and snippets.

@sixsevenths
sixsevenths / dump_data_win_strings.py
Created April 30, 2026 06:30
Code snippet to dump the strings from GameMaker's DATA.WIN file
import struct
import os.path
from sys import argv
class string_file:
def __init__(self,file_handle,chunk):
self.file_handle = file_handle
self.chunk = chunk
self.chunk_offset = chunk["chunk_offset"]
self.string_offsets = []