BlitterStudio / amiberry

Optimized Amiga emulator for Linux/macOS
https://amiberry.com
GNU General Public License v3.0
660 stars 89 forks source link

How to install "host-run" #660

Closed Retro1968 closed 4 years ago

Retro1968 commented 4 years ago

RetroPie 4.6.2 on Raspberry Pi4 wit amiberry 3.2 beta (28.06.2020).

Hello Midwan, with your last release you gave us a link to the program "host-run". Since i have no idea how to install / run it i ask you for instructions. A 120 minutes dolby surround full HD movie should be enough. ;-)

midwan commented 4 years ago

@Retro1968 The documentation for host-run is not completed yet, because it's evolving daily and I didn't have a chance to sit down and write it. It will eventually be included in the readme file of its repository (https://github.com/midwan/host-run), but here's the short version:

host-run is a small, command line tool, that allows you to execute something on the underlying Linux OS. It uses a special trigger that was implemented in the current version of Amiberry, so it won't work on previous versions (or other emulators unless they implement the same logic).

You can use it by calling it from a CLI or an icon (with IconX), like this: host-run <command> <parameter1> <parameter2> <...>

Where is what you want to run on the Linux side, and any parameters you want to send to it. So for example, if you wanted to launch Firefox, you could use:

host-run firefox

And if you wanted to run Firefox with a parameter to open a site immediately:

host-run firefox https://github.com/midwan/amiberry

Obviously, if you wanted to run Firefox or any other graphical application, you'd need to be running a Desktop behind Amiberry. It wouldn't work from the console.

Additionally, for now this only works properly with the pure SDL2 versions of Amiberry. The Dispmanx one is a more tricky situation, since it has no notion of Windows - it will still run, but when it launches another application in the background which takes over control, you won't be able to see it and you won't be able to go back to Amiberry either. This might improve in future versions, depending on any clever ideas to handle the limitations of Dispmanx.

Retro1968 commented 4 years ago

Ok, Thank you. But how do i install host-run on Raspbian Buster?

midwan commented 4 years ago

You don't install it in Raspbian at all. It's an Amiga program, that you can just copy into your C: (or any other location). The binary is available at the link I mentioned above ;)

Retro1968 commented 4 years ago

Oh .. yes, of course ... I knew that immediately. I only asked for those who are too stupid to come up with it themselves ... ;-)