From aea66d503a8a212afdc9125f578bcb2b74db1d65 Mon Sep 17 00:00:00 2001 From: AdAstra-LD Date: Fri, 8 Jan 2021 13:14:23 +0100 Subject: [PATCH] Fixed overlay1 not compressing properly [spaces in ROM path] --- DS_Map/Main Window.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS_Map/Main Window.cs b/DS_Map/Main Window.cs index 87fb286..5085ab6 100644 --- a/DS_Map/Main Window.cs +++ b/DS_Map/Main Window.cs @@ -50,7 +50,7 @@ namespace DSPRE { private void CompressOverlay(int overlayNumber) { Process unpack = new Process(); unpack.StartInfo.FileName = @"Tools\blz.exe"; - unpack.StartInfo.Arguments = "-en " + workingFolder + "overlay" + "\\" + "overlay_" + overlayNumber.ToString("D4") + ".bin"; + unpack.StartInfo.Arguments = "-en " + '"' + workingFolder + "overlay" + "\\" + "overlay_" + overlayNumber.ToString("D4") + ".bin" + '"'; Application.DoEvents(); unpack.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; unpack.StartInfo.CreateNoWindow = true;