Search found 106 matches

by theypsilon
Fri Jun 26, 2020 5:48 pm
Forum: Linux
Topic: Adding jq to Linux
Replies: 13
Views: 8235

Re: Adding jq to Linux

I've just tried it.

There is this one: https://packages.debian.org/search?arch ... eywords=jq

I tested this version: https://packages.debian.org/jessie/armhf/jq/download

And is working fine on my MiSTer. I've just followed the tutorial ( https://stedolan.github.io/jq/tutorial/ ) without issues.
by theypsilon
Fri Jun 26, 2020 3:09 pm
Forum: Linux
Topic: Adding jq to Linux
Replies: 13
Views: 8235

Re: Adding jq to Linux

Coming back to the topic of the thread. For any further advance, I think jq would be a really great addition. I hope @Sorgelig or anybody involved in OS maintenance could consider it.
by theypsilon
Fri Jun 26, 2020 1:15 pm
Forum: Linux
Topic: Adding jq to Linux
Replies: 13
Views: 8235

Re: Adding jq to Linux

Yes, I think that's a good way of evolving the script design.

You are welcome. Feel free to ping me about this whenever you want.
by theypsilon
Fri Jun 26, 2020 12:53 pm
Forum: Linux
Topic: Adding jq to Linux
Replies: 13
Views: 8235

Re: Adding jq to Linux

I think I get what you mean by having mister_updater.sh with the ability of being locally executed without its repo. It would be helpful for development/debugging. In practice though, for one, Updater_script_MiSTer needs to be up and running anyways since the users will run update.sh which fetches from there. And for devs, you can place a flag that...
by theypsilon
Fri Jun 26, 2020 12:09 pm
Forum: Linux
Topic: Adding jq to Linux
Replies: 13
Views: 8235

Re: Adding jq to Linux

Ok the db could be generated automatically by another script, but I don't want ties and knots to external resources (apart what is natively available in the project as it is). Using a reductio ad absurdum, if we want to set up an external resource for updating, why reinventing the wheel? We could just set up an APT repository and use APT tools (ev...
by theypsilon
Thu Jun 25, 2020 8:15 pm
Forum: Linux
Topic: Adding jq to Linux
Replies: 13
Views: 8235

Re: Adding jq to Linux

Yes, you are right. According to this ( https://developer.github.com/v3/#rate-limiting ) unauthenticated requests to Github API are limited to 60 per hour, which would be a problem if we translate every fetch of a HTML page into a Github API request. But in my mind, there is a much better solution. Ideally, for the mid-term, the goal would be doing...
by theypsilon
Thu Jun 25, 2020 3:48 pm
Forum: Linux
Topic: Adding jq to Linux
Replies: 13
Views: 8235

Adding jq to Linux

From its web: jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text. So, it's a small CLI tool that would be very useful for handling API responses such as Github API responses (which are JSON) in MiSTer scripts. The main adva...
by theypsilon
Thu Jun 25, 2020 1:20 pm
Forum: Linux
Topic: Update script fails even with PARALLEL_UPDATE="false" [Solved]
Replies: 3
Views: 3423

Re: Update script fails even with PARALLEL_UPDATE="false"

It's because the max-time is set to 120 by default. Try to place this in your update.ini file, it should fix it: CURL_RETRY="--connect-timeout 15 --max-time 180 --retry 3 --retry-delay 5 --silent --show-error" EDIT: I've sent a PR to increase the default time, since I saw this error affecting to many people already: https://github.com/MiS...
by theypsilon
Wed Jun 24, 2020 1:30 pm
Forum: Linux
Topic: Standard update script not pulling down MRA files
Replies: 7
Views: 5075

Re: Standard update script not pulling down MRA files

Ok, I confirm is not downloading MRA. Same result with 'update.sh' from Locutus73, as expected. Something must have changed in Github, since scripts haven't been touched, I'll debug that after lunch.
by theypsilon
Wed Jun 24, 2020 8:48 am
Forum: Linux
Topic: Standard update script not pulling down MRA files
Replies: 7
Views: 5075

Re: Standard update script not pulling down MRA files

I just setup a new card from scratch and used the standard update_all.sh script. Everything looks great except it didn't download the _Arcade MRA files for the arcade cores. Am I missing something? I didn't use an INI file as I assumed it would get everything that way. Thanks for any help! It should have downloaded them since it uses "https:/...
by theypsilon
Sat Jun 20, 2020 1:38 pm
Forum: Linux
Topic: names.txt - Proper System Names in OSD
Replies: 55
Views: 55053

Re: names.txt - Proper System Names in OSD

A question for any users of update_all.sh that could be reading here.

Would you like to see an option for pulling this file from Threepwood repo in the updater?

There could be different versions of this names.txt that could be curated for matching some criterias like country, sorting, etc...
by theypsilon
Sat Jun 06, 2020 1:35 am
Forum: Arcade Cores
Topic: Jotego Update June 5th
Replies: 9
Views: 7054

Re: Jotego Update June 5th

slaps wrote: Fri Jun 05, 2020 10:58 pm Did the same to mine. It dumped all the MRA files in the base _Arcade folder, not updating them where they were.
It has same behavior as MiSTer-devel official Updater, so they go to the same path.
by theypsilon
Fri Jun 05, 2020 9:03 pm
Forum: Arcade Cores
Topic: Jotego Update June 5th
Replies: 9
Views: 7054

Re: Jotego Update June 5th

NML32 wrote: Fri Jun 05, 2020 3:59 pm I just ran the JT updater-script and it messed up my _Arcade core structure even the backup it created was messed up. :(
Luckily I had a backup. Has anyone else tried the script today?
What was exactly the issue?
by theypsilon
Wed Jun 03, 2020 9:26 am
Forum: Arcade Cores
Topic: Pre-Feature Request: Split MRAs into folders
Replies: 14
Views: 7582

Re: Pre-Feature Request: Split MRAs into folders

I agree that the amount of arcades right now is not that huge. But with the time the whole set will become less and less manageable. I think is also interesting being able to explore games of the same board, for example. But is also true that some other games (specially early ones) have manufacturers/platforms that are not well known. A more arbitr...
by theypsilon
Wed Jun 03, 2020 1:48 am
Forum: Arcade Cores
Topic: Pre-Feature Request: Split MRAs into folders
Replies: 14
Views: 7582

Pre-Feature Request: Split MRAs into folders

I would like to make kind of a poll out of this question: Right now, after running the Updater, when you access the Arcade folder of your MiSTer, there are many games in a single folder. Would you rather have a sorted folder structure to access all the MRA's in a more organized way? If your answer is yes, maybe we could come up with an idea on how ...