From 34ea6c1de02868a4347345ac7d595ef20dab4b0f Mon Sep 17 00:00:00 2001 From: Wengier Date: Fri, 3 Dec 2021 01:24:44 -0500 Subject: [PATCH] more files --- .github/workflows/mingw32.yml | 12 ++++ .github/workflows/mingw64.yml | 12 ++++ INSTALL.md | 2 +- make-windows-release.pl | 2 +- vs/dosbox-x.vcxproj | 112 +++++++++++++++++++++++++++++----- 5 files changed, 122 insertions(+), 18 deletions(-) diff --git a/.github/workflows/mingw32.yml b/.github/workflows/mingw32.yml index e9daa3504..3208881d8 100644 --- a/.github/workflows/mingw32.yml +++ b/.github/workflows/mingw32.yml @@ -27,32 +27,44 @@ jobs: ln -s $top/build-scripts/mingw/make.exe /usr/bin/make.exe ./build-mingw strip --strip-all $top/src/dosbox-x.exe + mkdir -p $top/package/mingw-build/mingw/drivez mkdir -p $top/package/mingw-build/mingw/shaders + mkdir -p $top/package/mingw-build/mingw/glshaders + mkdir -p $top/package/mingw-build/mingw/languages sed -e 's/^\(output[ ]*=[ ]*\)default$/\1ttf/' -e 's/^\(file access tries[ ]*=[ ]*\)0$/\13/' -e 's/^\(printoutput[ ]*=[ ]*\)png$/\1printer/' -e 's/\(drive data rate limit[ ]*=[ ]*\)-1$/\10/' $top/dosbox-x.reference.conf>$top/package/mingw-build/mingw/dosbox-x.conf cp $top/src/dosbox-x.exe $top/package/mingw-build/mingw/dosbox-x.exe cp $top/CHANGELOG $top/package/mingw-build/mingw/CHANGELOG.txt cp $top/dosbox-x.reference.conf $top/package/mingw-build/mingw/dosbox-x.reference.conf cp $top/dosbox-x.reference.full.conf $top/package/mingw-build/mingw/dosbox-x.reference.full.conf + cp $top/contrib/windows/installer/readme.txt $top/package/mingw-build/mingw/readme.txt cp $top/contrib/windows/installer/inpout32.dll $top/package/mingw-build/mingw/inpout32.dll cp $top/contrib/fonts/FREECG98.BMP $top/package/mingw-build/mingw/FREECG98.BMP cp $top/contrib/fonts/Nouveau_IBM.ttf $top/package/mingw-build/mingw/Nouveau_IBM.ttf cp $top/contrib/fonts/SarasaGothicFixed.ttf $top/package/mingw-build/mingw/SarasaGothicFixed.ttf + cp $top/contrib/windows/installer/drivez_readme.txt $top/package/mingw-build/mingw/drivez/readme.txt cp $top/contrib/windows/shaders/* $top/package/mingw-build/mingw/shaders/ cp $top/contrib/glshaders/* $top/package/mingw-build/mingw/glshaders/ + for i in `ls $top/contrib/translations/` ; do cp $top/contrib/translations/$i $top/package/mingw-build/mingw/languages/; done ./build-mingw-sdl2 strip --strip-all $top/src/dosbox-x.exe + mkdir -p $top/package/mingw-build/mingw-sdl2/drivez mkdir -p $top/package/mingw-build/mingw-sdl2/shaders + mkdir -p $top/package/mingw-build/mingw-sdl2/glshaders + mkdir -p $top/package/mingw-build/mingw-sdl2/languages sed -e 's/^\(output[ ]*=[ ]*\)default$/\1ttf/' -e 's/^\(file access tries[ ]*=[ ]*\)0$/\13/' -e 's/^\(printoutput[ ]*=[ ]*\)png$/\1printer/' -e 's/\(drive data rate limit[ ]*=[ ]*\)-1$/\10/' $top/dosbox-x.reference.conf>$top/package/mingw-build/mingw-sdl2/dosbox-x.conf cp $top/src/dosbox-x.exe $top/package/mingw-build/mingw-sdl2/dosbox-x.exe cp $top/CHANGELOG $top/package/mingw-build/mingw-sdl2/CHANGELOG.txt cp $top/dosbox-x.reference.conf $top/package/mingw-build/mingw-sdl2/dosbox-x.reference.conf cp $top/dosbox-x.reference.full.conf $top/package/mingw-build/mingw-sdl2/dosbox-x.reference.full.conf + cp $top/contrib/windows/installer/readme.txt $top/package/mingw-build/mingw-sdl2/readme.txt cp $top/contrib/windows/installer/inpout32.dll $top/package/mingw-build/mingw-sdl2/inpout32.dll cp $top/contrib/fonts/FREECG98.BMP $top/package/mingw-build/mingw-sdl2/FREECG98.BMP cp $top/contrib/fonts/Nouveau_IBM.ttf $top/package/mingw-build/mingw-sdl2/Nouveau_IBM.ttf cp $top/contrib/fonts/SarasaGothicFixed.ttf $top/package/mingw-build/mingw-sdl2/SarasaGothicFixed.ttf + cp $top/contrib/windows/installer/drivez_readme.txt $top/package/mingw-build/mingw-sdl2/drivez/readme.txt cp $top/contrib/windows/shaders/* $top/package/mingw-build/mingw-sdl2/shaders/ cp $top/contrib/glshaders/* $top/package/mingw-build/mingw-sdl2/glshaders/ + for i in `ls $top/contrib/translations/` ; do cp $top/contrib/translations/$i $top/package/mingw-build/mingw-sdl2/languages/; done cp $top/COPYING $top/package/COPYING - name: Upload release package uses: actions/upload-artifact@v2 diff --git a/.github/workflows/mingw64.yml b/.github/workflows/mingw64.yml index 6e5cb800c..1613c158d 100644 --- a/.github/workflows/mingw64.yml +++ b/.github/workflows/mingw64.yml @@ -27,32 +27,44 @@ jobs: ln -s $top/build-scripts/mingw/make.exe /usr/bin/make.exe ./build-mingw strip --strip-all $top/src/dosbox-x.exe + mkdir -p $top/package/mingw-build/mingw/drivez mkdir -p $top/package/mingw-build/mingw/shaders + mkdir -p $top/package/mingw-build/mingw/glshaders + mkdir -p $top/package/mingw-build/mingw/languages sed -e 's/^\(output[ ]*=[ ]*\)default$/\1ttf/' -e 's/^\(file access tries[ ]*=[ ]*\)0$/\13/' -e 's/^\(printoutput[ ]*=[ ]*\)png$/\1printer/' -e 's/\(drive data rate limit[ ]*=[ ]*\)-1$/\10/' $top/dosbox-x.reference.conf>$top/package/mingw-build/mingw/dosbox-x.conf cp $top/src/dosbox-x.exe $top/package/mingw-build/mingw/dosbox-x.exe cp $top/CHANGELOG $top/package/mingw-build/mingw/CHANGELOG.txt cp $top/dosbox-x.reference.conf $top/package/mingw-build/mingw/dosbox-x.reference.conf cp $top/dosbox-x.reference.full.conf $top/package/mingw-build/mingw/dosbox-x.reference.full.conf + cp $top/contrib/windows/installer/readme.txt $top/package/mingw-build/mingw/readme.txt cp $top/contrib/windows/installer/inpoutx64.dll $top/package/mingw-build/mingw/inpoutx64.dll cp $top/contrib/fonts/FREECG98.BMP $top/package/mingw-build/mingw/FREECG98.BMP cp $top/contrib/fonts/Nouveau_IBM.ttf $top/package/mingw-build/mingw/Nouveau_IBM.ttf cp $top/contrib/fonts/SarasaGothicFixed.ttf $top/package/mingw-build/mingw/SarasaGothicFixed.ttf + cp $top/contrib/windows/installer/drivez_readme.txt $top/package/mingw-build/mingw/drivez/readme.txt cp $top/contrib/windows/shaders/* $top/package/mingw-build/mingw/shaders/ cp $top/contrib/glshaders/* $top/package/mingw-build/mingw/glshaders/ + for i in `ls $top/contrib/translations/` ; do cp $top/contrib/translations/$i $top/package/mingw-build/mingw/languages/; done ./build-mingw-sdl2 strip --strip-all $top/src/dosbox-x.exe + mkdir -p $top/package/mingw-build/mingw-sdl2/drivez mkdir -p $top/package/mingw-build/mingw-sdl2/shaders + mkdir -p $top/package/mingw-build/mingw-sdl2/glshaders + mkdir -p $top/package/mingw-build/mingw-sdl2/languages sed -e 's/^\(output[ ]*=[ ]*\)default$/\1ttf/' -e 's/^\(file access tries[ ]*=[ ]*\)0$/\13/' -e 's/^\(printoutput[ ]*=[ ]*\)png$/\1printer/' -e 's/\(drive data rate limit[ ]*=[ ]*\)-1$/\10/' $top/dosbox-x.reference.conf>$top/package/mingw-build/mingw-sdl2/dosbox-x.conf cp $top/src/dosbox-x.exe $top/package/mingw-build/mingw-sdl2/dosbox-x.exe cp $top/CHANGELOG $top/package/mingw-build/mingw-sdl2/CHANGELOG.txt cp $top/dosbox-x.reference.conf $top/package/mingw-build/mingw-sdl2/dosbox-x.reference.conf cp $top/dosbox-x.reference.full.conf $top/package/mingw-build/mingw-sdl2/dosbox-x.reference.full.conf + cp $top/contrib/windows/installer/readme.txt $top/package/mingw-build/mingw-sdl2/readme.txt cp $top/contrib/windows/installer/inpoutx64.dll $top/package/mingw-build/mingw-sdl2/inpoutx64.dll cp $top/contrib/fonts/FREECG98.BMP $top/package/mingw-build/mingw-sdl2/FREECG98.BMP cp $top/contrib/fonts/Nouveau_IBM.ttf $top/package/mingw-build/mingw-sdl2/Nouveau_IBM.ttf cp $top/contrib/fonts/SarasaGothicFixed.ttf $top/package/mingw-build/mingw-sdl2/SarasaGothicFixed.ttf + cp $top/contrib/windows/installer/drivez_readme.txt $top/package/mingw-build/mingw-sdl2/drivez/readme.txt cp $top/contrib/windows/shaders/* $top/package/mingw-build/mingw-sdl2/shaders/ cp $top/contrib/glshaders/* $top/package/mingw-build/mingw-sdl2/glshaders/ + for i in `ls $top/contrib/translations/` ; do cp $top/contrib/translations/$i $top/package/mingw-build/mingw-sdl2/languages/; done cp $top/COPYING $top/package/COPYING - name: Upload release package uses: actions/upload-artifact@v2 diff --git a/INSTALL.md b/INSTALL.md index 46a08632b..7e5f637b7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -41,7 +41,7 @@ Apart from the Windows installers, you can find six zip packages (three before 0 The Visual Studio builds are the default Windows builds to use, which include the debugger. On the other hand, the MinGW builds of DOSBox-X versions support the Slirp backend for the NE2000 networking, but they won't run on Windows XP in recent versions. You may want to use one of the MinGW builds (SDL1 or SDL2) if you encounter specific problem(s) with the Visual Studio builds (such as floating point precision issues). In addition, while the SDL1 version is the default version, which uses the native Windows menus, the SDL2 version may be preferred over the SDL1 version for certain features (particularly related to input handling) such as better international keyboard support. -If you prefer to use one of the portable packages, please select the zip package you want to download for your platform and unzip, then you will find various folders or subdirectories, which are some supported targets. For Visual Studio builds, these correspond to Win32 (x86), Win64 (x64), ARM32 and ARM64 (either SDL1 or SDL2 version), which are the build platforms. For MinGW builds, the targets are the MinGW SDL1 build (mingw) and the MinGW SDL2 build (mingw-sdl2). Go to a target folder for your platform and run dosbox-x.exe inside it, then DOSBox-X will be launched and ready to be used. Unlike the Windows installer version however, there are no documentations, language files, etc included in these packages, and you may not see all such packages for some DOSBox-X versions. **It is recommended to use the Windows installers for more complete installations.** +If you prefer to use one of the portable packages, please select the zip package you want to download for your platform and unzip, then you will find various folders or subdirectories, which are some supported targets. For Visual Studio builds, these correspond to Win32 (x86), Win64 (x64), ARM32 and ARM64 (either SDL1 or SDL2 version), which are the build platforms. For MinGW builds, the targets are the MinGW SDL1 build (mingw) and the MinGW SDL2 build (mingw-sdl2). Go to a target folder for your platform and run dosbox-x.exe inside it, then DOSBox-X will be launched and ready to be used. **It is recommended to use the Windows installers for more complete installations.** ## Linux Packages (Flatpak and more) DOSBox-X is available packaged in the below formats. diff --git a/make-windows-release.pl b/make-windows-release.pl index 331e01b6a..3692ddda8 100644 --- a/make-windows-release.pl +++ b/make-windows-release.pl @@ -37,7 +37,7 @@ print "$zipname\n"; my @platforms = ('ARM', 'ARM64', 'Win32', 'x64'); my @builds = ('Release', 'Release SDL2'); -my @files = ('dosbox-x.reference.conf', 'dosbox-x.reference.full.conf', 'dosbox-x.exe', 'FREECG98.bmp', 'Nouveau_IBM.ttf', 'SarasaGothicFixed.ttf', 'changelog.txt', 'shaders'); +my @files = ('dosbox-x.reference.conf', 'dosbox-x.reference.full.conf', 'readme.txt', 'dosbox-x.exe', 'FREECG98.bmp', 'Nouveau_IBM.ttf', 'SarasaGothicFixed.ttf', 'changelog.txt', 'drivez', 'shaders', 'languages'); foreach $platform (@platforms) { $plat = $platform; diff --git a/vs/dosbox-x.vcxproj b/vs/dosbox-x.vcxproj index 1bbd8c639..137ae80c9 100644 --- a/vs/dosbox-x.vcxproj +++ b/vs/dosbox-x.vcxproj @@ -377,11 +377,16 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" copy "$(SolutionDir)\..\contrib\windows\inpout32.dll" "$(OutputPath)\inpout32.dll" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" if not exist "$(OutputPath)\glshaders\" mkdir "$(OutputPath)\glshaders" -copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -417,11 +422,16 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" copy "$(SolutionDir)\..\contrib\windows\inpout32.dll" "$(OutputPath)\inpout32.dll" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" if not exist "$(OutputPath)\glshaders\" mkdir "$(OutputPath)\glshaders" -copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -453,11 +463,16 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" copy "$(SolutionDir)\..\contrib\windows\inpoutx64.dll" "$(OutputPath)\inpoutx64.dll" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" if not exist "$(OutputPath)\glshaders\" mkdir "$(OutputPath)\glshaders" -copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -490,8 +505,13 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" -copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -524,8 +544,13 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" -copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -560,11 +585,16 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" copy "$(SolutionDir)\..\contrib\windows\inpoutx64.dll" "$(OutputPath)\inpoutx64.dll" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" if not exist "$(OutputPath)\glshaders\" mkdir "$(OutputPath)\glshaders" -copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -597,8 +627,13 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" -copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -631,8 +666,13 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" -copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -671,11 +711,16 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" copy "$(SolutionDir)\..\contrib\windows\inpout32.dll" "$(OutputPath)\inpout32.dll" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" if not exist "$(OutputPath)\glshaders\" mkdir "$(OutputPath)\glshaders" -copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -712,11 +757,16 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" copy "$(SolutionDir)\..\contrib\windows\inpout32.dll" "$(OutputPath)\inpout32.dll" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" if not exist "$(OutputPath)\glshaders\" mkdir "$(OutputPath)\glshaders" -copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -749,11 +799,16 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" copy "$(SolutionDir)\..\contrib\windows\inpoutx64.dll" "$(OutputPath)\inpoutx64.dll" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" if not exist "$(OutputPath)\glshaders\" mkdir "$(OutputPath)\glshaders" -copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -787,8 +842,13 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" -copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -822,8 +882,13 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" -copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -860,10 +925,15 @@ copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.referen copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\contrib\windows\inpoutx64.dll" "$(OutputPath)\inpoutx64.dll" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" if not exist "$(OutputPath)\glshaders\" mkdir "$(OutputPath)\glshaders" -copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +copy "$(SolutionDir)\..\contrib\glshaders\*.*" "$(OutputPath)\glshaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %%i in ($(SolutionDir)\..\contrib\translations\*) do copy %%i\*.lng "$(OutputPath)\languages\" @@ -897,8 +967,13 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" -copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %i in ($(SolutionDir)\..\contrib\translations\*) do copy %i "$(OutputPath)\languages\" @@ -932,8 +1007,13 @@ copy "$(SolutionDir)\..\contrib\fonts\SarasaGothicFixed.ttf" "$(OutputPath)\Sara copy "$(SolutionDir)\..\dosbox-x.reference.conf" "$(OutputPath)\dosbox-x.reference.conf" copy "$(SolutionDir)\..\dosbox-x.reference.full.conf" "$(OutputPath)\dosbox-x.reference.full.conf" copy "$(SolutionDir)\..\CHANGELOG" "$(OutputPath)\changelog.txt" +copy "$(SolutionDir)\..\contrib\windows\installer\readme.txt" "$(OutputPath)\readme.txt" +if not exist "$(OutputPath)\drivez\" mkdir "$(OutputPath)\drivez" +copy "$(SolutionDir)\..\contrib\windows\installer\drivez_readme.txt" "$(OutputPath)\drivez\readme.txt" if not exist "$(OutputPath)\shaders\" mkdir "$(OutputPath)\shaders" -copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +copy "$(SolutionDir)\..\contrib\windows\shaders\*.*" "$(OutputPath)\shaders\" +if not exist "$(OutputPath)\languages\" mkdir "$(OutputPath)\languages" +for /d %i in ($(SolutionDir)\..\contrib\translations\*) do copy %i "$(OutputPath)\languages\"