Skip to content

Commit

Permalink
Many fixes, frames for SNES Mini, pixel perxect scanlines
Browse files Browse the repository at this point in the history
  • Loading branch information
ClusterM committed Oct 12, 2017
1 parent 7a4e408 commit ee820bb
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
9 changes: 3 additions & 6 deletions retroarch.hmod/bin/retroarch-clover-child
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/sh

# Kill it! Kill it with fire!
pkill -KILL clover-mcp

HOME=/etc/libretro
corename=$1
core=$HOME/core/$1_libretro.so
Expand Down Expand Up @@ -165,11 +162,11 @@ ts2=$(date +"%s")
tm=$((tm + ts2 - ts))
echo $tm > "$timefile"

grep video_smooth /etc/libretro/retroarch.cfg | grep true && current_smooth=true || current_smooth=false
grep "video_smooth =" /etc/libretro/retroarch.cfg | grep true && current_smooth=true || current_smooth=false
echo $current_smooth > /etc/libretro/$filter.smooth
grep input_overlay_enable /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')
current_ratio=$(cat /etc/libretro/retroarch.cfg | grep "aspect_ratio_index = " | sed 's/[^0-9]*//g')
echo $current_ratio > /etc/libretro/$filter.ratio

# Back to the shell
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
overlays = "1"
overlay0_overlay = "scanlines.png"
overlay0_overlay = ""
overlay0_full_screen = true
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"
overlay0_desc0_overlay = ""
2 changes: 1 addition & 1 deletion retroarch.hmod/etc/libretro/gpu720.overlay
Original file line number Diff line number Diff line change
@@ -1 +1 @@
false
true
2 changes: 1 addition & 1 deletion retroarch.hmod/etc/libretro/ppu.overlay
Original file line number Diff line number Diff line change
@@ -1 +1 @@
false
true
4 changes: 2 additions & 2 deletions retroarch.hmod/etc/libretro/retroarch.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ video_frame_delay = "0"
video_max_swapchain_images = "3"
video_swap_interval = "1"
video_rotation = "0"
aspect_ratio_index = "21"
aspect_ratio_index = "14"
state_slot = "0"
bundle_assets_extract_version_current = "0"
bundle_assets_extract_last_version = "0"
Expand Down Expand Up @@ -216,7 +216,7 @@ 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 = "false"
input_overlay_enable = "true"
input_overlay_enable_autopreferred = "true"
input_overlay_hide_in_menu = "false"
network_cmd_enable = "false"
Expand Down
2 changes: 1 addition & 1 deletion retroarch.hmod/readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
=== RetroArch module for hakchi ===
version 0.9c
version 1.0

This is a hakchi/hakchi2 module which adds libretro cores and RetroArch frontend to your NES/SNES Mini.

Expand Down

0 comments on commit ee820bb

Please sign in to comment.