Is there any way to update the SD card from a separate computer? Can I run update_all on a separate computer?
update_all From Computer?
-
- Posts: 150
- Joined: Tue Jan 11, 2022 1:43 am
- Has thanked: 55 times
- Been thanked: 3 times
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: update_all From Computer?
At one time there was a version of the update script which could run on the PC. I never used it so I cannot say much about it.
I do not know if there is such an updater for the current version of the updater.
-
- Posts: 150
- Joined: Tue Jan 11, 2022 1:43 am
- Has thanked: 55 times
- Been thanked: 3 times
Re: update_all From Computer?
I should have been more specific. Can I insert the SD card into a separate computer and run update_all (or anything similar) from there?
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: update_all From Computer?
It looks like it is still around:
PC Launcher (for Windows, Mac, and Linux)
Check MiSTer Downloader's PC Launcher to download all MiSTer files on your PC. Useful if you can't connect your MiSTer to the internet.
To install the same files that you get with Update All, use the same downloader.ini file that you have in your MiSTer at the root of the SD card. Keep in mind that Update All writes into that file every time you change something in the Settings Screen.
Here is the link to MiSTer Downloader's PC Launcher
https://github.com/MiSTer-devel/Downloa ... auncher.md
-
- Posts: 150
- Joined: Tue Jan 11, 2022 1:43 am
- Has thanked: 55 times
- Been thanked: 3 times
- redsteakraw
- Posts: 245
- Joined: Sun May 24, 2020 11:19 pm
- Has thanked: 1 time
- Been thanked: 41 times
Re: update_all From Computer?
Just ssh in you can update it by basically remoting in then all you need to do is run the script. Then again I am used to using the Linux command line.
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: update_all From Computer?
redsteakraw wrote: ↑Wed Apr 26, 2023 10:35 pmJust ssh in you can update it by basically remoting in then all you need to do is run the script. Then again I am used to using the Linux command line.
Re: update_all From Computer?
When the original updater script first came out the only way to use it was to ssh into the MiSTer and run the script. It really was a game changer. We used to have to manually update everything. Just use Putty, it's free and a very basic terminal emulator
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: update_all From Computer?
I remember you also could run it from the OSD -> Scripts. The annoyance with this method is that you can only do it after a reboot of MISTer. Once you started using MISTer you cannot run scripts via the OSD as it is no longer available. The reason is that only Menu.rbf allows access to running scripts, once you start a core the OSD menu is built into the core and this menu does not give access to scripts. I am not sure of the reason.
I always use Putty to run scripts and I can run them at any time. I have being doing it for years with no negative consequence but one thing I make sure is not touching my MISTer while the script is running.
I miss the old times when you had to download everything manually and find (or not) the arcade zips and build the roms.
Edit: I forget to mention Linux updates when you had to download a full MISTer SD card image, use a special MISTer SD card updater and make sure to check mark next to "Update only Boot+Linux". If you forgot you would end up with a fresh MISTer install, gone you cores and roms.
When you downloaded a new core you also had to create the games subdirectory for that core.
Those where the days.
- redsteakraw
- Posts: 245
- Joined: Sun May 24, 2020 11:19 pm
- Has thanked: 1 time
- Been thanked: 41 times
Re: update_all From Computer?
Well technically you should be able to chroot into the SD card then run the script but it may only work on an arm device that may be compatible with any binaries so possibly the new Macs
I have a cheap arm laptop will try it out for the hell of it this weekend
Re: update_all From Computer?
I use windows power shell with ssh root
then I run update all script
I use this because my mister is connected to a crt so it doesnt appear on screen when I run a script right there
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: update_all From Computer?
Put this in your MiSTer.ini and you should be able to update from your CRT.
[Menu]
direct_video=0
vga_scaler=1
vsync_adjust=1
vscale_mode=1
video_mode=640,65,60,108,224,16,0,26,13919
Re: update_all From Computer?
Thanks, it worked. But the image got squished on the sides. This image below shows the resolution of the tv, is it possible to edit the ini to add it and show clear image?
-
- Top Contributor
- Posts: 1311
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 634 times
- Been thanked: 308 times
Re: update_all From Computer?
Regarding the sides, that is by design (by me in the modeline I developed) so that it doesn't cut off the text when you are running the update. It only affects the menu when a core is not loaded, so not everything will be squished all the time (assuming you put the [Menu] header in). I am not sure what you mean by clear image. Are you asking if you can have an image on the background instead of the static? Yes, that is possible. You can also change the font.
Also, you can try this modeline instead. It is what I am using currently. The one I gave you was an older one I found in a post I made since I didn't have access to my MiSTer when I posted it.
video_mode=640,47,56,113,224,16,0,28,13764
When you are running update_all, or pressing F9 to get to the console, the text should be clear.
If you want to adjust the sizing, you can see the guide here, specifically in the last paragraph. https://github.com/MiSTer-devel/Wiki_Mi ... TION-GUIDE
-
- Posts: 70
- Joined: Wed Jun 29, 2022 11:20 pm
- Has thanked: 2 times
- Been thanked: 10 times
Re: update_all From Computer?
i've installed this script and it runs fine on both MacOS and Windows 10. I had to run this command in terminal:
Code: Select all
/Applications/Python\ 3.10/Install\ Certificates.command
to fix the SSL: CERTIFICATE_VERIFY_FAILED issue.
I was just wondering, if a linux update is included in the update and requires a reboot - is it safe to run again incase of another framework update or should i plug the sd card into the MiSTer first?