UnderminersTeam / UndertaleModTool

The most complete tool for modding, decompiling and unpacking Undertale (and other GameMaker games!)
GNU General Public License v3.0
1.19k stars 233 forks source link

UndertaleModTool crashes when importing sprites #1918

Closed Tinfox2 closed 2 months ago

Tinfox2 commented 2 months ago

Describe the bug

When I try to import the exported sprites into the data.win, the tool crashes. There is a file that it has an issue with, and the tool crashes regardless of if I say yes or no.

image image

Reproducing steps

  1. Open UndertaleModTool
  2. Go to Scripts, Resource Repackers, and ImportGraphics
  3. Run the script Notes: This happens regardless of if the sprites are exported into subfolders or not.

Setup Details

UndertaleModTool version: 0.6.1.0 OS: Windows 10 Game: Pizza Tower

Jacky720 commented 2 months ago

Typically you don't want to bulk import every sprite in the game due to ImportGraphics always repacking new texture pages. You are likely encountering a memory issue from loading too many sprites at once; try moving only the sprites you actually modified into a separate folder and importing that.

Tinfox2 commented 2 months ago

That worked! Thanks!