Skip to content

Commit

Permalink
Added resources
Browse files Browse the repository at this point in the history
  • Loading branch information
xyrus02 authored and Georg Kiehne committed Nov 2, 2019
1 parent d67f133 commit 28a7167
Show file tree
Hide file tree
Showing 29 changed files with 1,538 additions and 0 deletions.
Binary file added Apophysis7X.res
Binary file not shown.
Empty file added Apophysis7X.todo
Empty file.
Binary file added Apophysis7X_Icon.ico
Binary file not shown.
Binary file added Graphics/Banner.psd
Binary file not shown.
Binary file added Graphics/Big.psd
Binary file not shown.
Binary file added Graphics/Flame.ico
Binary file not shown.
Binary file added Graphics/Logo.Large.psd
Binary file not shown.
Binary file added Graphics/Logo.Medium.psd
Binary file not shown.
Binary file added Graphics/Logo.Small.psd
Binary file not shown.
Binary file added Graphics/Logo.Tiny.psd
Binary file not shown.
Binary file added Graphics/Script.ico
Binary file not shown.
Binary file added Graphics/SplashScreen.psd
Binary file not shown.
Binary file added Graphics/SplashScreenNew.psd
Binary file not shown.
Binary file added Graphics/Template.ico
Binary file not shown.
Binary file added Graphics/With256.ico
Binary file not shown.
Binary file added Graphics/Without256-compat.ico
Binary file not shown.
5 changes: 5 additions & 0 deletions PluginUtils/BatchCompile/Howto.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1) Make sure .NET 4 and VC++2010 redist is installed (for MSBuild) - you can just install VC++2010 Express
2) Copy ".c"-files into "todo"-folder
3) Double click "compile.cmd"
4) In case of error, consult the printed log file path
5) Harvest mass compiled plugins from "done"-folder
50 changes: 50 additions & 0 deletions PluginUtils/BatchCompile/compile.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
@ECHO off

SET todoDir=%~d0%~p0todo
SET doneDir=%~d0%~p0done
SET logDir=%~d0%~p0messages
SET tempDir=%~d0%~p0temp

SET mkplugin=%~d0%~p0mkplugin.exe
SET msbuild="C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"

FOR /F %%a IN ('DIR /b "%doneDir%\*.dll"') DO (
DEL /Q "%doneDir%\%%a" > NUL
)

MKDIR "%tempDir%"

FOR /F %%a IN ('DIR /b "%todoDir%\*.c"') DO (
REM Generate VC++ project

"%mkplugin%" "%%~na" "%tempDir%\%%~na" > NUL
ATTRIB -H "%tempDir%\%%~na\plugin.h" > NUL
REN "%tempDir%\%%~na\plugin.h" "apoplugin.h" > NUL
COPY /Y "%todoDir%\%%a" "%tempDir%\%%~na\%%~na.cpp" > NUL

REM Compile "x86"

%msbuild% /nologo /verbosity:quiet /p:Configuration=Release;Platform=Win32 "%tempDir%\%%~na\%%~na.vcxproj" > "%logDir%\%%~na.x86.log"
IF EXIST "%tempDir%\%%~na\bin\x86\%%~na.dll" (
COPY /Y "%tempDir%\%%~na\bin\x86\%%~na.dll" "%doneDir%\%%~na.x86.dll" > NUL
ECHO SUCCESS: "%%~na.x86"
DEL /Q "%logDir%\%%~na.x86.log" > NUL
)
IF NOT EXIST "%tempDir%\%%~na\bin\x86\%%~na.dll" ECHO ERROR: "%%~na.x86" - see "%logDir%\%%~na.x86.log" for details!

REM Compile "x64"

%msbuild% /nologo /verbosity:quiet /p:Configuration=Release;Platform=x64 "%tempDir%\%%~na\%%~na.vcxproj" > "%logDir%\%%~na.x64.log"
IF EXIST "%tempDir%\%%~na\bin\x64\%%~na.dll" (
COPY /Y "%tempDir%\%%~na\bin\x64\%%~na.dll" "%doneDir%\%%~na.x64.dll" > NUL
ECHO SUCCESS: "%%~na.x64"
DEL /Q "%logDir%\%%~na.x64.log" > NUL
)
IF NOT EXIST "%tempDir%\%%~na\bin\x64\%%~na.dll" ECHO ERROR: "%%~na.x64" - see "%logDir%\%%~na.x64.log" for details!

REM Clean up

RMDIR /S /Q "%tempDir%\%%~na" > NUL
)

RMDIR /S /Q "%tempDir%"
Binary file added PluginUtils/BatchCompile/mkplugin.exe
Binary file not shown.
236 changes: 236 additions & 0 deletions PluginUtils/MkPlugin/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 28a7167

Please sign in to comment.