Page 6 of 6

Re: MiSTer Extensions - Remote

Posted: Mon Jul 31, 2023 11:14 am
by MiSTer Consoles
wizzo wrote: Mon Jul 31, 2023 1:18 am
breiztiger wrote: Sun Jul 30, 2023 4:29 pm

do you think it's possible to have delete fonction in wallpaper like in screenshot ?

Sure. I can probably fit a wallpaper delete button in the next release same as screenshots. I had bulk deletion planned eventually but that'll have to wait.

MiSTer Consoles wrote: Mon Jul 31, 2023 12:47 am

The Remote app has become a very powerful tool for editing ini files, creating shortcuts, etc. Is it possible that down the road it could have full file management functionality in order to replace having to SSH or FTP from a PC into your MiSTer in order to move files around, edit certain files like script ini files, delete files (as breiztiger has suggested), etc?

Sort of, but not quite like having a generic file browser and text editor. I want to avoid this if possible because I think there's a better solution. I'd also like to avoid adding arbitrary code execution to the API remote publishes.

I want to take each feature as it comes and implement it separately. So for example:

  • Instead of a generic file browser/uploader, I want to proper games browser with the ability to upload game files.

  • I don't want to be able upload script files, but how about a UI to manage repos downloader uses (like update_all does but more generic).

  • Instead of renaming _samba.sh in a file browser, there should be checkbox in the settings page to turn on samba.

And so on like that. It's never going to cover 100% of cases, but I think it would come pretty close.

Gotcha. That makes sense. Honestly any functionality added to Remote that allows me to use my iPad instead of a PC is a huge win. :D Thanks!


Re: MiSTer Extensions - Remote

Posted: Fri Aug 04, 2023 11:08 am
by lovepastrami

Only just got around to trying this out, I've spent ten minutes with it so far and I had to post straight away. This is legendary, a game changer for me. As someone who is always dicking about with video settings this will make my life so much easier. Also, the indexing/search feature is just awesome!

Well done, this is great, I love it!


Re: MiSTer Extensions - Remote

Posted: Fri Aug 04, 2023 2:19 pm
by lovepastrami

Some feature suggestions:

  • rom upload
  • config ini up/download, e.g. for backup and/or testing
  • option to disable showing console and computer cores when they don't have any indexed roms/images

Re: MiSTer Extensions - Remote

Posted: Sat Aug 05, 2023 8:44 am
by wizzo
lovepastrami wrote: Fri Aug 04, 2023 2:19 pm

Some feature suggestions:

  • rom upload
  • config ini up/download, e.g. for backup and/or testing
  • option to disable showing console and computer cores when they don't have any indexed roms/images

I'm glad to hear it's working well for you! Thank you for the suggestions. Game uploading is a yes planned but will be quite some time before it's possible.

The last 2 I like them a lot. They are fairly simple to implement so I'll get to them soon.


Re: MiSTer Extensions - Remote

Posted: Sat Aug 05, 2023 2:38 pm
by Neocaron

I'm throwing this outhere and I don't even know if it would be in any way possible, but what about remote casting to a local URL? it would allow super easy capture as well as remote play on the local network. That way I could play where ever I want in my house without disconecting anything. For capture alone it would be worthwhile I think, but I'm guessing the rendering would have to be done on the arm or maybe not? Any way to go around that?

I'm also looking forward to nfc support as well as QR code for consoles, arcades and games. This is gonna make Mister much more user friendly and cool imo. :p


Re: MiSTer Extensions - Remote

Posted: Sat Aug 05, 2023 3:23 pm
by wizzo
Neocaron wrote: Sat Aug 05, 2023 2:38 pm

I'm throwing this outhere and I don't even know if it would be in any way possible, but what about remote casting to a local URL? it would allow super easy capture as well as remote play on the local network. That way I could play where ever I want in my house without disconecting anything. For capture alone it would be worthwhile I think, but I'm guessing the rendering would have to be done on the arm or maybe not? Any way to go around that?

I'm also looking forward to nfc support as well as QR code for consoles, arcades and games. This is gonna make Mister much more user friendly and cool imo. :p

I would love to be able to swoop in and say I got you but I'm almost 100% certain this can't be done. I might be able to send a slideshow over the network, but nothing playable. There's just so much working against you. The only method to access the image on screen is quite slow, the ARM CPU is not good at processing video, and there is no way to sync with the frames so you could capture in between a frame.

You might be able to come up with a solution using a PC and a really good capture card, but it would be a pretty big project.

Me too!! Should have the details out soon and the code has been merged with the main project today. It's such a fun little thing I think. We want it to be a super easy turn-key solution.


Re: MiSTer Extensions - Remote

Posted: Sat Aug 05, 2023 6:35 pm
by BSeraph

