Virtual Pinball using Android-X86 in portrait mode

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • In this video I show you how turn an old PC in to an Android based virtual pinball machine.
    I’m using Android 8.1 because this version works best for keyboard and mouse control.
    By default Android-X86 does not support audio over HDMI and the display will always stay in landscape mode. I will show the required changes to make it work, anyways.
    Android-X86 image : www.android-x8...
    The kernel bug that requires the extra boot parameter: EXTMOD=realtek is documented here:
    groups.google....
    Tutorial on creating the USB boot stick and installing Android 8.1-R1 by ETA PRIME:
    • Turn An Old PC Into An...
    I forget to turn on “Enable Native Bridge” in my video, please check:
    • Turn An Old PC Into An...
    It’s not required for Williams Pinball, but it may be necessary to run games which were developed for ARM only.
    The wave sample I used for testing:
    freewavesample...
    Use the “su” command in the terminal emulator to open a root shell.
    “cat /proc/asound/cards” will list the sound cards
    “ls -l /dev/snd/” will list all sound devices
    Command for playing audio:
    alsa_aplay -Dplughw:x,y /storage/emulated/0/Download/Alesis-Fusion-Acoustic-Bass-C2.wav
    x=card / y=device is the same as in “pcmCxDyp” of the device listing.
    Optional backup command:
    cp /etc/init.sh /etc/init.sh.orig
    The VI-editor is somewhat strange when you use it for the first time.
    “/pattern” will jump to first occurrence of “pattern”, “n” can be used to jump the next occurrence.
    “a” will append characters after the cursor position.
    “i” will insert characters at the cursor position.
    “ESC” exits editing commands.
    “wq” will write the file and exits vi.
    “q!” can be used to exit after modifications without saving.
    The commands for both changes in one session:
    vi /etc/init.sh
    /audio
    Move cursor to the c of “esac” in init.hal.audio()
    Press “a” and type return and “set_property hal.audio.out pcmCxDyP” (x/y as determined in the wave test) Press “ESC”
    /orient
    Move the cursor to the space after “config_override_forced_orient”, press “a"
    Type “true #”, press “ESCwq” to write file.
    Type “reboot” to reboot.
    Link to the Set Orientation APK
    www.apkmirror....
    I recommend using a keyboard with multimedia keys and a home button.
    You need to toggle mute or volume up/down to activate the audio for the first time.
    Volume up/down will only toggle audio on/off when using HDMI-audio.
    Press CTRL-ALT-Del to get to the power down menu.

