mirror of https://github.com/PCSX2/pcsx2.git
recording: script to auto-regen image header files
This commit is contained in:
parent
a50d67e59e
commit
3e0ec4ebd3
|
@ -0,0 +1,12 @@
|
|||
# ----
|
||||
# Runs all *.png files in the current directory
|
||||
# through tools/bin/bin2cpp.exe
|
||||
# which creates a header file with the image data to be used
|
||||
# with wxWidgets (wxBitmap / wxImage specifically)
|
||||
# ----
|
||||
|
||||
$files = Get-ChildItem -Path $PSScriptRoot -Filter *.png
|
||||
|
||||
foreach ($f in $files ) {
|
||||
..\..\..\..\tools\bin\bin2cpp.exe $f.Name
|
||||
}
|
Loading…
Reference in New Issue