I'm using an nfc solution for MiSTer but it's pretty convoluted since I'm using a third party app on my phone, that connects to a remote server, that then SSHs to MiSTer and launches the game. Having it on this easy to use app would be a game changer besides being much faster! I'll be testing it right away


Re: MiSTer Extensions - Remote

Posted: Sun Aug 06, 2023 2:03 am
by wizzo
BSeraph wrote: Sat Aug 05, 2023 6:35 pm

I'm using an nfc solution for MiSTer but it's pretty convoluted since I'm using a third party app on my phone, that connects to a remote server, that then SSHs to MiSTer and launches the game. Having it on this easy to use app would be a game changer besides being much faster! I'll be testing it right away

Just to be clear, the current thing I'm about to release is for hardware NFC readers. Separate script. It works for very cheap USB readers though, no Arduino soldering projects.

That said, I do plan on adding NFC reading to Remote! But it's some ways off, needs quite a lot of prep.


Re: MiSTer Extensions - Remote

Posted: Sat Aug 12, 2023 8:24 pm
by BSeraph
wizzo wrote: Sun Aug 06, 2023 2:03 am

Just to be clear, the current thing I'm about to release is for hardware NFC readers. Separate script. It works for very cheap USB readers though, no Arduino soldering projects.

Wow, ok! That's even better!


Re: MiSTer Extensions - Remote

Posted: Sat Aug 26, 2023 4:59 am
by wizzo

Today my Remote Android app got approved :)

I've made a post about it here: https://www.patreon.com/posts/new-remote-app-88259781

There's also an iOS version incoming, but probably not for a few more weeks. No mind blowing difference compared to the existing web app (they are identical), but it gives room for special features later.

I took on way too many projects lately so unfortunately new Remote features got neglected. But my next focus will be finally adding the games browser in. Hundreds of things still can be improved with Remote, but I feel this feature in particular will really round out the experience.


Re: MiSTer Extensions - Remote

Posted: Thu Aug 31, 2023 3:37 am
by scrdcow

Since I dont use google I tried to find a download link for the android app but couldnt find it. Is it possible to post it on github or even better include it in f-droid? That would be awesome :-D Thanks for your work!


Re: MiSTer Extensions - Remote

Posted: Thu Aug 31, 2023 4:32 am
by wizzo
scrdcow wrote: Thu Aug 31, 2023 3:37 am

Since I dont use google I tried to find a download link for the android app but couldnt find it. Is it possible to post it on github or even better include it in f-droid? That would be awesome :-D Thanks for your work!

It's a great idea. Thank you for mentioning it, I didn't even think about it. I'm still pretty green publishing Android stuff, I'll make sure I output it the right way first. It's a little more foolproof through Google


Re: MiSTer Extensions - Remote

Posted: Sat Sep 02, 2023 11:50 pm
by scrdcow
wizzo wrote: Thu Aug 31, 2023 4:32 am

It's a great idea. Thank you for mentioning it, I didn't even think about it. I'm still pretty green publishing Android stuff, I'll make sure I output it the right way first. It's a little more foolproof through Google

Nice! :-)
On github I mostly see .apk files. But most free software apps are published through f-droid so maybe thats a good start - https://f-droid.org/en/docs/Submitting_ ... art_Guide/

PS. I did manage to get it installed through Aurora (free software alternative Play store app) anonymously in the end. My VPN was probably blocked. But f-droid is way nicer either way for us degoogled mofos :-P


Re: MiSTer Extensions - Remote

Posted: Sun Sep 10, 2023 5:28 am
by RalphJB

Can't get the remote to work at all. It worked briefly this morning, but have been unable to access it since. All I got is a blank screen that won't load on my phone. Please see attached screenshot.


Re: MiSTer Extensions - Remote

Posted: Sun Sep 10, 2023 7:09 am
by RalphJB
RalphJB wrote: Sun Sep 10, 2023 5:28 am

Can't get the remote to work at all. It worked briefly this morning, but have been unable to access it since. All I got is a blank screen that won't load on my phone. Please see attached screenshot.

Website doesn't work, but Google Play Store app works perfectly


Re: MiSTer Extensions - Remote

Posted: Sun Sep 17, 2023 12:06 am
by todgerbodger

Had a gawk at the Android app. Looking quite good but I can't get either the ipaddress or host name to save. The save button is disabled.

Added a screen grab.

I've tried the IP addy with and without http:// and also tried MiSTer.local but for some reason the 'save' button remains disabled?

Am I missing something obvious here?


Re: MiSTer Extensions - Remote

Posted: Sat Sep 23, 2023 2:54 pm
by wizzo

Hi. Sorry for the late reply. Have you tried without the port number? Just 192.168.0.185 by itself


Re: MiSTer Extensions - Remote

Posted: Tue Sep 26, 2023 2:37 pm
by todgerbodger
wizzo wrote: Sat Sep 23, 2023 2:54 pm