Комментарии • 26

  • @Wurmtal868
    @Wurmtal868  4 года назад +1

    There is a new release Android 8.1-r5 which has the Ethernet PHY issue fixed:
    www.android-x86.org/releases/releasenote-8-1-r5.html

  • @keu274
    @keu274 3 года назад

    I’m trying this tomorrow! The portrait mode is what I’ve been trying. This looks to be the winner. Thanks for documenting and sharing 🙏

    • @Wurmtal868
      @Wurmtal868  3 года назад +1

      You're welcome!
      Did it work for you?

    • @keu274
      @keu274 3 года назад

      @@Wurmtal868 yes it did. I just needed portrait view. Worked perfectly 👌

  • @Woodwerker
    @Woodwerker 3 года назад

    WOW! You are a wizard! I love this project. I have been making arcade and console emualtion systems for a while now and want to get into Virtual Pinball. This would be a step in the right direction to get me started. BTW - you do not have any external video card in this system - you are using integrated graphics - is this true? Thanks for sharing your knowledge. The rotation of the whole Android screen is something that I have been struggling with in Android. Thanks again! Oh one more thing - I am a vi user for years but really like how you explained how to use vi for new people - very nice. Take care...Big thumbs up and subscribed..

    • @Wurmtal868
      @Wurmtal868  3 года назад +1

      Yes Tom,
      I'm using Intel's integrated graphics. I tried NVIDIA external GPUs without success. Android-X86 is not able to use the closed source driver for Nvidia-GPUs. I have no AMD CPUs or GPUs to compare.
      Lowest perf CPU I was able to play pinball, is a Sandy Bridge Pentium CPU@1.5GHz in my Acer Aspire One 756-987. The system should have dual channel RAM and for the Core-I3-2120 I needed at least 2x4GB to get stutter-free graphics. The Haswell Celeron shown in the video is good to play with only 2x2GB RAM.

  • @Teknikfrik
    @Teknikfrik 3 года назад

    This is exactly what i want to do. Vpin the cheapest way possible. Was looking for a androidbox but old pc is even better

  • @armorgeddon
    @armorgeddon 4 года назад

    A tutorial as detailed as it should be! I also like that you put it all in the description.
    Any particular reason why using Android instead of Linux or Windows?

    • @Wurmtal868
      @Wurmtal868  4 года назад

      Thanks a lot!
      Why Android? Short answer: Pure Accident
      I was looking for a way to run Android Apps in Linux and got linked to the Android-X86 project.
      Android runs well on Intel based Tablets.These tablets use power efficient but low performance Atom CPUs. So the Intel HW support in Android is pretty good. Guess what happens when you now replace the low performance Atom with an old but decent Core-Ix CPU?
      www.cpubenchmark.net/compare/Intel-i3-2120-vs-Intel-Atom-x5-Z8500-vs-Intel-Celeron-G1840/752vs2581vs2268

  • @tv175s3
    @tv175s3 Год назад

    Usefull instructions, for my the wq after Esc didn't work, I get a message ' q is not implemented'. I found that I need to enter : before the wq, so that is :wq, then it worked!

  • @virtualpinball5065
    @virtualpinball5065 4 года назад

    Very nice job.

  • @japelayes
    @japelayes 3 года назад

    Excelente!! Me ayudaste a resolver una configuracion en Android x86, Muchas gracias!

  • @danterodriguez5381
    @danterodriguez5381 4 года назад

    Nice job! 👏👏👏 I’ll try it on my old pc. Can you describe to us what kind of “old pc” did you use for this tutorial? Specifications? Thanks!

    • @Wurmtal868
      @Wurmtal868  4 года назад

      Please see the POST message at 42sec !
      ruclips.net/video/YncZh2ZDl_A/видео.html
      It's a Haswell Celeron
      In the scene at the beginning I was playing with my living room PC which has a Core I3-2120 with 2x4GB and a H61 chipset. I tried running this PC with only 4GB of RAM but this results in stutter after some time of playing. Seems that the later Haswell GPU require less RAM to have the same graphics performance.
      So far I can only recommend internal Intel GPUs. I have no AMD system so I don't know if these are compatible as well. Running Android on an older Pentium E5200 with an external NVIDIA GF119 did not work.

  • @josephyau9753
    @josephyau9753 Год назад

    I cannot get the keyboard working. I am stuck on the choose your first table screen. The only button button working is the ESC key which ask me if I want to quite the app. Any idea how? . I have no problem playing other Zen pinball except Williams..

    • @Wurmtal868
      @Wurmtal868  Год назад

      You need a mouse to navigate through the menus. After starting a table a keyboard is sufficient.

  • @jamesguralski5156
    @jamesguralski5156 9 месяцев назад

    Looking to run vpin native on Android? You have a link or install?

  • @Youtol75
    @Youtol75 2 года назад

    Thanks for the video. But how do you get passed the read only part of init.sh.

    • @Wurmtal868
      @Wurmtal868  2 года назад

      You need to install Android as writable. Please see ruclips.net/video/YncZh2ZDl_A/видео.html !

  • @historia_sin_H
    @historia_sin_H 2 года назад

    Awesome!!
    Great 👍🏼 explanation super.
    I am having problems on with write permissions without much sense
    But I can see how well it works with “setprop config.override_orient true”
    (and then logically “stop;start” to restart)

    • @Wurmtal868
      @Wurmtal868  2 года назад

      You probably missed to install the file system with write permission. ruclips.net/video/YncZh2ZDl_A/видео.html You can check if your file system is compressed. In that case it's write protected.

    • @historia_sin_H
      @historia_sin_H 2 года назад

      Yeap… good point!!
      Thank you very much I will try, surely is this.
      One question, that is out of the video comment, by any chance do you know how to enable the “touch screen” in a TV BOX?

  • @danterodriguez6988
    @danterodriguez6988 4 года назад

    Hi! me again! Buy an old pc as is your description. I already loaded the software but I have a question about how to configure the buttons of the arcade controller with the android system. what did you use for that?
    what kind of controller? is there an app or a setting to assign buttons? thank you

    • @Wurmtal868
      @Wurmtal868  4 года назад +1

      I'm not using an of the shelve controller. I tried using my DIY Arcade Controller but it was not recognized. There may be apps that remap the controller but they will add an extra delay and may contain ads or cost money. So I replaced the controller board with an Arduino Leonardo clone which is able to send the required keyboard commands directly without the need of an extra app.