diff --git a/static/build/.tmp_update/lib/parasyte/ld-linux-armhf.so.3 b/static/build/.tmp_update/lib/parasyte/ld-linux-armhf.so.3 new file mode 100644 index 000000000..cda592814 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/ld-linux-armhf.so.3 differ diff --git a/static/build/.tmp_update/lib/parasyte/libEGL.so.1 b/static/build/.tmp_update/lib/parasyte/libEGL.so.1 new file mode 100644 index 000000000..ea67654ce Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libEGL.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libEGL.so.1.0.0 b/static/build/.tmp_update/lib/parasyte/libEGL.so.1.0.0 new file mode 100644 index 000000000..ea67654ce Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libEGL.so.1.0.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libGL.so b/static/build/.tmp_update/lib/parasyte/libGL.so new file mode 100644 index 000000000..b95dbb7a0 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libGL.so differ diff --git a/static/build/.tmp_update/lib/parasyte/libGL.so.1 b/static/build/.tmp_update/lib/parasyte/libGL.so.1 new file mode 100644 index 000000000..b95dbb7a0 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libGL.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libGL.so.1.2.0 b/static/build/.tmp_update/lib/parasyte/libGL.so.1.2.0 new file mode 100644 index 000000000..b95dbb7a0 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libGL.so.1.2.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libGLESv1_CM.so b/static/build/.tmp_update/lib/parasyte/libGLESv1_CM.so new file mode 100644 index 000000000..53efb5fca Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libGLESv1_CM.so differ diff --git a/static/build/.tmp_update/lib/parasyte/libGLESv1_CM.so.1 b/static/build/.tmp_update/lib/parasyte/libGLESv1_CM.so.1 new file mode 100644 index 000000000..53efb5fca Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libGLESv1_CM.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libGLESv1_CM.so.1.1.0 b/static/build/.tmp_update/lib/parasyte/libGLESv1_CM.so.1.1.0 new file mode 100644 index 000000000..53efb5fca Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libGLESv1_CM.so.1.1.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libGLESv2.so b/static/build/.tmp_update/lib/parasyte/libGLESv2.so new file mode 100644 index 000000000..e0f2c3339 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libGLESv2.so differ diff --git a/static/build/.tmp_update/lib/parasyte/libGLESv2.so.2 b/static/build/.tmp_update/lib/parasyte/libGLESv2.so.2 new file mode 100644 index 000000000..e0f2c3339 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libGLESv2.so.2 differ diff --git a/static/build/.tmp_update/lib/parasyte/libGLESv2.so.2.0.0 b/static/build/.tmp_update/lib/parasyte/libGLESv2.so.2.0.0 new file mode 100644 index 000000000..e0f2c3339 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libGLESv2.so.2.0.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libSDL-1.2.so.0 b/static/build/.tmp_update/lib/parasyte/libSDL-1.2.so.0 new file mode 100644 index 000000000..6ee37a64f Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libSDL-1.2.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libSDL2-2.0.so.0 b/static/build/.tmp_update/lib/parasyte/libSDL2-2.0.so.0 new file mode 100644 index 000000000..d1d94c82e Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libSDL2-2.0.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libSDL_image-1.2.so.0 b/static/build/.tmp_update/lib/parasyte/libSDL_image-1.2.so.0 new file mode 100644 index 000000000..fd568e229 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libSDL_image-1.2.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libSDL_mixer-1.2.so.0 b/static/build/.tmp_update/lib/parasyte/libSDL_mixer-1.2.so.0 new file mode 100644 index 000000000..9f0590d80 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libSDL_mixer-1.2.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libX11-xcb.so.1 b/static/build/.tmp_update/lib/parasyte/libX11-xcb.so.1 new file mode 100644 index 000000000..4eda0bd62 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libX11-xcb.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libX11.so.6 b/static/build/.tmp_update/lib/parasyte/libX11.so.6 new file mode 100644 index 000000000..9b6334722 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libX11.so.6 differ diff --git a/static/build/.tmp_update/lib/parasyte/libXau.so.6 b/static/build/.tmp_update/lib/parasyte/libXau.so.6 new file mode 100644 index 000000000..8f905461f Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libXau.so.6 differ diff --git a/static/build/.tmp_update/lib/parasyte/libXdmcp.so.6 b/static/build/.tmp_update/lib/parasyte/libXdmcp.so.6 new file mode 100644 index 000000000..c1013c154 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libXdmcp.so.6 differ diff --git a/static/build/.tmp_update/lib/parasyte/libXext.so.6 b/static/build/.tmp_update/lib/parasyte/libXext.so.6 new file mode 100644 index 000000000..119d7215b Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libXext.so.6 differ diff --git a/static/build/.tmp_update/lib/parasyte/libXrender.so.1 b/static/build/.tmp_update/lib/parasyte/libXrender.so.1 new file mode 100644 index 000000000..752d02adc Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libXrender.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libatomic.so.1 b/static/build/.tmp_update/lib/parasyte/libatomic.so.1 new file mode 100644 index 000000000..9020ab247 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libatomic.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libavcodec.so.56 b/static/build/.tmp_update/lib/parasyte/libavcodec.so.56 new file mode 100644 index 000000000..d390dac59 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libavcodec.so.56 differ diff --git a/static/build/.tmp_update/lib/parasyte/libavdevice.so.56 b/static/build/.tmp_update/lib/parasyte/libavdevice.so.56 new file mode 100644 index 000000000..db5d9cbb2 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libavdevice.so.56 differ diff --git a/static/build/.tmp_update/lib/parasyte/libavfilter.so.5 b/static/build/.tmp_update/lib/parasyte/libavfilter.so.5 new file mode 100644 index 000000000..2dbea71df Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libavfilter.so.5 differ diff --git a/static/build/.tmp_update/lib/parasyte/libavformat.so.56 b/static/build/.tmp_update/lib/parasyte/libavformat.so.56 new file mode 100644 index 000000000..fbbc9392e Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libavformat.so.56 differ diff --git a/static/build/.tmp_update/lib/parasyte/libavresample.so.2 b/static/build/.tmp_update/lib/parasyte/libavresample.so.2 new file mode 100644 index 000000000..71124f2f0 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libavresample.so.2 differ diff --git a/static/build/.tmp_update/lib/parasyte/libavutil.so.54 b/static/build/.tmp_update/lib/parasyte/libavutil.so.54 new file mode 100644 index 000000000..4ecf2749b Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libavutil.so.54 differ diff --git a/static/build/.tmp_update/lib/parasyte/libblkid.so.1 b/static/build/.tmp_update/lib/parasyte/libblkid.so.1 new file mode 100644 index 000000000..ada3fdeed Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libblkid.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libc.so.6 b/static/build/.tmp_update/lib/parasyte/libc.so.6 new file mode 100644 index 000000000..17931b6c4 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libc.so.6 differ diff --git a/static/build/.tmp_update/lib/parasyte/libcairo.so.2 b/static/build/.tmp_update/lib/parasyte/libcairo.so.2 new file mode 100644 index 000000000..bb4e2728a Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libcairo.so.2 differ diff --git a/static/build/.tmp_update/lib/parasyte/libcurl.so.4 b/static/build/.tmp_update/lib/parasyte/libcurl.so.4 new file mode 100644 index 000000000..723ab5eb6 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libcurl.so.4 differ diff --git a/static/build/.tmp_update/lib/parasyte/libdl.so.2 b/static/build/.tmp_update/lib/parasyte/libdl.so.2 new file mode 100644 index 000000000..1c01b9d45 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libdl.so.2 differ diff --git a/static/build/.tmp_update/lib/parasyte/libdrm.so.2 b/static/build/.tmp_update/lib/parasyte/libdrm.so.2 new file mode 100644 index 000000000..efeae046b Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libdrm.so.2 differ diff --git a/static/build/.tmp_update/lib/parasyte/libexpat.so.1 b/static/build/.tmp_update/lib/parasyte/libexpat.so.1 new file mode 100644 index 000000000..c8c7ef315 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libexpat.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libffi.so.8 b/static/build/.tmp_update/lib/parasyte/libffi.so.8 new file mode 100644 index 000000000..949e21739 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libffi.so.8 differ diff --git a/static/build/.tmp_update/lib/parasyte/libfontconfig.so.1 b/static/build/.tmp_update/lib/parasyte/libfontconfig.so.1 new file mode 100644 index 000000000..9f17c1749 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libfontconfig.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libgbm.so.1 b/static/build/.tmp_update/lib/parasyte/libgbm.so.1 new file mode 100644 index 000000000..d0b18d17c Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libgbm.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libgbm.so.1.0.0 b/static/build/.tmp_update/lib/parasyte/libgbm.so.1.0.0 new file mode 100644 index 000000000..d0b18d17c Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libgbm.so.1.0.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libgio-2.0.so.0 b/static/build/.tmp_update/lib/parasyte/libgio-2.0.so.0 new file mode 100644 index 000000000..d7b856b64 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libgio-2.0.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libglapi.so.0 b/static/build/.tmp_update/lib/parasyte/libglapi.so.0 new file mode 100644 index 000000000..3c8004ad0 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libglapi.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libglapi.so.0.0.0 b/static/build/.tmp_update/lib/parasyte/libglapi.so.0.0.0 new file mode 100644 index 000000000..3c8004ad0 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libglapi.so.0.0.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libglib-2.0.so.0 b/static/build/.tmp_update/lib/parasyte/libglib-2.0.so.0 new file mode 100644 index 000000000..9356e1d2e Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libglib-2.0.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libgmodule-2.0.so.0 b/static/build/.tmp_update/lib/parasyte/libgmodule-2.0.so.0 new file mode 100644 index 000000000..3ddf35eca Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libgmodule-2.0.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libgobject-2.0.so.0 b/static/build/.tmp_update/lib/parasyte/libgobject-2.0.so.0 new file mode 100644 index 000000000..2a374f79d Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libgobject-2.0.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libgomp.so.1 b/static/build/.tmp_update/lib/parasyte/libgomp.so.1 new file mode 100644 index 000000000..3bc6a0d22 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libgomp.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libgomp.so.1.0.0 b/static/build/.tmp_update/lib/parasyte/libgomp.so.1.0.0 new file mode 100644 index 000000000..3bc6a0d22 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libgomp.so.1.0.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libjpeg.so.9 b/static/build/.tmp_update/lib/parasyte/libjpeg.so.9 new file mode 100644 index 000000000..fa4f0a0ac Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libjpeg.so.9 differ diff --git a/static/build/.tmp_update/lib/parasyte/liblzma.so.5 b/static/build/.tmp_update/lib/parasyte/liblzma.so.5 new file mode 100644 index 000000000..02774b597 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/liblzma.so.5 differ diff --git a/static/build/.tmp_update/lib/parasyte/libm.so.6 b/static/build/.tmp_update/lib/parasyte/libm.so.6 new file mode 100644 index 000000000..ad41c13d9 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libm.so.6 differ diff --git a/static/build/.tmp_update/lib/parasyte/libmad.so.0 b/static/build/.tmp_update/lib/parasyte/libmad.so.0 new file mode 100644 index 000000000..fa7a3dcec Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libmad.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libmount.so.1 b/static/build/.tmp_update/lib/parasyte/libmount.so.1 new file mode 100644 index 000000000..7aa487959 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libmount.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libogg.so.0 b/static/build/.tmp_update/lib/parasyte/libogg.so.0 new file mode 100644 index 000000000..8c8f7a397 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libogg.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libpcre.so.1 b/static/build/.tmp_update/lib/parasyte/libpcre.so.1 new file mode 100644 index 000000000..afade4482 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libpcre.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libpixman-1.so.0 b/static/build/.tmp_update/lib/parasyte/libpixman-1.so.0 new file mode 100644 index 000000000..8c1ded7c4 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libpixman-1.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libpng16.so.16 b/static/build/.tmp_update/lib/parasyte/libpng16.so.16 new file mode 100644 index 000000000..c39703dc8 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libpng16.so.16 differ diff --git a/static/build/.tmp_update/lib/parasyte/libpostproc.so.53 b/static/build/.tmp_update/lib/parasyte/libpostproc.so.53 new file mode 100644 index 000000000..7cfc6a3f8 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libpostproc.so.53 differ diff --git a/static/build/.tmp_update/lib/parasyte/libpthread.so.0 b/static/build/.tmp_update/lib/parasyte/libpthread.so.0 new file mode 100644 index 000000000..d3502da50 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libpthread.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libswresample.so.1 b/static/build/.tmp_update/lib/parasyte/libswresample.so.1 new file mode 100644 index 000000000..a3ad96018 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libswresample.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libswscale.so.3 b/static/build/.tmp_update/lib/parasyte/libswscale.so.3 new file mode 100644 index 000000000..bcaa14144 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libswscale.so.3 differ diff --git a/static/build/.tmp_update/lib/parasyte/libtiff.so.5 b/static/build/.tmp_update/lib/parasyte/libtiff.so.5 new file mode 100644 index 000000000..35238b7d0 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libtiff.so.5 differ diff --git a/static/build/.tmp_update/lib/parasyte/libts.so.0 b/static/build/.tmp_update/lib/parasyte/libts.so.0 new file mode 100644 index 000000000..b799b0582 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libts.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libuuid.so.1 b/static/build/.tmp_update/lib/parasyte/libuuid.so.1 new file mode 100644 index 000000000..997fb467e Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libuuid.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libvorbisidec.so.1 b/static/build/.tmp_update/lib/parasyte/libvorbisidec.so.1 new file mode 100644 index 000000000..eb9571f3a Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libvorbisidec.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libwebp.so.7 b/static/build/.tmp_update/lib/parasyte/libwebp.so.7 new file mode 100644 index 000000000..8988ab75e Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libwebp.so.7 differ diff --git a/static/build/.tmp_update/lib/parasyte/libx264.so.152 b/static/build/.tmp_update/lib/parasyte/libx264.so.152 new file mode 100644 index 000000000..defc806d4 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libx264.so.152 differ diff --git a/static/build/.tmp_update/lib/parasyte/libxcb-dri2.so.0 b/static/build/.tmp_update/lib/parasyte/libxcb-dri2.so.0 new file mode 100644 index 000000000..2ca92d47a Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libxcb-dri2.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libxcb-render.so.0 b/static/build/.tmp_update/lib/parasyte/libxcb-render.so.0 new file mode 100644 index 000000000..a5b356d7e Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libxcb-render.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libxcb-shm.so.0 b/static/build/.tmp_update/lib/parasyte/libxcb-shm.so.0 new file mode 100644 index 000000000..c8b823a1a Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libxcb-shm.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libxcb-xfixes.so.0 b/static/build/.tmp_update/lib/parasyte/libxcb-xfixes.so.0 new file mode 100644 index 000000000..f13b6f8b7 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libxcb-xfixes.so.0 differ diff --git a/static/build/.tmp_update/lib/parasyte/libxcb.so.1 b/static/build/.tmp_update/lib/parasyte/libxcb.so.1 new file mode 100644 index 000000000..6b491b388 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libxcb.so.1 differ diff --git a/static/build/.tmp_update/lib/parasyte/libz.so.1 b/static/build/.tmp_update/lib/parasyte/libz.so.1 new file mode 100644 index 000000000..0ab8b2315 Binary files /dev/null and b/static/build/.tmp_update/lib/parasyte/libz.so.1 differ diff --git a/static/build/RetroArch/.retroarch/cores/dosbox_pure_libretro.info b/static/build/RetroArch/.retroarch/cores/dosbox_pure_libretro.info index e05620ec1..a5139accc 100644 --- a/static/build/RetroArch/.retroarch/cores/dosbox_pure_libretro.info +++ b/static/build/RetroArch/.retroarch/cores/dosbox_pure_libretro.info @@ -1,12 +1,12 @@ # Software Information display_name = "DOS (DOSBox-Pure)" authors = "DOSBox Team|Psyraven" -supported_extensions = "zip|dosz|exe|com|bat|iso|cue|ins|img|ima|vhd|m3u|m3u8" -corename = "DOSBox" +supported_extensions = "zip|dosz|exe|com|bat|iso|cue|ins|img|ima|vhd|jrc|tc|m3u|m3u8|conf" +corename = "DOSBox-pure" categories = "Emulator" license = "GPLv2" permissions = "" -display_version = "Pure" +display_version = "0.9.7" # Hardware Information manufacturer = "Microsoft" diff --git a/static/build/RetroArch/.retroarch/cores/dosbox_pure_libretro.so b/static/build/RetroArch/.retroarch/cores/dosbox_pure_libretro.so index 10080663e..f9ef21791 100644 Binary files a/static/build/RetroArch/.retroarch/cores/dosbox_pure_libretro.so and b/static/build/RetroArch/.retroarch/cores/dosbox_pure_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/fake08_libretro.info b/static/build/RetroArch/.retroarch/cores/fake08_libretro.info new file mode 100644 index 000000000..a015f2716 --- /dev/null +++ b/static/build/RetroArch/.retroarch/cores/fake08_libretro.info @@ -0,0 +1,18 @@ +# Software Information +display_name = "Pico-8 (FAKE-08)" +authors = "jtothebell" +corename = "FAKE-08" +categories = "Emulator" +license = "MIT" +permissions = "" +display_version = "v0.0.2.19" + +# Hardware Information +manufacturer = "Lexaloffle" +systemname = "Pico-8" +systemid = "pico8" + +# Libretro Features +supports_no_game = "true" +savestate = "true" +savestate_features = "serialized" diff --git a/static/build/RetroArch/.retroarch/cores/fake08_libretro.so b/static/build/RetroArch/.retroarch/cores/fake08_libretro.so new file mode 100644 index 000000000..1037151c5 Binary files /dev/null and b/static/build/RetroArch/.retroarch/cores/fake08_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/fuse_libretro.info b/static/build/RetroArch/.retroarch/cores/fuse_libretro.info index 763077a80..75e6e1a35 100644 --- a/static/build/RetroArch/.retroarch/cores/fuse_libretro.info +++ b/static/build/RetroArch/.retroarch/cores/fuse_libretro.info @@ -1,7 +1,7 @@ # Software Information display_name = "Sinclair - ZX Spectrum (Fuse)" authors = "Team Fuse" -supported_extensions = "tzx|tap|z80|rzx|scl|trd|dsk" +supported_extensions = "tzx|tap|z80|rzx|scl|trd|dsk|zip" corename = "Fuse" categories = "Emulator" license = "GPLv3" diff --git a/static/build/RetroArch/.retroarch/cores/fuse_libretro.so b/static/build/RetroArch/.retroarch/cores/fuse_libretro.so index 85abc3a22..74dbe524d 100644 Binary files a/static/build/RetroArch/.retroarch/cores/fuse_libretro.so and b/static/build/RetroArch/.retroarch/cores/fuse_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/gambatte_libretro.so b/static/build/RetroArch/.retroarch/cores/gambatte_libretro.so index a5540a7e1..26c0fbe63 100644 Binary files a/static/build/RetroArch/.retroarch/cores/gambatte_libretro.so and b/static/build/RetroArch/.retroarch/cores/gambatte_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/mame2003_plus_libretro.so b/static/build/RetroArch/.retroarch/cores/mame2003_plus_libretro.so index 765b8e9a7..c623327e8 100644 Binary files a/static/build/RetroArch/.retroarch/cores/mame2003_plus_libretro.so and b/static/build/RetroArch/.retroarch/cores/mame2003_plus_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/mba_mini_libretro.info b/static/build/RetroArch/.retroarch/cores/mba_mini_libretro.info new file mode 100644 index 000000000..e6b33b661 --- /dev/null +++ b/static/build/RetroArch/.retroarch/cores/mba_mini_libretro.info @@ -0,0 +1,31 @@ +# Software Information +display_name = "M.B.A-mini" +authors = "wonder199999" +supported_extensions = "zip|7z|chd" +corename = "M.B.A-mini (705854e)" +license = "MAME" +permissions = "" +display_version = "705854e" +categories = "Emulator" + +# Hardware Information +manufacturer = "Various" +systemname = "Arcade (various)" +systemid = "mame" + +# Libretro Features +supports_no_game = "false" +database = "FBAlpha 02.97.38" +savestate = "false" +savestate_features = "null" +cheats = "false" +input_descriptors = "false" +memory_descriptors = "false" +libretro_saves = "false" +core_options = "true" +core_options_version = "1.0" +hw_render = "false" +disk_control = "false" +notes = "(!) Unless using Full Non-Merged romsets, BIOS files must be inside the ROM directory.|" + +description = "M.B.A = MAME's skeleton + FBA's romsets. M.B.A-mini from MAME2010-libretro after the codes is streamlined, only CPS 1/2, NEOGEO, IREM M92 machines && roms is supported. M.B.A-mini gave up the original mame0.139 romsets, but supported FBAlpha 02.97.38 romsets with more games (it's >= mame0.172 romsets). also in process, many roms graphics and sound issues have been fixed (especially for CPS1)." In the current situation, M.B.A-mini supports 270 CPS1 games (including clones), 305 CPS2 games, 293 NEOGEO games, and 37 games for IREM M92. " diff --git a/static/build/RetroArch/.retroarch/cores/mba_mini_libretro.so b/static/build/RetroArch/.retroarch/cores/mba_mini_libretro.so new file mode 100644 index 000000000..ca7714bfb Binary files /dev/null and b/static/build/RetroArch/.retroarch/cores/mba_mini_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/mgba_libretro.so b/static/build/RetroArch/.retroarch/cores/mgba_libretro.so index 71f443424..6dcfd14a6 100644 Binary files a/static/build/RetroArch/.retroarch/cores/mgba_libretro.so and b/static/build/RetroArch/.retroarch/cores/mgba_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/pcsx_rearmed_libretro.so b/static/build/RetroArch/.retroarch/cores/pcsx_rearmed_libretro.so index db07e6c0c..f2f51fc0b 100644 Binary files a/static/build/RetroArch/.retroarch/cores/pcsx_rearmed_libretro.so and b/static/build/RetroArch/.retroarch/cores/pcsx_rearmed_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/puae2021_libretro.info b/static/build/RetroArch/.retroarch/cores/puae2021_libretro.info new file mode 100644 index 000000000..b6d359469 --- /dev/null +++ b/static/build/RetroArch/.retroarch/cores/puae2021_libretro.info @@ -0,0 +1,54 @@ +# Software Information +display_name = "Commodore - Amiga (PUAE 2021)" +categories = "Emulator" +authors = "UAE Team" +corename = "PUAE 2021" +supported_extensions = "adf|adz|dms|fdi|ipf|hdf|hdz|lha|slave|info|cue|ccd|nrg|mds|iso|chd|uae|m3u|zip|7z|rp9" +license = "GPLv2" +permissions = "" +display_version = "v2.6.1" + +# Hardware Information +manufacturer = "Commodore" +systemname = "Amiga" +systemid = "commodore_amiga" + +# Libretro Features +database = "Commodore - Amiga" +supports_no_game = "true" +savestate = "true" +savestate_features = "serialized" +cheats = "false" +input_descriptors = "true" +memory_descriptors = "false" +libretro_saves = "true" +core_options = "true" +load_subsystem = "false" +hw_render = "false" +needs_fullpath = "true" +disk_control = "true" +is_experimental = "false" + +# Firmware +firmware_count = 6 +firmware0_desc = "kick34005.A500 (Amiga 500 BIOS, Kickstart v1.3 Rev. 34.005)" +firmware0_path = "kick34005.A500" +firmware0_opt = "false" +firmware1_desc = "kick37175.A500 (Amiga 500+ BIOS, Kickstart v2.04 Rev. 37.175)" +firmware1_path = "kick37175.A500" +firmware1_opt = "false" +firmware2_desc = "kick40063.A600 (Amiga 600 BIOS, Kickstart v3.1 Rev. 40.063)" +firmware2_path = "kick40063.A600" +firmware2_opt = "false" +firmware3_desc = "kick40068.A1200 (Amiga 1200 BIOS, Kickstart v3.1 Rev. 40.068)" +firmware3_path = "kick40068.A1200" +firmware3_opt = "false" +firmware4_desc = "kick40060.CD32 (Amiga CD32 BIOS, Kickstart v3.1 Rev. 40.060)" +firmware4_path = "kick40060.CD32" +firmware4_opt = "true" +firmware5_desc = "kick40060.CD32.ext (Amiga CD32 Extended BIOS, CD32 Extended ROM Rev. 40.060)" +firmware5_path = "kick40060.CD32.ext" +firmware5_opt = "true" +notes = "(!) kick34005.A500 (md5): 82a21c1890cae844b3df741f2762d48d|(!) kick37175.A500 (md5): dc10d7bdd1b6f450773dfb558477c230|(!) kick40063.A600 (md5): e40a5dfb3d017ba8779faba30cbd1c8e|(!) kick40068.A1200 (md5): 646773759326fbac3b2311fd8c8793ee|(!) kick40060.CD32 (md5): 5f8924d013dd57a89cf349f4cdedc6b1|(!) kick40060.CD32.ext (md5): bb72565701b1b6faece07d68ea5da639" + +description = "A port of the PUAE Amiga emulator, which is itself a continuation of the E-UAE emulator, to libretro. The core has a built-in AROS fallback Kickstart that is compatible enough for some A500 games, but a proper Kickstart ROM is preferred. This core is well-integrated with libretro and is the first option users should try when seeking to play Amiga games via libretro." diff --git a/static/build/RetroArch/.retroarch/cores/puae2021_libretro.so b/static/build/RetroArch/.retroarch/cores/puae2021_libretro.so new file mode 100644 index 000000000..4ababa0bc Binary files /dev/null and b/static/build/RetroArch/.retroarch/cores/puae2021_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/puae_libretro.info b/static/build/RetroArch/.retroarch/cores/puae_libretro.info index d47c6b14d..17da0e735 100644 --- a/static/build/RetroArch/.retroarch/cores/puae_libretro.info +++ b/static/build/RetroArch/.retroarch/cores/puae_libretro.info @@ -1,9 +1,9 @@ # Software Information -display_name = "Commodore - Amiga (PUAE)" +display_name = "Commodore - Amiga (PUAE 2021)" categories = "Emulator" authors = "UAE Team" -corename = "PUAE" -supported_extensions = "adf|adz|dms|fdi|ipf|hdf|hdz|lha|slave|info|cue|ccd|nrg|mds|iso|chd|uae|m3u|zip|7z" +corename = "PUAE 2021" +supported_extensions = "adf|adz|dms|fdi|ipf|hdf|hdz|lha|slave|info|cue|ccd|nrg|mds|iso|chd|uae|m3u|zip|7z|rp9" license = "GPLv2" permissions = "" display_version = "v2.6.1" @@ -30,25 +30,43 @@ disk_control = "true" is_experimental = "false" # Firmware -firmware_count = 6 -firmware0_desc = "kick34005.A500 (Amiga 500 BIOS, Kickstart v1.3 Rev. 34.005)" -firmware0_path = "kick34005.A500" -firmware0_opt = "false" -firmware1_desc = "kick37175.A500 (Amiga 500+ BIOS, Kickstart v2.04 Rev. 37.175)" -firmware1_path = "kick37175.A500" +firmware_count = 12 +firmware0_desc = "kick33180.A500 | amiga-os-120.rom (A500-A2000 KS v1.2 rev 33.180)" +firmware0_path = "kick33180.A500" +firmware0_opt = "true" +firmware1_desc = "kick34005.A500 | amiga-os-130.rom (A500-A2000-CDTV KS v1.3 rev 34.005)" +firmware1_path = "kick34005.A500" firmware1_opt = "false" -firmware2_desc = "kick40063.A600 (Amiga 600 BIOS, Kickstart v3.1 Rev. 40.063)" -firmware2_path = "kick40063.A600" -firmware2_opt = "false" -firmware3_desc = "kick40068.A1200 (Amiga 1200 BIOS, Kickstart v3.1 Rev. 40.068)" -firmware3_path = "kick40068.A1200" -firmware3_opt = "false" -firmware4_desc = "kick40060.CD32 (Amiga CD32 BIOS, Kickstart v3.1 Rev. 40.060)" -firmware4_path = "kick40060.CD32" +firmware2_desc = "kick37175.A500 | amiga-os-204.rom (A500+ KS v2.04 rev 37.175)" +firmware2_path = "kick37175.A500" +firmware2_opt = "true" +firmware3_desc = "kick37350.A600 | amiga-os-205-a600.rom (A600 KS v2.05 rev 37.350)" +firmware3_path = "kick37350.A600" +firmware3_opt = "true" +firmware4_desc = "kick40063.A600 | amiga-os-310-a600.rom (A600-A2000 KS v3.1 rev 40.063)" +firmware4_path = "kick40063.A600" firmware4_opt = "true" -firmware5_desc = "kick40060.CD32.ext (Amiga CD32 Extended BIOS, CD32 Extended ROM Rev. 40.060)" -firmware5_path = "kick40060.CD32.ext" +firmware5_desc = "kick39106.A1200 | amiga-os-300-a1200.rom (A1200 KS v3.0 rev 39.106)" +firmware5_path = "kick39106.A1200" firmware5_opt = "true" -notes = "(!) kick34005.A500 (md5): 82a21c1890cae844b3df741f2762d48d|(!) kick37175.A500 (md5): dc10d7bdd1b6f450773dfb558477c230|(!) kick40063.A600 (md5): e40a5dfb3d017ba8779faba30cbd1c8e|(!) kick40068.A1200 (md5): 646773759326fbac3b2311fd8c8793ee|(!) kick40060.CD32 (md5): 5f8924d013dd57a89cf349f4cdedc6b1|(!) kick40060.CD32.ext (md5): bb72565701b1b6faece07d68ea5da639" +firmware6_desc = "kick40068.A1200 | amiga-os-310-a1200.rom (A1200 KS v3.1 rev 40.068)" +firmware6_path = "kick40068.A1200" +firmware6_opt = "false" +firmware7_desc = "kick39106.A4000 | amiga-os-300-a4000.rom (A4000 KS v3.0 rev 39.106)" +firmware7_path = "kick39106.A4000" +firmware7_opt = "true" +firmware8_desc = "kick40068.A4000 | amiga-os-310-a4000.rom (A4000 KS v3.1 rev 40.068)" +firmware8_path = "kick40068.A4000" +firmware8_opt = "true" +firmware9_desc = "kick34005.CDTV | amiga-os-130-cdtv-ext.rom (CDTV extended ROM v1.0)" +firmware9_path = "kick34005.CDTV" +firmware9_opt = "true" +firmware10_desc = "kick40060.CD32 | amiga-os-310-cd32.rom (CD32 KS v3.1 rev 40.060)" +firmware10_path = "kick40060.CD32" +firmware10_opt = "false" +firmware11_desc = "kick40060.CD32.ext | amiga-os-310-cd32-ext.rom (CD32 extended ROM rev 40.060)" +firmware11_path = "kick40060.CD32.ext" +firmware11_opt = "false" +notes = "(!) kick33180.A500 (md5): 85ad74194e87c08904327de1a9443b7a|(!) kick34005.A500 (md5): 82a21c1890cae844b3df741f2762d48d|(!) kick37175.A500 (md5): dc10d7bdd1b6f450773dfb558477c230|(!) kick37350.A600 (md5): 465646c9b6729f77eea5314d1f057951|(!) kick40063.A600 (md5): e40a5dfb3d017ba8779faba30cbd1c8e|(!) kick39106.A1200 (md5): b7cc148386aa631136f510cd29e42fc3|(!) kick40068.A1200 (md5): 646773759326fbac3b2311fd8c8793ee|(!) kick39106.A4000 (md5): 9b8bdd5a3fd32c2a5a6f5b1aefc799a5|(!) kick40068.A4000 (md5): 9bdedde6a4f33555b4a270c8ca53297d|(!) kick34005.CDTV (md5): 89da1838a24460e4b93f4f0c5d92d48d|(!) kick40060.CD32 (md5): 5f8924d013dd57a89cf349f4cdedc6b1|(!) kick40060.CD32.ext (md5): bb72565701b1b6faece07d68ea5da639" -description = "A port of the PUAE Amiga emulator, which is itself a continuation of the E-UAE emulator, to libretro. The core has a built-in AROS fallback Kickstart that is compatible enough for some A500 games, but a proper Kickstart ROM is preferred. This core is well-integrated with libretro and is the first option users should try when seeking to play Amiga games via libretro." +description = "A port of the PUAE Amiga emulator, which is itself a continuation of the E-UAE emulator, to libretro. The core has a built-in AROS fallback Kickstart that is compatible enough for some A500 games, but a proper Kickstart ROM is preferred. This core is well-integrated with libretro and is the less accurate version more suitable for weaker devices." diff --git a/static/build/RetroArch/.retroarch/cores/puae_libretro.so b/static/build/RetroArch/.retroarch/cores/puae_libretro.so index 0dfcf7a1a..0ee843756 100644 Binary files a/static/build/RetroArch/.retroarch/cores/puae_libretro.so and b/static/build/RetroArch/.retroarch/cores/puae_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/scummvm_libretro.info b/static/build/RetroArch/.retroarch/cores/scummvm_libretro.info index 958f37d42..c148f8ab8 100644 --- a/static/build/RetroArch/.retroarch/cores/scummvm_libretro.info +++ b/static/build/RetroArch/.retroarch/cores/scummvm_libretro.info @@ -1,12 +1,12 @@ # Software Information display_name = "ScummVM" authors = "SCUMMVMdev" -supported_extensions = "0|1|2|3|5|6|8|16|25|99|101|102|418|455|512|scummvm|scumm|gam|z5|dat|blb|z6|RAW|ROM|taf|zblorb|dcp|(a)|cup|HE0|(A)|D$$|STK|z8|hex|VMD|TGA|ITK|SCN|INF|pic|Z5|z3|blorb|ulx|DAT|cas|PIC|acd|006|SYS|alr|t3|gblorb|tab|AP|CRC|EXE|z4|W32|MAC|mac|WIN|001|003|000|bin|exe|asl|AVD|INI|SND|cat|ANG|CUP|SYS16|img|LB|TLK|MIX|VQA|RLB|FNT|win|HE1|DMU|FON|SCR|TEX|HEP|DIR|DRV|MAP|a3c|GRV|CUR|OPT|gfx|ASK|LNG|ini|RSC|SPP|CC|BND|LA0|TRS|add|HRS|DFW|DR1|ALD|004|002|005|R02|R00|C00|D00|GAM|IDX|ogg|TXT|GRA|BMV|H$$|MSG|VGA|PKD|OUT|99 (PG)|SAV|PAK|BIN|CPS|SHP|DXR|dxr|gmp|SNG|C35|C06|WAV|SMK|wav|CAB|game|Z6|(b)|slg|he2|he1|HE2|SYN|PAT|NUT|nl|PRC|V56|SEQ|P56|AUD|FKR|EX1|rom|LIC|$00|ALL|LTK|txt|acx|VXD|ACX|mpc|msd|ADF|nib|HELLO|dsk|xfd|woz|d$$|SET|SOL|Pat|CFG|BSF|RES|IMD|LFL|SQU|rsc|BBM|2 US|OVL|OVR|007|PNT|pat|CHK|MDT|EMC|ADV|FDT|GMC|FMC|info|HPF|hpf|INE|RBT|CSC|HEB|MID|lfl|LEC|HNM|QA|009|PRF|EGA|MHK|d64|prg|LZC|flac|IMS|REC|MOR|doc|HAG|AGA|BLB|TABLE|PAL|PRG|CLG|ORB|BRO|bro|PH1|DEF|IN|jpg|TOC|j2|Text|CEL|he0|AVI|1C|1c|BAK|L9|CGA|HRC|mhk|RED|SM0|SM1|SOU|RRM|LIB| Seuss's ABC|CNV|VOC|OGG|GME|GERMAN|SHR|FRENCH|DNR|DSK|dnr|CAT|V16|cab|CLU|b25c|RL|mp3|FRM|SOG|HEX|mma|st|MPC|IMG|ENC|SPR|AD|C|CON|PGM|Z|RL2|MMM|OBJ|ZFS|zfs|STR|z2|z1" +supported_extensions = "0|1|2|3|4|5|6|8|25|99|101|102|455|512|scummvm|scumm|gam|z5|dat|blb|z6|ROM|001|taf|zblorb|dcp|(a)|cup|HE0|(A)|D$$|STK|z8|hex|ITK|CD1|pic|Z5|z3|blorb|ulx|DAT|cas|CGA|PIC|acd|SYS|OVL|alr|t3|gblorb|tab|AP|CRC|EXE|z4|W32|MAC|mac|WIN|003|000|exe|asl|slg|AVD|INI|SND|cat|ANG|CUP|SYS16|img|LB|TLK|MIX|RLB|#02|FNT|win|HE1|DMU|FON|SCR|MAP|TEX|HEP|DIR|DRV|a3c|GRV|CUR|CC|COD|OPT|LA0|gfx|GDA|ASK|LNG|ini|W16|SPP|bin|BND|BUN|TRS|add|HRS|DFW|BIN|STR|DR1|ALD|004|002|005|006|R02|R00|C00|D00|GAM|SCN|IDX|ogg|TXT|VB|GRA|BAT|BMV|H$$|MSG|VGA|PKD|SAV|CPS|PAK|SHP|PAT|dxr|gmp|SNG|C35|C06|WAV|wav|CAB|game|CG1|(b)|he2|he1|HE2|SYN|nl|PRC|V56|SEQ|P56|FKR|EX1|rom|CRF|LIC|$00|ALL|txt|acx|nbf|VXD|lab|LAB|ACX|mpc|msd|ADF|nib|HELLO|dsk|xfd|woz|d$$|SET|SOL|Pat|CFG|BSF|RES|CLT|LFL|SQU|RSC|SOUND|rsc|2 US|sub|cel|OVR|007|pat|MDT|CHK|EMC|ADV|voc|FDT|VQA|info|HPF|HQR|CSC|HEB|MID|LEC|QA|009|VMD|EGA|MHK|d64|prg|lfl|LZC|NL|DXR|flac|IMS|m4b|M4B|MOR|doc|jpg|HAG|AGA|BLB|PAL|PRG|CLG|CNF|ORB|BRO|bro|avi|str|PH1|DEF|sym|OUT|IN|TOC|AUD|j2|Text|CEL|AVI|1C|1c|L9|HRC|mhk|LIB|RED|PMV|SM0|SM1|RRM|CAT|CNV|GME|VOC|OGG|GERMAN|SHR|FRENCH|DNR|DSK|dnr|MMM|z4f|025|he0|V16|vga|TAB|CLU|b25c|INF|RL|mp3|SOU|SOG|HEX|mma|st|sdb|cab|MPC|MS0|IMG|ENC|C|GRP|PAR|PGM|Z|RL2|OBJ|ZFS|zfs|zip|z2|z1" corename = "ScummVM" categories = "Game" license = "GPLv2" permissions = "" -display_version = "2.1.1" +display_version = "2.7.0" # Hareware Information manufacturer = "LucasArts" @@ -68,39 +68,39 @@ firmware10_opt = "true" firmware11_desc = "queen.tbl" firmware11_path = "scummvm/extra/queen.tbl" firmware11_opt = "true" -firmware13_desc = "Roland_SC-55.sf2" -firmware13_path = "scummvm/extra/Roland_SC-55.sf2" +firmware12_desc = "Roland_SC-55.sf2" +firmware12_path = "scummvm/extra/Roland_SC-55.sf2" +firmware12_opt = "true" +firmware13_desc = "sky.cpt" +firmware13_path = "scummvm/extra/sky.cpt" firmware13_opt = "true" -firmware14_desc = "sky.cpt" -firmware14_path = "scummvm/extra/sky.cpt" +firmware14_desc = "supernova.dat" +firmware14_path = "scummvm/extra/supernova.dat" firmware14_opt = "true" -firmware15_desc = "supernova.dat" -firmware15_path = "scummvm/extra/supernova.dat" +firmware15_desc = "teenagent.dat" +firmware15_path = "scummvm/extra/teenagent.dat" firmware15_opt = "true" -firmware16_desc = "teenagent.dat" -firmware16_path = "scummvm/extra/teenagent.dat" +firmware16_desc = "titanic.dat" +firmware16_path = "scummvm/extra/titanic.dat" firmware16_opt = "true" -firmware17_desc = "titanic.dat" -firmware17_path = "scummvm/extra/titanic.dat" +firmware17_desc = "tony.dat" +firmware17_path = "scummvm/extra/tony.dat" firmware17_opt = "true" -firmware18_desc = "tony.dat" -firmware18_path = "scummvm/extra/tony.dat" +firmware18_desc = "toon.dat" +firmware18_path = "scummvm/extra/toon.dat" firmware18_opt = "true" -firmware19_desc = "toon.dat" -firmware19_path = "scummvm/extra/toon.dat" +firmware19_desc = "wintermute.zip" +firmware19_path = "scummvm/extra/wintermute.zip" firmware19_opt = "true" -firmware20_desc = "wintermute.zip" -firmware20_path = "scummvm/extra/wintermute.zip" +firmware20_desc = "xeen.ccs" +firmware20_path = "scummvm/extra/xeen.ccs" firmware20_opt = "true" -firmware21_desc = "xeen.ccs" -firmware21_path = "scummvm/extra/xeen.ccs" +firmware21_desc = "scummmodern.zip (ScummVM Modern Theme)" +firmware21_path = "scummvm/theme/scummmodern.zip" firmware21_opt = "true" -firmware22_desc = "scummmodern.zip (ScummVM Modern Theme)" -firmware22_path = "scummvm/theme/scummmodern.zip" +firmware22_desc = "scummremastered.zip (ScummVM Remastered Theme)" +firmware22_path = "scummvm/theme/scummremastered.zip" firmware22_opt = "true" -firmware23_desc = "scummremastered.zip (ScummVM Remastered Theme)" -firmware23_path = "scummvm/theme/scummremastered.zip" -firmware23_opt = "true" notes = "Auxiliary files available from https://docs.libretro.com/library/scummvm/#usage" description = "A fork of the ScummVM adventure game engine ported to libretro. Since this core was forked off a long time ago, it does not support the latest 3D engines that used to be covered by ResidualVM, such as Blade Runner. Otherwise, most games and features/settings should work just fine." diff --git a/static/build/RetroArch/.retroarch/cores/scummvm_libretro.so b/static/build/RetroArch/.retroarch/cores/scummvm_libretro.so index 37a60e229..9908819c9 100644 Binary files a/static/build/RetroArch/.retroarch/cores/scummvm_libretro.so and b/static/build/RetroArch/.retroarch/cores/scummvm_libretro.so differ diff --git a/static/build/RetroArch/.retroarch/cores/vice_x64_libretro.info b/static/build/RetroArch/.retroarch/cores/vice_x64_libretro.info index 6efa57d7a..9a22d6b03 100644 --- a/static/build/RetroArch/.retroarch/cores/vice_x64_libretro.info +++ b/static/build/RetroArch/.retroarch/cores/vice_x64_libretro.info @@ -7,7 +7,6 @@ supported_extensions = "d64|d71|d80|d81|d82|g64|g41|x64|t64|tap|prg|p00|crt|bin| license = "GPLv2" permissions = "" display_version = "3.5" -description = "Versatile Commodore Emulator - C64 (fast)" # Hardware Information manufacturer = "Commodore" @@ -17,6 +16,8 @@ systemid = "commodore_c64" # Libretro Features database = "Commodore - 64" supports_no_game = "true" +savestate = "true" +savestate_features = "serialized" # Firmware firmware_count = 4 @@ -33,3 +34,5 @@ firmware3_desc = "vice/JiffyDOS_1581.bin (JiffyDOS 1581 drive BIOS)" firmware3_path = "vice/JiffyDOS_1581.bin" firmware3_opt = "true" notes = "(!) JiffyDOS_C64.bin (md5): be09394f0576cf81fa8bacf634daf9a2|(!) JiffyDOS_1541-II.bin (md5): 1b1e985ea5325a1f46eb7fd9681707bf|(!) JiffyDOS_1571_repl310654.bin (md5): 41c6cc528e9515ffd0ed9b180f8467c0|(!) JiffyDOS_1581.bin (md5): 20b6885c6dc2d42c38754a365b043d71" + +description = "The VICE x64 (fast) Commodore 64 emulator, isolated and ported to libretro. This core features a fairly complete emulation of the VIC-II video chip, with all sprites, registers and video modes emulated in a fully cycle-accurate manner. However, the 'x64sc' core's VIC-II emulation is both cycle-based and pixel-accurate, making it a better choice for devices powerful enough to run it. Both cores include options to switch between the original 'fastSID' sound chip emulation and the slower but much more accurate 'reSID' module." diff --git a/static/build/RetroArch/.retroarch/cores/vice_x64_libretro.so b/static/build/RetroArch/.retroarch/cores/vice_x64_libretro.so index 503a65429..187e932e0 100644 Binary files a/static/build/RetroArch/.retroarch/cores/vice_x64_libretro.so and b/static/build/RetroArch/.retroarch/cores/vice_x64_libretro.so differ diff --git a/static/packages/Emu/Commodore - Amiga (puae)/Roms/AMIGA/.gitkeep b/static/configs/RetroArch/.retroarch/system/.gitkeep similarity index 100% rename from static/packages/Emu/Commodore - Amiga (puae)/Roms/AMIGA/.gitkeep rename to static/configs/RetroArch/.retroarch/system/.gitkeep diff --git a/static/configs/RetroArch/.retroarch/system/scummvm.ini b/static/configs/RetroArch/.retroarch/system/scummvm.ini deleted file mode 100644 index 2d0b173ea..000000000 --- a/static/configs/RetroArch/.retroarch/system/scummvm.ini +++ /dev/null @@ -1,27 +0,0 @@ -[scummvm] -filtering=false -mute=false -speech_volume=192 -native_mt32=false -midi_gain=100 -gui_theme=scummmodern -talkspeed=60 -mt32_device=null -extrapath=/mnt/SDCARD/BIOS/scummvm/extra -subtitles=false -multi_midi=false -fullscreen=true -gui_browser_show_hidden=false -browser_lastpath=/mnt/SDCARD/BIOS/scummvm/extra -gm_device=null -themepath=/mnt/SDCARD/BIOS/scummvm/theme -sfx_volume=192 -music_volume=192 -autosave_period=300 -music_driver=auto -opl_driver=auto -aspect_ratio=false -versioninfo=2.1.1 -speech_mute=false -enable_gs=false - diff --git a/static/configs/Saves/CurrentProfile/config/Atari800/Atari800.opt b/static/configs/Saves/CurrentProfile/config/Atari800/Atari800.opt new file mode 100644 index 000000000..fe87320af --- /dev/null +++ b/static/configs/Saves/CurrentProfile/config/Atari800/Atari800.opt @@ -0,0 +1,10 @@ +atari800_artifacting = "disabled" +atari800_cassboot = "disabled" +atari800_internalbasic = "disabled" +atari800_keyboard = "poll" +atari800_ntscpal = "PAL" +atari800_opt1 = "disabled" +atari800_opt2 = "disabled" +atari800_resolution = "336x240" +atari800_sioaccel = "enabled" +atari800_system = "Modern XL/XE(1088K)" diff --git a/static/configs/Saves/CurrentProfile/config/Gambatte/Gambatte.opt b/static/configs/Saves/CurrentProfile/config/Gambatte/Gambatte.opt index 1cb085a5a..f98079280 100644 --- a/static/configs/Saves/CurrentProfile/config/Gambatte/Gambatte.opt +++ b/static/configs/Saves/CurrentProfile/config/Gambatte/Gambatte.opt @@ -21,7 +21,7 @@ gambatte_gb_link_network_server_ip_9 = "0" gambatte_gb_palette_pixelshift_1 = "PixelShift 23 - GB Kiosk 2" gambatte_gb_palette_twb64_1 = "TWB64 040 - DMG Ver." gambatte_gb_palette_twb64_2 = "TWB64 200 - TOKYO SKYTREE CLOUDY BLUE" -gambatte_gbc_color_correction = "always" +gambatte_gbc_color_correction = "disabled" gambatte_gbc_color_correction_mode = "accurate" gambatte_gbc_frontlight_position = "central" gambatte_mix_frames = "mix" diff --git a/static/configs/Saves/CurrentProfile/config/MAME 2003-Plus/MAME 2003-Plus.cfg b/static/configs/Saves/CurrentProfile/config/MAME 2003-Plus/MAME 2003-Plus.cfg index 5cac0365d..9f49fad50 100644 --- a/static/configs/Saves/CurrentProfile/config/MAME 2003-Plus/MAME 2003-Plus.cfg +++ b/static/configs/Saves/CurrentProfile/config/MAME 2003-Plus/MAME 2003-Plus.cfg @@ -1,3 +1,3 @@ savestate_auto_load = "false" -savestate_auto_save = "false" -video_dingux_ipu_keep_aspect = "true" +savestate_auto_save = "true" +video_dingux_ipu_keep_aspect = "true" \ No newline at end of file diff --git a/static/configs/Saves/CurrentProfile/config/PCSX-ReARMed/PCSX-ReARMed.cfg b/static/configs/Saves/CurrentProfile/config/PCSX-ReARMed/PCSX-ReARMed.cfg index 5df04f3e4..df83c1565 100644 --- a/static/configs/Saves/CurrentProfile/config/PCSX-ReARMed/PCSX-ReARMed.cfg +++ b/static/configs/Saves/CurrentProfile/config/PCSX-ReARMed/PCSX-ReARMed.cfg @@ -1,2 +1,3 @@ +audio_driver = "sdl" audio_latency = "64" video_dingux_ipu_keep_aspect = "false" diff --git a/static/configs/Saves/CurrentProfile/config/PCSX-ReARMed/PCSX-ReARMed.opt b/static/configs/Saves/CurrentProfile/config/PCSX-ReARMed/PCSX-ReARMed.opt index f7c573d5c..916f6004c 100644 --- a/static/configs/Saves/CurrentProfile/config/PCSX-ReARMed/PCSX-ReARMed.opt +++ b/static/configs/Saves/CurrentProfile/config/PCSX-ReARMed/PCSX-ReARMed.opt @@ -2,9 +2,9 @@ pcsx_rearmed_analog_axis_modifier = "circle" pcsx_rearmed_async_cd = "sync" pcsx_rearmed_bios = "auto" pcsx_rearmed_display_internal_fps = "disabled" -pcsx_rearmed_dithering = "enabled" +pcsx_rearmed_dithering = "disabled" pcsx_rearmed_drc = "enabled" -pcsx_rearmed_duping_enable = "enabled" +pcsx_rearmed_duping_enable = "disabled" pcsx_rearmed_frameskip = "0" pcsx_rearmed_gteregsunneeded = "disabled" pcsx_rearmed_gunconadjustratiox = "1" @@ -34,10 +34,11 @@ pcsx_rearmed_pad6type = "none" pcsx_rearmed_pad7type = "none" pcsx_rearmed_pad8type = "none" pcsx_rearmed_pe2_fix = "disabled" -pcsx_rearmed_psxclock = "57" +pcsx_rearmed_psxclock = "70" pcsx_rearmed_region = "auto" pcsx_rearmed_show_bios_bootlogo = "disabled" -pcsx_rearmed_spu_interpolation = "simple" -pcsx_rearmed_spu_reverb = "enabled" +pcsx_rearmed_show_input_settings = "disabled" +pcsx_rearmed_spu_interpolation = "off" +pcsx_rearmed_spu_reverb = "disabled" pcsx_rearmed_spuirq = "disabled" pcsx_rearmed_vibration = "enabled" diff --git a/static/configs/Saves/CurrentProfile/config/fake-08/fake-08.cfg b/static/configs/Saves/CurrentProfile/config/fake-08/fake-08.cfg new file mode 100644 index 000000000..826197946 --- /dev/null +++ b/static/configs/Saves/CurrentProfile/config/fake-08/fake-08.cfg @@ -0,0 +1,5 @@ +audio_resampler_quality = "1" +rewind_buffer_size = "31457280" +rewind_buffer_size_step = "20" +rewind_granularity = "10" +video_vsync = "true" diff --git a/static/configs/Saves/CurrentProfile/config/mGBA/mGBA.cfg b/static/configs/Saves/CurrentProfile/config/mGBA/mGBA.cfg index e70146422..8d3ad9fdc 100644 --- a/static/configs/Saves/CurrentProfile/config/mGBA/mGBA.cfg +++ b/static/configs/Saves/CurrentProfile/config/mGBA/mGBA.cfg @@ -1 +1,3 @@ video_dingux_ipu_keep_aspect = "true" +audio_driver = "sdl" +fastforward_frameskip = "true" \ No newline at end of file diff --git a/static/configs/Saves/CurrentProfile/config/mGBA/mGBA.opt b/static/configs/Saves/CurrentProfile/config/mGBA/mGBA.opt index 279c64dde..0b52ac1a3 100644 --- a/static/configs/Saves/CurrentProfile/config/mGBA/mGBA.opt +++ b/static/configs/Saves/CurrentProfile/config/mGBA/mGBA.opt @@ -1,8 +1,8 @@ mgba_allow_opposing_directions = "no" mgba_audio_low_pass_filter = "disabled" mgba_audio_low_pass_range = "60" -mgba_color_correction = "OFF" -mgba_force_gbp = "OFF" +mgba_color_correction = "GBA" +mgba_force_gbp = "ON" mgba_frameskip = "disabled" mgba_frameskip_interval = "0" mgba_frameskip_threshold = "33" diff --git a/static/configs/Saves/CurrentProfile/config/remaps/scummvm/Grim Fandango (Windows English).rmp b/static/configs/Saves/CurrentProfile/config/remaps/scummvm/Grim Fandango (Windows English).rmp new file mode 100644 index 000000000..3eb6756da --- /dev/null +++ b/static/configs/Saves/CurrentProfile/config/remaps/scummvm/Grim Fandango (Windows English).rmp @@ -0,0 +1,14 @@ +input_libretro_device_p1 = "5" +input_player1_analog_dpad_mode = "0" +input_player1_btn_down = "15" +input_player1_btn_l = "3" +input_player1_btn_l3 = "-1" +input_player1_btn_left = "21" +input_player1_btn_r2 = "-1" +input_player1_btn_r3 = "-1" +input_player1_btn_right = "20" +input_player1_btn_select = "9" +input_player1_btn_start = "10" +input_player1_btn_up = "14" +input_player1_btn_x = "2" +input_remap_port_p1 = "0" diff --git a/static/dist/BIOS/capsimg.so b/static/dist/BIOS/capsimg.so new file mode 100644 index 000000000..afaa95ada Binary files /dev/null and b/static/dist/BIOS/capsimg.so differ diff --git a/static/dist/BIOS/scummvm.ini b/static/dist/BIOS/scummvm.ini index 82b393383..89f108a2f 100644 --- a/static/dist/BIOS/scummvm.ini +++ b/static/dist/BIOS/scummvm.ini @@ -1,27 +1,31 @@ [scummvm] +gui_browser_native=false filtering=false -autosave_period=300 +opl_driver=auto mute=false -speech_volume=192 +gui_theme=scummmodern native_mt32=false mt32_device=null +speech_volume=192 talkspeed=100 midi_gain=100 extrapath=/mnt/SDCARD/BIOS/scummvm/extra subtitles=true +discord_rpc=false multi_midi=false fullscreen=true +updates_check=0 +temp_selection= gui_browser_show_hidden=false -browser_lastpath=/mnt/SDCARD/BIOS/scummvm/extra +browser_lastpath=/mnt/SDCARD/Roms/SCUMMVM/Games gm_device=null themepath=/mnt/SDCARD/BIOS/scummvm/theme sfx_volume=192 music_volume=192 speech_mute=false +lastselectedgame= music_driver=auto -opl_driver=auto aspect_ratio=false -versioninfo=2.1.1 -gui_theme=scummmodern +versioninfo=2.7.0git +autosave_period=300 enable_gs=false - diff --git a/static/dist/BIOS/scummvm/extra/access.dat b/static/dist/BIOS/scummvm/extra/access.dat index ee67f607e..c0abfce6d 100644 Binary files a/static/dist/BIOS/scummvm/extra/access.dat and b/static/dist/BIOS/scummvm/extra/access.dat differ diff --git a/static/dist/BIOS/scummvm/extra/encoding.dat b/static/dist/BIOS/scummvm/extra/encoding.dat index 3e3f92cfd..47646bc5a 100644 Binary files a/static/dist/BIOS/scummvm/extra/encoding.dat and b/static/dist/BIOS/scummvm/extra/encoding.dat differ diff --git a/static/dist/BIOS/scummvm/extra/grim-patch.lab b/static/dist/BIOS/scummvm/extra/grim-patch.lab new file mode 100644 index 000000000..b47477b90 Binary files /dev/null and b/static/dist/BIOS/scummvm/extra/grim-patch.lab differ diff --git a/static/dist/BIOS/scummvm/extra/hadesch_translations.dat b/static/dist/BIOS/scummvm/extra/hadesch_translations.dat new file mode 100644 index 000000000..775f336dd Binary files /dev/null and b/static/dist/BIOS/scummvm/extra/hadesch_translations.dat differ diff --git a/static/dist/BIOS/scummvm/extra/kyra.dat b/static/dist/BIOS/scummvm/extra/kyra.dat index e13929055..f7ac096c3 100644 Binary files a/static/dist/BIOS/scummvm/extra/kyra.dat and b/static/dist/BIOS/scummvm/extra/kyra.dat differ diff --git a/static/dist/BIOS/scummvm/extra/macventure.dat b/static/dist/BIOS/scummvm/extra/macventure.dat index c600a615a..014f14f22 100644 Binary files a/static/dist/BIOS/scummvm/extra/macventure.dat and b/static/dist/BIOS/scummvm/extra/macventure.dat differ diff --git a/static/dist/BIOS/scummvm/extra/monkey4-patch.m4b b/static/dist/BIOS/scummvm/extra/monkey4-patch.m4b new file mode 100644 index 000000000..6c8e43117 Binary files /dev/null and b/static/dist/BIOS/scummvm/extra/monkey4-patch.m4b differ diff --git a/static/dist/BIOS/scummvm/extra/myst3.dat b/static/dist/BIOS/scummvm/extra/myst3.dat new file mode 100644 index 000000000..ebffb5cc0 Binary files /dev/null and b/static/dist/BIOS/scummvm/extra/myst3.dat differ diff --git a/static/dist/BIOS/scummvm/extra/supernova.dat b/static/dist/BIOS/scummvm/extra/supernova.dat index 74f0b66db..037ae4b3b 100644 Binary files a/static/dist/BIOS/scummvm/extra/supernova.dat and b/static/dist/BIOS/scummvm/extra/supernova.dat differ diff --git a/static/dist/BIOS/scummvm/extra/ultima.dat b/static/dist/BIOS/scummvm/extra/ultima.dat index 1b18ac3f0..7e861baf4 100644 Binary files a/static/dist/BIOS/scummvm/extra/ultima.dat and b/static/dist/BIOS/scummvm/extra/ultima.dat differ diff --git a/static/dist/BIOS/scummvm/extra/xeen.ccs b/static/dist/BIOS/scummvm/extra/xeen.ccs index ca916053c..7486b9521 100644 Binary files a/static/dist/BIOS/scummvm/extra/xeen.ccs and b/static/dist/BIOS/scummvm/extra/xeen.ccs differ diff --git a/static/dist/BIOS/scummvm/theme/residualvm.zip b/static/dist/BIOS/scummvm/theme/residualvm.zip index c713f6777..23ac149d4 100644 Binary files a/static/dist/BIOS/scummvm/theme/residualvm.zip and b/static/dist/BIOS/scummvm/theme/residualvm.zip differ diff --git a/static/dist/BIOS/scummvm/theme/scummmodern.zip b/static/dist/BIOS/scummvm/theme/scummmodern.zip index b5dee0a6d..ef7023cab 100644 Binary files a/static/dist/BIOS/scummvm/theme/scummmodern.zip and b/static/dist/BIOS/scummvm/theme/scummmodern.zip differ diff --git a/static/dist/BIOS/scummvm/theme/scummremastered.zip b/static/dist/BIOS/scummvm/theme/scummremastered.zip index e4e09ab9a..65be13ef0 100644 Binary files a/static/dist/BIOS/scummvm/theme/scummremastered.zip and b/static/dist/BIOS/scummvm/theme/scummremastered.zip differ diff --git a/static/dist/Icons/app/ffplay.png b/static/dist/Icons/app/ffplay.png new file mode 100644 index 000000000..2b7b8a2ef Binary files /dev/null and b/static/dist/Icons/app/ffplay.png differ diff --git a/static/dist/Icons/app/pdf.png b/static/dist/Icons/app/pdf.png new file mode 100644 index 000000000..43f40c798 Binary files /dev/null and b/static/dist/Icons/app/pdf.png differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/PdfSelector.sh b/static/packages/App/PDF Reader (green)/App/Green/PdfSelector.sh new file mode 100644 index 000000000..cb77a1af0 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/PdfSelector.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +SelectedPDF=$( (ls /mnt/SDCARD/Media/PDF) | awk '!/^-/ && !/==/' | "/mnt/SDCARD/App/Green/shellect.sh" -t "PDF Selector" -b "Press A to read, Start to exit.") + + +if [ ! "$SelectedPDF" = " LastRead.pls" ]; then + echo /mnt/SDCARD/Media/PDF/${SelectedPDF}>"/mnt/SDCARD/Media/PDF/ LastRead.pls" +fi + + + + + + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-autohint.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-autohint.conf new file mode 100644 index 000000000..50ec3b44e --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-autohint.conf @@ -0,0 +1,19 @@ + + + + + + + + Enable autohinter + + + + true + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-full.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-full.conf new file mode 100644 index 000000000..aff797661 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-full.conf @@ -0,0 +1,19 @@ + + + + + + + + Set hintfull to hintstyle + + + + hintfull + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-medium.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-medium.conf new file mode 100644 index 000000000..1d49f3a8c --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-medium.conf @@ -0,0 +1,19 @@ + + + + + + + + Set hintmedium to hintstyle + + + + hintmedium + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-none.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-none.conf new file mode 100644 index 000000000..a134ed8dd --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-none.conf @@ -0,0 +1,19 @@ + + + + + + + + Set hintnone to hintstyle + + + + hintnone + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-slight.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-slight.conf new file mode 100644 index 000000000..f00bcd395 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-hinting-slight.conf @@ -0,0 +1,19 @@ + + + + + + + + Set hintslight to hintstyle + + + + hintslight + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-no-sub-pixel.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-no-sub-pixel.conf new file mode 100644 index 000000000..4fd1776df --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-no-sub-pixel.conf @@ -0,0 +1,19 @@ + + + + + + + + Disable sub-pixel rendering + + + + none + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-scale-bitmap-fonts.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-scale-bitmap-fonts.conf new file mode 100644 index 000000000..ebb6c7b5e --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-scale-bitmap-fonts.conf @@ -0,0 +1,87 @@ + + + + + + + + Bitmap scaling + + + + false + + + + pixelsize + pixelsize + + + + + + + false + + + false + + + true + + + + + pixelsizefixupfactor + 1.2 + + + pixelsizefixupfactor + 0.8 + + + + + + + true + + + 1.0 + + + + + + false + + + 1.0 + + + + matrix + + pixelsizefixupfactor 0 + 0 pixelsizefixupfactor + + + + + + size + pixelsizefixupfactor + + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-bgr.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-bgr.conf new file mode 100644 index 000000000..241e589d8 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-bgr.conf @@ -0,0 +1,19 @@ + + + + + + + + Enable sub-pixel rendering with the BGR stripes layout + + + + bgr + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-rgb.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-rgb.conf new file mode 100644 index 000000000..1cb103db7 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-rgb.conf @@ -0,0 +1,19 @@ + + + + + + + + Enable sub-pixel rendering with the RGB stripes layout + + + + rgb + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-vbgr.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-vbgr.conf new file mode 100644 index 000000000..1a0690af4 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-vbgr.conf @@ -0,0 +1,19 @@ + + + + + + + + Enable sub-pixel rendering with the vertical BGR stripes layout + + + + vbgr + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-vrgb.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-vrgb.conf new file mode 100644 index 000000000..61bc66325 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-sub-pixel-vrgb.conf @@ -0,0 +1,19 @@ + + + + + + + + Enable sub-pixel rendering with the vertical RGB stripes layout + + + + vrgb + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-unhinted.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-unhinted.conf new file mode 100644 index 000000000..f92df0c67 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/10-unhinted.conf @@ -0,0 +1,19 @@ + + + + + + + + Disable hinting + + + + false + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/11-lcdfilter-default.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/11-lcdfilter-default.conf new file mode 100644 index 000000000..929caaa20 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/11-lcdfilter-default.conf @@ -0,0 +1,21 @@ + + + + + + + + Use lcddefault as default for LCD filter + + + + + lcddefault + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/11-lcdfilter-legacy.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/11-lcdfilter-legacy.conf new file mode 100644 index 000000000..25c363510 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/11-lcdfilter-legacy.conf @@ -0,0 +1,21 @@ + + + + + + + + Use lcdlegacy as default for LCD filter + + + + + lcdlegacy + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/11-lcdfilter-light.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/11-lcdfilter-light.conf new file mode 100644 index 000000000..6f1eb3deb --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/11-lcdfilter-light.conf @@ -0,0 +1,21 @@ + + + + + + + + Use lcdlight as default for LCD filter + + + + + lcdlight + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-lgc-sans-mono.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-lgc-sans-mono.conf new file mode 100644 index 000000000..9036e83ec --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-lgc-sans-mono.conf @@ -0,0 +1,26 @@ + + + + + + + DejaVu LGC Sans Mono + + + 7.5 + + + false + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-lgc-sans.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-lgc-sans.conf new file mode 100644 index 000000000..35abebd50 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-lgc-sans.conf @@ -0,0 +1,26 @@ + + + + + + + DejaVu LGC Sans + + + 7.5 + + + false + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-lgc-serif.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-lgc-serif.conf new file mode 100644 index 000000000..54486e878 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-lgc-serif.conf @@ -0,0 +1,26 @@ + + + + + + + DejaVu LGC Serif + + + 7.5 + + + false + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-sans-mono.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-sans-mono.conf new file mode 100644 index 000000000..102dbcc4a --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-sans-mono.conf @@ -0,0 +1,26 @@ + + + + + + + DejaVu Sans Mono + + + 7.5 + + + false + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-sans.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-sans.conf new file mode 100644 index 000000000..ee69996dc --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-sans.conf @@ -0,0 +1,26 @@ + + + + + + + DejaVu Sans + + + 7.5 + + + false + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-serif.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-serif.conf new file mode 100644 index 000000000..cf6caa2cd --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-dejavu-serif.conf @@ -0,0 +1,26 @@ + + + + + + + DejaVu Serif + + + 7.5 + + + false + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-vera.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-vera.conf new file mode 100644 index 000000000..7b3d7bdf8 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/20-unhint-small-vera.conf @@ -0,0 +1,53 @@ + + + + + + + + Disable hinting for Bitstream Vera fonts when the size is less than 8ppem + + + + + Bitstream Vera Sans + + + 7.5 + + + false + + + + + + Bitstream Vera Serif + + + 7.5 + + + false + + + + + + Bitstream Vera Sans Mono + + + 7.5 + + + false + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-arphic-uming-bitmaps.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-arphic-uming-bitmaps.conf new file mode 100644 index 000000000..93d96c2ed --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-arphic-uming-bitmaps.conf @@ -0,0 +1,69 @@ + + + + + + + AR PL UMing CN + + false + true + false + + + + AR PL UMing HK + + false + true + false + + + + AR PL UMing TW + + false + true + false + + + + AR PL UMing TW MBE + + false + true + false + + + + AR PL UMing CN + + 17 + true + true + + + + AR PL UMing HK + + 17 + true + true + + + + AR PL UMing TW + + 17 + true + true + + + + AR PL UMing TW MBE + + 17 + true + true + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-arphic-uming-render.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-arphic-uming-render.conf new file mode 100644 index 000000000..f962c4455 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-arphic-uming-render.conf @@ -0,0 +1,12 @@ + + + + + + AR PL UMing + + false + 90 + false + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-unhint-nonlatin.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-unhint-nonlatin.conf new file mode 100644 index 000000000..78cc7a3c7 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-unhint-nonlatin.conf @@ -0,0 +1,132 @@ + + + + + + + + Disable hinting for CJK fonts + + + + + Kochi Mincho + + + false + + + + + Kochi Gothic + + + false + + + + + Sazanami Mincho + + + false + + + + + Sazanami Gothic + + + false + + + + + Baekmuk Batang + + + false + + + + + Baekmuk Dotum + + + false + + + + + Baekmuk Gulim + + + false + + + + + Baekmuk Headline + + + false + + + + + AR PL Mingti2L Big5 + + + false + + + + + AR PL ShanHeiSun Uni + + + false + + + + + AR PL KaitiM Big5 + + + false + + + + + AR PL ZenKai Uni + + + false + + + + + AR PL SungtiL GB + + + false + + + + + AR PL KaitiM GB + + + false + + + + + ZYSong18030 + + + false + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-wqy-zenhei.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-wqy-zenhei.conf new file mode 100644 index 000000000..aaf333602 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/25-wqy-zenhei.conf @@ -0,0 +1,20 @@ + + + + + + + + WenQuanYi Zen Hei + + false + 0 + true + true + hintnone + false + false + none + false + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-0-google-crosextra-carlito-fontconfig.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-0-google-crosextra-carlito-fontconfig.conf new file mode 100644 index 000000000..a613cd8d7 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-0-google-crosextra-carlito-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + + Calibri + + Carlito + + + + Carlito + + Calibri + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-droid-noto-mono.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-droid-noto-mono.conf new file mode 100644 index 000000000..690a67ec2 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-droid-noto-mono.conf @@ -0,0 +1,10 @@ + + + + + Droid Mono + + Noto Mono + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-droid-noto.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-droid-noto.conf new file mode 100644 index 000000000..04703bed7 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-droid-noto.conf @@ -0,0 +1,16 @@ + + + + + Droid Sans + + Noto Sans + + + + Droid Serif + + Noto Serif + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-metric-aliases.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-metric-aliases.conf new file mode 100644 index 000000000..147fde6b1 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-metric-aliases.conf @@ -0,0 +1,634 @@ + + + + + + + + Set substitutions for similar/metric-compatible families + + + + + + + + Nimbus Sans L + + Helvetica + + + + + Nimbus Sans + + Helvetica + + + + + TeX Gyre Heros + + Helvetica + + + + + Nimbus Sans Narrow + + Helvetica Narrow + + + + + TeX Gyre Heros Cn + + Helvetica Narrow + + + + + Nimbus Roman No9 L + + Times + + + + + Nimbus Roman + + Times + + + + + TeX Gyre Termes + + Times + + + + + Nimbus Mono L + + Courier + + + + + Nimbus Mono + + Courier + + + + + Nimbus Mono PS + + Courier + + + + + TeX Gyre Cursor + + Courier + + + + + Avant Garde + + ITC Avant Garde Gothic + + + + + URW Gothic L + + ITC Avant Garde Gothic + + + + + URW Gothic + + ITC Avant Garde Gothic + + + + + TeX Gyre Adventor + + ITC Avant Garde Gothic + + + + + Bookman + + ITC Bookman + + + + + URW Bookman L + + ITC Bookman + + + + + Bookman URW + + ITC Bookman + + + + + URW Bookman + + ITC Bookman + + + + + TeX Gyre Bonum + + ITC Bookman + + + + + Bookman Old Style + + ITC Bookman + + + + + Zapf Chancery + + ITC Zapf Chancery + + + + + URW Chancery L + + ITC Zapf Chancery + + + + + Chancery URW + + ITC Zapf Chancery + + + + + Z003 + + ITC Zapf Chancery + + + + + TeX Gyre Chorus + + ITC Zapf Chancery + + + + + URW Palladio L + + Palatino + + + + + Palladio URW + + Palatino + + + + + P052 + + Palatino + + + + + TeX Gyre Pagella + + Palatino + + + + + Palatino Linotype + + Palatino + + + + + Century Schoolbook L + + New Century Schoolbook + + + + + Century SchoolBook URW + + New Century Schoolbook + + + + + C059 + + New Century Schoolbook + + + + + TeX Gyre Schola + + New Century Schoolbook + + + + + Century Schoolbook + + New Century Schoolbook + + + + + + Arimo + + Arial + + + + + Liberation Sans + + Arial + + + + + Liberation Sans Narrow + + Arial Narrow + + + + + Albany + + Arial + + + + + Albany AMT + + Arial + + + + + Tinos + + Times New Roman + + + + + Liberation Serif + + Times New Roman + + + + + Thorndale + + Times New Roman + + + + + Thorndale AMT + + Times New Roman + + + + + Cousine + + Courier New + + + + + Liberation Mono + + Courier New + + + + + Cumberland + + Courier New + + + + + Cumberland AMT + + Courier New + + + + + Gelasio + + Georgia + + + + + Caladea + + Cambria + + + + + Carlito + + Calibri + + + + + SymbolNeu + + Symbol + + + + + + + + Helvetica + + Arial + + + + + Helvetica Narrow + + Arial Narrow + + + + + Times + + Times New Roman + + + + + Courier + + Courier New + + + + + + Arial + + Helvetica + + + + + Arial Narrow + + Helvetica Narrow + + + + + Times New Roman + + Times + + + + + Courier New + + Courier + + + + + + + + Helvetica + + TeX Gyre Heros + + + + + Helvetica Narrow + + TeX Gyre Heros Cn + + + + + Times + + TeX Gyre Termes + + + + + Courier + + TeX Gyre Cursor + + + + + ITC Avant Garde Gothic + + TeX Gyre Adventor + + + + + ITC Bookman + + Bookman Old Style + TeX Gyre Bonum + + + + + ITC Zapf Chancery + + TeX Gyre Chorus + + + + + Palatino + + Palatino Linotype + TeX Gyre Pagella + + + + + New Century Schoolbook + + Century Schoolbook + TeX Gyre Schola + + + + + + Arial + + Arimo + Liberation Sans + Albany + Albany AMT + + + + + Arial Narrow + + Liberation Sans Narrow + + + + + Times New Roman + + Tinos + Liberation Serif + Thorndale + Thorndale AMT + + + + + Courier New + + Cousine + Liberation Mono + Cumberland + Cumberland AMT + + + + + Georgia + + Gelasio + + + + + Cambria + + Caladea + + + + + Calibri + + Carlito + + + + + Symbol + + SymbolNeu + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-opensymbol.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-opensymbol.conf new file mode 100644 index 000000000..3831125e7 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/30-opensymbol.conf @@ -0,0 +1,10 @@ + + + + + Symbol + + OpenSymbol + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/35-arphic-uming-aliases.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/35-arphic-uming-aliases.conf new file mode 100644 index 000000000..2d803f708 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/35-arphic-uming-aliases.conf @@ -0,0 +1,13 @@ + + + + + AR PL ShanHeiSun Uni + AR PL UMing HK + + + + AR PL ShanHeiSun Uni MBE + AR PL UMing TW MBE + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/40-nonlatin.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/40-nonlatin.conf new file mode 100644 index 000000000..a70a4ad45 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/40-nonlatin.conf @@ -0,0 +1,244 @@ + + + + + + + + Set substitutions for non-Latin fonts + + + + + Nazli + serif + + + Lotoos + serif + + + Mitra + serif + + + Ferdosi + serif + + + Badr + serif + + + Zar + serif + + + Titr + serif + + + Jadid + serif + + + Kochi Mincho + serif + + + AR PL SungtiL GB + serif + + + AR PL Mingti2L Big5 + serif + + + MS 明朝 + serif + + + NanumMyeongjo + serif + + + UnBatang + serif + + + Baekmuk Batang + serif + + + MgOpen Canonica + serif + + + Sazanami Mincho + serif + + + AR PL ZenKai Uni + serif + + + ZYSong18030 + serif + + + FreeSerif + serif + + + SimSun + serif + + + + Arshia + sans-serif + + + Elham + sans-serif + + + Farnaz + sans-serif + + + Nasim + sans-serif + + + Sina + sans-serif + + + Roya + sans-serif + + + Koodak + sans-serif + + + Terafik + sans-serif + + + Kochi Gothic + sans-serif + + + AR PL KaitiM GB + sans-serif + + + AR PL KaitiM Big5 + sans-serif + + + MS ゴシック + sans-serif + + + NanumGothic + sans-serif + + + UnDotum + sans-serif + + + Baekmuk Dotum + sans-serif + + + MgOpen Moderna + sans-serif + + + MgOpen Modata + sans-serif + + + MgOpen Cosmetica + sans-serif + + + Sazanami Gothic + sans-serif + + + AR PL ShanHeiSun Uni + sans-serif + + + ZYSong18030 + sans-serif + + + FreeSans + sans-serif + + + + NSimSun + monospace + + + ZYSong18030 + monospace + + + NanumGothicCoding + monospace + + + FreeMono + monospace + + + + + Homa + fantasy + + + Kamran + fantasy + + + Fantezi + fantasy + + + Tabassom + fantasy + + + + + IranNastaliq + cursive + + + Nafees Nastaleeq + cursive + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/41-arphic-uming.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/41-arphic-uming.conf new file mode 100644 index 000000000..4f91a4d20 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/41-arphic-uming.conf @@ -0,0 +1,59 @@ + + + + + + + AR PL ShanHeiSun Uni + serif + + + AR PL ShanHeiSun Uni MBE + serif + + + AR PL UMing CN + serif + + + AR PL UMing HK + serif + + + AR PL UMing TW + serif + + + AR PL UMing TW MBE + serif + + + + AR PL ShanHeiSun Uni + monospace + + + AR PL ShanHeiSun Uni MBE + monospace + + + AR PL UMing CN + monospace + + + AR PL UMing HK + monospace + + + AR PL UMing TW + monospace + + + AR PL UMing TW MBE + monospace + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/45-generic.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/45-generic.conf new file mode 100644 index 000000000..e8d19789c --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/45-generic.conf @@ -0,0 +1,136 @@ + + + + + + + + Set substitutions for emoji/math fonts + + + + + + + + Noto Color Emoji + emoji + + + Apple Color Emoji + emoji + + + Segoe UI Emoji + emoji + + + Twitter Color Emoji + emoji + + + EmojiOne Mozilla + emoji + + + + Emoji Two + emoji + + + Emoji One + emoji + + + + Noto Emoji + emoji + + + Android Emoji + emoji + + + + + + emoji + + + und-zsye + + + + + + und-zsye + + + emoji + + + + + emoji + + + + + + + + + XITS Math + math + + + STIX Two Math + math + + + Cambria Math + math + + + Latin Modern Math + math + + + Minion Math + math + + + Lucida Math + math + + + Asana Math + math + + + + + + math + + + und-zmth + + + + + + und-zmth + + + math + + + + + math + + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/45-latin.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/45-latin.conf new file mode 100644 index 000000000..a9240b943 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/45-latin.conf @@ -0,0 +1,278 @@ + + + + + + + + Set substitutions for Latin fonts + + + + + Bitstream Vera Serif + serif + + + Cambria + serif + + + Constantia + serif + + + DejaVu Serif + serif + + + Elephant + serif + + + Garamond + serif + + + Georgia + serif + + + Liberation Serif + serif + + + Luxi Serif + serif + + + MS Serif + serif + + + Nimbus Roman No9 L + serif + + + Nimbus Roman + serif + + + Palatino Linotype + serif + + + Thorndale AMT + serif + + + Thorndale + serif + + + Times New Roman + serif + + + Times + serif + + + + Albany AMT + sans-serif + + + Albany + sans-serif + + + Arial Unicode MS + sans-serif + + + Arial + sans-serif + + + Bitstream Vera Sans + sans-serif + + + Britannic + sans-serif + + + Calibri + sans-serif + + + Candara + sans-serif + + + Century Gothic + sans-serif + + + Corbel + sans-serif + + + DejaVu Sans + sans-serif + + + Helvetica + sans-serif + + + Haettenschweiler + sans-serif + + + Liberation Sans + sans-serif + + + MS Sans Serif + sans-serif + + + Nimbus Sans L + sans-serif + + + Nimbus Sans + sans-serif + + + Luxi Sans + sans-serif + + + Tahoma + sans-serif + + + Trebuchet MS + sans-serif + + + Twentieth Century + sans-serif + + + Verdana + sans-serif + + + + Andale Mono + monospace + + + Bitstream Vera Sans Mono + monospace + + + Consolas + monospace + + + Courier New + monospace + + + Courier + monospace + + + Cumberland AMT + monospace + + + Cumberland + monospace + + + DejaVu Sans Mono + monospace + + + Fixedsys + monospace + + + Inconsolata + monospace + + + Liberation Mono + monospace + + + Luxi Mono + monospace + + + Nimbus Mono L + monospace + + + Nimbus Mono + monospace + + + Nimbus Mono PS + monospace + + + Terminal + monospace + + + + Bauhaus Std + fantasy + + + Cooper Std + fantasy + + + Copperplate Gothic Std + fantasy + + + Impact + fantasy + + + + Comic Sans MS + cursive + + + ITC Zapf Chancery Std + cursive + + + Zapfino + cursive + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/49-sansserif.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/49-sansserif.conf new file mode 100644 index 000000000..8b587b00a --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/49-sansserif.conf @@ -0,0 +1,26 @@ + + + + + + + + Add sans-serif to the family when no generic name + + + + sans-serif + + + serif + + + monospace + + + sans-serif + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/50-user.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/50-user.conf new file mode 100644 index 000000000..681ed6da0 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/50-user.conf @@ -0,0 +1,20 @@ + + + + + + + + Load per-user customization files + + fontconfig/conf.d + fontconfig/fonts.conf + + ~/.fonts.conf.d + ~/.fonts.conf + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/51-local.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/51-local.conf new file mode 100644 index 000000000..885c3576c --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/51-local.conf @@ -0,0 +1,11 @@ + + + + + + + + Load local customization file + + local.conf + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/57-dejavu-sans-mono.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/57-dejavu-sans-mono.conf new file mode 100644 index 000000000..cc42561e3 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/57-dejavu-sans-mono.conf @@ -0,0 +1,62 @@ + + + + + + + Bepa Mono + + DejaVu Sans Mono + + + + Bitstream Prima Sans Mono + + DejaVu Sans Mono + + + + Bitstream Vera Sans Mono + + DejaVu Sans Mono + + + + DejaVu LGC Sans Mono + + DejaVu Sans Mono + + + + Olwen Sans Mono + + DejaVu Sans Mono + + + + SUSE Sans Mono + + DejaVu Sans Mono + + + + + DejaVu Sans Mono + + monospace + + + + + monospace + + DejaVu Sans Mono + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/57-dejavu-sans.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/57-dejavu-sans.conf new file mode 100644 index 000000000..565cab5fc --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/57-dejavu-sans.conf @@ -0,0 +1,87 @@ + + + + + + + Arev Sans + + DejaVu Sans + + + + Bepa + + DejaVu Sans + + + + Bitstream Prima Sans + + DejaVu Sans + + + + Bitstream Vera Sans + + DejaVu Sans + + + + DejaVu LGC Sans + + DejaVu Sans + + + + Hunky Sans + + DejaVu Sans + + + + Olwen Sans + + DejaVu Sans + + + + SUSE Sans + + DejaVu Sans + + + + Verajja + + DejaVu Sans + + + + + VerajjaPDA + + DejaVu Sans + + + + + DejaVu Sans + + sans-serif + + + + + sans-serif + + DejaVu Sans + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/57-dejavu-serif.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/57-dejavu-serif.conf new file mode 100644 index 000000000..a922e9b2d --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/57-dejavu-serif.conf @@ -0,0 +1,69 @@ + + + + + + + Bitstream Prima Serif + + DejaVu Serif + + + + Bitstream Vera Serif + + DejaVu Serif + + + + DejaVu LGC Serif + + DejaVu Serif + + + + Hunky Serif + + DejaVu Serif + + + + Olwen Serif + + DejaVu Serif + + + + SUSE Serif + + DejaVu Serif + + + + + Verajja Serif + + DejaVu Serif + + + + + DejaVu Serif + + serif + + + + + serif + + DejaVu Serif + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/58-dejavu-lgc-sans-mono.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/58-dejavu-lgc-sans-mono.conf new file mode 100644 index 000000000..9d0a8b266 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/58-dejavu-lgc-sans-mono.conf @@ -0,0 +1,62 @@ + + + + + + + Bepa Mono + + DejaVu LGC Sans Mono + + + + Bitstream Prima Sans Mono + + DejaVu LGC Sans Mono + + + + Bitstream Vera Sans Mono + + DejaVu LGC Sans Mono + + + + DejaVu Sans Mono + + DejaVu LGC Sans Mono + + + + Olwen Sans Mono + + DejaVu LGC Sans Mono + + + + SUSE Sans Mono + + DejaVu LGC Sans Mono + + + + + DejaVu LGC Sans Mono + + monospace + + + + + monospace + + DejaVu LGC Sans Mono + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/58-dejavu-lgc-sans.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/58-dejavu-lgc-sans.conf new file mode 100644 index 000000000..decd2a318 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/58-dejavu-lgc-sans.conf @@ -0,0 +1,87 @@ + + + + + + + Arev Sans + + DejaVu LGC Sans + + + + Bepa + + DejaVu LGC Sans + + + + Bitstream Prima Sans + + DejaVu LGC Sans + + + + Bitstream Vera Sans + + DejaVu LGC Sans + + + + DejaVu Sans + + DejaVu LGC Sans + + + + Hunky Sans + + DejaVu LGC Sans + + + + Olwen Sans + + DejaVu LGC Sans + + + + SUSE Sans + + DejaVu LGC Sans + + + + Verajja + + DejaVu LGC Sans + + + + + VerajjaPDA + + DejaVu LGC Sans + + + + + DejaVu LGC Sans + + sans-serif + + + + + sans-serif + + DejaVu LGC Sans + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/58-dejavu-lgc-serif.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/58-dejavu-lgc-serif.conf new file mode 100644 index 000000000..01045e84f --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/58-dejavu-lgc-serif.conf @@ -0,0 +1,69 @@ + + + + + + + Bitstream Prima Serif + + DejaVu LGC Serif + + + + Bitstream Vera Serif + + DejaVu LGC Serif + + + + DejaVu Serif + + DejaVu LGC Serif + + + + Hunky Serif + + DejaVu LGC Serif + + + + Olwen Serif + + DejaVu LGC Serif + + + + SUSE Serif + + DejaVu LGC Serif + + + + + Verajja Serif + + DejaVu LGC Serif + + + + + DejaVu LGC Serif + + serif + + + + + serif + + DejaVu LGC Serif + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/60-generic.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/60-generic.conf new file mode 100644 index 000000000..be7b52b3a --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/60-generic.conf @@ -0,0 +1,67 @@ + + + + + + + + Set preferable fonts for emoji/math fonts + + + + + + + + und-zsye + + + true + + + false + + + true + + + + + + emoji + + + Noto Color Emoji + Apple Color Emoji + Segoe UI Emoji + Twitter Color Emoji + EmojiOne Mozilla + + Emoji Two + Emoji One + + Noto Emoji + Android Emoji + + + + + + + math + + XITS Math + STIX Two Math + Cambria Math + Latin Modern Math + Minion Math + Lucida Math + Asana Math + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/60-latin.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/60-latin.conf new file mode 100644 index 000000000..5be5d6a0f --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/60-latin.conf @@ -0,0 +1,79 @@ + + + + + + + + Set preferable fonts for Latin + + serif + + Bitstream Vera Serif + DejaVu Serif + Times New Roman + Thorndale AMT + Luxi Serif + Nimbus Roman No9 L + Nimbus Roman + Times + + + + sans-serif + + Bitstream Vera Sans + DejaVu Sans + Verdana + Arial + Albany AMT + Luxi Sans + Nimbus Sans L + Nimbus Sans + Helvetica + Lucida Sans Unicode + BPG Glaho International + Tahoma + + + + monospace + + Bitstream Vera Sans Mono + DejaVu Sans Mono + Inconsolata + Andale Mono + Courier New + Cumberland AMT + Luxi Mono + Nimbus Mono L + Nimbus Mono + Nimbus Mono PS + Courier + + + + + fantasy + + Impact + Copperplate Gothic Std + Cooper Std + Bauhaus Std + + + + + cursive + + ITC Zapf Chancery Std + Zapfino + Comic Sans MS + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/62-google-crosextra-carlito-fontconfig.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/62-google-crosextra-carlito-fontconfig.conf new file mode 100644 index 000000000..dd57ff4e7 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/62-google-crosextra-carlito-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + sans-serif + + Carlito + + + + Carlito + + sans-serif + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/63-wqy-zenhei-sharp.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/63-wqy-zenhei-sharp.conf new file mode 100644 index 000000000..121be6e60 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/63-wqy-zenhei-sharp.conf @@ -0,0 +1,17 @@ + + + + + + serif + + WenQuanYi Zen Hei Sharp + + + + sans-serif + + WenQuanYi Zen Hei Sharp + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/64-arphic-uming.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/64-arphic-uming.conf new file mode 100644 index 000000000..b20b2ad52 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/64-arphic-uming.conf @@ -0,0 +1,124 @@ + + + + + + zh-cn + + + serif + + + AR PL UMing CN + + + + + + zh-sg + + + serif + + + AR PL UMing CN + + + + + + zh-cn + + + AR PL UMing CN + + + DejaVu Serif + + + + + + zh-sg + + + AR PL UMing CN + + + DejaVu Serif + + + + + + zh-hk + + + serif + + + AR PL UMing HK + + + + + + zh-mo + + + serif + + + AR PL UMing HK + + + + + + zh-hk + + + AR PL UMing HK + + + DejaVu Serif + + + + + + zh-mo + + + AR PL UMing HK + + + DejaVu Serif + + + + + + zh-tw + + + serif + + + AR PL UMing TW + + + + + + zh-tw + + + AR PL UMing TW + + + DejaVu Serif + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/64-wqy-zenhei.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/64-wqy-zenhei.conf new file mode 100644 index 000000000..5d004e4d8 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/64-wqy-zenhei.conf @@ -0,0 +1,24 @@ + + + + + + + serif + + WenQuanYi Zen Hei + + + + sans-serif + + WenQuanYi Zen Hei + + + + monospace + + WenQuanYi Zen Hei Mono + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-droid-sans-fallback.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-droid-sans-fallback.conf new file mode 100644 index 000000000..045808b44 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-droid-sans-fallback.conf @@ -0,0 +1,10 @@ + + + + + sans-serif + + Droid Sans Fallback + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-fonts-persian.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-fonts-persian.conf new file mode 100644 index 000000000..5591486ee --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-fonts-persian.conf @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + Nesf + Nesf2 + + + Nesf2 + Persian_sansserif_default + + + + + + Nazanin + Nazli + + + Lotus + Lotoos + + + Yaqut + Yaghoot + + + Yaghut + Yaghoot + + + Traffic + Terafik + + + Ferdowsi + Ferdosi + + + Fantezy + Fantezi + + + + + + + + Jadid + Persian_title + + + Titr + Persian_title + + + + + Kamran + + Persian_fantasy + Homa + + + + Homa + + Persian_fantasy + Kamran + + + + Fantezi + Persian_fantasy + + + Tabassom + Persian_fantasy + + + + + Arshia + Persian_square + + + Nasim + Persian_square + + + Elham + + Persian_square + Farnaz + + + + Farnaz + + Persian_square + Elham + + + + Sina + Persian_square + + + + + + + Persian_title + + Titr + Jadid + Persian_serif + + + + + + Persian_fantasy + + Homa + Kamran + Fantezi + Tabassom + Persian_square + + + + + + Persian_square + + Arshia + Elham + Farnaz + Nasim + Sina + Persian_serif + + + + + + + + Elham + + + farsiweb + + + + + + Homa + + + farsiweb + + + + + + Koodak + + + farsiweb + + + + + + Nazli + + + farsiweb + + + + + + Roya + + + farsiweb + + + + + + Terafik + + + farsiweb + + + + + + Titr + + + farsiweb + + + + + + + + + + TURNED-OFF + + + farsiweb + + + + roman + + + + roman + + + + + matrix + 1-0.2 + 01 + + + + + + oblique + + + + + + + + + farsiweb + + + false + + + false + + + false + + + + + + + + + serif + + Nazli + Lotoos + Mitra + Ferdosi + Badr + Zar + + + + + + sans-serif + + Roya + Koodak + Terafik + + + + + + monospace + + + Terafik + + + + + + fantasy + + Homa + Kamran + Fantezi + Tabassom + + + + + + cursive + + IranNastaliq + Nafees Nastaleeq + + + + + + + + + serif + + + 200 + + + 24 + + + Titr + + + + + + + sans-serif + + + 200 + + + 24 + + + Titr + + + + + + + Persian_sansserif_default + + + 200 + + + 24 + + + Titr + + + + + + + + + Persian_sansserif_default + + + Roya + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-khmer.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-khmer.conf new file mode 100644 index 000000000..8985c0deb --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-khmer.conf @@ -0,0 +1,20 @@ + + + + + + + + + serif + + Khmer OS" + + + + sans-serif + + Khmer OS" + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-nonlatin.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-nonlatin.conf new file mode 100644 index 000000000..532218ce8 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/65-nonlatin.conf @@ -0,0 +1,197 @@ + + + + + + + + Set preferable fonts for non-Latin + + serif + + Artsounk + BPG UTF8 M + Kinnari + Norasi + Frank Ruehl + Dror + JG LaoTimes + Saysettha Unicode + Pigiarniq + B Davat + B Compset + Kacst-Qr + Urdu Nastaliq Unicode + Raghindi + Mukti Narrow + padmaa + Hapax Berbère + MS Mincho + SimSun + PMingLiu + WenQuanYi Zen Hei + WenQuanYi Bitmap Song + AR PL ShanHeiSun Uni + AR PL New Sung + ZYSong18030 + HanyiSong + MgOpen Canonica + Sazanami Mincho + IPAMonaMincho + IPAMincho + Kochi Mincho + AR PL SungtiL GB + AR PL Mingti2L Big5 + AR PL Zenkai Uni + MS 明朝 + ZYSong18030 + NanumMyeongjo + UnBatang + Baekmuk Batang + KacstQura + Frank Ruehl CLM + Lohit Bengali + Lohit Gujarati + Lohit Hindi + Lohit Marathi + Lohit Maithili + Lohit Kashmiri + Lohit Konkani + Lohit Nepali + Lohit Sindhi + Lohit Punjabi + Lohit Tamil + Rachana + Lohit Malayalam + Lohit Kannada + Lohit Telugu + Lohit Oriya + LKLUG + + + + sans-serif + + Nachlieli + Lucida Sans Unicode + Yudit Unicode + Kerkis + ArmNet Helvetica + Artsounk + BPG UTF8 M + Waree + Loma + Garuda + Umpush + Saysettha Unicode + JG Lao Old Arial + GF Zemen Unicode + Pigiarniq + B Davat + B Compset + Kacst-Qr + Urdu Nastaliq Unicode + Raghindi + Mukti Narrow + padmaa + Hapax Berbère + MS Gothic + UmePlus P Gothic + Microsoft YaHei + Microsoft JhengHei + WenQuanYi Zen Hei + WenQuanYi Bitmap Song + AR PL ShanHeiSun Uni + AR PL New Sung + MgOpen Moderna + MgOpen Modata + MgOpen Cosmetica + VL Gothic + IPAMonaGothic + IPAGothic + Sazanami Gothic + Kochi Gothic + AR PL KaitiM GB + AR PL KaitiM Big5 + AR PL ShanHeiSun Uni + AR PL SungtiL GB + AR PL Mingti2L Big5 + MS ゴシック + ZYSong18030 + NanumGothic + UnDotum + Baekmuk Dotum + Baekmuk Gulim + KacstQura + Lohit Bengali + Lohit Gujarati + Lohit Hindi + Lohit Marathi + Lohit Maithili + Lohit Kashmiri + Lohit Konkani + Lohit Nepali + Lohit Sindhi + Lohit Punjabi + Lohit Tamil + Meera + Lohit Malayalam + Lohit Kannada + Lohit Telugu + Lohit Oriya + LKLUG + + + + monospace + + Miriam Mono + VL Gothic + IPAMonaGothic + IPAGothic + Sazanami Gothic + Kochi Gothic + AR PL KaitiM GB + MS Gothic + UmePlus Gothic + NSimSun + MingLiu + AR PL ShanHeiSun Uni + AR PL New Sung Mono + HanyiSong + AR PL SungtiL GB + AR PL Mingti2L Big5 + ZYSong18030 + NanumGothicCoding + NanumGothic + UnDotum + Baekmuk Dotum + Baekmuk Gulim + TlwgTypo + TlwgTypist + TlwgTypewriter + TlwgMono + Hasida + Mitra Mono + GF Zemen Unicode + Hapax Berbère + Lohit Bengali + Lohit Gujarati + Lohit Hindi + Lohit Marathi + Lohit Maithili + Lohit Kashmiri + Lohit Konkani + Lohit Nepali + Lohit Sindhi + Lohit Punjabi + Lohit Tamil + Meera + Lohit Malayalam + Lohit Kannada + Lohit Telugu + Lohit Oriya + LKLUG + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/69-unifont.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/69-unifont.conf new file mode 100644 index 000000000..a3586f295 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/69-unifont.conf @@ -0,0 +1,32 @@ + + + + + + + + + serif + + FreeSerif + Code2000 + Code2001 + + + + sans-serif + + FreeSans + Arial Unicode MS + Arial Unicode + Code2000 + Code2001 + + + + monospace + + FreeMono + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-fonts-noto-cjk.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-fonts-noto-cjk.conf new file mode 100644 index 000000000..d95f16744 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-fonts-noto-cjk.conf @@ -0,0 +1,147 @@ + + + + + + ja + + + serif + + + Noto Serif CJK JP + + + + + + ko + + + serif + + + Noto Serif CJK KR + + + + + + zh-cn + + + serif + + + Noto Serif CJK SC + + + + + + zh-tw + + + serif + + + Noto Serif CJK TC + + + + + + ja + + + sans-serif + + + Noto Sans CJK JP + + + + + + ko + + + sans-serif + + + Noto Sans CJK KR + + + + + + zh-cn + + + sans-serif + + + Noto Sans CJK SC + + + + + + zh-tw + + + sans-serif + + + Noto Sans CJK TC + + + + + + ja + + + monospace + + + Noto Sans Mono CJK JP + + + + + + ko + + + monospace + + + Noto Sans Mono CJK KR + + + + + + zh-cn + + + monospace + + + Noto Sans Mono CJK SC + + + + + + zh-tw + + + monospace + + + Noto Sans Mono CJK TC + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-force-bitmaps.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-force-bitmaps.conf new file mode 100644 index 000000000..0c70a5343 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-force-bitmaps.conf @@ -0,0 +1,17 @@ + + + + + + + + Accept bitmap fonts + + + + + false + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-no-bitmaps.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-no-bitmaps.conf new file mode 100644 index 000000000..efb1bc00a --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-no-bitmaps.conf @@ -0,0 +1,17 @@ + + + + + + + + Reject bitmap fonts + + + + + false + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-yes-bitmaps.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-yes-bitmaps.conf new file mode 100644 index 000000000..1e4c10b79 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/70-yes-bitmaps.conf @@ -0,0 +1,3 @@ + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/80-delicious.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/80-delicious.conf new file mode 100644 index 000000000..8cd01f989 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/80-delicious.conf @@ -0,0 +1,23 @@ + + + + + + + + + + + + + Delicious + + + Heavy + + + heavy + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/85-xfonts-wqy-1.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/85-xfonts-wqy-1.conf new file mode 100644 index 000000000..ffd2f0e27 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/85-xfonts-wqy-1.conf @@ -0,0 +1,17 @@ + + + + + + + + + + WenQuanYi Bitmap Song + + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/90-arphic-uming-embolden.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/90-arphic-uming-embolden.conf new file mode 100644 index 000000000..30b19998b --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/90-arphic-uming-embolden.conf @@ -0,0 +1,21 @@ + + + + + + + AR PL UMing + + + + 100 + + + 180 + + + true + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/90-fonts-linux-libertine.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/90-fonts-linux-libertine.conf new file mode 100644 index 000000000..def226f98 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/90-fonts-linux-libertine.conf @@ -0,0 +1,16 @@ + + + + + + + Linux Libertine + Linux Libertine O + + + + Linux Biolinum + Linux Biolinum O + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/90-synthetic.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/90-synthetic.conf new file mode 100644 index 000000000..6b929dd54 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.avail/90-synthetic.conf @@ -0,0 +1,68 @@ + + + + + + + + + + + + + roman + + + + roman + + + + + matrix + 10.2 + 01 + + + + + + oblique + + + + false + + + + + + + + + medium + + + + bold + + + + true + + + + bold + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/conf.d/README b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.d/README new file mode 100644 index 000000000..6a774c5d0 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/conf.d/README @@ -0,0 +1,23 @@ +conf.d/README + +Each file in this directory is a fontconfig configuration file. Fontconfig +scans this directory, loading all files of the form [0-9][0-9]*.conf. +These files are normally installed in /usr/share/fontconfig/conf.avail +and then symlinked here, allowing them to be easily installed and then +enabled/disabled by adjusting the symlinks. + +The files are loaded in numeric order, the structure of the configuration +has led to the following conventions in usage: + + Files begining with: Contain: + + 00 through 09 Font directories + 10 through 19 system rendering defaults (AA, etc) + 20 through 29 font rendering options + 30 through 39 family substitution + 40 through 49 generic identification, map family->generic + 50 through 59 alternate config file loading + 60 through 69 generic aliases, map generic->family + 70 through 79 select font (adjust which fonts are available) + 80 through 89 match target="scan" (modify scanned patterns) + 90 through 99 font synthesis diff --git a/static/packages/App/PDF Reader (green)/App/Green/conf/fonts.conf b/static/packages/App/PDF Reader (green)/App/Green/conf/fonts.conf new file mode 100644 index 000000000..7f45421e1 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/conf/fonts.conf @@ -0,0 +1,107 @@ + + + + + + + + + Default configuration file + + + + + + /mnt/SDCARD/App/green/fonts + fonts + + ~/.fonts + + + + + mono + + + monospace + + + + + + + sans serif + + + sans-serif + + + + + + + sans + + + sans-serif + + + + + + + *.dpkg-tmp + + + + + *.dpkg-new + + + + + conf.d + + + + /mnt/SDCARD/App/green/cache + fontconfig + + ~/.fontconfig + + + + + 30 + + + + diff --git a/static/packages/App/PDF Reader (green)/App/Green/config.json b/static/packages/App/PDF Reader (green)/App/Green/config.json new file mode 100644 index 000000000..07b635d31 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/config.json @@ -0,0 +1,7 @@ +{ +"label":"PDF Reader", +"icon":"../../Icons/app/pdf.png", +"iconsel":"", +"launch":"launch.sh", +"description":"Green is a lightweight PDF reader" +} diff --git a/static/packages/App/PDF Reader (green)/App/Green/green b/static/packages/App/PDF Reader (green)/App/Green/green new file mode 100644 index 000000000..095968bf2 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/green differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/launch.sh b/static/packages/App/PDF Reader (green)/App/Green/launch.sh new file mode 100644 index 000000000..764f928b0 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/launch.sh @@ -0,0 +1,33 @@ +#!/bin/sh +mydir=`dirname "$0"` + +export LD_LIBRARY_PATH=$mydir/libs:/mnt/SDCARD/.tmp_update/lib/parasyte:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$mydir/libs:/mnt/SDCARD/.tmp_update/lib/parasyte:$LD_LIBRARY_PATH + +if ! [ -f "/mnt/SDCARD/App/Terminal/st" ]; then + cp -Rf "/mnt/SDCARD/miyoo/packages/App/Terminal (Developer tool)/App/" "/mnt/SDCARD/" +fi + +while : +do + cd $mydir + echo " We run Terminal app with a script in parameter to have a kind of selector menu" + "/mnt/SDCARD/App/Terminal/st" -q -e "/mnt/SDCARD/App/Green/PdfSelector.sh" # -e to run a script without help at start -q does not display the keyboard at start (thanks Eggs) + retVal=$? + + # if we catch that terminal app has been killed then we exit + echo ================= $retVal + if [ $retVal -eq 137 ]; then + exit + fi + + # we retrieve the current movie create by the script PdfSelector.sh + SelectedPDF=$(cat "/mnt/SDCARD/Media/PDF/ LastRead.pls") + + +cd $mydir +echo ./green "$SelectedPDF" +./green "$SelectedPDF" + + +done \ No newline at end of file diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libgumbo.so b/static/packages/App/PDF Reader (green)/App/Green/libs/libgumbo.so new file mode 100644 index 000000000..dd59415d2 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libgumbo.so differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libgumbo.so.1 b/static/packages/App/PDF Reader (green)/App/Green/libs/libgumbo.so.1 new file mode 100644 index 000000000..dd59415d2 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libgumbo.so.1 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libgumbo.so.1.0.0 b/static/packages/App/PDF Reader (green)/App/Green/libs/libgumbo.so.1.0.0 new file mode 100644 index 000000000..dd59415d2 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libgumbo.so.1.0.0 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libjbig2dec.so b/static/packages/App/PDF Reader (green)/App/Green/libs/libjbig2dec.so new file mode 100644 index 000000000..9bba91ab1 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libjbig2dec.so differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libjbig2dec.so.0 b/static/packages/App/PDF Reader (green)/App/Green/libs/libjbig2dec.so.0 new file mode 100644 index 000000000..9bba91ab1 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libjbig2dec.so.0 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libjbig2dec.so.0.0.0 b/static/packages/App/PDF Reader (green)/App/Green/libs/libjbig2dec.so.0.0.0 new file mode 100644 index 000000000..9bba91ab1 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libjbig2dec.so.0.0.0 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/liblcms2.so b/static/packages/App/PDF Reader (green)/App/Green/libs/liblcms2.so new file mode 100644 index 000000000..096a48fe3 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/liblcms2.so differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/liblcms2.so.2 b/static/packages/App/PDF Reader (green)/App/Green/libs/liblcms2.so.2 new file mode 100644 index 000000000..096a48fe3 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/liblcms2.so.2 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/liblcms2.so.2.0.12 b/static/packages/App/PDF Reader (green)/App/Green/libs/liblcms2.so.2.0.12 new file mode 100644 index 000000000..096a48fe3 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/liblcms2.so.2.0.12 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libopenjp2.so b/static/packages/App/PDF Reader (green)/App/Green/libs/libopenjp2.so new file mode 100644 index 000000000..369204f2f Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libopenjp2.so differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libopenjp2.so.2.4.0 b/static/packages/App/PDF Reader (green)/App/Green/libs/libopenjp2.so.2.4.0 new file mode 100644 index 000000000..369204f2f Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libopenjp2.so.2.4.0 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libopenjp2.so.7 b/static/packages/App/PDF Reader (green)/App/Green/libs/libopenjp2.so.7 new file mode 100644 index 000000000..369204f2f Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libopenjp2.so.7 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-cpp.so b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-cpp.so new file mode 100644 index 000000000..a5a9ced55 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-cpp.so differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-cpp.so.0 b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-cpp.so.0 new file mode 100644 index 000000000..a5a9ced55 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-cpp.so.0 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-cpp.so.0.7.0 b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-cpp.so.0.7.0 new file mode 100644 index 000000000..a5a9ced55 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-cpp.so.0.7.0 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-glib.so b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-glib.so new file mode 100644 index 000000000..e9b1c8c67 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-glib.so differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-glib.so.8 b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-glib.so.8 new file mode 100644 index 000000000..e9b1c8c67 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-glib.so.8 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-glib.so.8.15.0 b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-glib.so.8.15.0 new file mode 100644 index 000000000..e9b1c8c67 Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler-glib.so.8.15.0 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler.so b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler.so new file mode 100644 index 000000000..556f7ca6d Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler.so differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler.so.94 b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler.so.94 new file mode 100644 index 000000000..556f7ca6d Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler.so.94 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler.so.94.0.0 b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler.so.94.0.0 new file mode 100644 index 000000000..556f7ca6d Binary files /dev/null and b/static/packages/App/PDF Reader (green)/App/Green/libs/libpoppler.so.94.0.0 differ diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/poppler-action.cc b/static/packages/App/PDF Reader (green)/App/Green/libs/poppler-action.cc new file mode 100644 index 000000000..193536c29 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/libs/poppler-action.cc @@ -0,0 +1,686 @@ +/* poppler-action.cc: glib wrapper for poppler -*- c-basic-offset: 8 -*- + * Copyright (C) 2005, Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#include "poppler.h" +#include "poppler-private.h" + +/** + * SECTION:poppler-action + * @short_description: Action links + * @title: PopplerAction + */ + +POPPLER_DEFINE_BOXED_TYPE (PopplerDest, poppler_dest, poppler_dest_copy, poppler_dest_free) + +/** + * poppler_dest_copy: + * @dest: a #PopplerDest + * + * Copies @dest, creating an identical #PopplerDest. + * + * Return value: a new destination identical to @dest + **/ +PopplerDest * +poppler_dest_copy (PopplerDest *dest) +{ + PopplerDest *new_dest; + + new_dest = g_slice_dup (PopplerDest, dest); + + if (dest->named_dest) + new_dest->named_dest = g_strdup (dest->named_dest); + + return new_dest; +} + + +/** + * poppler_dest_free: + * @dest: a #PopplerDest + * + * Frees @dest + **/ +void +poppler_dest_free (PopplerDest *dest) +{ + if (!dest) + return; + + if (dest->named_dest) + g_free (dest->named_dest); + + g_slice_free (PopplerDest, dest); +} + +static void +poppler_action_layer_free (PopplerActionLayer *action_layer) +{ + if (!action_layer) + return; + + if (action_layer->layers) { + g_list_free_full (action_layer->layers, g_object_unref); + action_layer->layers = nullptr; + } + + g_slice_free (PopplerActionLayer, action_layer); +} + +static PopplerActionLayer * +poppler_action_layer_copy (PopplerActionLayer *action_layer) +{ + PopplerActionLayer *retval = g_slice_dup (PopplerActionLayer, action_layer); + + retval->layers = g_list_copy (action_layer->layers); + for (GList *l = retval->layers; l != nullptr; l = l->next) + g_object_ref (l->data); + + return retval; +} + +POPPLER_DEFINE_BOXED_TYPE (PopplerAction, poppler_action, poppler_action_copy, poppler_action_free) + +/** + * poppler_action_free: + * @action: a #PopplerAction + * + * Frees @action + **/ +void +poppler_action_free (PopplerAction *action) +{ + if (action == nullptr) + return; + + /* Action specific stuff */ + switch (action->type) { + case POPPLER_ACTION_GOTO_DEST: + poppler_dest_free (action->goto_dest.dest); + break; + case POPPLER_ACTION_GOTO_REMOTE: + poppler_dest_free (action->goto_remote.dest); + g_free (action->goto_remote.file_name); + break; + case POPPLER_ACTION_URI: + g_free (action->uri.uri); + break; + case POPPLER_ACTION_LAUNCH: + g_free (action->launch.file_name); + g_free (action->launch.params); + break; + case POPPLER_ACTION_NAMED: + g_free (action->named.named_dest); + break; + case POPPLER_ACTION_MOVIE: + if (action->movie.movie) + g_object_unref (action->movie.movie); + break; + case POPPLER_ACTION_RENDITION: + if (action->rendition.media) + g_object_unref (action->rendition.media); + break; + case POPPLER_ACTION_OCG_STATE: + if (action->ocg_state.state_list) { + g_list_free_full (action->ocg_state.state_list, (GDestroyNotify)poppler_action_layer_free); + } + break; + case POPPLER_ACTION_JAVASCRIPT: + if (action->javascript.script) + g_free (action->javascript.script); + break; + default: + break; + } + + g_free (action->any.title); + g_slice_free (PopplerAction, action); +} + +/** + * poppler_action_copy: + * @action: a #PopplerAction + * + * Copies @action, creating an identical #PopplerAction. + * + * Return value: a new action identical to @action + **/ +PopplerAction * +poppler_action_copy (PopplerAction *action) +{ + PopplerAction *new_action; + + g_return_val_if_fail (action != nullptr, NULL); + + /* Do a straight copy of the memory */ + new_action = g_slice_dup (PopplerAction, action); + + if (action->any.title != nullptr) + new_action->any.title = g_strdup (action->any.title); + + switch (action->type) { + case POPPLER_ACTION_GOTO_DEST: + new_action->goto_dest.dest = poppler_dest_copy (action->goto_dest.dest); + break; + case POPPLER_ACTION_GOTO_REMOTE: + new_action->goto_remote.dest = poppler_dest_copy (action->goto_remote.dest); + if (action->goto_remote.file_name) + new_action->goto_remote.file_name = g_strdup (action->goto_remote.file_name); + break; + case POPPLER_ACTION_URI: + if (action->uri.uri) + new_action->uri.uri = g_strdup (action->uri.uri); + break; + case POPPLER_ACTION_LAUNCH: + if (action->launch.file_name) + new_action->launch.file_name = g_strdup (action->launch.file_name); + if (action->launch.params) + new_action->launch.params = g_strdup (action->launch.params); + break; + case POPPLER_ACTION_NAMED: + if (action->named.named_dest) + new_action->named.named_dest = g_strdup (action->named.named_dest); + break; + case POPPLER_ACTION_MOVIE: + if (action->movie.movie) + new_action->movie.movie = (PopplerMovie *)g_object_ref (action->movie.movie); + break; + case POPPLER_ACTION_RENDITION: + if (action->rendition.media) + new_action->rendition.media = (PopplerMedia *)g_object_ref (action->rendition.media); + break; + case POPPLER_ACTION_OCG_STATE: + if (action->ocg_state.state_list) { + GList *l; + GList *new_list = nullptr; + + for (l = action->ocg_state.state_list; l; l = g_list_next (l)) { + PopplerActionLayer *alayer = (PopplerActionLayer *)l->data; + new_list = g_list_prepend (new_list, poppler_action_layer_copy (alayer)); + } + + new_action->ocg_state.state_list = g_list_reverse (new_list); + } + + break; + case POPPLER_ACTION_JAVASCRIPT: + if (action->javascript.script) + new_action->javascript.script = g_strdup (action->javascript.script); + break; + default: + break; + } + + return new_action; +} + +static +PopplerDest * +dest_new_goto (PopplerDocument *document, + const LinkDest *link_dest) +{ + PopplerDest *dest; + + dest = g_slice_new0 (PopplerDest); + + if (link_dest == nullptr) { + dest->type = POPPLER_DEST_UNKNOWN; + return dest; + } + + switch (link_dest->getKind ()) { + case destXYZ: + dest->type = POPPLER_DEST_XYZ; + break; + case destFit: + dest->type = POPPLER_DEST_FIT; + break; + case destFitH: + dest->type = POPPLER_DEST_FITH; + break; + case destFitV: + dest->type = POPPLER_DEST_FITV; + break; + case destFitR: + dest->type = POPPLER_DEST_FITR; + break; + case destFitB: + dest->type = POPPLER_DEST_FITB; + break; + case destFitBH: + dest->type = POPPLER_DEST_FITBH; + break; + case destFitBV: + dest->type = POPPLER_DEST_FITBV; + break; + default: + dest->type = POPPLER_DEST_UNKNOWN; + } + + if (link_dest->isPageRef ()) { + if (document) { + const Ref page_ref = link_dest->getPageRef (); + dest->page_num = document->doc->findPage (page_ref); + } else { + /* FIXME: We don't keep areound the page_ref for the + * remote doc, so we can't look this up. Guess that + * it's 0*/ + dest->page_num = 0; + } + } else { + dest->page_num = link_dest->getPageNum (); + } + + dest->left = link_dest->getLeft (); + dest->bottom = link_dest->getBottom (); + dest->right = link_dest->getRight (); + dest->top = link_dest->getTop (); + dest->zoom = link_dest->getZoom (); + dest->change_left = link_dest->getChangeLeft (); + dest->change_top = link_dest->getChangeTop (); + dest->change_zoom = link_dest->getChangeZoom (); + + if (document && dest->page_num > 0) { + PopplerPage *page; + + page = poppler_document_get_page (document, dest->page_num - 1); + + if (page) { + dest->left -= page->page->getCropBox ()->x1; + dest->bottom -= page->page->getCropBox ()->x1; + dest->right -= page->page->getCropBox ()->y1; + dest->top -= page->page->getCropBox ()->y1; + + g_object_unref (page); + } else { + g_warning ("Invalid page %d in Link Destination\n", dest->page_num); + dest->page_num = 0; + } + } + + return dest; +} + +static PopplerDest * +dest_new_named (const GooString *named_dest) +{ + PopplerDest *dest; + + dest = g_slice_new0 (PopplerDest); + + if (named_dest == nullptr) { + dest->type = POPPLER_DEST_UNKNOWN; + return dest; + } + + const std::string& str = named_dest->toStr (); + + dest->type = POPPLER_DEST_NAMED; + dest->named_dest = poppler_named_dest_from_bytestring((const guint8*)str.data (), + str.size ()); + + return dest; +} + +static void +build_goto_dest (PopplerDocument *document, + PopplerAction *action, + const LinkGoTo *link) +{ + const LinkDest *link_dest; + const GooString *named_dest; + + /* Return if it isn't OK */ + if (! link->isOk ()) { + action->goto_dest.dest = dest_new_goto (nullptr, nullptr); + return; + } + + link_dest = link->getDest (); + named_dest = link->getNamedDest (); + + if (link_dest != nullptr) { + action->goto_dest.dest = dest_new_goto (document, link_dest); + } else if (named_dest != nullptr) { + action->goto_dest.dest = dest_new_named (named_dest); + } else { + action->goto_dest.dest = dest_new_goto (document, nullptr); + } +} + +static void +build_goto_remote (PopplerAction *action, + const LinkGoToR *link) +{ + const LinkDest *link_dest; + const GooString *named_dest; + + /* Return if it isn't OK */ + if (! link->isOk ()) { + action->goto_remote.dest = dest_new_goto (nullptr, nullptr); + return; + } + + action->goto_remote.file_name = _poppler_goo_string_to_utf8 (link->getFileName()); + + link_dest = link->getDest (); + named_dest = link->getNamedDest (); + + if (link_dest != nullptr) { + action->goto_remote.dest = dest_new_goto (nullptr, link_dest); + } else if (named_dest != nullptr) { + action->goto_remote.dest = dest_new_named (named_dest); + } else { + action->goto_remote.dest = dest_new_goto (nullptr, nullptr); + } +} + +static void +build_launch (PopplerAction *action, + const LinkLaunch *link) +{ + if (link->getFileName()) { + action->launch.file_name = g_strdup (link->getFileName()->c_str ()); + } + if (link->getParams()) { + action->launch.params = g_strdup (link->getParams()->c_str ()); + } +} + +static void +build_uri (PopplerAction *action, + const LinkURI *link) +{ + const gchar *uri; + + uri = link->getURI()->c_str (); + if (uri != nullptr) + action->uri.uri = g_strdup (uri); +} + +static void +build_named (PopplerAction *action, + const LinkNamed *link) +{ + const gchar *name; + + name = link->getName ()->c_str (); + if (name != nullptr) + action->named.named_dest = g_strdup (name); +} + +static AnnotMovie * +find_annot_movie_for_action (PopplerDocument *document, + const LinkMovie *link) +{ + AnnotMovie *annot = nullptr; + XRef *xref = document->doc->getXRef (); + Object annotObj; + + if (link->hasAnnotRef ()) { + const Ref *ref = link->getAnnotRef (); + + annotObj = xref->fetch (*ref); + } else if (link->hasAnnotTitle ()) { + const GooString *title = link->getAnnotTitle (); + int i; + + for (i = 1; i <= document->doc->getNumPages (); ++i) { + Page *p = document->doc->getPage (i); + if (!p) continue; + + Object annots = p->getAnnotsObject (); + if (annots.isArray ()) { + int j; + bool found = false; + + for (j = 0; j < annots.arrayGetLength () && !found; ++j) { + annotObj = annots.arrayGet(j); + if (annotObj.isDict()) { + Object obj1 = annotObj.dictLookup ("Subtype"); + if (!obj1.isName ("Movie")) { + continue; + } + + obj1 = annotObj.dictLookup ("T"); + if (obj1.isString()) { + const GooString *t = obj1.getString (); + + if (title->cmp(t) == 0) + found = true; + } + } + if (!found) + annotObj.setToNull (); + } + if (found) { + break; + } else { + annotObj.setToNull (); + } + } + } + } + + if (annotObj.isDict ()) { + Object tmp; + + annot = new AnnotMovie (document->doc, std::move(annotObj), &tmp); + if (!annot->isOk ()) { + delete annot; + annot = nullptr; + } + } + + return annot; +} + +static void +build_movie (PopplerDocument *document, + PopplerAction *action, + const LinkMovie *link) +{ + AnnotMovie *annot; + + switch (link->getOperation ()) { + case LinkMovie::operationTypePause: + action->movie.operation = POPPLER_ACTION_MOVIE_PAUSE; + break; + case LinkMovie::operationTypeResume: + action->movie.operation = POPPLER_ACTION_MOVIE_RESUME; + break; + case LinkMovie::operationTypeStop: + action->movie.operation = POPPLER_ACTION_MOVIE_STOP; + break; + default: + case LinkMovie::operationTypePlay: + action->movie.operation = POPPLER_ACTION_MOVIE_PLAY; + break; + } + + annot = find_annot_movie_for_action (document, link); + if (annot) { + action->movie.movie = _poppler_movie_new (annot->getMovie()); + delete annot; + } +} + +static void +build_javascript (PopplerAction *action, + const LinkJavaScript *link) +{ + const GooString *script; + + script = link->getScript(); + if (script) + action->javascript.script = _poppler_goo_string_to_utf8 (script); + +} + +static void +build_rendition (PopplerAction *action, + const LinkRendition *link) +{ + action->rendition.op = link->getOperation(); + if (link->hasRenditionObject()) + action->rendition.media = _poppler_media_new (link->getMedia()); + // TODO: annotation reference +} + +static PopplerLayer * +get_layer_for_ref (PopplerDocument *document, + GList *layers, + const Ref ref, + gboolean preserve_rb) +{ + GList *l; + + for (l = layers; l; l = g_list_next (l)) { + Layer *layer = (Layer *)l->data; + + if (layer->oc) { + const Ref ocgRef = layer->oc->getRef(); + + if (ref == ocgRef) { + GList *rb_group = nullptr; + + if (preserve_rb) + rb_group = _poppler_document_get_layer_rbgroup (document, layer); + return _poppler_layer_new (document, layer, rb_group); + } + } + + if (layer->kids) { + PopplerLayer *retval = get_layer_for_ref (document, layer->kids, ref, preserve_rb); + if (retval) + return retval; + } + } + + return nullptr; +} + +static void +build_ocg_state (PopplerDocument *document, + PopplerAction *action, + const LinkOCGState *ocg_state) +{ + const std::vector& st_list = ocg_state->getStateList(); + bool preserve_rb = ocg_state->getPreserveRB(); + GList *layer_state = nullptr; + + if (!document->layers) { + if (!_poppler_document_get_layers (document)) + return; + } + + for (const LinkOCGState::StateList& list : st_list) { + PopplerActionLayer *action_layer = g_slice_new0 (PopplerActionLayer); + + switch (list.st) { + case LinkOCGState::On: + action_layer->action = POPPLER_ACTION_LAYER_ON; + break; + case LinkOCGState::Off: + action_layer->action = POPPLER_ACTION_LAYER_OFF; + break; + case LinkOCGState::Toggle: + action_layer->action = POPPLER_ACTION_LAYER_TOGGLE; + break; + } + + for (const Ref& ref : list.list) { + PopplerLayer *layer = get_layer_for_ref (document, document->layers, ref, preserve_rb); + + action_layer->layers = g_list_prepend (action_layer->layers, layer); + } + + layer_state = g_list_prepend (layer_state, action_layer); + } + + action->ocg_state.state_list = g_list_reverse (layer_state); +} + +PopplerAction * +_poppler_action_new (PopplerDocument *document, + const LinkAction *link, + const gchar *title) +{ + PopplerAction *action; + + action = g_slice_new0 (PopplerAction); + + if (title) + action->any.title = g_strdup (title); + + if (link == nullptr) { + action->type = POPPLER_ACTION_NONE; + return action; + } + + switch (link->getKind ()) { + case actionGoTo: + action->type = POPPLER_ACTION_GOTO_DEST; + build_goto_dest (document, action, dynamic_cast (link)); + break; + case actionGoToR: + action->type = POPPLER_ACTION_GOTO_REMOTE; + build_goto_remote (action, dynamic_cast (link)); + break; + case actionLaunch: + action->type = POPPLER_ACTION_LAUNCH; + build_launch (action, dynamic_cast (link)); + break; + case actionURI: + action->type = POPPLER_ACTION_URI; + build_uri (action, dynamic_cast (link)); + break; + case actionNamed: + action->type = POPPLER_ACTION_NAMED; + build_named (action, dynamic_cast (link)); + break; + case actionMovie: + action->type = POPPLER_ACTION_MOVIE; + build_movie (document, action, dynamic_cast (link)); + break; + case actionRendition: + action->type = POPPLER_ACTION_RENDITION; + build_rendition (action, dynamic_cast (link)); + break; + case actionOCGState: + action->type = POPPLER_ACTION_OCG_STATE; + build_ocg_state (document, action, dynamic_cast (link)); + break; + case actionJavaScript: + action->type = POPPLER_ACTION_JAVASCRIPT; + build_javascript (action, dynamic_cast (link)); + break; + case actionUnknown: + default: + action->type = POPPLER_ACTION_UNKNOWN; + break; + } + + return action; +} + +PopplerDest * +_poppler_dest_new_goto (PopplerDocument *document, + LinkDest *link_dest) +{ + return dest_new_goto (document, link_dest); +} diff --git a/static/packages/App/PDF Reader (green)/App/Green/libs/poppler-action.h b/static/packages/App/PDF Reader (green)/App/Green/libs/poppler-action.h new file mode 100644 index 000000000..93a026be6 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/libs/poppler-action.h @@ -0,0 +1,338 @@ +/* poppler-action.h: glib interface to poppler + * Copyright (C) 2004, Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef __POPPLER_ACTION_H__ +#define __POPPLER_ACTION_H__ + +#include +#include "poppler.h" + +G_BEGIN_DECLS + +/** + * PopplerActionType: + * @POPPLER_ACTION_UNKNOWN: unknown action + * @POPPLER_ACTION_NONE: no action specified + * @POPPLER_ACTION_GOTO_DEST: go to destination + * @POPPLER_ACTION_GOTO_REMOTE: go to destination in another document + * @POPPLER_ACTION_LAUNCH: launch app (or open document + * @POPPLER_ACTION_URI: URI + * @POPPLER_ACTION_NAMED: predefined action + * @POPPLER_ACTION_MOVIE: play movies. Since 0.14 + * @POPPLER_ACTION_RENDITION: play multimedia content. Since 0.14 + * @POPPLER_ACTION_OCG_STATE: state of layer. Since 0.14 + * @POPPLER_ACTION_JAVASCRIPT: Javascript. Since 0.18 + * + * Action types + */ +typedef enum +{ + POPPLER_ACTION_UNKNOWN, /* unknown action */ + POPPLER_ACTION_NONE, /* no action specified */ + POPPLER_ACTION_GOTO_DEST, /* go to destination */ + POPPLER_ACTION_GOTO_REMOTE, /* go to destination in new file */ + POPPLER_ACTION_LAUNCH, /* launch app (or open document) */ + POPPLER_ACTION_URI, /* URI */ + POPPLER_ACTION_NAMED, /* named action*/ + POPPLER_ACTION_MOVIE, /* movie action */ + POPPLER_ACTION_RENDITION, /* rendition action */ + POPPLER_ACTION_OCG_STATE, /* Set-OCG-State action */ + POPPLER_ACTION_JAVASCRIPT /* Javascript action */ +} PopplerActionType; + +/** + * PopplerDestType: + * @POPPLER_DEST_UNKNOWN: unknown destination + * @POPPLER_DEST_XYZ: go to page with coordinates (left, top) + * positioned at the upper-left corner of the window and the contents of + * the page magnified by the factor zoom + * @POPPLER_DEST_FIT: go to page with its contents magnified just + * enough to fit the entire page within the window both horizontally and + * vertically + * @POPPLER_DEST_FITH: go to page with the vertical coordinate top + * positioned at the top edge of the window and the contents of the page + * magnified just enough to fit the entire width of the page within the window + * @POPPLER_DEST_FITV: go to page with the horizontal coordinate + * left positioned at the left edge of the window and the contents of the + * page magnified just enough to fit the entire height of the page within the window + * @POPPLER_DEST_FITR: go to page with its contents magnified just + * enough to fit the rectangle specified by the coordinates left, bottom, + * right, and top entirely within the window both horizontally and vertically + * @POPPLER_DEST_FITB: go to page with its contents magnified just enough to fit + * its bounding box entirely within the window both horizontally and vertically + * @POPPLER_DEST_FITBH: go to page with the vertical + * coordinate top positioned at the top edge of the window and the + * contents of the page magnified just enough to fit the entire width of its + * bounding box within the window + * @POPPLER_DEST_FITBV: go to page with the horizontal + * coordinate left positioned at the left edge of the window and the + * contents of the page magnified just enough to fit the entire height of its + * bounding box within the window + * @POPPLER_DEST_NAMED: got to page specified by a name. See poppler_document_find_dest() + * + * Destination types + */ +typedef enum +{ + POPPLER_DEST_UNKNOWN, + POPPLER_DEST_XYZ, + POPPLER_DEST_FIT, + POPPLER_DEST_FITH, + POPPLER_DEST_FITV, + POPPLER_DEST_FITR, + POPPLER_DEST_FITB, + POPPLER_DEST_FITBH, + POPPLER_DEST_FITBV, + POPPLER_DEST_NAMED +} PopplerDestType; + +/** + * PopplerActionMovieOperation: + * @POPPLER_ACTION_MOVIE_PLAY: play movie + * @POPPLER_ACTION_MOVIE_PAUSE: pause playing movie + * @POPPLER_ACTION_MOVIE_RESUME: resume paused movie + * @POPPLER_ACTION_MOVIE_STOP: stop playing movie + * + * Movie operations + * + * Since: 0.14 + */ +typedef enum +{ + POPPLER_ACTION_MOVIE_PLAY, + POPPLER_ACTION_MOVIE_PAUSE, + POPPLER_ACTION_MOVIE_RESUME, + POPPLER_ACTION_MOVIE_STOP +} PopplerActionMovieOperation; + +/** + * PopplerActionLayerAction: + * @POPPLER_ACTION_LAYER_ON: set layer visibility on + * @POPPLER_ACTION_LAYER_OFF: set layer visibility off + * @POPPLER_ACTION_LAYER_TOGGLE: reverse the layer visibility state + * + * Layer actions + * + * Since: 0.14 + */ +typedef enum +{ + POPPLER_ACTION_LAYER_ON, + POPPLER_ACTION_LAYER_OFF, + POPPLER_ACTION_LAYER_TOGGLE +} PopplerActionLayerAction; + +/* Define the PopplerAction types */ +typedef struct _PopplerActionAny PopplerActionAny; +typedef struct _PopplerActionGotoDest PopplerActionGotoDest; +typedef struct _PopplerActionGotoRemote PopplerActionGotoRemote; +typedef struct _PopplerActionLaunch PopplerActionLaunch; +typedef struct _PopplerActionUri PopplerActionUri; +typedef struct _PopplerActionNamed PopplerActionNamed; +typedef struct _PopplerActionMovie PopplerActionMovie; +typedef struct _PopplerActionRendition PopplerActionRendition; +typedef struct _PopplerActionOCGState PopplerActionOCGState; +typedef struct _PopplerActionJavascript PopplerActionJavascript; + +/** + * PopplerDest: + * @type: type of destination + * @page_num: page number + * @left: left coordinate + * @bottom: bottom coordinate + * @right: right coordinate + * @top: top coordinate + * @zoom: scale factor + * @named_dest: name of the destination (#POPPLER_DEST_NAMED only) + * @change_left: whether left coordinate should be changed + * @change_top: whether top coordinate should be changed + * @change_zoom: whether scale factor should be changed + * + * Data structure for holding a destination + * + * Note that @named_dest is the string representation of the named + * destination. This is the right form to pass to poppler functions, + * e.g. poppler_document_find_dest(), but to get the destination as + * it appears in the PDF itself, you need to convert it to a bytestring + * with poppler_named_dest_to_bytestring() first. + * Also note that @named_dest does not have a defined encoding and + * is not in a form suitable to be displayed to the user. + */ +struct _PopplerDest +{ + PopplerDestType type; + + int page_num; + double left; + double bottom; + double right; + double top; + double zoom; + gchar *named_dest; + guint change_left : 1; + guint change_top : 1; + guint change_zoom : 1; +}; + +/** + * PopplerActionLayer: + * @action: a #PopplerActionLayerAction + * @layers: list of #PopplerLayers + * + * Action to perform over a list of layers + */ +struct _PopplerActionLayer +{ + PopplerActionLayerAction action; + GList *layers; +}; + +struct _PopplerActionAny +{ + PopplerActionType type; + gchar *title; +}; + +struct _PopplerActionGotoDest +{ + PopplerActionType type; + gchar *title; + + PopplerDest *dest; +}; + +struct _PopplerActionGotoRemote +{ + PopplerActionType type; + gchar *title; + + gchar *file_name; + PopplerDest *dest; +}; + +struct _PopplerActionLaunch +{ + PopplerActionType type; + gchar *title; + + gchar *file_name; + gchar *params; +}; + +struct _PopplerActionUri +{ + PopplerActionType type; + gchar *title; + + char *uri; +}; + +struct _PopplerActionNamed +{ + PopplerActionType type; + gchar *title; + + gchar *named_dest; +}; + +struct _PopplerActionMovie +{ + PopplerActionType type; + gchar *title; + + PopplerActionMovieOperation operation; + PopplerMovie *movie; +}; + +struct _PopplerActionRendition +{ + PopplerActionType type; + gchar *title; + + gint op; + PopplerMedia *media; +}; + +struct _PopplerActionOCGState +{ + PopplerActionType type; + gchar *title; + + GList *state_list; +}; + +struct _PopplerActionJavascript +{ + PopplerActionType type; + gchar *title; + + gchar *script; +}; + +/** + * PopplerAction: + * + * A data structure for holding actions + */ +union _PopplerAction +{ + PopplerActionType type; + PopplerActionAny any; + PopplerActionGotoDest goto_dest; + PopplerActionGotoRemote goto_remote; + PopplerActionLaunch launch; + PopplerActionUri uri; + PopplerActionNamed named; + PopplerActionMovie movie; + PopplerActionRendition rendition; + PopplerActionOCGState ocg_state; + PopplerActionJavascript javascript; +}; + +#define POPPLER_TYPE_ACTION (poppler_action_get_type ()) +#define POPPLER_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), POPPLER_TYPE_ACTION, PopplerAction)) + +POPPLER_PUBLIC +GType poppler_action_get_type (void) G_GNUC_CONST; + +POPPLER_PUBLIC +void poppler_action_free (PopplerAction *action); +POPPLER_PUBLIC +PopplerAction *poppler_action_copy (PopplerAction *action); + + +#define POPPLER_TYPE_DEST (poppler_dest_get_type ()) +POPPLER_PUBLIC +GType poppler_dest_get_type (void) G_GNUC_CONST; + +POPPLER_PUBLIC +void poppler_dest_free (PopplerDest *dest); +POPPLER_PUBLIC +PopplerDest *poppler_dest_copy (PopplerDest *dest); + +POPPLER_PUBLIC +char *poppler_named_dest_from_bytestring (const guint8 *data, + gsize length); + +POPPLER_PUBLIC +guint8 *poppler_named_dest_to_bytestring (const char *named_dest, + gsize *length); + +G_END_DECLS + +#endif /* __POPPLER_GLIB_H__ */ diff --git a/static/packages/App/PDF Reader (green)/App/Green/shellect.sh b/static/packages/App/PDF Reader (green)/App/Green/shellect.sh new file mode 100644 index 000000000..836f2e619 --- /dev/null +++ b/static/packages/App/PDF Reader (green)/App/Green/shellect.sh @@ -0,0 +1,906 @@ +#!/usr/bin/env sh + +# Variable explain: +# $y: the current argument in the whole content +# $yy: the current argument in the list +# $pos: the current position on argument y +# $y2: the current position on current screen position +# $num: numbers of lines per argument +# $fin: bottom for printable area, depends on num +# $token: indicator for actions +# Dimension is adjustable by $top & $bottom + +# Stolen from shfm +esc() { + case $1 in + # vt100 (IL is vt102) (DECTCEM is vt520) + CUP) printf '%s[%s;%sH' "$esc_c" "$2" "$3" ;; + # cursor to LINES($2), COLUMNS($3) + CUU) printf '%s[%sA' "$esc_c" "$2" ;; + # cursor up + CUD) printf '%s[%sB' "$esc_c" "$2" ;; + # cursor down + CUR) printf '%s[%sC' "$esc_c" "$2" ;; + # cursor right + CUL) printf '%s[%sD' "$esc_c" "$2" ;; + # cursor left + DECAWM) printf '%s[?7%s' "$esc_c" "$2" ;; + # (h: set; l: unset) line wrap + DECRC) printf '%s8' "$esc_c" ;; + # cursor restore + DECSC) printf '%s7' "$esc_c" ;; + # cursor save + DECSTBM) printf '%s[%s;%sr' "$esc_c" "$2" "$3" ;; + # scroll region + DECTCEM) printf '%s[?25%s' "$esc_c" "$2" ;; + # (h: show; l: hide) cursor visible + ED[0-2]) printf '%s[%sJ' "$esc_c" "${1#ED}" ;; + # clear screen + EL[0-2]) printf '%s[%sK' "$esc_c" "${1#EL}" ;; + # clear line + IL) printf '%s[%sL' "$esc_c" "$2" ;; + # insert line + SGR) printf '%s[%s;%sm' "$esc_c" "$2" "$3" ;; + # colors ($2); attribute ($3) + + # xterm (since 1988, supported widely) + screen_alt) printf '%s[?1049%s' "$esc_c" "$2" ;; + # (h: to; l: back from) alternate buffer + esac +} + +term_setup() { + bottom=$((LINES - 2)) # space for bottom status_line + top=3 # space for top status_line + fin=$(( bottom - (bottom - (top - 1)) % num )) # bottom for content printed + + stty=$(stty -g) + stty -icanon -echo + esc screen_alt h + esc DECAWM l + esc DECTCEM l + esc ED2 + esc DECSTBM "$top" "$fin" +} + +term_getsize() { + # false-positive, behavior intentional, globbing is disabled. + # shellcheck disable=2046 + { + set -f -- $(stty size) + set +f + } + + LINES=$1 COLUMNS=$2 +} + +term_reset() { + esc DECAWM h >&2 + esc DECTCEM h >&2 + esc ED2 >&2 + esc DECSTBM >&2 + esc screen_alt l >&2 + stty "$stty" +} + +old_save() { + old_num=$num + old_y=$y + old_yy=$yy + old_y2=$y2 + old_pos=$pos + old_format=$format + old_msg=$msg + old_ltype=$ltype + old_last=$last + old_len=$len +} + +old_reset() { + num=$old_num + y=$old_y + yy=$old_yy + y2=$old_y2 + pos=$old_pos + format=$old_format + msg=$old_msg + ltype=$old_ltype + last=$old_last + len=$old_len +} + +input_assign() { + offset=$1 + length=$2 + + shift "$(( offset > 0 ? offset : 0 ))"; shift 2; + + i=1 + while [ "$i" -le "$length" ]; do + save_list="$save_list${ifs:=$nl}$1" + shift $(( $# > 0 ? 1 : 0 )) + i=$(( i + 1 )) + done + + save_list="${save_list#${ifs:=$nl}}" + list=$save_list + + unset i offset length save_list +} + + +redraw() { + + pos=$(( num * y - num + top )) + end=$(( fin + 1 )) + width=$(( (end - top) / num )) + + input_assign "$(( y >= width ? y - width : 0 ))" "$width" "$@" + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS + + esc ED2 + + status_line "$last" + list_print "$@" + + unset list +} + + +list_print() { + esc CUP "$top" + + unset cur + + i=1 + + for file do + + case $(( num * i - num + top )) in + "$y2") cur=$file; save_cur=$file ;; + *) cur= ;; + esac + + case $(( num * i - num + top - end )) in + -*) + arg_format "$file" + esc CUD + i=$((i + 1)) + ;; + 0|*) break ;; + esac + + done + + esc CUP "$(( pos > y2 ? y2 : pos ))" + + cur=$save_cur + unset save_cur +} + +arg_print() { + shift "$1" + arg_format "$1" +} + + +arg_format() { + esc EL0 + + # overall display rule + case "$cur" in + '') esc CUR 5; esc SGR '' 2 ;; + *) esc CUR 2; esc SGR 35 1; printf '>'; esc SGR 33 1; esc CUR 2 ;; + esac + + # content display format + case "$format" in + basename) printf '%s\r' "${1##*/}" ;; + nldel) printf '%s\r' "${1%$nl}" ;; + '') printf '%s\r' "$1" ;; + esac + + esc SGR +} + + +term_move_up() { + + y=$(( y - move )) yy=$(( yy - move )) + pos=$(( num * y - num + top )) + + # Generate list for partial input + input_assign "$(( yy - 1 ))" "$(( move + 1 ))" "$@" + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS list cur + + i=1 + while [ "$i" -le "$move" ] ; do + arg_print "$(( move - i + 2 ))" "$@" # print the latter item first + + case "$y2" in # adjust for upper bound + "$top") [ "$num" -gt 1 ] && esc CUU $(( num - 1 )); esc IL "$num" ;; + *) esc CUU "$(( num * 2 - 1 ))"; y2=$(( y2 > top ? y2 - num : top )) ;; + esac + + i=$(( i + 1 )) + done + + offset=$y + cur=$1 + arg_format "$1" + + # Restore cursor to match y2 + [ "$num" -gt 1 ] && esc CUU "$(( num - 1 ))" + + status_line "$last" + + unset i offset +} + +term_move_down() { + + y=$(( y + move )) yy=$(( yy + move )) + pos=$(( num * y - num + top )) + y2=$(( y2 + num * move < fin - (num - 1) ? y2 + num * move : fin - (num - 1) )) + + # Generate list for partial input + input_assign "$(( yy - move - 1 ))" "$(( move + 1 ))" "$@" + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS cur + + i=1 + while [ "$i" -le "$move" ] ; do + arg_format "$1" + shift 1 + printf '\n' + + i=$(( i + 1 )) + done + + offset=$y + cur=$1 + arg_format "$1" + + [ "$num" -gt 1 ] && esc CUU "$(( num - 1 ))" + + status_line "$last" + + unset i offset +} + +status_line () { + esc DECSC + esc CUP 1; esc EL2; printf '%s %s' "($y/$1)" "$msg" + [ -n "$ltype" ] && { esc CUP "$LINES"; esc EL2; printf '%s' "$ltype"; } + esc DECRC +} + +prompt() { + esc DECSC + esc CUP "$LINES" + printf %s "$1" + esc DECTCEM h + esc EL0 + + case $2 in + r) + stty -cread icanon echo 1>/dev/null 2>&1 + read -r ans ||: + stty -icanon -echo + ;; + l) press=$(dd ibs=1 count=1 2>/dev/null) ;; + esac + + esc DECRC + esc DECTCEM l +} + +tab_complete() { + shift "$(( count - 1 > 0 ? count - 1 : 0 ))" + ans=$1 +} + +search() { + search_list="$1" + IFS="$2" + str="$3" + + case $case_insense in + 1) # case-insensitive filter + + # lowercase both search_list and str + lower_search_list=$(printf '%s' "$search_list" | dd conv=lcase 2>/dev/null) + lower_str=$(printf '%s' "$str" | dd conv=lcase 2>/dev/null) + + # First run: match lowercase and record the number of positional parameter + i=1 s=1 + # shellcheck disable=2086 + set -- $lower_search_list + for line do + case $line in + *$lower_str*) + case $token in + l) # live search: only search until bound + case $((s - bound)) in + -*|0) posnum="$posnum $i" ;; + *) break ;; + esac + s=$(( s + 1 )) + ;; + /) posnum="$posnum $i" ;; + esac + esac + i=$(( i + 1 )) + done + posnum=${posnum#* } # delete first space + + # Second run: match the item based on posnum above + # shellcheck disable=2086 + set -- $search_list + + j=1 + for line do + [ -z "$posnum" ] && break + n=${posnum%% *} # first line number + case $j in + "$n") + filter="$filter$IFS$line" + + case $posnum in # delete first number + *[[:space:]]*) posnum=${posnum#* } ;; + *) posnum= ;; + esac + ;; + esac + j=$(( j + 1 )) + done + + ;; + *) # case-sensitive filter + + s=1 + + # shellcheck disable=2086 + set -- $search_list + for line do + case $line in + *$str*) + case $token in + l) # live search: only search until bound + case $((s - bound)) in + -*|0) filter="$filter$IFS$line" ;; + *) break ;; + esac + s=$(( s + 1 )) + ;; + /) filter="$filter$IFS$line" ;; + esac + esac + done + + ;; + esac + + filt_out=${filter#*$IFS} + + unset search_list IFS str filter posnum lower_list lower_str i j n s + +} + +key() { + + loop=$(( loop + 1 )) + + # Generate new list + case $(( y - move )) in + 1) y=1; yy=1; input_assign "0" "$len" "$@" ;; + $(( last - move - 1 ))) y=$last; input_assign "$(( y - len ))" "$len" "$@" ;; + *) + case $(( y - len )) in + -*) input_assign "$(( yy > 1 ? y - yy : y - 1 ))" "$len" "$@" ;; + *) input_assign "$(( yy > 1 ? y - len : y - 1 ))" "$len" "$@" ;; + esac + esac + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS + + while key=$(dd ibs=1 count=1 2>/dev/null); do + + + + case $key${esc:=0} in + + "$ctrl_u"?|~5) # Ctrl-u / PageUp + move=$(( width / 4 > 2 ? width / 4 : 2 )) + + # Terminal condition + case $y in + -*|0|1) continue ;; + esac + + # Adjust move step + case $(( y - move - 1 )) in + -*|0) move=$(( y - 1 )) ;; + esac + + # Move or update list + case $(( yy - move )) in + -*|0) yy=$(( y > len ? len : y )); return 0 ;; + *) term_move_up "$@" ;; + esac + ;; + + "$ctrl_f"?|~6) # Ctrl-f / PageDown + move=$(( width / 4 > 2 ? width / 4 : 2 )) + + # Terminal condition + case $y in + "$last") continue ;; + esac + + # Adjust move step + case $(( y - last + move )) in + [1-9]*) move=$(( last - y )) ;; + esac + + # Move or update list + case $(( yy - len + move )) in + -*|0) term_move_down "$@" ;; + *) yy=1; return 0 ;; + esac + ;; + + k?|A2|"$ctrl_p"?) # k / Arrow Up / Ctrl-p + move=1 + + # Terminal condition + case $y in + -*|0|1) continue ;; + esac + + # Move or update list + case $(( yy - move )) in + -*|0) yy=$len; return 0 ;; + *) term_move_up "$@" ;; + esac + ;; + + j?|B2|"$ctrl_n"?) # j / Arrow Down / Ctrl-n + move=1 + + # Terminal condition + case $y in + "$last") continue ;; + esac + + # Move or update list + case $(( yy - len + move )) in + -*|0) term_move_down "$@" ;; + *) yy=1; return 0 ;; + esac + ;; + + g?|H2|"$ctrl_a"?) # g / Home / Ctrl-a + + # Terminal condition + case $y in + 1) continue ;; + esac + + # Normal mode v.s. Search mode + case $token in + '/') + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $filt_out + unset IFS + ;; + '') + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + esac + + y=1 yy=1 y2=$top pos=$top + redraw "$@" + return 0 + ;; + + G?|F2|"$ctrl_e"?) # G / End / Ctrl-e + + # Terminal condition + case $y in + "$last") continue ;; + esac + + # Normal mode v.s. Search mode + case $token in + '/') + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $filt_out + unset IFS + ;; + '') + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + esac + + y=$last yy=$len pos=$(( num * y - num + top )) + y2=$(( pos < fin - (num - 1) ? pos : fin - (num - 1) )) + + redraw "$@" + return 0 + ;; + + l?|C2|"$space"?) # l / Arrow Right / Esc + case $token in + '?') continue ;; + *) + term_reset + return 1 + ;; + esac + ;; + + "$esc") # l / Arrow Right / Esc + pkill -9 st + ;; + + h?|D2|"$bs_char"?) # h / Arrow Left / Backspace + + case $token in + '?'|'/') + unset token filt_out ans + old_reset + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + y=1 yy=1 y2=$top + redraw "$@" + return 0 + ;; + esac + ;; + + /?) # / + count=0 bound=$width + + old_save + + while :; do + + case $live_search in + '') + token='/' + prompt / r + ;; + 1) + token='l' + prompt "/$ans" l + + case $press${esc:=0} in + "$esc") # Enter + case $cur in + 'no result') continue ;; + *) + ltype="Searching..." + status_line "$last" + ltype="Search mode" + token='/' + case $# in + 1) # only one result, directly output it + term_reset + return 1 + ;; + esac + ;; + esac + ;; + "040") # Enter + case $cur in + 'no result') continue ;; + *) + ltype="Searching..." + status_line "$last" + ltype="Search mode" + token='/' + case $# in + 1) # only one result, directly output it + term_reset + return 1 + ;; + esac + ;; + esac + ;; + "$bs_char"?) # Backspace + case $ans in + '') continue ;; # Inactive when no ans + *) + ans=${ans%%?} + count=0 + unset complist + ;; + esac + ;; + "$tab"?) # Tab + case $count in + 0) # First run, record complist & $# + complist=$filt_out + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $complist + unset IFS + tot=$# + count=$(( count + 1 <= $# ? count + 1 : $# )) + tab_complete "$@" + ;; + *) # Other run, compare count and $# + case $(( count - tot )) in + -*) + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $complist + unset IFS + count=$(( count + 1 <= $# ? count + 1 : $# )) + tab_complete "$@" + ;; + *) continue ;; + esac + ;; + esac + ;; + Z2) # Shift-Tab + case $count in + 0) # First run, record complist + complist=$filt_out + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $complist + unset IFS + count=$(( count - 1 >= 1 ? count - 1 : 1 )) + tab_complete "$@" + esc=0 + ;; + *) # Other run, compare count and 1 + case $(( count - 1 )) in + -*|0) esc=0; continue ;; + *) + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $complist + unset IFS + count=$(( count - 1 >= 1 ? count - 1 : 1 )) + tab_complete "$@" + esc=0 + ;; + esac + ;; + esac + ;; + "$esc_c"*) esc=1; continue ;; + '[1') esc=2; continue ;; + [[:cntrl:]]?) esc=0; continue ;; # Do not accept other control char + *?) # Others + esc=0 + ans="$ans$press" + count=0 + unset complist + ;; + esac + ;; + esac + + search "$content" "$ifs" "$ans" + + # redraw if different & not Enter + [ "$filt_out" = "$last_filt_out" ] && [ -n "$press" ] && continue + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $filt_out + unset IFS + + + msg="Search by *${ans%%$nl*}*"; + + case $# in + 0) num=1; set -- 'no result' ;; + esac + + case $token in + l) + last='??' + last_filt_out="$filt_out" + redraw "$@" + ;; + /) + last=$# + len=$(( $# > 500 ? 500 : $# )) + num=$old_num + term_getsize + term_setup + redraw "$@" + break + ;; + esac + done + + unset count complist bound last_filt_out + + return 0 + ;; + + \??) # ? + set -- 'k/↑/Ctrl-p - up' \ + 'j/↓/Ctrl-n - down' \ + 'l/→ - right' \ + 'h/← - left' \ + 'Ctrl-f/PageDown - PageDown' \ + 'Ctrl-u/PageUp - PageUp' \ + 'g/Home/Ctrl-a - go to top' \ + 'G/End/Ctrl-e - go to bottom' \ + '/ - search' \ + ' live-search detail:' \ + ' Enter - confirm' \ + ' Backspace - delete previous character' \ + ' Tab - Tab-completion forward' \ + ' Shift-Tab - Tab-completion backward' \ + ' control char ignore' \ + ' others print out' \ + '? - show keybinds' \ + 'q - quit' + + unset format + old_save + num=1; y=1; yy=1; y2=$top; last=$#; len=$#; ltype=""; msg=keybinds; token='?'; + redraw "$@" + ;; + + q?) # q + term_reset + exit 0 + ;; + "$esc_c"*) esc=1 ;; + '[1') esc=2 ;; + 5?) esc=5 ;; # PageUp + 6?) esc=6 ;; # PageDown + *) esc=0 ;; + esac + done +} + +main() { + + set -e + + trap 'term_reset; exit 0' INT QUIT + trap 'term_getsize; term_setup; y=1; yy=1; y2=$top; pos=$top; redraw "$@"' WINCH + + term_getsize + term_setup + y=1 yy=1 y2=$top pos=$top + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + last=$# + len=$(( $# > 500 ? 500 : $# )) + + input_assign "0" "$len" "$@" + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS + + redraw "$@" + + # shellcheck disable=2181 + while key "$@"; do + case $token in + '/') # Search mode + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $filt_out + unset IFS + ;; + '') # Normal + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + esac + + done +} + +usage () { +cat << EOF +Usage: + +shellect [OPTIONS] ([ARGS]) + + -h, Show help options + -i, Set case-insensitive search + -l, Set live-search + -n=[num], Set numbers of line per entry + -d=[delim], Set delimiter (IFS, internal field separator) + -c=[content], Set content to display + -f=[format], Set the format to print out content + -t=[msg], Set top status bar message + -b=[msg], Set bottom status bar message + +format detail: + nldel delete last nl, equiv to "\${1%\$nl}" + basename only print basename, equiv to "\${1##*/}" ;; + + if unset or empty, then equiv to "\$1" + +live-search detail: + Enter confirm + Backspace delete previous character + Tab Tab-completion forward + Shift-Tab Tab-completion backward + control char ignore + others print out +EOF +} + + +nl=' +' +tab=' ' + +# special key setting +esc_c=$(printf '\033') +bs_char=$(printf '\177') +ctrl_f=$(printf '\006') +ctrl_u=$(printf '\025') +ctrl_n=$(printf '\016') +ctrl_p=$(printf '\020') +ctrl_a=$(printf '\001') +ctrl_e=$(printf '\005') +space=$(printf '\040') +escape=$(printf '\033') + +while getopts "t:b:n:d:c:f:hil" result; do + case "${result}" in + n) num=${OPTARG} ;; + d) ifs=${OPTARG} ;; + c) content=${OPTARG} ;; + f) format=${OPTARG} ;; + i) case_insense=1 ;; + l) live_search=1 ;; + t) msg="${OPTARG}" ;; + b) ltype="${OPTARG}" ;; + h) usage && exit 0 ;; + *) printf 'Invalid argument' && exit 0 ;; + esac +done + +case "$content" in + '') content=$(cat -u -) ;; # Accept pipe stdin +esac + +num=${num:=1} # num=1 if unset +main <&2 >/dev/tty # why it works, I don't know. +printf '%s' "$cur" >&1 diff --git a/static/packages/Emu/Nintendo - Game Boy Advance (gpSP)/Roms/GBA/.gitkeep b/static/packages/App/PDF Reader (green)/Media/PDF/.gitkeep similarity index 100% rename from static/packages/Emu/Nintendo - Game Boy Advance (gpSP)/Roms/GBA/.gitkeep rename to static/packages/App/PDF Reader (green)/Media/PDF/.gitkeep diff --git a/static/packages/App/Video Player (FFplay)/App/FFplay/VideoSelector.sh b/static/packages/App/Video Player (FFplay)/App/FFplay/VideoSelector.sh new file mode 100644 index 000000000..ecb5d9f3d --- /dev/null +++ b/static/packages/App/Video Player (FFplay)/App/FFplay/VideoSelector.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +SelectedVideo=$( (ls /mnt/SDCARD/Media/Videos) | awk '!/^-/ && !/==/' | "/mnt/SDCARD/App/FFplay/shellect.sh" -t "Video Selector" -b "Press A to play, Start to exit.") + + +echo ============ +echo /mnt/SDCARD/Media/Videos/${SelectedVideo} + +if [ ! "$SelectedVideo" = " LastPlay.pls" ]; then + echo /mnt/SDCARD/Media/Videos/${SelectedVideo}>"/mnt/SDCARD/Media/Videos/ LastPlay.pls" +fi + + + # Mychoice=$( echo -e "Yes\nNo" | /mnt/SDCARD/App/FFplay/shellect.sh -t "Do you want to resume the playback of \"${SelectedVideo}\" ?" -b "Press start to validate your choice.") + + # if [ "$Mychoice" = "No" ]; then + ## mv /mnt/SDCARD/App/FFplay/pos.cfg /mnt/SDCARD/App/FFplay/pos.bck + # touch /mnt/SDCARD/App/FFplay/.noResume + # fi + \ No newline at end of file diff --git a/static/packages/App/Video Player (FFplay)/App/FFplay/bin/ffplay b/static/packages/App/Video Player (FFplay)/App/FFplay/bin/ffplay new file mode 100644 index 000000000..ab28f4ecb Binary files /dev/null and b/static/packages/App/Video Player (FFplay)/App/FFplay/bin/ffplay differ diff --git a/static/packages/App/Video Player (FFplay)/App/FFplay/bin/ffplay_16_9 b/static/packages/App/Video Player (FFplay)/App/FFplay/bin/ffplay_16_9 new file mode 100644 index 000000000..3a2411d0a Binary files /dev/null and b/static/packages/App/Video Player (FFplay)/App/FFplay/bin/ffplay_16_9 differ diff --git a/static/packages/App/Video Player (FFplay)/App/FFplay/config.json b/static/packages/App/Video Player (FFplay)/App/FFplay/config.json new file mode 100644 index 000000000..5733f8a4a --- /dev/null +++ b/static/packages/App/Video Player (FFplay)/App/FFplay/config.json @@ -0,0 +1,7 @@ +{ +"label":"Video Player", +"icon":"../../Icons/app/ffplay.png", +"iconsel":"", +"launch":"launch.sh", +"description":"FFplay" +} diff --git a/static/packages/App/Video Player (FFplay)/App/FFplay/launch.sh b/static/packages/App/Video Player (FFplay)/App/FFplay/launch.sh new file mode 100644 index 000000000..107d0788f --- /dev/null +++ b/static/packages/App/Video Player (FFplay)/App/FFplay/launch.sh @@ -0,0 +1,41 @@ +#!/bin/sh +mydir=`dirname "$0"` +export HOME=$mydir +export PATH=$mydir/bin:$PATH +export LD_LIBRARY_PATH=/mnt/SDCARD/.tmp_update/lib/parasyte:$LD_LIBRARY_PATH +echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor + + +if ! [ -f "/mnt/SDCARD/App/Terminal/st" ]; then + cp -Rf "/mnt/SDCARD/miyoo/packages/App/Terminal (Developer tool)/App/" "/mnt/SDCARD/" +fi + +while : +do + cd $mydir + echo " We run Terminal app with a script in parameter to have a kind of selector menu" + "/mnt/SDCARD/App/Terminal/st" -q -e "/mnt/SDCARD/App/FFplay/VideoSelector.sh" # -e to run a script without help at start -q does not display the keyboard at start (thanks Eggs) + retVal=$? + + # if we catch that terminal app has been killed then we exit + echo ================= $retVal + if [ $retVal -eq 137 ]; then + exit + fi + + # we retrieve the current movie create by the script VideoSelector.sh + SelectedVideo=$(cat "/mnt/SDCARD/Media/Videos/ LastPlay.pls") + + # attempt to restore resume of other video -> doesn't work + #(sleep 2 ; mv /mnt/SDCARD/App/FFplay/pos.bck /mnt/SDCARD/App/FFplay/pos.cfg ;) & + + # attempt to avoid resume of other video -> doesn't work, the parameter is not considered + if [ -f "/mnt/SDCARD/App/FFplay/.noResume" ]; then + startTimer=" -ss 0" + rm "/mnt/SDCARD/App/FFplay/.noResume" + fi + + touch /tmp/stay_awake + ffplay -autoexit -vf "hflip,vflip" -i "$SelectedVideo" $startTimer + rm -f /tmp/stay_awake +done \ No newline at end of file diff --git a/static/packages/App/Video Player (FFplay)/App/FFplay/shellect.sh b/static/packages/App/Video Player (FFplay)/App/FFplay/shellect.sh new file mode 100644 index 000000000..836f2e619 --- /dev/null +++ b/static/packages/App/Video Player (FFplay)/App/FFplay/shellect.sh @@ -0,0 +1,906 @@ +#!/usr/bin/env sh + +# Variable explain: +# $y: the current argument in the whole content +# $yy: the current argument in the list +# $pos: the current position on argument y +# $y2: the current position on current screen position +# $num: numbers of lines per argument +# $fin: bottom for printable area, depends on num +# $token: indicator for actions +# Dimension is adjustable by $top & $bottom + +# Stolen from shfm +esc() { + case $1 in + # vt100 (IL is vt102) (DECTCEM is vt520) + CUP) printf '%s[%s;%sH' "$esc_c" "$2" "$3" ;; + # cursor to LINES($2), COLUMNS($3) + CUU) printf '%s[%sA' "$esc_c" "$2" ;; + # cursor up + CUD) printf '%s[%sB' "$esc_c" "$2" ;; + # cursor down + CUR) printf '%s[%sC' "$esc_c" "$2" ;; + # cursor right + CUL) printf '%s[%sD' "$esc_c" "$2" ;; + # cursor left + DECAWM) printf '%s[?7%s' "$esc_c" "$2" ;; + # (h: set; l: unset) line wrap + DECRC) printf '%s8' "$esc_c" ;; + # cursor restore + DECSC) printf '%s7' "$esc_c" ;; + # cursor save + DECSTBM) printf '%s[%s;%sr' "$esc_c" "$2" "$3" ;; + # scroll region + DECTCEM) printf '%s[?25%s' "$esc_c" "$2" ;; + # (h: show; l: hide) cursor visible + ED[0-2]) printf '%s[%sJ' "$esc_c" "${1#ED}" ;; + # clear screen + EL[0-2]) printf '%s[%sK' "$esc_c" "${1#EL}" ;; + # clear line + IL) printf '%s[%sL' "$esc_c" "$2" ;; + # insert line + SGR) printf '%s[%s;%sm' "$esc_c" "$2" "$3" ;; + # colors ($2); attribute ($3) + + # xterm (since 1988, supported widely) + screen_alt) printf '%s[?1049%s' "$esc_c" "$2" ;; + # (h: to; l: back from) alternate buffer + esac +} + +term_setup() { + bottom=$((LINES - 2)) # space for bottom status_line + top=3 # space for top status_line + fin=$(( bottom - (bottom - (top - 1)) % num )) # bottom for content printed + + stty=$(stty -g) + stty -icanon -echo + esc screen_alt h + esc DECAWM l + esc DECTCEM l + esc ED2 + esc DECSTBM "$top" "$fin" +} + +term_getsize() { + # false-positive, behavior intentional, globbing is disabled. + # shellcheck disable=2046 + { + set -f -- $(stty size) + set +f + } + + LINES=$1 COLUMNS=$2 +} + +term_reset() { + esc DECAWM h >&2 + esc DECTCEM h >&2 + esc ED2 >&2 + esc DECSTBM >&2 + esc screen_alt l >&2 + stty "$stty" +} + +old_save() { + old_num=$num + old_y=$y + old_yy=$yy + old_y2=$y2 + old_pos=$pos + old_format=$format + old_msg=$msg + old_ltype=$ltype + old_last=$last + old_len=$len +} + +old_reset() { + num=$old_num + y=$old_y + yy=$old_yy + y2=$old_y2 + pos=$old_pos + format=$old_format + msg=$old_msg + ltype=$old_ltype + last=$old_last + len=$old_len +} + +input_assign() { + offset=$1 + length=$2 + + shift "$(( offset > 0 ? offset : 0 ))"; shift 2; + + i=1 + while [ "$i" -le "$length" ]; do + save_list="$save_list${ifs:=$nl}$1" + shift $(( $# > 0 ? 1 : 0 )) + i=$(( i + 1 )) + done + + save_list="${save_list#${ifs:=$nl}}" + list=$save_list + + unset i offset length save_list +} + + +redraw() { + + pos=$(( num * y - num + top )) + end=$(( fin + 1 )) + width=$(( (end - top) / num )) + + input_assign "$(( y >= width ? y - width : 0 ))" "$width" "$@" + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS + + esc ED2 + + status_line "$last" + list_print "$@" + + unset list +} + + +list_print() { + esc CUP "$top" + + unset cur + + i=1 + + for file do + + case $(( num * i - num + top )) in + "$y2") cur=$file; save_cur=$file ;; + *) cur= ;; + esac + + case $(( num * i - num + top - end )) in + -*) + arg_format "$file" + esc CUD + i=$((i + 1)) + ;; + 0|*) break ;; + esac + + done + + esc CUP "$(( pos > y2 ? y2 : pos ))" + + cur=$save_cur + unset save_cur +} + +arg_print() { + shift "$1" + arg_format "$1" +} + + +arg_format() { + esc EL0 + + # overall display rule + case "$cur" in + '') esc CUR 5; esc SGR '' 2 ;; + *) esc CUR 2; esc SGR 35 1; printf '>'; esc SGR 33 1; esc CUR 2 ;; + esac + + # content display format + case "$format" in + basename) printf '%s\r' "${1##*/}" ;; + nldel) printf '%s\r' "${1%$nl}" ;; + '') printf '%s\r' "$1" ;; + esac + + esc SGR +} + + +term_move_up() { + + y=$(( y - move )) yy=$(( yy - move )) + pos=$(( num * y - num + top )) + + # Generate list for partial input + input_assign "$(( yy - 1 ))" "$(( move + 1 ))" "$@" + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS list cur + + i=1 + while [ "$i" -le "$move" ] ; do + arg_print "$(( move - i + 2 ))" "$@" # print the latter item first + + case "$y2" in # adjust for upper bound + "$top") [ "$num" -gt 1 ] && esc CUU $(( num - 1 )); esc IL "$num" ;; + *) esc CUU "$(( num * 2 - 1 ))"; y2=$(( y2 > top ? y2 - num : top )) ;; + esac + + i=$(( i + 1 )) + done + + offset=$y + cur=$1 + arg_format "$1" + + # Restore cursor to match y2 + [ "$num" -gt 1 ] && esc CUU "$(( num - 1 ))" + + status_line "$last" + + unset i offset +} + +term_move_down() { + + y=$(( y + move )) yy=$(( yy + move )) + pos=$(( num * y - num + top )) + y2=$(( y2 + num * move < fin - (num - 1) ? y2 + num * move : fin - (num - 1) )) + + # Generate list for partial input + input_assign "$(( yy - move - 1 ))" "$(( move + 1 ))" "$@" + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS cur + + i=1 + while [ "$i" -le "$move" ] ; do + arg_format "$1" + shift 1 + printf '\n' + + i=$(( i + 1 )) + done + + offset=$y + cur=$1 + arg_format "$1" + + [ "$num" -gt 1 ] && esc CUU "$(( num - 1 ))" + + status_line "$last" + + unset i offset +} + +status_line () { + esc DECSC + esc CUP 1; esc EL2; printf '%s %s' "($y/$1)" "$msg" + [ -n "$ltype" ] && { esc CUP "$LINES"; esc EL2; printf '%s' "$ltype"; } + esc DECRC +} + +prompt() { + esc DECSC + esc CUP "$LINES" + printf %s "$1" + esc DECTCEM h + esc EL0 + + case $2 in + r) + stty -cread icanon echo 1>/dev/null 2>&1 + read -r ans ||: + stty -icanon -echo + ;; + l) press=$(dd ibs=1 count=1 2>/dev/null) ;; + esac + + esc DECRC + esc DECTCEM l +} + +tab_complete() { + shift "$(( count - 1 > 0 ? count - 1 : 0 ))" + ans=$1 +} + +search() { + search_list="$1" + IFS="$2" + str="$3" + + case $case_insense in + 1) # case-insensitive filter + + # lowercase both search_list and str + lower_search_list=$(printf '%s' "$search_list" | dd conv=lcase 2>/dev/null) + lower_str=$(printf '%s' "$str" | dd conv=lcase 2>/dev/null) + + # First run: match lowercase and record the number of positional parameter + i=1 s=1 + # shellcheck disable=2086 + set -- $lower_search_list + for line do + case $line in + *$lower_str*) + case $token in + l) # live search: only search until bound + case $((s - bound)) in + -*|0) posnum="$posnum $i" ;; + *) break ;; + esac + s=$(( s + 1 )) + ;; + /) posnum="$posnum $i" ;; + esac + esac + i=$(( i + 1 )) + done + posnum=${posnum#* } # delete first space + + # Second run: match the item based on posnum above + # shellcheck disable=2086 + set -- $search_list + + j=1 + for line do + [ -z "$posnum" ] && break + n=${posnum%% *} # first line number + case $j in + "$n") + filter="$filter$IFS$line" + + case $posnum in # delete first number + *[[:space:]]*) posnum=${posnum#* } ;; + *) posnum= ;; + esac + ;; + esac + j=$(( j + 1 )) + done + + ;; + *) # case-sensitive filter + + s=1 + + # shellcheck disable=2086 + set -- $search_list + for line do + case $line in + *$str*) + case $token in + l) # live search: only search until bound + case $((s - bound)) in + -*|0) filter="$filter$IFS$line" ;; + *) break ;; + esac + s=$(( s + 1 )) + ;; + /) filter="$filter$IFS$line" ;; + esac + esac + done + + ;; + esac + + filt_out=${filter#*$IFS} + + unset search_list IFS str filter posnum lower_list lower_str i j n s + +} + +key() { + + loop=$(( loop + 1 )) + + # Generate new list + case $(( y - move )) in + 1) y=1; yy=1; input_assign "0" "$len" "$@" ;; + $(( last - move - 1 ))) y=$last; input_assign "$(( y - len ))" "$len" "$@" ;; + *) + case $(( y - len )) in + -*) input_assign "$(( yy > 1 ? y - yy : y - 1 ))" "$len" "$@" ;; + *) input_assign "$(( yy > 1 ? y - len : y - 1 ))" "$len" "$@" ;; + esac + esac + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS + + while key=$(dd ibs=1 count=1 2>/dev/null); do + + + + case $key${esc:=0} in + + "$ctrl_u"?|~5) # Ctrl-u / PageUp + move=$(( width / 4 > 2 ? width / 4 : 2 )) + + # Terminal condition + case $y in + -*|0|1) continue ;; + esac + + # Adjust move step + case $(( y - move - 1 )) in + -*|0) move=$(( y - 1 )) ;; + esac + + # Move or update list + case $(( yy - move )) in + -*|0) yy=$(( y > len ? len : y )); return 0 ;; + *) term_move_up "$@" ;; + esac + ;; + + "$ctrl_f"?|~6) # Ctrl-f / PageDown + move=$(( width / 4 > 2 ? width / 4 : 2 )) + + # Terminal condition + case $y in + "$last") continue ;; + esac + + # Adjust move step + case $(( y - last + move )) in + [1-9]*) move=$(( last - y )) ;; + esac + + # Move or update list + case $(( yy - len + move )) in + -*|0) term_move_down "$@" ;; + *) yy=1; return 0 ;; + esac + ;; + + k?|A2|"$ctrl_p"?) # k / Arrow Up / Ctrl-p + move=1 + + # Terminal condition + case $y in + -*|0|1) continue ;; + esac + + # Move or update list + case $(( yy - move )) in + -*|0) yy=$len; return 0 ;; + *) term_move_up "$@" ;; + esac + ;; + + j?|B2|"$ctrl_n"?) # j / Arrow Down / Ctrl-n + move=1 + + # Terminal condition + case $y in + "$last") continue ;; + esac + + # Move or update list + case $(( yy - len + move )) in + -*|0) term_move_down "$@" ;; + *) yy=1; return 0 ;; + esac + ;; + + g?|H2|"$ctrl_a"?) # g / Home / Ctrl-a + + # Terminal condition + case $y in + 1) continue ;; + esac + + # Normal mode v.s. Search mode + case $token in + '/') + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $filt_out + unset IFS + ;; + '') + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + esac + + y=1 yy=1 y2=$top pos=$top + redraw "$@" + return 0 + ;; + + G?|F2|"$ctrl_e"?) # G / End / Ctrl-e + + # Terminal condition + case $y in + "$last") continue ;; + esac + + # Normal mode v.s. Search mode + case $token in + '/') + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $filt_out + unset IFS + ;; + '') + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + esac + + y=$last yy=$len pos=$(( num * y - num + top )) + y2=$(( pos < fin - (num - 1) ? pos : fin - (num - 1) )) + + redraw "$@" + return 0 + ;; + + l?|C2|"$space"?) # l / Arrow Right / Esc + case $token in + '?') continue ;; + *) + term_reset + return 1 + ;; + esac + ;; + + "$esc") # l / Arrow Right / Esc + pkill -9 st + ;; + + h?|D2|"$bs_char"?) # h / Arrow Left / Backspace + + case $token in + '?'|'/') + unset token filt_out ans + old_reset + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + y=1 yy=1 y2=$top + redraw "$@" + return 0 + ;; + esac + ;; + + /?) # / + count=0 bound=$width + + old_save + + while :; do + + case $live_search in + '') + token='/' + prompt / r + ;; + 1) + token='l' + prompt "/$ans" l + + case $press${esc:=0} in + "$esc") # Enter + case $cur in + 'no result') continue ;; + *) + ltype="Searching..." + status_line "$last" + ltype="Search mode" + token='/' + case $# in + 1) # only one result, directly output it + term_reset + return 1 + ;; + esac + ;; + esac + ;; + "040") # Enter + case $cur in + 'no result') continue ;; + *) + ltype="Searching..." + status_line "$last" + ltype="Search mode" + token='/' + case $# in + 1) # only one result, directly output it + term_reset + return 1 + ;; + esac + ;; + esac + ;; + "$bs_char"?) # Backspace + case $ans in + '') continue ;; # Inactive when no ans + *) + ans=${ans%%?} + count=0 + unset complist + ;; + esac + ;; + "$tab"?) # Tab + case $count in + 0) # First run, record complist & $# + complist=$filt_out + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $complist + unset IFS + tot=$# + count=$(( count + 1 <= $# ? count + 1 : $# )) + tab_complete "$@" + ;; + *) # Other run, compare count and $# + case $(( count - tot )) in + -*) + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $complist + unset IFS + count=$(( count + 1 <= $# ? count + 1 : $# )) + tab_complete "$@" + ;; + *) continue ;; + esac + ;; + esac + ;; + Z2) # Shift-Tab + case $count in + 0) # First run, record complist + complist=$filt_out + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $complist + unset IFS + count=$(( count - 1 >= 1 ? count - 1 : 1 )) + tab_complete "$@" + esc=0 + ;; + *) # Other run, compare count and 1 + case $(( count - 1 )) in + -*|0) esc=0; continue ;; + *) + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $complist + unset IFS + count=$(( count - 1 >= 1 ? count - 1 : 1 )) + tab_complete "$@" + esc=0 + ;; + esac + ;; + esac + ;; + "$esc_c"*) esc=1; continue ;; + '[1') esc=2; continue ;; + [[:cntrl:]]?) esc=0; continue ;; # Do not accept other control char + *?) # Others + esc=0 + ans="$ans$press" + count=0 + unset complist + ;; + esac + ;; + esac + + search "$content" "$ifs" "$ans" + + # redraw if different & not Enter + [ "$filt_out" = "$last_filt_out" ] && [ -n "$press" ] && continue + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $filt_out + unset IFS + + + msg="Search by *${ans%%$nl*}*"; + + case $# in + 0) num=1; set -- 'no result' ;; + esac + + case $token in + l) + last='??' + last_filt_out="$filt_out" + redraw "$@" + ;; + /) + last=$# + len=$(( $# > 500 ? 500 : $# )) + num=$old_num + term_getsize + term_setup + redraw "$@" + break + ;; + esac + done + + unset count complist bound last_filt_out + + return 0 + ;; + + \??) # ? + set -- 'k/↑/Ctrl-p - up' \ + 'j/↓/Ctrl-n - down' \ + 'l/→ - right' \ + 'h/← - left' \ + 'Ctrl-f/PageDown - PageDown' \ + 'Ctrl-u/PageUp - PageUp' \ + 'g/Home/Ctrl-a - go to top' \ + 'G/End/Ctrl-e - go to bottom' \ + '/ - search' \ + ' live-search detail:' \ + ' Enter - confirm' \ + ' Backspace - delete previous character' \ + ' Tab - Tab-completion forward' \ + ' Shift-Tab - Tab-completion backward' \ + ' control char ignore' \ + ' others print out' \ + '? - show keybinds' \ + 'q - quit' + + unset format + old_save + num=1; y=1; yy=1; y2=$top; last=$#; len=$#; ltype=""; msg=keybinds; token='?'; + redraw "$@" + ;; + + q?) # q + term_reset + exit 0 + ;; + "$esc_c"*) esc=1 ;; + '[1') esc=2 ;; + 5?) esc=5 ;; # PageUp + 6?) esc=6 ;; # PageDown + *) esc=0 ;; + esac + done +} + +main() { + + set -e + + trap 'term_reset; exit 0' INT QUIT + trap 'term_getsize; term_setup; y=1; yy=1; y2=$top; pos=$top; redraw "$@"' WINCH + + term_getsize + term_setup + y=1 yy=1 y2=$top pos=$top + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + last=$# + len=$(( $# > 500 ? 500 : $# )) + + input_assign "0" "$len" "$@" + + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $list + unset IFS + + redraw "$@" + + # shellcheck disable=2181 + while key "$@"; do + case $token in + '/') # Search mode + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $filt_out + unset IFS + ;; + '') # Normal + IFS=${ifs:=$nl} + # shellcheck disable=2086 + set -- $content + unset IFS + esac + + done +} + +usage () { +cat << EOF +Usage: + +shellect [OPTIONS] ([ARGS]) + + -h, Show help options + -i, Set case-insensitive search + -l, Set live-search + -n=[num], Set numbers of line per entry + -d=[delim], Set delimiter (IFS, internal field separator) + -c=[content], Set content to display + -f=[format], Set the format to print out content + -t=[msg], Set top status bar message + -b=[msg], Set bottom status bar message + +format detail: + nldel delete last nl, equiv to "\${1%\$nl}" + basename only print basename, equiv to "\${1##*/}" ;; + + if unset or empty, then equiv to "\$1" + +live-search detail: + Enter confirm + Backspace delete previous character + Tab Tab-completion forward + Shift-Tab Tab-completion backward + control char ignore + others print out +EOF +} + + +nl=' +' +tab=' ' + +# special key setting +esc_c=$(printf '\033') +bs_char=$(printf '\177') +ctrl_f=$(printf '\006') +ctrl_u=$(printf '\025') +ctrl_n=$(printf '\016') +ctrl_p=$(printf '\020') +ctrl_a=$(printf '\001') +ctrl_e=$(printf '\005') +space=$(printf '\040') +escape=$(printf '\033') + +while getopts "t:b:n:d:c:f:hil" result; do + case "${result}" in + n) num=${OPTARG} ;; + d) ifs=${OPTARG} ;; + c) content=${OPTARG} ;; + f) format=${OPTARG} ;; + i) case_insense=1 ;; + l) live_search=1 ;; + t) msg="${OPTARG}" ;; + b) ltype="${OPTARG}" ;; + h) usage && exit 0 ;; + *) printf 'Invalid argument' && exit 0 ;; + esac +done + +case "$content" in + '') content=$(cat -u -) ;; # Accept pipe stdin +esac + +num=${num:=1} # num=1 if unset +main <&2 >/dev/tty # why it works, I don't know. +printf '%s' "$cur" >&1 diff --git a/static/packages/Emu/SCUMM (ScummVM)/Roms/SCUMMVM/.gitkeep b/static/packages/App/Video Player (FFplay)/Media/Videos/.gitkeep similarity index 100% rename from static/packages/Emu/SCUMM (ScummVM)/Roms/SCUMMVM/.gitkeep rename to static/packages/App/Video Player (FFplay)/Media/Videos/.gitkeep diff --git a/static/packages/Emu/Commodore - Amiga (puae)/Emu/AMIGA/config.json b/static/packages/Emu/Commodore - Amiga (PUAE 2021)/Emu/AMIGA/config.json similarity index 100% rename from static/packages/Emu/Commodore - Amiga (puae)/Emu/AMIGA/config.json rename to static/packages/Emu/Commodore - Amiga (PUAE 2021)/Emu/AMIGA/config.json diff --git a/static/packages/Emu/Commodore - Amiga (puae)/Emu/AMIGA/launch.sh b/static/packages/Emu/Commodore - Amiga (PUAE 2021)/Emu/AMIGA/launch.sh similarity index 80% rename from static/packages/Emu/Commodore - Amiga (puae)/Emu/AMIGA/launch.sh rename to static/packages/Emu/Commodore - Amiga (PUAE 2021)/Emu/AMIGA/launch.sh index ac24911f2..04a597589 100644 --- a/static/packages/Emu/Commodore - Amiga (puae)/Emu/AMIGA/launch.sh +++ b/static/packages/Emu/Commodore - Amiga (PUAE 2021)/Emu/AMIGA/launch.sh @@ -8,7 +8,7 @@ cd /mnt/SDCARD/App/PlayActivity ./playActivity "init" cd /mnt/SDCARD/RetroArch/ -HOME=/mnt/SDCARD/RetroArch/ $progdir/../../RetroArch/retroarch -v -L $progdir/../../RetroArch/.retroarch/cores/puae_libretro.so "$1" +HOME=/mnt/SDCARD/RetroArch/ $progdir/../../RetroArch/retroarch -v -L $progdir/../../RetroArch/.retroarch/cores/puae2021_libretro.so "$1" # Timer registration cd /mnt/SDCARD/App/PlayActivity diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/Logs/.gitkeep b/static/packages/Emu/Commodore - Amiga (PUAE 2021)/Roms/AMIGA/.gitkeep similarity index 100% rename from static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/Logs/.gitkeep rename to static/packages/Emu/Commodore - Amiga (PUAE 2021)/Roms/AMIGA/.gitkeep diff --git a/static/packages/Emu/Nintendo - Game Boy Advance (gpSP)/Emu/GBA/config.json b/static/packages/Emu/Nintendo - GBA (mGBA)/Emu/GBA/config.json similarity index 100% rename from static/packages/Emu/Nintendo - Game Boy Advance (gpSP)/Emu/GBA/config.json rename to static/packages/Emu/Nintendo - GBA (mGBA)/Emu/GBA/config.json diff --git a/static/packages/Emu/Nintendo - GBA (mGBA)/Emu/GBA/launch.sh b/static/packages/Emu/Nintendo - GBA (mGBA)/Emu/GBA/launch.sh new file mode 100644 index 000000000..52d092759 --- /dev/null +++ b/static/packages/Emu/Nintendo - GBA (mGBA)/Emu/GBA/launch.sh @@ -0,0 +1,54 @@ +#!/bin/sh +echo $0 $* +progdir=`dirname "$0"` +homedir=`dirname "$1"` + +# migration information gpSP to mGBA + +if ! [ -f "/mnt/SDCARD/Saves/CurrentProfile/saves/mGBA/.gpspImportDone" ]; then + mkdir /mnt/SDCARD/Saves/CurrentProfile/saves/mGBA + + ls /mnt/SDCARD/Saves/CurrentProfile/saves/gpSP/*.sav + retVal=$? + + if [ $retVal -eq 0 ]; then + /mnt/SDCARD/.tmp_update/bin/prompt -r -t "New default GBA core!" -m \ + "- mGBA offers improved game compatibility!\n\ + - gpSP moved to expert section. \n\ + Refer to the Onion Wiki.\n\ + -\nDo you want to import saves from gpSP ?" \ + "Yes" \ + "No" + + + retcode=$? + + if [ $retcode -eq 0 ]; then + cp /mnt/SDCARD/Saves/CurrentProfile/saves/gpSP/*.sav /mnt/SDCARD/Saves/CurrentProfile/saves/mGBA + for file in /mnt/SDCARD/Saves/CurrentProfile/saves/mGBA/*.sav; do + mv -n -- "$file" "${file%.sav}.srm" + done + rm /mnt/SDCARD/Saves/CurrentProfile/saves/mGBA/*.sav + + fi + else + /mnt/SDCARD/.tmp_update/bin/infoPanel -t "New default GBA core!" -m "- mGBA offers improved game compatibility!\n\ + - gpSP moved to expert section. \n\ + Refer to the Onion Wiki." + + fi + +touch "/mnt/SDCARD/Saves/CurrentProfile/saves/mGBA/.gpspImportDone" +fi + + +# Timer initialisation +cd /mnt/SDCARD/App/PlayActivity +./playActivity "init" + +cd /mnt/SDCARD/RetroArch/ +HOME=/mnt/SDCARD/RetroArch/ $progdir/../../RetroArch/retroarch -v -L $progdir/../../RetroArch/.retroarch/cores/mgba_libretro.so "$1" + +# Timer registration +cd /mnt/SDCARD/App/PlayActivity +./playActivity "$1" \ No newline at end of file diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/Paks/.gitkeep b/static/packages/Emu/Nintendo - GBA (mGBA)/Roms/GBA/.gitkeep similarity index 100% rename from static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/Paks/.gitkeep rename to static/packages/Emu/Nintendo - GBA (mGBA)/Roms/GBA/.gitkeep diff --git a/static/packages/Emu/PICO-8 (Fake8)/Emu/PICO/launch.sh b/static/packages/Emu/PICO-8 (Fake8)/Emu/PICO/launch.sh index 1d6383886..3782dd774 100644 --- a/static/packages/Emu/PICO-8 (Fake8)/Emu/PICO/launch.sh +++ b/static/packages/Emu/PICO-8 (Fake8)/Emu/PICO/launch.sh @@ -6,10 +6,9 @@ homedir=`dirname "$1"` cd $progdir ./cpufreq.sh -killall audioserver -killall audioserver.mod - -HOME=$homedir $progdir/FAKE08 "$1" - -/mnt/SDCARD/miyoo/app/audioserver & +# Timer initialisation +cd /mnt/SDCARD/App/PlayActivity +./playActivity "init" +cd /mnt/SDCARD/RetroArch/ +HOME=/mnt/SDCARD/RetroArch/ $progdir/../../RetroArch/retroarch -v --log-file retroarch.log -L $progdir/../../RetroArch/.retroarch/cores/fake08_libretro.so "$1" diff --git a/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/config.json b/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/config.json index 5468104ce..0e179147e 100644 --- a/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/config.json +++ b/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/config.json @@ -3,11 +3,11 @@ "icon":"../../Icons/scummvm.png", "iconsel":"../../Icons/scummvm.png", "launch":"launch.sh", -"rompath":"../../Roms/SCUMMVM", +"rompath":"../../Roms/SCUMMVM/Shortcuts", "imgpath":"../../Roms/SCUMMVM/Imgs", "gamelist":"../../Roms/SCUMMVM/miyoogamelist.xml", "useswap":1, "shortname":0, "hidebios":0, -"extlist":"scummvm" +"extlist":"scummvm|target" } diff --git a/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/import_gamelist.sh b/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/import_gamelist.sh new file mode 100644 index 000000000..1ac09570a --- /dev/null +++ b/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/import_gamelist.sh @@ -0,0 +1,68 @@ +#!/bin/sh + +ScummvmCfgPath=/mnt/SDCARD/BIOS/scummvm.ini +i=0 + + +echo "Running scummVM Scan =============================================================" +/mnt/SDCARD/.tmp_update/bin/infoPanel -t "ScummVM Script" -m "Please wait..." & + +cp $ScummvmCfgPath ./standalone/.config/scummvm/scummvm.ini +export HOME=./standalone +./standalone/scummvm -p "/mnt/SDCARD/Roms/SCUMMVM/Games" --add --recursive +cp ./standalone/.config/scummvm/scummvm.ini $ScummvmCfgPath + + +# removing all the old shortcuts +rm /mnt/SDCARD/Roms/SCUMMVM/Shortcuts/*.target +# ...and create the default shortcut to run import again +touch "/mnt/SDCARD/Roms/SCUMMVM/Shortcuts/◦ Import games in ScummVM.target" + + +# here we get all the targets names +cat $ScummvmCfgPath | sed -n 's/^[ \t]*\[\(.*\)\].*/\1/p' | (while read target ; + +do + + # We skip the first Scummvm section which is not a game + if [ "$target" = "scummvm" ]; then continue; fi + + # get the full name of the game (we also remove special characters) : + FullName=`cat $ScummvmCfgPath | sed -n "/^[ \t]*\["$target"]/,/\[/s/^[ \t]*description[ \t]*=[ \t]*//p" | sed -e 's/: / - /g' | tr -cd "A-Z a-z0-9()._'-"` + + # get the current path of the game : + Path=`cat $ScummvmCfgPath | sed -n "/^[ \t]*\["$target"]/,/\[/s/^[ \t]*path[ \t]*=[ \t]*//p" ` + + + echo ---- + echo full name : $FullName + echo target : ${target} + echo path : $Path + echo creating file "/mnt/SDCARD/Roms/SCUMMVM/Shortcuts/$FullName.target" with value ${target} + echo ---- + + echo ${target} > "/mnt/SDCARD/Roms/SCUMMVM/Shortcuts/$FullName.target" + + let i++; + +done + + +sleep 1 +killall infoPanel + + +if [ "$i" -eq 0 ] +then + /mnt/SDCARD/.tmp_update/bin/infoPanel -t "ScummVM Script" -m "Import done.\n\nNo games detected." +else + /mnt/SDCARD/.tmp_update/bin/infoPanel -t "ScummVM Script" -m "Done.\n\n$i game(s) detected." +fi + + sed -i "/\"pageend\":/s/:.*,/: 6,/" "/tmp/state.json" # Little trick which allows to displays all the new items in the game list of MainUI + rm "/mnt/SDCARD/Roms/SCUMMVM/Shortcuts/Shortcuts_cache2.db" + + +) + + diff --git a/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/launch.sh b/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/launch.sh index f0d05a356..f1bc7ad13 100644 --- a/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/launch.sh +++ b/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/launch.sh @@ -5,21 +5,24 @@ homedir=`dirname "$1"` rompath="$1" filename=`basename "$rompath"` -gamename="${filename%.*}" -if [ -d "$homedir/$gamename" ] ; then - rompath="$homedir/$gamename/$gamename.scumm0" - cp "$1" "$rompath" - echo "scummvm file: $rompath" -fi -# Timer initialisation -cd /mnt/SDCARD/App/PlayActivity -./playActivity "init" +if [ "$filename" = "◦ Import games in ScummVM.target" ]; then + echo Importing ScummVM shortcuts now ! + cd $progdir + ./import_gamelist.sh +else + echo Running game : "$rompath" + # set CPU performance mode + echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor + + # disable audioserver to gain some MB of ram + killall audioserver + killall audioserver.mod -cd /mnt/SDCARD/RetroArch/ -HOME=/mnt/SDCARD/RetroArch/ $progdir/../../RetroArch/retroarch -v -L $progdir/../../RetroArch/.retroarch/cores/scummvm_libretro.so "$rompath" + # Running retroarch (ScummVM will be launched with the argument contained in the .target file). + cd /mnt/SDCARD/RetroArch/ + HOME=/mnt/SDCARD/RetroArch/ $progdir/../../RetroArch/retroarch -v -L $progdir/../../RetroArch/.retroarch/cores/scummvm_libretro.so "$rompath" -# Timer registration -cd /mnt/SDCARD/App/PlayActivity -./playActivity "$rompath" + /mnt/SDCARD/miyoo/app/audioserver & +fi diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/Saves/.gitkeep b/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/standalone/.config/scummvm/.gitkeep similarity index 100% rename from static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/Saves/.gitkeep rename to static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/standalone/.config/scummvm/.gitkeep diff --git a/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/standalone/scummvm b/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/standalone/scummvm new file mode 100644 index 000000000..32bb88311 Binary files /dev/null and b/static/packages/Emu/SCUMM (ScummVM)/Emu/SCUMMVM/standalone/scummvm differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/ScreenShots/.gitkeep b/static/packages/Emu/SCUMM (ScummVM)/Roms/SCUMMVM/Games/.gitkeep similarity index 100% rename from static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/ScreenShots/.gitkeep rename to static/packages/Emu/SCUMM (ScummVM)/Roms/SCUMMVM/Games/.gitkeep diff --git "a/static/packages/Emu/SCUMM (ScummVM)/Roms/SCUMMVM/Imgs/\342\227\246 Import games in ScummVM.png" "b/static/packages/Emu/SCUMM (ScummVM)/Roms/SCUMMVM/Imgs/\342\227\246 Import games in ScummVM.png" new file mode 100644 index 000000000..9ca6d1da5 Binary files /dev/null and "b/static/packages/Emu/SCUMM (ScummVM)/Roms/SCUMMVM/Imgs/\342\227\246 Import games in ScummVM.png" differ diff --git a/static/packages/RApp/Nintendo - GBA (mGBA)/Roms/GBA/.gitkeep "b/static/packages/Emu/SCUMM (ScummVM)/Roms/SCUMMVM/Shortcuts/\342\227\246 Import games in ScummVM.target" similarity index 100% rename from static/packages/RApp/Nintendo - GBA (mGBA)/Roms/GBA/.gitkeep rename to "static/packages/Emu/SCUMM (ScummVM)/Roms/SCUMMVM/Shortcuts/\342\227\246 Import games in ScummVM.target" diff --git a/static/packages/Emu/Sony - PlayStation (PCSX ReARMed)/Emu/PSX/config.json b/static/packages/Emu/Sony - PlayStation (PCSX ReARMed)/Emu/PSX/config.json index 2114a6cd7..58bbd2e43 100644 --- a/static/packages/Emu/Sony - PlayStation (PCSX ReARMed)/Emu/PSX/config.json +++ b/static/packages/Emu/Sony - PlayStation (PCSX ReARMed)/Emu/PSX/config.json @@ -9,5 +9,5 @@ "useswap":1, "shortname":0, "hidebios":0, -"extlist":"cue|mdf|pbp|toc||cbn|m3u|ccd|chd" +"extlist":"cue|mdf|pbp|toc|cbn|m3u|ccd|chd" } diff --git a/static/packages/RApp/Arcade (M.B.A-mini)/RApp/mba-mini/config.json b/static/packages/RApp/Arcade (M.B.A-mini)/RApp/mba-mini/config.json new file mode 100644 index 000000000..135d1a8f0 --- /dev/null +++ b/static/packages/RApp/Arcade (M.B.A-mini)/RApp/mba-mini/config.json @@ -0,0 +1,12 @@ +{ +"label":"M.B.A-mini", +"icon":"mbamini.png", +"iconsel":"", +"launch":"launch.sh", +"rompath":"../../Roms/MBA", +"imgpath":"../../Roms/MBA/Imgs", +"useswap":1, +"shortname":1, +"hidebios":1, +"extlist":"" +} \ No newline at end of file diff --git a/static/packages/RApp/Arcade (M.B.A-mini)/RApp/mba-mini/launch.sh b/static/packages/RApp/Arcade (M.B.A-mini)/RApp/mba-mini/launch.sh new file mode 100644 index 000000000..780a8ce79 --- /dev/null +++ b/static/packages/RApp/Arcade (M.B.A-mini)/RApp/mba-mini/launch.sh @@ -0,0 +1,9 @@ +#!/bin/sh +echo $0 $* +progdir=`dirname "$0"` +homedir=`dirname "$1"` + + +cd /mnt/SDCARD/RetroArch/ +HOME=/mnt/SDCARD/RetroArch/ $progdir/../../RetroArch/retroarch -v -L $progdir/../../RetroArch/.retroarch/cores/mba_mini_libretro.so "$1" + diff --git a/static/packages/RApp/Arcade (M.B.A-mini)/RApp/mba-mini/mbamini.png b/static/packages/RApp/Arcade (M.B.A-mini)/RApp/mba-mini/mbamini.png new file mode 100644 index 000000000..1845eb7c6 Binary files /dev/null and b/static/packages/RApp/Arcade (M.B.A-mini)/RApp/mba-mini/mbamini.png differ diff --git a/static/packages/RApp/Arcade (M.B.A-mini)/Roms/MBA/.gitkeep b/static/packages/RApp/Arcade (M.B.A-mini)/Roms/MBA/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/Launch/Launch OpenBOR.sh b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/Launch/Launch OpenBOR.sh deleted file mode 100644 index 4287ca861..000000000 --- a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/Launch/Launch OpenBOR.sh +++ /dev/null @@ -1 +0,0 @@ -# \ No newline at end of file diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/OpenBOR b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/OpenBOR new file mode 100644 index 000000000..be7ab3bf7 Binary files /dev/null and b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/OpenBOR differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/OpenBOR.ss b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/OpenBOR.ss deleted file mode 100644 index d89afcc96..000000000 Binary files a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/OpenBOR.ss and /dev/null differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/config.json b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/config.json index 58785cbe4..6f2bb2330 100644 --- a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/config.json +++ b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/config.json @@ -1,12 +1,12 @@ { "label":"OpenBOR", -"icon":"openbor.png", -"iconsel":"", +"icon":"icon.png", +"iconsel":"icon.png", "launch":"launch.sh", -"rompath":"./Launch", -"imgpath":"", +"rompath":"../../Roms/OPENBOR", +"imgpath":"../../Imgs/OPENBOR", "useswap":1, "shortname":0, -"hidebios":1, +"hidebios":0, "extlist":"" -} \ No newline at end of file +} diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/icon.png b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/icon.png new file mode 100644 index 000000000..58b1ec9fe Binary files /dev/null and b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/icon.png differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/launch.sh b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/launch.sh index acaf3da51..9cb3e2552 100644 --- a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/launch.sh +++ b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/launch.sh @@ -1,7 +1,21 @@ #!/bin/sh -echo $0 $* -progdir=`dirname "$0"` +mydir=`dirname "$0"` -cd $progdir -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$progdir -HOME=/mnt/SDCARD $progdir/OpenBOR.ss \ No newline at end of file +export LD_LIBRARY_PATH=/mnt/SDCARD/.tmp_update/lib/parasyte:$LD_LIBRARY_PATH + +export SDL_VIDEODRIVER=mmiyoo +export SDL_AUDIODRIVER=mmiyoo + +echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor + +cd $mydir + + +killall audioserver +killall audioserver.mod + + +./OpenBOR "$1" + + +/mnt/SDCARD/miyoo/app/audioserver & \ No newline at end of file diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libSDL_gfx.so.16 b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libSDL_gfx.so.16 deleted file mode 100644 index 4a44ab4b9..000000000 Binary files a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libSDL_gfx.so.16 and /dev/null differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libogg.so.0 b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libogg.so.0 deleted file mode 100644 index 79435d1b5..000000000 Binary files a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libogg.so.0 and /dev/null differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libvorbis.so.0 b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libvorbis.so.0 deleted file mode 100644 index 03352abfc..000000000 Binary files a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libvorbis.so.0 and /dev/null differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libvorbisenc.so.2 b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libvorbisenc.so.2 deleted file mode 100644 index ae4097a74..000000000 Binary files a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libvorbisenc.so.2 and /dev/null differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libvorbisfile.so.3 b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libvorbisfile.so.3 deleted file mode 100644 index 07f7d1a6a..000000000 Binary files a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/libvorbisfile.so.3 and /dev/null differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/openbor.png b/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/openbor.png deleted file mode 100644 index 9aecf7059..000000000 Binary files a/static/packages/RApp/Game engine - Open Beats of Rage/RApp/OpenBOR/openbor.png and /dev/null differ diff --git a/static/packages/RApp/Game engine - Open Beats of Rage/Roms/OPENBOR/.gitkeep b/static/packages/RApp/Game engine - Open Beats of Rage/Roms/OPENBOR/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/static/packages/RApp/Nintendo - GBA (mGBA)/RApp/mgba/config.json b/static/packages/RApp/Nintendo - GBA (gpSP)/RApp/gpsp/config.json similarity index 83% rename from static/packages/RApp/Nintendo - GBA (mGBA)/RApp/mgba/config.json rename to static/packages/RApp/Nintendo - GBA (gpSP)/RApp/gpsp/config.json index 580ea2c5d..9c8a27fed 100644 --- a/static/packages/RApp/Nintendo - GBA (mGBA)/RApp/mgba/config.json +++ b/static/packages/RApp/Nintendo - GBA (gpSP)/RApp/gpsp/config.json @@ -1,6 +1,6 @@ { -"label":"mgba", -"icon":"mgba.png", +"label":"gpsp", +"icon":"gpsp.png", "iconsel":"", "launch":"launch.sh", "rompath":"../../Roms/GBA", diff --git a/static/packages/RApp/Nintendo - GBA (gpSP)/RApp/gpsp/gpsp.png b/static/packages/RApp/Nintendo - GBA (gpSP)/RApp/gpsp/gpsp.png new file mode 100644 index 000000000..fb224167e Binary files /dev/null and b/static/packages/RApp/Nintendo - GBA (gpSP)/RApp/gpsp/gpsp.png differ diff --git a/static/packages/Emu/Nintendo - Game Boy Advance (gpSP)/Emu/GBA/launch.sh b/static/packages/RApp/Nintendo - GBA (gpSP)/RApp/gpsp/launch.sh similarity index 100% rename from static/packages/Emu/Nintendo - Game Boy Advance (gpSP)/Emu/GBA/launch.sh rename to static/packages/RApp/Nintendo - GBA (gpSP)/RApp/gpsp/launch.sh diff --git a/static/packages/RApp/Nintendo - GBA (gpSP)/Roms/GBA/.gitkeep b/static/packages/RApp/Nintendo - GBA (gpSP)/Roms/GBA/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/static/packages/RApp/Nintendo - GBA (mGBA)/RApp/mgba/mgba.png b/static/packages/RApp/Nintendo - GBA (mGBA)/RApp/mgba/mgba.png deleted file mode 100644 index 3a8ffe963..000000000 Binary files a/static/packages/RApp/Nintendo - GBA (mGBA)/RApp/mgba/mgba.png and /dev/null differ diff --git a/static/packages/Emu/PICO-8 (Fake8)/Emu/PICO/FAKE08 b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/FAKE08 similarity index 100% rename from static/packages/Emu/PICO-8 (Fake8)/Emu/PICO/FAKE08 rename to static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/FAKE08 diff --git a/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/FAKE08.png b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/FAKE08.png new file mode 100644 index 000000000..03760833a Binary files /dev/null and b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/FAKE08.png differ diff --git a/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/config.json b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/config.json new file mode 100644 index 000000000..0cca69289 --- /dev/null +++ b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/config.json @@ -0,0 +1,13 @@ +{ +"label":"PICO-8 standalone", +"icon":"FAKE08.png", +"iconsel":"", +"launch":"launch.sh", +"rompath":"../../Roms/PICO", +"imgpath":"../../Roms/PICO", +"gamelist":"../../Roms/PICO/miyoogamelist.xml", +"useswap":1, +"shortname":0, +"hidebios":0, +"extlist":"p8|png" +} diff --git a/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/cpufreq.sh b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/cpufreq.sh new file mode 100644 index 000000000..ffb89a487 --- /dev/null +++ b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/cpufreq.sh @@ -0,0 +1,3 @@ +echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor +cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq +cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor \ No newline at end of file diff --git a/static/packages/RApp/Nintendo - GBA (mGBA)/RApp/mgba/launch.sh b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/launch.sh similarity index 57% rename from static/packages/RApp/Nintendo - GBA (mGBA)/RApp/mgba/launch.sh rename to static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/launch.sh index f83421075..9a3ea8a12 100644 --- a/static/packages/RApp/Nintendo - GBA (mGBA)/RApp/mgba/launch.sh +++ b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/PICO/launch.sh @@ -2,13 +2,19 @@ echo $0 $* progdir=`dirname "$0"` homedir=`dirname "$1"` +cd $progdir +./cpufreq.sh # Timer initialisation cd /mnt/SDCARD/App/PlayActivity ./playActivity "init" -cd /mnt/SDCARD/RetroArch/ -HOME=/mnt/SDCARD/RetroArch/ $progdir/../../RetroArch/retroarch -v -L $progdir/../../RetroArch/.retroarch/cores/mgba_libretro.so "$1" +killall audioserver +killall audioserver.mod + +HOME=$homedir $progdir/FAKE08 "$1" + +/mnt/SDCARD/miyoo/app/audioserver & # Timer registration cd /mnt/SDCARD/App/PlayActivity diff --git a/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/Roms/PICO/.gitkeep b/static/packages/RApp/PICO-8 (Fake8 standalone)/RApp/Roms/PICO/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/static/packages/RApp/PICO-8 (Fake8 standalone)/Roms/PICO/.gitkeep b/static/packages/RApp/PICO-8 (Fake8 standalone)/Roms/PICO/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/.pcsx/pcsx.cfg b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/.pcsx/pcsx.cfg index df9bf04c9..a5dc8a44c 100644 --- a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/.pcsx/pcsx.cfg +++ b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/.pcsx/pcsx.cfg @@ -6,18 +6,16 @@ Mdec = 0 Cdda = 0 Debug = 0 PsxOut = 0 -SpuIrq = 0 -RCntFix = 0 -VSyncWA = 0 +icache_emulation = 0 +DisableStalls = 0 Cpu = 0 -g_ss_vsync = 1 region = 0 g_scaler3 = 2 g_gamma = 64 g_layer_x = 0 g_layer_y = 0 -g_layer_w = 140 -g_layer_h = f0 +g_layer_w = 280 +g_layer_h = 1e0 soft_filter = 0 scanlines = 0 scanline_level = 14 @@ -35,14 +33,21 @@ memcard2_sel = ffffffff g_autostateld_opt = 0 adev0_is_nublike = 0 adev1_is_nublike = 0 -frameskip3 = 0 +frameskip3 = 1 gpu_peops.iUseDither = 0 gpu_peops.dwActFixes = 80 gpu_unai.lineskip = 0 gpu_unai.abe_hack = 0 gpu_unai.no_light = 0 gpu_unai.no_blend = 0 -gpu_neon.allow_interlace = 2 +gpu_senquack.ilace_force = 0 +gpu_senquack.pixel_skip = 0 +gpu_senquack.lighting = 1 +gpu_senquack.fast_lighting = 0 +gpu_senquack.blending = 1 +gpu_senquack.dithering = 0 +gpu_senquack.scale_hires = 0 +gpu_neon.allow_interlace = 0 gpu_neon.enhancement_enable = 1 gpu_neon.enhancement_no_main = 1 gpu_peopsgl.bDrawDither = 0 @@ -55,13 +60,12 @@ gpu_peopsgl.bUseFastMdec = 0 gpu_peopsgl.iVRamSize = 40 gpu_peopsgl.iTexGarbageCollection = 1 gpu_peopsgl.dwActFixes = 0 -spu_config.iUseReverb = 1 -spu_config.idiablofix = 0 +spu_config.iUseReverb = 0 spu_config.iXAPitch = 0 -spu_config.iUseInterpolation = 1 +spu_config.iUseInterpolation = 0 spu_config.iTempo = 0 spu_config.iUseThread = 1 -config_save_counter = 13 +config_save_counter = 14 in_evdev_allow_abs_only = 0 volume_boost = 0 psx_clock = 39 diff --git a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/config.json b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/config.json index dc995d180..2d7a667d0 100644 --- a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/config.json +++ b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/config.json @@ -8,5 +8,5 @@ "useswap":0, "shortname":0, "hidebios":1, -"extlist":"" +"extlist":"cue|mdf|pbp|toc|cbn|m3u|ccd|chd" } \ No newline at end of file diff --git a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/pcsx b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/pcsx index a39bf18a5..faf4c613d 100644 Binary files a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/pcsx and b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/pcsx differ diff --git a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_peops.so b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_peops.so index adaeaed3c..be4ce3811 100644 Binary files a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_peops.so and b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_peops.so differ diff --git a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_senquack.so b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_senquack.so index 0bf53f06f..e52973b63 100644 Binary files a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_senquack.so and b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_senquack.so differ diff --git a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_unai.so b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_unai.so index 2aaab3e41..de91812e3 100644 Binary files a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_unai.so and b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/gpu_unai.so differ diff --git a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/spunull.so b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/spunull.so index c3e837df3..763cf1376 100644 Binary files a/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/spunull.so and b/static/packages/RApp/Sony - PlayStation (PCSX standalone)/RApp/PCSX-ReARMed/plugins/spunull.so differ