Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/retroarch-clover.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-12 05:28:49 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-10-12 05:28:49 +0300
commit7a4e40857bfc32114c3d958bb35621e482dab0f7 (patch)
tree528a73fc7d9738d6e9b05470be2de461f21088fa
parentbb08ac2f15bc83d9e601965a373a065eab94dcf6 (diff)
Bugfixes, frames, pixel-perfect scanlines
-rw-r--r--CloverApp-ForNES/CLV-Z-RARCH.desktop (renamed from CloverApp/CLV-Z-RARCH.desktop)0
-rw-r--r--CloverApp-ForNES/CLV-Z-RARCH.png (renamed from CloverApp/CLV-Z-RARCH.png)bin1294 -> 1294 bytes
-rw-r--r--CloverApp-ForNES/CLV-Z-RARCH_small.png (renamed from CloverApp/CLV-Z-RARCH_small.png)bin331 -> 331 bytes
-rw-r--r--CloverApp-ForSNES/CLV-Z-RARCH.desktop18
-rw-r--r--CloverApp-ForSNES/CLV-Z-RARCH.pngbin0 -> 1294 bytes
-rw-r--r--CloverApp-ForSNES/CLV-Z-RARCH_small.pngbin0 -> 331 bytes
-rwxr-xr-xmake_release.sh3
-rwxr-xr-xretroarch.hmod/bin/retroarch-clover-child21
-rw-r--r--retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.cfg8
-rw-r--r--retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.pngbin4223 -> 6993 bytes
-rw-r--r--retroarch.hmod/etc/libretro/crt720.ratio2
-rw-r--r--retroarch.hmod/etc/libretro/retroarch-core-options.cfg14
-rw-r--r--retroarch.hmod/etc/libretro/retroarch.cfg24
13 files changed, 62 insertions, 28 deletions
diff --git a/CloverApp/CLV-Z-RARCH.desktop b/CloverApp-ForNES/CLV-Z-RARCH.desktop
index ba89b73..ba89b73 100644
--- a/CloverApp/CLV-Z-RARCH.desktop
+++ b/CloverApp-ForNES/CLV-Z-RARCH.desktop
diff --git a/CloverApp/CLV-Z-RARCH.png b/CloverApp-ForNES/CLV-Z-RARCH.png
index 5fc9c97..5fc9c97 100644
--- a/CloverApp/CLV-Z-RARCH.png
+++ b/CloverApp-ForNES/CLV-Z-RARCH.png
Binary files differ
diff --git a/CloverApp/CLV-Z-RARCH_small.png b/CloverApp-ForNES/CLV-Z-RARCH_small.png
index 61557c1..61557c1 100644
--- a/CloverApp/CLV-Z-RARCH_small.png
+++ b/CloverApp-ForNES/CLV-Z-RARCH_small.png
Binary files differ
diff --git a/CloverApp-ForSNES/CLV-Z-RARCH.desktop b/CloverApp-ForSNES/CLV-Z-RARCH.desktop
new file mode 100644
index 0000000..8a0c351
--- /dev/null
+++ b/CloverApp-ForSNES/CLV-Z-RARCH.desktop
@@ -0,0 +1,18 @@
+[Desktop Entry]
+Type=Application
+Exec=/bin/retroarch-mini null
+Path=/var/lib/clover/profiles/0/CLV-Z-RARCH
+Name=RetroArch
+Icon=/usr/share/games/CLV-Z-RARCH/CLV-Z-RARCH.png
+
+[X-CLOVER Game]
+Code=CLV-Z-RARCH
+TestID=777
+ID=0
+Players=1
+Simultaneous=0
+ReleaseDate=2017-01-01
+SaveCount=0
+SortRawTitle=retroarch
+SortRawPublisher=LIBRETRO
+Copyright=hakchi2 ©2017 Alexey 'Cluster' Avdyukhin
diff --git a/CloverApp-ForSNES/CLV-Z-RARCH.png b/CloverApp-ForSNES/CLV-Z-RARCH.png
new file mode 100644
index 0000000..5fc9c97
--- /dev/null
+++ b/CloverApp-ForSNES/CLV-Z-RARCH.png
Binary files differ
diff --git a/CloverApp-ForSNES/CLV-Z-RARCH_small.png b/CloverApp-ForSNES/CLV-Z-RARCH_small.png
new file mode 100644
index 0000000..61557c1
--- /dev/null
+++ b/CloverApp-ForSNES/CLV-Z-RARCH_small.png
Binary files differ
diff --git a/make_release.sh b/make_release.sh
index e1b217e..be80ed7 100755
--- a/make_release.sh
+++ b/make_release.sh
@@ -4,7 +4,8 @@ mkdir -p release/cores
echo "\nPacking core template, BIOS template and CloverApp\n\n"
zip -rq release/libretro_core_template.zip libretro_core_template.hmod/*
zip -rq release/bios_template.zip bios_template.hmod/*
-zip -rq release/CloverApp.zip CloverApp
+zip -rq release/CloverApp-ForNES.zip CloverApp-ForNES
+zip -rq release/CloverApp-ForSNES.zip CloverApp-ForSNES
echo "Packing retroarch.hmod"
cd retroarch.hmod && tar -czf ../release/retroarch.hmod * && cd ..
printf "\nModules:\n"
diff --git a/retroarch.hmod/bin/retroarch-clover-child b/retroarch.hmod/bin/retroarch-clover-child
index 0dd0e62..b16b7fc 100755
--- a/retroarch.hmod/bin/retroarch-clover-child
+++ b/retroarch.hmod/bin/retroarch-clover-child
@@ -25,13 +25,14 @@ while [ $# -gt 0 ]; do
[ "$1" == "--save-screenshot-on-quit" ] && screenshot=$2
[ "$1" == "--save-data-backing-file" ] && sram=$2
[ "$1" == "--graphic-filter" ] && filter=$2
- [ "$1" == "--video-mode" ] && [ "$2" == "crt-filter" ] && filter=crt720
+ [ "$1" == "--video-mode" ] && [ "$2" == "crt-filter" ] && filter=crt720 && crt=1
[ "$1" == "--video-mode" ] && [ "$2" == "keep-aspect-ratio" ] && filter=gpu720
[ "$1" == "--video-mode" ] && [ "$2" == "pixel-perfect" ] && filter=ppu
[ "$1" == "--ra-extra" ] && extra=$2
[ "$1" == "--ra-nosaves" ] && nosaves=1
[ "$1" == "--save-time-path" ] && timefile=$2
[ "$1" == "--replay-inputs" ] && demo=1
+ [ "$1" == "--decorative-frame-path" ] && frame=$2
shift
done
@@ -56,13 +57,6 @@ else
[ ! -z "$sram" ] && [ -f "$sram" ] && cp -f "$sram" "$rsram"
fi
-# core provided ratio for CRT mode
-[ "$filter" == "crt720" ] && ratio=21 && smooth=false && crt=1
-# core provided ratio for 4:3 mode
-[ "$filter" == "gpu720" ] && ratio=21 && smooth=false
-# pixel perfect - 1:1 for pixel perfect mode
-[ "$filter" == "ppu" ] && ratio=20 && smooth=false
-
smooth=$(cat /etc/libretro/$filter.smooth)
sed -i -e 's/video_smooth = "[^"]*"/video_smooth = "'$smooth'"/g' /etc/libretro/retroarch.cfg
ratio=$(cat /etc/libretro/$filter.ratio)
@@ -70,6 +64,15 @@ sed -i -e 's/aspect_ratio_index = "[^"]*"/aspect_ratio_index = "'$ratio'"/g' /et
overlay=$(cat /etc/libretro/$filter.overlay)
sed -i -e 's/input_overlay_enable = "[^"]*"/input_overlay_enable = "'$overlay'"/g' /etc/libretro/retroarch.cfg
+[ ! -z "$crt" ] && overlay1=scanlines.png
+if [ ! -z "$frame" ]; then
+ [ -z "$crt" ] && overlay1=$frame.png || overlay2=$frame.png
+fi
+overlay1=$(echo "$overlay1" | sed 's/\//\\\//g')
+overlay2=$(echo "$overlay2" | sed 's/\//\\\//g')
+sed -i -e 's/overlay0_overlay = "[^"]*"/overlay0_overlay = "'$overlay1'"/g' /etc/libretro/.config/retroarch/overlay/scanlines.cfg
+sed -i -e 's/overlay0_desc0_overlay = "[^"]*"/overlay0_desc0_overlay = "'$overlay2'"/g' /etc/libretro/.config/retroarch/overlay/scanlines.cfg
+
# Start timestamp
ts=$(date +"%s")
tm=0
@@ -164,7 +167,7 @@ echo $tm > "$timefile"
grep video_smooth /etc/libretro/retroarch.cfg | grep true && current_smooth=true || current_smooth=false
echo $current_smooth > /etc/libretro/$filter.smooth
-grep video_smooth /etc/libretro/retroarch.cfg | grep true && current_overlay=true || current_overlay=false
+grep input_overlay_enable /etc/libretro/retroarch.cfg | grep true && current_overlay=true || current_overlay=false
echo $current_overlay > /etc/libretro/$filter.overlay
current_ratio=$(cat /etc/libretro/retroarch.cfg | grep "aspect_ratio_index" | sed 's/[^0-9]*//g')
echo $current_ratio > /etc/libretro/$filter.ratio
diff --git a/retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.cfg b/retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.cfg
index 9f3a7b3..6e2bbf8 100644
--- a/retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.cfg
+++ b/retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.cfg
@@ -1,5 +1,7 @@
-overlays = 1
-overlay0_overlay = scanlines.png
+overlays = "1"
+overlay0_overlay = "scanlines.png"
overlay0_full_screen = true
-overlay0_descs = 0
overlay0_rect = "0.0,0.0,1.0,1.0"
+overlay0_descs = "1"
+overlay0_desc0 = "none,640,360,rect,640,360"
+overlay0_desc0_overlay = "/usr/share/backgrounds/09_speaker/09_speaker_4_3.png"
diff --git a/retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.png b/retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.png
index 9da2d1c..91cfa89 100644
--- a/retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.png
+++ b/retroarch.hmod/etc/libretro/.config/retroarch/overlay/scanlines.png
Binary files differ
diff --git a/retroarch.hmod/etc/libretro/crt720.ratio b/retroarch.hmod/etc/libretro/crt720.ratio
index aabe6ec..2bd5a0a 100644
--- a/retroarch.hmod/etc/libretro/crt720.ratio
+++ b/retroarch.hmod/etc/libretro/crt720.ratio
@@ -1 +1 @@
-21
+22
diff --git a/retroarch.hmod/etc/libretro/retroarch-core-options.cfg b/retroarch.hmod/etc/libretro/retroarch-core-options.cfg
index 6578ed7..63b654f 100644
--- a/retroarch.hmod/etc/libretro/retroarch-core-options.cfg
+++ b/retroarch.hmod/etc/libretro/retroarch-core-options.cfg
@@ -12,8 +12,8 @@ genesis_plus_gx_lcd_filter = "disabled"
genesis_plus_gx_overscan = "disabled"
genesis_plus_gx_gg_extra = "disabled"
genesis_plus_gx_render = "single field"
-genesis_plus_gx_gun_cursor = "no"
-genesis_plus_gx_invert_mouse = "no"
+genesis_plus_gx_gun_cursor = "disabled"
+genesis_plus_gx_invert_mouse = "disabled"
fceumm_palette = "asqrealc"
fceumm_nospritelimit = "disabled"
fceumm_overclocking = "disabled"
@@ -54,3 +54,13 @@ mupen64-vcache-vbo = "off"
mupen64-boot-device = "Default"
mupen64-64dd-hardware = "disabled"
gba_hle = "enabled"
+fceumm_turbo_enable = "Both"
+fceumm_turbo_delay = "3"
+fceumm_region = "Auto"
+genesis_plus_gx_ym3438 = "mame"
+genesis_plus_gx_sound_output = "stereo"
+genesis_plus_gx_audio_filter = "disabled"
+genesis_plus_gx_lowpass_range = "60"
+genesis_plus_gx_aspect_ratio = "auto"
+genesis_plus_gx_overclock = "100%"
+genesis_plus_gx_no_sprite_limit = "disabled"
diff --git a/retroarch.hmod/etc/libretro/retroarch.cfg b/retroarch.hmod/etc/libretro/retroarch.cfg
index 124e8ff..cf91550 100644
--- a/retroarch.hmod/etc/libretro/retroarch.cfg
+++ b/retroarch.hmod/etc/libretro/retroarch.cfg
@@ -27,7 +27,7 @@ playlist_directory = "~/.config/retroarch/playlists"
audio_filter_dir = "/"
savefile_directory = "/var/cache"
savestate_directory = "/var/cache"
-rgui_browser_directory = "/usr/share/games/nes/kachikachi"
+rgui_browser_directory = "/usr/share/games"
rgui_config_directory = "~/.config/retroarch/config"
overlay_directory = "~/.config/retroarch/overlay"
screenshot_directory = "~/.config/retroarch/screenshots"
@@ -45,7 +45,7 @@ video_refresh_rate = "60.000027"
audio_rate_control_delta = "0.005000"
audio_max_timing_skew = "0.050000"
audio_volume = "0.000000"
-input_overlay_opacity = "0.500000"
+input_overlay_opacity = "1.000000"
input_overlay_scale = "1.000000"
menu_wallpaper_opacity = "0.300000"
menu_footer_opacity = "1.000000"
@@ -67,7 +67,7 @@ rewind_granularity = "1"
autosave_interval = "10"
libretro_log_level = "0"
keyboard_gamepad_mapping_type = "1"
-input_poll_type_behavior = "2"
+input_poll_type_behavior = "1"
video_monitor_index = "0"
video_fullscreen_x = "0"
video_fullscreen_y = "0"
@@ -79,10 +79,10 @@ menu_thumbnails = "3"
materialui_menu_color_theme = "0"
menu_shader_pipeline = "1"
audio_out_rate = "48000"
-custom_viewport_width = "768"
-custom_viewport_height = "720"
-custom_viewport_x = "256"
-custom_viewport_y = "0"
+custom_viewport_width = "880"
+custom_viewport_height = "672"
+custom_viewport_x = "200"
+custom_viewport_y = "24"
content_history_size = "100"
video_frame_delay = "0"
video_max_swapchain_images = "3"
@@ -176,8 +176,8 @@ video_aspect_ratio_auto = "false"
video_allow_rotate = "true"
video_windowed_fullscreen = "true"
video_crop_overscan = "false"
-video_scale_integer = "true"
-video_smooth = "true"
+video_scale_integer = "false"
+video_smooth = "false"
video_force_aspect = "true"
video_threaded = "false"
video_shared_context = "false"
@@ -216,9 +216,9 @@ rgui_show_start_screen = "false"
menu_navigation_wraparound_enable = "true"
menu_navigation_browser_filter_supported_extensions_enable = "false"
menu_show_advanced_settings = "true"
-input_overlay_enable = "true"
+input_overlay_enable = "false"
input_overlay_enable_autopreferred = "true"
-input_overlay_hide_in_menu = "true"
+input_overlay_hide_in_menu = "false"
network_cmd_enable = "false"
stdin_cmd_enable = "false"
block_sram_overwrite = "false"
@@ -1561,7 +1561,7 @@ xmb_menu_color_theme = "4"
xmb_shadows_enable = "true"
xmb_show_settings = "true"
xmb_show_history = "true"
-input_overlay = "/etc/libretro/.config/retroarch/overlay/scanlines.cfg"
+input_overlay = "~/.config/retroarch/overlay/scanlines.cfg"
xmb_font = ""
netplay_nickname = ""
video_filter = ""