Hi. Sorry for the late reply. Have you tried without the port number? Just 192.168.0.185 by itself

Np at all. We're all busy ha.

I checked the logs and saw this:

Code: Select all

2023-09-26 15:25:27.672  4215-20001 CapacitorCookies        pid-4215                             I  Getting cookies at: 'http://http/192.168.0.185:8182/api/sysinfo'
2023-09-26 15:25:27.849  4215-20005 CapacitorCookies        pid-4215                             I  Getting cookies at: 'http://http//192.168.0.185:8182/api/sysinfo'

So 'http' is auto-appended to the address and there's a validation lookup in the background on text change. Didn't think to assume that. Maybe I also had Remote temporarily disabled on the Mister before too

Anyway, It works now. Thanks again!


Re: MiSTer Extensions - Remote

Posted: Wed Oct 11, 2023 4:55 pm
by fenderc01

When I updated to the latest version (v20231011-1), i get an error on the connecting device:
404 page not found

I reverted to the previous version and it works like it should.


Re: MiSTer Extensions - Remote

Posted: Wed Nov 15, 2023 8:56 pm
by retrodroid

I just remembered this extension existed after reading through the "What happened in 2023?" thread where it was highlighted. I'd seen the initial posts when work was just started but it slipped my mind since.

Wow! This extension is an amazingly polished piece of work! So thanks for all the hours it must have taken to create it. 8-)

I particularly like the way you can pick a core/game combination for many systems and it will just boot right into that game, on that core. Nice!


Re: MiSTer Extensions - Remote

Posted: Thu Jan 11, 2024 10:23 am
by liuszuping

Hello, I would like to ask how to rebuild the game's database, or whether it can be scanned again manually. It does not seem to automatically add files. I now delete the search.db file and execute the search again in remote.


Re: MiSTer Extensions - Remote

Posted: Sun Feb 04, 2024 11:24 am
by heinzgruber

i've found a little bug:

when i search for example "Sonic" the result is from the "Genesis" core. But the core is outdated and "Mega Drive" is the new one. The problem is: when i make a shortcut from the result to my favorites the shortcut is broken.

edit: Mega CD is not inlcluded in search. When i select a title in the Mega CD games folder there is no option to add it to favorites.


Re: MiSTer Extensions - Remote

Posted: Sat Mar 02, 2024 5:09 am
by Rautz

I've written a script to run a bin file locates on my MiSTer

Executes fine if I manually run script over ssh. Doesn't appear to work if I select script from remote UI on my web browser

I run following

Code: Select all

#!/bin/bash

# Function to bind controller over USBIP on MiSTer

echo "Binding controller over USBIP on MiSTer..."
/media/fat/linux/usbip/usbip bind --busid 1-1.4

I had run following when initially adding the script to script folder

Code: Select all

 chmod +x controller_bind.sh 

Is there anything I need to be aware of when creating script that will be run from the remote?


Re: MiSTer Extensions - Remote

Posted: Fri May 31, 2024 6:59 am
by Firehawke

This would pair really well with an OBS extension to poll the core name and loaded software name.


Re: MiSTer Extensions - Remote

Posted: Mon Jul 15, 2024 9:23 pm
by Waifu4Life

If the script if control via web browser app, does this mean that I could control it from my PC using a command via a launcher like Playnite?


Re: MiSTer Extensions - Remote

Posted: Sat Aug 03, 2024 5:05 pm
by Grimspoon
todgerbodger wrote: Sun Sep 17, 2023 12:06 am

Had a gawk at the Android app. Looking quite good but I can't get either the ipaddress or host name to save. The save button is disabled.

Added a screen grab.

I've tried the IP addy with and without http:// and also tried MiSTer.local but for some reason the 'save' button remains disabled?

Am I missing something obvious here?

Having the same issue, can connect via web browser. Can't get the android app to save the address for the life of me. I saw your follow up reply but unclear what you did different to get the app to activate the save button. Any help appreciated.

okay got it
a series of actions and im not sure which one did it
i ssh into mister via putty and make sure i have a static ip set
went into router and found the entry in client list that has assign ip and make sure its labeled MiSTer
in remote web site set the ip correctly in remote
also in web generate a mac address
reboot mister from web
go to android app and in remote settings assign correct ip
now the app works
???
profit


Re: MiSTer Extensions - Remote

Posted: Thu Oct 10, 2024 10:32 pm
by cstrachn

I've not played with remote yet. But looking through the API i was wondering if there is some way to read the settings for the game running? I'm trying to figure out if i can read the screen rotation from the current loaded game.

I have an idea on a serial connection solution but having it over the network might be easier. plus having it run as a service is a couple steps past where im at.

Also on that note is it possible to modify the main menu rotation through API. i see there are ways to send keypress possibly? This i can test on my own i guess. Unless someone has some input on it.

Thanks.