Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #install retroarch
- wget -c "https://buildbot.libretro.com/stable/1.15.0/android/RetroArch.apk"
- adb install -g RetroArch.apk
- #start retro arch
- adb shell am start -a android.intent.action.MAIN -n com.retroarch/.browser.mainmenu.MainMenuActivity
- #load retroarch and install cores [example: mame-current]
- #Download and push roms to Android device
- wget -c "https://archive.org/download/mame-merged/mame-merged/qsound_hle.zip"
- wget -c "https://archive.org/download/mame-merged/mame-merged/mvsc.zip"
- adb push mvsc.zip qsound_hle.zip /sdcard/RetroArch/downloads/
- #make sure retroarch is closed
- adb shell am force-stop com.retroarch
- #disable onscreen controls
- adb shell 'sed -i "s/input_overlay_enable = \"true\"/input_overlay_enable = \"false\"/g" /sdcard/Android/data/com.retroarch/files/retroarch.cfg'
- #load retroarch and install cores [example: mame-current]
- #test launch command
- adb shell am force-stop com.retroarch
- adb shell am start -n com.retroarch/.browser.retroactivity.RetroActivityFuture -e ROM /sdcard/RetroArch/downloads/mvsc.zip -e LIBRETRO /data/data/com.retroarch/cores/mamearcade_libretro_android.so -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg -e QUITFOCUS --activity-clear-task --activity-clear-top --activity-no-history
- #use termux to create shortcut
- wget -c "https://f-droid.org/repo/com.termux_118.apk" -O termux.apk
- wget -c "https://f-droid.org/repo/com.termux.widget_13.apk" -O termux.widget.apk
- adb install -g termux.apk
- adb install -g termux.widget.apk
- #start termux once to setup files
- adb shell am start -n com.termux/.app.TermuxActivity
- ##########################################
- #in termux run these commands
- mkdir -p ~/.shortcuts
- curl "https://gitlab.com/-/snippets/2557869/raw/main/mvsc.sh?inline=false" -o ~/.shortcuts/mvsc.sh
- chmod +x ~/.shortcuts/mvsc.sh
- ##########################################
- #launch game at boot
- wget "https://f-droid.org/repo/com.termux.boot_7.apk"
- adb install -g com.termux.boot_7.apk
- ##########################################
- #in termux run these commands
- mkdir -p ~/.termux/boot
- curl "https://gitlab.com/-/snippets/2557869/raw/main/mvsc.sh?inline=false" -o ~/.termux/boot/mvsc.sh
- chmod +x ~/.termux/boot/mvsc.sh
- ##########################################
- #now added icon widget to desktop
- #for custom icon use launcher that allows changing icons
- #example lawnchair
- wget -c "https://filmsbykris.com/scripts/2023/ch.deletescape.lawnchair.plah.apk" -O lawnchair.apk
- adb install -g lawnchair.apk
- #set lawnchair as default launcher
- adb shell cmd package set-home-activity ch.deletescape.lawnchair.plah/ch.deletescape.lawnchair.Launcher
- #download icon
- wget -c "https://filmsbykris.com/scripts/2023/mvsc.png"
- adb push mvsc.png /sdcard/Download/
- #Disable Android lock screen
- adb shell locksettings set-disabled true
- adb shell locksettings clear –old CREDENTIAL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement