-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Emus] Add standalone Flycast emulator (#79)
* Add standalone Flycast emulator, significant performance improvement compared to libretro core Credit to tomato6333 from RGH Discord for compilation * Add libretro label to flycast 16:9 * Update flycast binary Flycast data and config dirs are now defined by environment variables $FLYCAST_DATA_DIR and $FLYCAST_CONFIG_DIR * OpenGL support! * Add config and data dirs * Change atomiswave cpufreq name * Change performance profile Ondemand governor causes framedrops due to flycast being cpu-heavy * Add jump pack support and use bios folder * Fix missing leading slash * Add emu.cfg
- Loading branch information
Showing
49 changed files
with
217 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/sh | ||
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | ||
echo 1416000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq | ||
echo 1800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
echo $0 $* | ||
source /mnt/SDCARD/System/usr/trimui/scripts/FolderOverrideFinder.sh | ||
EMU_DIR=/mnt/SDCARD/Emus/ATOMISWAVE | ||
FLYCAST_DIR=/mnt/SDCARD/Emus/DC/flycast | ||
|
||
$EMU_DIR/cpufreq.sh | ||
$EMU_DIR/effect.sh | ||
|
||
cd "$FLYCAST_DIR" | ||
|
||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:lib | ||
export FLYCAST_BIOS_DIR="/mnt/SDCARD/BIOS/dc/" | ||
export FLYCAST_DATA_DIR=$FLYCAST_BIOS_DIR | ||
export FLYCAST_CONFIG_DIR="$FLYCAST_DIR/config/" | ||
|
||
./flycast "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
echo 1608000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq | ||
#!/bin/sh | ||
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | ||
echo 1800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
[achievements] | ||
Enabled = no | ||
HardcoreMode = no | ||
Token = | ||
UserName = | ||
|
||
[audio] | ||
VmuSound = no | ||
backend = sdl2 | ||
|
||
[config] | ||
BoxartDisplayMode = yes | ||
Debug.GDBEnabled = no | ||
Debug.GDBPort = 3263 | ||
Debug.GDBWaitForConnection = no | ||
Debug.SerialConsoleEnabled = no | ||
Debug.SerialPTY = no | ||
DiscordPresence = yes | ||
Dreamcast.AutoLoadState = no | ||
Dreamcast.AutoSaveState = no | ||
Dreamcast.Broadcast = 0 | ||
Dreamcast.Cable = 3 | ||
Dreamcast.ContentPath = | ||
Dreamcast.HideLegacyNaomiRoms = yes | ||
Dreamcast.Language = 1 | ||
Dreamcast.RamMod32MB = no | ||
Dreamcast.Region = 1 | ||
Dreamcast.SavestateSlot = 0 | ||
Dynarec.Enabled = yes | ||
FastGDRomLoad = no | ||
FetchBoxart = yes | ||
ForceFreePlay = yes | ||
PerGameVmu = no | ||
Profiler.DrawGUI = no | ||
Profiler.Enabled = no | ||
Profiler.FrameWarningTime = 0.018182 | ||
Profiler.OutputTTY = no | ||
Sh4Clock = 200 | ||
UIScaling = 100 | ||
UploadCrashLogs = yes | ||
UseReios = no | ||
aica.AutoLatency = no | ||
aica.BufferSize = 5468 | ||
aica.DSPEnabled = no | ||
aica.Volume = 100 | ||
pvr.AutoSkipFrame = 2 | ||
pvr.MaxThreads = 3 | ||
pvr.rend = 0 | ||
rend.AnisotropicFiltering = 1 | ||
rend.CrossHairColor1 = 0 | ||
rend.CrossHairColor2 = 0 | ||
rend.CrossHairColor3 = 0 | ||
rend.CrossHairColor4 = 0 | ||
rend.CrosshairSize = 40 | ||
rend.CustomGpuDriver = no | ||
rend.CustomTextures = no | ||
rend.DelayFrameSwapping = yes | ||
rend.DumpTextures = no | ||
rend.DupeFrames = no | ||
rend.EmulateFramebuffer = no | ||
rend.ExtraDepthScale = 1.000000 | ||
rend.FixUpscaleBleedingEdge = yes | ||
rend.FloatVMUs = no | ||
rend.Fog = yes | ||
rend.MaxFilteredTextureSize = 256 | ||
rend.ModifierVolumes = yes | ||
rend.NativeDepthInterpolation = no | ||
rend.PerPixelLayers = 32 | ||
rend.PerStripSorting = yes | ||
rend.PixelBufferSize = 536870912 | ||
rend.RenderToTextureBuffer = no | ||
rend.Resolution = 480 | ||
rend.Rotate90 = no | ||
rend.ScreenStretching = 100 | ||
rend.ShowFPS = yes | ||
rend.SuperWideScreen = no | ||
rend.TextureFiltering = 0 | ||
rend.TextureUpscale = 1 | ||
rend.ThreadedRendering = yes | ||
rend.TranslucentPolygonDepthMask = no | ||
rend.UseMipmaps = yes | ||
rend.WideScreen = no | ||
rend.WidescreenGameHacks = no | ||
rend.vsync = yes | ||
ta.skip = 0 | ||
|
||
[input] | ||
MouseSensitivity = 100 | ||
VirtualGamepadVibration = 20 | ||
device1 = 0 | ||
device1.1 = 1 | ||
device1.2 = 1 | ||
device2 = 10 | ||
device2.1 = 10 | ||
device2.2 = 10 | ||
device3 = 10 | ||
device3.1 = 10 | ||
device3.2 = 10 | ||
device4 = 10 | ||
device4.1 = 10 | ||
device4.2 = 10 | ||
maple_sdl_joystick_0 = 0 | ||
maple_sdl_keyboard = 0 | ||
maple_sdl_mouse = 0 | ||
|
||
[network] | ||
ActAsServer = no | ||
BattleCable = no | ||
DNS = 46.101.91.123 | ||
EmulateBBA = no | ||
Enable = no | ||
EnableUPnP = yes | ||
GGPO = no | ||
GGPOAnalogAxes = 0 | ||
GGPOChat = yes | ||
GGPOChatTimeout = 10 | ||
GGPOChatTimeoutToggle = yes | ||
GGPODelay = 0 | ||
LocalPort = 37391 | ||
MultiboardSlaves = 1 | ||
NetworkOutput = no | ||
Stats = yes | ||
server = | ||
|
||
[validate] | ||
OpenGlChecks = no | ||
|
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
echo $0 $* | ||
source /mnt/SDCARD/System/usr/trimui/scripts/FolderOverrideFinder.sh | ||
EMU_DIR=/mnt/SDCARD/Emus/DC | ||
|
||
$EMU_DIR/cpufreq.sh | ||
$EMU_DIR/effect.sh | ||
|
||
cd "$EMU_DIR/flycast" | ||
|
||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:lib | ||
export FLYCAST_BIOS_DIR="/mnt/SDCARD/BIOS/dc/" | ||
export FLYCAST_DATA_DIR=$FLYCAST_BIOS_DIR | ||
export FLYCAST_CONFIG_DIR="$FLYCAST_DIR/config/" | ||
|
||
./flycast "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | ||
echo 1800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
echo $0 $* | ||
source /mnt/SDCARD/System/usr/trimui/scripts/FolderOverrideFinder.sh | ||
EMU_DIR=/mnt/SDCARD/Emus/NAOMI | ||
FLYCAST_DIR=/mnt/SDCARD/Emus/DC/flycast | ||
|
||
$EMU_DIR/cpufreq.sh | ||
$EMU_DIR/effect.sh | ||
|
||
cd "$FLYCAST_DIR" | ||
|
||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:lib | ||
export FLYCAST_BIOS_DIR="/mnt/SDCARD/BIOS/dc/" | ||
export FLYCAST_DATA_DIR=$FLYCAST_BIOS_DIR | ||
export FLYCAST_CONFIG_DIR="$FLYCAST_DIR/config/" | ||
|
||
./flycast "$@" |
This file was deleted.
Oops, something went wrong.