ARpiCADE 3.82 Release!

Latest on ARpiCADE new releases, release notes, and history of previous versions.

Moderator: dee2eR

User avatar
cool_factor
Legendary Contributor
Legendary Contributor
Posts: 332
Joined: Tue Sep 26, 2017 10:55 am
Location: Fort Worth TX

Re: ARpiCADE 3.82 Release!

Post by cool_factor » Sat May 19, 2018 1:55 pm

Just an update: It does do it in AttractMan theme as well (v3.82 of Arpicade). I tried the older 3.72 version and its fine on resolutions. Im guessing its a setting.

User avatar
cool_factor
Legendary Contributor
Legendary Contributor
Posts: 332
Joined: Tue Sep 26, 2017 10:55 am
Location: Fort Worth TX

Re: ARpiCADE 3.82 Release!

Post by cool_factor » Sat May 19, 2018 2:34 pm

playstation.sh from 3.82

#!/bin/bash

# custom resolution game launcher script
# WARNING use at your own risk!

function contains() {
local n=$#
local value=${!n}
for ((i=1;i < $#;i++)) {
if [ "${!i}" == "${value}" ]; then
echo "y"
return 0
fi
}
echo "n"
return 1
}

# Add games to be run in 480i to this array
intrlace=("tekken3.iso" "mk4.iso" "capsnk.bin" "shienryu.bin")
# Games to be run at 228 lines non interlaced
totoeght=("sfex2p.iso")
# In case of other special case
speccase=()

hdmimode=`grep "^[^#;]*hdmi_mode=" /boot/config.txt`
monitorMount=`grep "#monitor_mount=" /boot/config.txt`

# start hotkeys for extra functions
#hotkeys start >/dev/null 2>&1
#clear

## high res vertical monitor settings
if [ $monitorMount == "#monitor_mount=1" ]; then
if [ $hdmimode == hdmi_mode=1 ]; then
aconfig="480prorhori"

## low res vertical monitor settings
elif [ $hdmimode == hdmi_mode=8 ]; then
aconfig="240prorhori"
elif [ $(contains "${speccase[@]}" "$*") == "y" ]; then
aconfig="speccase"
else
aconfig="480irorhori"
fi

## high res hori settings
elif [ $hdmimode == hdmi_mode=1 ]; then
aconfig="480p"

## Low res hori settings
elif [ $(contains "${intrlace[@]}" "$*") == "y" ]; then
aconfig="480i"
else
# switch to 240p
/boot/launchers/resSwitch.sh 240p
if [ $(contains "${totoeght[@]}" "$*") == "y" ]; then
aconfig="228"
elif [ $(contains "${speccase[@]}" "$*") == "y" ]; then
aconfig="speccase"
else
aconfig="240"
fi
fi

# loading message
/boot/nowloadn.sh >/dev/tty1

# launch game
/home/pi/.config/retroarch/bin/retroarch -L /home/pi/.config/retroarch/cores/lr-pcsx-rearmed/libretro.so -c /home/pi/.config/retroarch/pcsx_rearmed.cfg --appendconfig /home/pi/.config/retroarch/aconfig/$aconfig.cfg /boot/roms/consoles/playstation/"$*"

# stop hotkeys for menus
#hotkeys stop
# resolution back to default setting as per config.txt
/boot/launchers/resSwitch.sh defaultres

exit
Last edited by cool_factor on Sat May 19, 2018 2:43 pm, edited 1 time in total.

User avatar
cool_factor
Legendary Contributor
Legendary Contributor
Posts: 332
Joined: Tue Sep 26, 2017 10:55 am
Location: Fort Worth TX

Re: ARpiCADE 3.82 Release!

Post by cool_factor » Sat May 19, 2018 2:35 pm

pcsx_rearmed.sh from 3.72

#!/bin/bash

# custom resolution game launcher script
# WARNING use at your own risk!

function contains() {
local n=$#
local value=${!n}
for ((i=1;i < $#;i++)) {
if [ "${!i}" == "${value}" ]; then
echo "y"
return 0
fi
}
echo "n"
return 1
}

# Add games to be run in 480i to this array
intrlace=("tekken3.iso" "mk4.iso" "capsnk.bin" "shienryu.bin")
# Games to be run at 228 lines non interlaced
totoeght=("sfex2p.iso")
# In case of other special case
speccase=()

# start hotkeys for extra functions
hotkeys start >/dev/null 2>&1
clear

#check if game should run in 480i
if [ $(contains "${intrlace[@]}" "$*") == "y" ]; then
#reload now loading message
/boot/nowloadn.sh >/dev/tty1
#launch game without changing out of 480i
/home/pi/.config/retroarch/bin/retroarch -L /home/pi/.config/retroarch/cores/lr-pcsx-rearmed/libretro.so -c /home/pi/.config/retroarch/pcsx_rearmed.cfg /boot/roms/consoles/pcsx-rearmed/"$*"
else
# switch to 240p
tvservice -e "CEA 8 HDMI" & sleep 3
fbset -depth 8 && fbset -depth 16
fbset -g 720 240 720 240 16

#reload now loading message
/boot/nowloadn.sh >/dev/tty1

# launch game
if [ $(contains "${totoeght[@]}" "$*") == "y" ]; then
/home/pi/.config/retroarch/bin/retroarch -L /home/pi/.config/retroarch/cores/lr-pcsx-rearmed/libretro.so -c /home/pi/.config/retroarch/pcsx_rearmed228.cfg /boot/roms/consoles/pcsx-rearmed/"$*"
else
if [ $(contains "${speccase[@]}" "$*") == "y" ]; then
/home/pi/.config/retroarch/bin/retroarch -L /home/pi/.config/retroarch/cores/lr-pcsx-rearmed/libretro.so -c /home/pi/.config/retroarch/pcsx_rearmed_speccase.cfg /boot/roms/consoles/pcsx-rearmed/"$*"
else
/home/pi/.config/retroarch/bin/retroarch -L /home/pi/.config/retroarch/cores/lr-pcsx-rearmed/libretro.so -c /home/pi/.config/retroarch/pcsx_rearmed240.cfg /boot/roms/consoles/pcsx-rearmed/"$*"
fi
fi

# stop hotkeys for menus
hotkeys stop
# and back to 720x480i
tvservice -e "CEA 6 HDMI" & sleep 3
fbset -depth 8 && fbset -depth 16
fbset -g 720 480 720 480 16

fi

exit
Last edited by cool_factor on Sat May 19, 2018 2:43 pm, edited 1 time in total.

User avatar
cool_factor
Legendary Contributor
Legendary Contributor
Posts: 332
Joined: Tue Sep 26, 2017 10:55 am
Location: Fort Worth TX

Re: ARpiCADE 3.82 Release!

Post by cool_factor » Sat May 19, 2018 2:36 pm

pcsx_rearmed.sh.lowResHori from 3.72

#!/bin/bash

# custom resolution game launcher script
# WARNING use at your own risk!

function contains() {
local n=$#
local value=${!n}
for ((i=1;i < $#;i++)) {
if [ "${!i}" == "${value}" ]; then
echo "y"
return 0
fi
}
echo "n"
return 1
}

# Add games to be run in 480i to this array
intrlace=("tekken3.iso" "mk4.iso" "capsnk.bin" "shienryu.bin")
# Games to be run at 228 lines non interlaced
totoeght=("sfex2p.iso")
# In case of other special case
speccase=()

# start hotkeys for extra functions
hotkeys start >/dev/null 2>&1
clear

#check if game should run in 480i
if [ $(contains "${intrlace[@]}" "$*") == "y" ]; then
#reload now loading message
/boot/nowloadn.sh >/dev/tty1
#launch game without changing out of 480i
/home/pi/.config/retroarch/bin/retroarch -L /home/pi/.config/retroarch/cores/lr-pcsx-rearmed/libretro.so -c /home/pi/.config/retroarch/pcsx_rearmed.cfg /boot/roms/consoles/pcsx-rearmed/"$*"
else
# switch to 240p
tvservice -e "CEA 8 HDMI" & sleep 3
fbset -depth 8 && fbset -depth 16
fbset -g 720 240 720 240 16

#reload now loading message
/boot/nowloadn.sh >/dev/tty1

# launch game
if [ $(contains "${totoeght[@]}" "$*") == "y" ]; then
/home/pi/.config/retroarch/bin/retroarch -L /home/pi/.config/retroarch/cores/lr-pcsx-rearmed/libretro.so -c /home/pi/.config/retroarch/pcsx_rearmed228.cfg /boot/roms/consoles/pcsx-rearmed/"$*"
else
if [ $(contains "${speccase[@]}" "$*") == "y" ]; then
/home/pi/.config/retroarch/bin/retroarch -L /home/pi/.config/retroarch/cores/lr-pcsx-rearmed/libretro.so -c /home/pi/.config/retroarch/pcsx_rearmed_speccase.cfg /boot/roms/consoles/pcsx-rearmed/"$*"
else
/home/pi/.config/retroarch/bin/retroarch -L /home/pi/.config/retroarch/cores/lr-pcsx-rearmed/libretro.so -c /home/pi/.config/retroarch/pcsx_rearmed240.cfg /boot/roms/consoles/pcsx-rearmed/"$*"
fi
fi

# stop hotkeys for menus
hotkeys stop
# and back to 720x480i
tvservice -e "CEA 6 HDMI" & sleep 3
fbset -depth 8 && fbset -depth 16
fbset -g 720 480 720 480 16

fi

exit

dee2eR
Inventor
Inventor
Posts: 1870
Joined: Tue Aug 22, 2017 2:07 pm

Re: ARpiCADE 3.82 Release!

Post by dee2eR » Sun May 20, 2018 12:53 am

Give this playstation.sh a go:
https://drive.google.com/open?id=16wpll ... 3VjlysoT7L

hopfully it will fix up the issue.

User avatar
cool_factor
Legendary Contributor
Legendary Contributor
Posts: 332
Joined: Tue Sep 26, 2017 10:55 am
Location: Fort Worth TX

Re: ARpiCADE 3.82 Release!

Post by cool_factor » Sun May 20, 2018 3:46 pm

Thanks for the new file to try, unfortunately it is still doing it. I double confirmed that with the older 3.72 version that PS games launch fine. With the new version of 3.82 it does not.

Side note: Those audio settings you posted earlier seem to be working, Q-Bert has stopped popping and Galaga seems better also. Havent tested others.

dee2eR
Inventor
Inventor
Posts: 1870
Joined: Tue Aug 22, 2017 2:07 pm

Re: ARpiCADE 3.82 Release!

Post by dee2eR » Tue May 22, 2018 6:09 am

cool_factor wrote:
Sun May 20, 2018 3:46 pm
Thanks for the new file to try, unfortunately it is still doing it. I double confirmed that with the older 3.72 version that PS games launch fine. With the new version of 3.82 it does not.

Side note: Those audio settings you posted earlier seem to be working, Q-Bert has stopped popping and Galaga seems better also. Havent tested others.
Must be the retroarch config for the playstation emulator then. You can edit it in the retroarch menus or try this copy of the file /home/pi/.config/retroarch/pcsx_rearmed.cfg
https://drive.google.com/open?id=160IoQ ... PTbKkukQCE

User avatar
cool_factor
Legendary Contributor
Legendary Contributor
Posts: 332
Joined: Tue Sep 26, 2017 10:55 am
Location: Fort Worth TX

Re: ARpiCADE 3.82 Release!

Post by cool_factor » Tue May 22, 2018 12:03 pm

THANKS! That worked!

kevlo9
Community Member
Community Member
Posts: 13
Joined: Sun Jan 14, 2018 4:39 pm

Re: ARpiCADE 3.82 Release!

Post by kevlo9 » Wed May 23, 2018 8:42 pm

Just downloaded and installed 3.82 in my Sega Astro City (running Pi3B+). Everything seems to be working fine, but none of the video previews are working? Any ideas?

And thanks for the 3.82 update!

n0name0
Community Member
Community Member
Posts: 3
Joined: Wed May 23, 2018 8:15 pm

Re: ARpiCADE 3.82 Release!

Post by n0name0 » Wed May 23, 2018 8:46 pm

Vertical games are shrink on an horizontal monitor with advmame

my settings on config.txt are
# Boot and menus in 240p (all games in 240p/256p/288p)
hdmi_mode=8

Is there any way to fix it?

Thanks

Post Reply