summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--blastem.rc25
-rwxr-xr-xbuild_release7
-rw-r--r--icons/logo.xcf (renamed from logo.xcf)bin1300 -> 1300 bytes
-rw-r--r--icons/windows.icobin0 -> 3725 bytes
-rw-r--r--icons/windows.xcfbin0 -> 6953 bytes
6 files changed, 36 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 00bc65b..9435795 100644
--- a/Makefile
+++ b/Makefile
@@ -125,6 +125,10 @@ else
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 @@ vos_prog_info : vos_prog_info.o vos_program_module.o
%.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
diff --git a/blastem.rc b/blastem.rc
new file mode 100644
index 0000000..f5044d8
--- /dev/null
+++ b/blastem.rc
@@ -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"
diff --git a/build_release b/build_release
index ceef42c..185c102 100755
--- a/build_release
+++ b/build_release
@@ -26,19 +26,22 @@ if [ $OS = "Linux" ]; then
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'
diff --git a/logo.xcf b/icons/logo.xcf
index 3476a7c..3476a7c 100644
--- a/logo.xcf
+++ b/icons/logo.xcf
Binary files differ
diff --git a/icons/windows.ico b/icons/windows.ico
new file mode 100644
index 0000000..5eeae15
--- /dev/null
+++ b/icons/windows.ico
Binary files differ
diff --git a/icons/windows.xcf b/icons/windows.xcf
new file mode 100644
index 0000000..ab34f5d
--- /dev/null
+++ b/icons/windows.xcf
Binary files differ