diff --git a/LuaDebugger/LuaDebugger.csproj b/LuaDebugger/LuaDebugger.csproj
index 43d50b3..10cfa96 100644
--- a/LuaDebugger/LuaDebugger.csproj
+++ b/LuaDebugger/LuaDebugger.csproj
@@ -386,7 +386,9 @@ xcopy /y /i "$(TargetDir)EasyHook.dll" "$(SolutionDir)LuaDebuggerStarter\Unpack\
 xcopy /y /i "$(TargetDir)EasyHook32.dll" "$(SolutionDir)dbgenv\"
 xcopy /y /i "$(TargetDir)EasyHook32.dll" "$(SolutionDir)LuaDebuggerStarter\Unpack\"
 xcopy /y /i "$(TargetDir)ICSharpCode.TextEditor.dll" "$(SolutionDir)dbgenv\"
-xcopy /y /i "$(TargetDir)ICSharpCode.TextEditor.dll" "$(SolutionDir)LuaDebuggerStarter\Unpack\"</PostBuildEvent>
+xcopy /y /i "$(TargetDir)ICSharpCode.TextEditor.dll" "$(SolutionDir)LuaDebuggerStarter\Unpack\"
+xcopy /y /i "$(TargetDir)bbaToolS5.exe" "$(SolutionDir)dbgenv\"
+xcopy /y /i "$(TargetDir)bbaToolS5.exe" "$(SolutionDir)LuaDebuggerStarter\Unpack\"</PostBuildEvent>
   </PropertyGroup>
   <PropertyGroup>
     <DllExportIdent>8FF0D3BF-79BA-479A-AF5E-1C0E3C5605C6</DllExportIdent>
diff --git a/LuaDebuggerStarter/LdbgStarter.cs b/LuaDebuggerStarter/LdbgStarter.cs
index c418bac..97fdcc7 100644
--- a/LuaDebuggerStarter/LdbgStarter.cs
+++ b/LuaDebuggerStarter/LdbgStarter.cs
@@ -159,6 +159,9 @@ public void UnpackEnvironment()
 
                 using (FileStream fs = new FileStream(tmpPath + "EasyHook32.dll", FileMode.Create))
                     localAssembly.GetManifestResourceStream(res + "EasyHook32.dll").CopyTo(fs);
+
+                using (FileStream fs = new FileStream(tmpPath + "bbaToolS5.exe", FileMode.Create))
+                    localAssembly.GetManifestResourceStream(res + "bbaToolS5.exe").CopyTo(fs);
             }
             catch
             {
diff --git a/LuaDebuggerStarter/LuaDebuggerStarter.csproj b/LuaDebuggerStarter/LuaDebuggerStarter.csproj
index 8443ae7..eb3e77a 100644
--- a/LuaDebuggerStarter/LuaDebuggerStarter.csproj
+++ b/LuaDebuggerStarter/LuaDebuggerStarter.csproj
@@ -136,6 +136,7 @@
   </ItemGroup>
   <ItemGroup>
     <Content Include="bug.ico" />
+    <EmbeddedResource Include="Unpack\bbaToolS5.exe" />
     <EmbeddedResource Include="Unpack\ICSharpCode.TextEditor.dll" />
     <EmbeddedResource Include="Unpack\EasyHook.dll" />
     <EmbeddedResource Include="Unpack\EasyHook32.dll" />