From 027cc0062ea60b31e9f3aa5eb93112a06c6f7e7a Mon Sep 17 00:00:00 2001 From: Alcaro Date: Fri, 6 Apr 2018 14:21:03 +0200 Subject: [PATCH] Add download links for most relevant profiling data --- make.sh | 3 +-- profile/profile.sh | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/make.sh b/make.sh index 7757676..0c45680 100755 --- a/make.sh +++ b/make.sh @@ -17,10 +17,9 @@ FLAGS+=' -Wl,-z,relro,--as-needed,--hash-style=gnu,--relax' #rm flips.exe; wine mingw32-make TARGET=windows OPTFLAGS="$FLAGS -fprofile-generate -lgcov" #[ -e flips.exe ] || exit #echo 'Windows (2/3)' -#profile/profile.sh 'wine flips.exe' NUL +#profile/profile.sh 'wine flips.exe' #echo 'Windows (3/3)' #rm flips.exe; wine mingw32-make TARGET=windows OPTFLAGS="$FLAGS -fprofile-use" -#rm *.gcda rc.o # ##verify there are no unexpected dependencies #objdump -p flips.exe | grep 'DLL Name' | \ diff --git a/profile/profile.sh b/profile/profile.sh index b5585a1..4471fc4 100755 --- a/profile/profile.sh +++ b/profile/profile.sh @@ -1,5 +1,18 @@ -#sorry guys, you'll have to supply the ROMs yourself. -#not sure if these compile scripts work for anyone else, either. +#sorry guys, you'll have to supply these ROMs yourself +#expected files: +# md5 crc32 filename source +# 2142a3390ea54ecbfb14caf6b707859d f3824cbe 2dland-dec2013.smc https://smwc.me/s/6068 +# 8134163af1e658a3f1af130afd66d17a 2144df1c dl.ups https://www.zophar.net/translations/snes/english/der-langrisser.html +# fa15ce41d3fd835c379d5d846707c1bd 8577d85f kamek.smc https://smwc.me/s/12161 +# 91d62c4cb790fc2fb38b10b68616e228 35f9eecc langrisser.sfc +# 77e866c718d67f28a83012b29d5501b8 ebca0fab nsmw-tll.smc https://smwc.me/s/6410 +# b278fec07b672853b9f31667ef9e1ddc bf1d7697 senate13.smc https://smwc.me/s/6161 +# 20b854b239203baf6c961b850a4a51a2 3ce60709 sm64.z64 +# 84525c7acf9f7c0d869ba1a88062dd81 b61e3965 smwcp.smc https://smwc.me/s/5420 +# dbe1f3c8f3a0b2db52b7d59417891117 a31bead4 smw.smc +# f3ae75790723c6c753c3583852b10c01 cf940969 star.z64 https://smwc.me/s/13353 +#(don't worry too much if you don't get identical checksums, the download links may have updated) + OMP_NUM_THREADS=1 $1 --apply profile/dl.ups profile/langrisser.sfc profile/tmp echo 1/6 profile/profile1.sh "$1" profile/smw.smc profile/2dland-dec2013.smc