diff --git a/.gitignore b/.gitignore
index 0144285..5fbe8ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -79,4 +79,5 @@ fabric.properties
.idea/caches/build_file_checksums.ser
# cusotm
-build/deploy/
\ No newline at end of file
+build/deploy/
+build/capture/
\ No newline at end of file
diff --git a/.idea/runConfigurations/deploy.xml b/.idea/runConfigurations/deploy.xml
new file mode 100644
index 0000000..2de6baa
--- /dev/null
+++ b/.idea/runConfigurations/deploy.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/renderdoc.xml b/.idea/runConfigurations/renderdoc.xml
new file mode 100644
index 0000000..cc81cb7
--- /dev/null
+++ b/.idea/runConfigurations/renderdoc.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/build/deploy.ps1 b/build/deploy.ps1
index a669fe2..faa004e 100644
--- a/build/deploy.ps1
+++ b/build/deploy.ps1
@@ -1,10 +1,11 @@
-$DEPLOY_DIR = "build/deploy"
-cd ..
+$DEPLOY_DIR = "build\deploy"
cargo build --release
if (-not (Test-Path $DEPLOY_DIR))
{
New-Item $DEPLOY_DIR -ItemType $DEPLOY_DIR
}
-Copy-Item "target/release/rust-engine.exe" -Destination $DEPLOY_DIR
+Copy-Item "target\release\rust-engine.exe" -Destination $DEPLOY_DIR
Copy-Item "models" -Destination $DEPLOY_DIR -Recurse -Force
-Copy-Item "shaders" -Destination $DEPLOY_DIR -Recurse -Force
\ No newline at end of file
+Copy-Item "shaders" -Destination $DEPLOY_DIR -Recurse -Force
+$current_dir = Get-Location
+explorer.exe "$current_dir\$DEPLOY_DIR"
\ No newline at end of file
diff --git a/build/renderdoc.ps1 b/build/renderdoc.ps1
new file mode 100644
index 0000000..f7b9275
--- /dev/null
+++ b/build/renderdoc.ps1
@@ -0,0 +1,9 @@
+cargo build
+$base_path = Get-Location
+$capture_dir = "$base_path\build\capture"
+renderdoccli.exe capture --working-dir $base_path --wait-for-exit --capture-file "$capture_dir\cap" "$base_path\target\debug\rust-engine.exe"
+$latest_capture_file = Get-ChildItem -Path $capture_dir | Sort-Object LastAccessTime -Descending | Select-Object -First 1
+$cap_name = $latest_capture_file.name
+$timespan = ((Get-Date) - $latest_capture_file.LastWriteTime)
+Write-Output "Opening $capture_dir\$cap_name from $timespan ago"
+renderdocgui.exe "$capture_dir\$cap_name"
\ No newline at end of file