Skip to content

Commit 83fdb09

Browse files
committed
readme and build scripts
1 parent 8812466 commit 83fdb09

3 files changed

Lines changed: 25 additions & 8 deletions

File tree

platform/libretro/README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,19 @@ If the core appears named as `v06x_libretro` and not as `Vector-06C`, quit Retro
115115
# Gamepad mapping
116116

117117
* D-pad, A/B is Joystick 1 + buttons
118-
* X = ВК/Enter, Y = Space
119-
* Left shoulder = РУС
120-
* Left trigger = СС
121-
* Right trigger = УС
122-
* Right shoulder = ПС
118+
* X = СС/Shift
119+
* Y = ТАБ/Tab
120+
* L1 = Show/hide virtual keyboard
121+
* L2 = РУС/LAT
122+
* R2 = ЗБ/Backspace
123+
* R1 = ВК/Enter or switch virtual keyboard position
123124
* START = БЛК+СБР
124125
* SELECT = F1
125126

126-
This is not sufficient for every game, unfortunately. For example some games want you to press ТАБ or АР2. These are not yet implemented.
127+
# Virtual keyboard
127128

129+
A is a sticky press, press A again to unstick. B is momentary press. A momentary press unsticks all stickies.
130+
X/Shift and R2/ЗБ can be used while using virtual keyboard.
131+
132+
To boot into BASIC (F3+БЛК+ВВОД), point to F3, press A, point to ВВОД, press A, press A again, point to СБР, press B.
128133

platform/libretro/build-all-platforms.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,18 @@ rm -f linux-arm32/*.so
77
rm -f linux-x86_64/*.so
88
rm -f win64/*.so
99

10-
make clean && ./mk.sh -j && cp v06x_libretro.dll win64/
10+
make clean && ./mk.sh -j && strip v06x_libretro.dll && cp v06x_libretro.dll win64/
1111
make clean && podman run --rm -it -v $PWD/../..:/work:Z -w /work/platform/libretro libretro-builder ./mk-arm32.sh -j
1212
make clean && podman run --rm -it -v $PWD/../..:/work:Z -w /work/platform/libretro libretro-builder ./mk-aarch64.sh -j
13-
make clean && make -j && mv v06x_libretro.so linux-x86_64/*
13+
make clean && make -j && mv v06x_libretro.so linux-x86_64/
1414

15+
zip -u v06x_libretro.zip
1516

17+
cat BANNER.txt >.zipcomment.txt
18+
echo " v06x-libretro built on $(date -R) git: $(git rev-parse --short HEAD)" >>.zipcomment.txt
19+
echo "" >>.zipcomment.txt
20+
zip -z v06x_libretro.zip <.zipcomment.txt
21+
rm -f .zipcomment.txt
22+
23+
unzip -l v06x_libretro.zip
1624

platform/libretro/mk-arm32.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
#!/bin/bash
2+
mkdir -p linux-arm32
3+
rm -f linux-arm32/v06x_libretro.so
24
make platform=linux-portable CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ V=1 $*
5+
strip v06x_libretro.so
6+
cp v06x_libretro.so linux-arm32/

0 commit comments

Comments
 (0)