changeset 977:4cbc349a82a9

Inclue menu.bin in release directories. Added a Windows RC file and icon
author Michael Pavone <pavone@retrodev.com>
date Sat, 23 Apr 2016 17:34:01 -0700
parents 8cdd4ddedd9a
children 34b811ea1e7c
files Makefile blastem.rc build_release icons/logo.xcf icons/windows.ico icons/windows.xcf logo.xcf
diffstat 7 files changed, 36 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Apr 23 12:43:23 2016 -0700
+++ b/Makefile	Sat Apr 23 17:34:01 2016 -0700
@@ -125,6 +125,10 @@
 MAINOBJS+= $(Z80OBJS)
 endif
 
+ifeq ($(OS),Windows)
+MAINOBJS+= res.o
+endif
+
 ALL=dis$(EXE) zdis$(EXE) stateview$(EXE) vgmplay$(EXE) blastem$(EXE)
 ifneq ($(OS),Windows)
 ALL+= termhelper
@@ -205,6 +209,8 @@
 
 %.bin : %.sz8
 	vasmz80_mot -Fbin -spaces -o $@ $<
+res.o : blastem.rc
+	wine windres blastem.rc res.o
 
 arrow.tiles : arrow.png
 cursor.tiles : cursor.png
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/blastem.rc	Sat Apr 23 17:34:01 2016 -0700
@@ -0,0 +1,25 @@
+1 VERSIONINFO
+FILEVERSION     0,4,0,0
+PRODUCTVERSION  0,4,0,0
+BEGIN
+  BLOCK "StringFileInfo"
+  BEGIN
+    BLOCK "040904E4"
+    BEGIN
+      VALUE "CompanyName", "RetroDev"
+      VALUE "FileDescription", "BlastEm - A fast and accurate Genesis/Megadrive emulator"
+      VALUE "FileVersion", "1.0"
+      VALUE "InternalName", "blastem"
+      VALUE "LegalCopyright", "Copyright 2011-2016 Michael Pavone"
+      VALUE "OriginalFilename", "blastem.exe"
+      VALUE "ProductName", "BlastEm"
+      VALUE "ProductVersion", "0.4.0"
+    END
+  END
+
+  BLOCK "VarFileInfo"
+  BEGIN
+    VALUE "Translation", 0x409, 1252
+  END
+END
+2 ICON "icons/windows.ico"
--- a/build_release	Sat Apr 23 12:43:23 2016 -0700
+++ b/build_release	Sat Apr 23 17:34:01 2016 -0700
@@ -26,19 +26,22 @@
 fi
 
 make PORTABLE=1 clean all
+make menu.bin
 if [ $OS = "Windows" ]; then
 	binaries="dis.exe zdis.exe stateview.exe vgmplay.exe blastem.exe SDL2.dll"
 	cmd="wine blastem.exe"
 	txt=".txt"
 else
+	binaries="dis zdis stateview vgmplay blastem termhelper"
 	if [ $OS = "Darwin" ]; then
-		binaries="dis zdis stateview vgmplay blastem termhelper Frameworks"
+		binaries="$binaries Frameworks"
 	else
-		binaries="dis zdis stateview vgmplay blastem termhelper lib"
+		binaries="$binaries lib"
 	fi
 	cmd="./blastem"
 	txt=""
 fi
+binaries="$binaries menu.bin"
 ver=`$cmd -v | awk '/blastem/ { gsub(/\r/, "", $2); print $2 }'`
 if [ $OS = "Windows" ]; then
 	suffix='-win32'
Binary file icons/logo.xcf has changed
Binary file icons/windows.ico has changed
Binary file icons/windows.xcf has changed
Binary file logo.xcf has changed