diff options
Diffstat (limited to 'icons')
-rw-r--r-- | icons/rccompile-delphi.bat | 2 | ||||
-rw-r--r-- | icons/rccompile-fpc.bat | 4 | ||||
-rw-r--r-- | icons/readme.txt | 20 | ||||
-rw-r--r-- | icons/ultrastardx-icon.rc | 1 | ||||
-rw-r--r-- | icons/ultrastardx-icon.res | bin | 0 -> 22748 bytes | |||
-rw-r--r-- | icons/ultrastardx-icon_32.png | bin | 0 -> 666 bytes | |||
-rw-r--r-- | icons/ultrastardx-icon_512.png | bin | 0 -> 106731 bytes |
7 files changed, 27 insertions, 0 deletions
diff --git a/icons/rccompile-delphi.bat b/icons/rccompile-delphi.bat new file mode 100644 index 00000000..32f209a7 --- /dev/null +++ b/icons/rccompile-delphi.bat @@ -0,0 +1,2 @@ +@set RES_NAME=ultrastardx-icon +BRC32 -r -fo%RES_NAME%.res %RES_NAME%.rc diff --git a/icons/rccompile-fpc.bat b/icons/rccompile-fpc.bat new file mode 100644 index 00000000..30998c6d --- /dev/null +++ b/icons/rccompile-fpc.bat @@ -0,0 +1,4 @@ +@set PATH=C:\Programme\lazarus\fpc\2.2.0\bin\i386-win32\;%PATH% +@set RES_NAME=ultrastardx-icon +windres.exe -i %RES_NAME%.rc -o %RES_NAME%.res + diff --git a/icons/readme.txt b/icons/readme.txt new file mode 100644 index 00000000..f75a99f4 --- /dev/null +++ b/icons/readme.txt @@ -0,0 +1,20 @@ +Resource files (.rc/.res) are needed for MS Windows builds only.
+
+The .res file is the compiled version of .rc and appended to the
+executable. It is just used to provide an icon for the executable
+that is shown in the explorer.
+
+Delphi does the compilation of the .rc to .res file automatically.
+FPC needs windres (delivered with FPC) for ths purpose but windres
+must be started separately.
+
+You can manually run the compilation process with either
+ rccompile-delphi.bat or
+ rccompile-fpc.bat
+depending on the available compiler (delphi/windres files are compatible).
+
+If FPC is used, the path to the FPC bin-dir might have to be adjusted,
+the default is "PATH=C:\Programme\lazarus\fpc\2.2.0\bin\i386-win32\".
+
+To avoid the need to run the resource-compiler, a pre-compiled .res-file
+was added to SVN. Please commit the res-file if the rc-file was changed.
\ No newline at end of file diff --git a/icons/ultrastardx-icon.rc b/icons/ultrastardx-icon.rc new file mode 100644 index 00000000..3d0b43fc --- /dev/null +++ b/icons/ultrastardx-icon.rc @@ -0,0 +1 @@ +MAINICON ICON "ultrastardx.ico" diff --git a/icons/ultrastardx-icon.res b/icons/ultrastardx-icon.res Binary files differnew file mode 100644 index 00000000..d79a3d0f --- /dev/null +++ b/icons/ultrastardx-icon.res diff --git a/icons/ultrastardx-icon_32.png b/icons/ultrastardx-icon_32.png Binary files differnew file mode 100644 index 00000000..1b13a6ee --- /dev/null +++ b/icons/ultrastardx-icon_32.png diff --git a/icons/ultrastardx-icon_512.png b/icons/ultrastardx-icon_512.png Binary files differnew file mode 100644 index 00000000..d02ec89c --- /dev/null +++ b/icons/ultrastardx-icon_512.png |