Search found 12 matches

by Johnny Love
Thu Dec 10, 2020 7:28 pm
Forum: Linux
Topic: Setting Up A Static IP Address
Replies: 34
Views: 15879

Re: Setting Up A Static IP Address

You can make any script run at boot by putting it in/etc/init.d, but I would start the filename with 9999 to make sure it runs last. Obviously not the ideal fix, but it beats running a script manually every time. Also expect the script to get wiped after linux gets updated, which is not that often. A backup of it in /media/fat should be fine.
by Johnny Love
Thu Dec 10, 2020 5:48 pm
Forum: Linux
Topic: request: squashfs in the linux kernel
Replies: 21
Views: 9876

Re: request: squashfs in the linux kernel

That is good to know about the modules. It has been a few months so i wasn't sure. Now I'm tempted to just compile all of the modules and upload them along with the squashfs ones, that way people can use different linux features that aren't available in a default install. I would think FLAC would be much easier to decompress, especially since these...
by Johnny Love
Thu Dec 10, 2020 3:01 pm
Forum: Linux
Topic: request: squashfs in the linux kernel
Replies: 21
Views: 9876

Re: request: squashfs in the linux kernel

I'm no expert whatsoever on the topic of compression and decompression. I have experience using CHD and love using it in Retroarch because it not only shrinks the file sizes drastically, but it conveniently makes each bin/cue into a single file with a CHD extension. It's very clean and snappy. I'm wondering if you created a CHD and zipped it if it...
by Johnny Love
Tue Sep 15, 2020 11:04 pm
Forum: General Discussions
Topic: Savegames randomly stop working.
Replies: 37
Views: 18212

Re: Savegames randomly stop working.

I have tried loading Super Mario World a few times in a row on the title screen and I can't reproduce it. Sorry. by "open Super Mario World with some progress" I meant start the game and resume any of the 3 slots that have the progress. You only have to be on the map. I didn't try it from the title screen, but i'm pretty sure the title s...
by Johnny Love
Tue Sep 15, 2020 3:08 am
Forum: General Discussions
Topic: Savegames randomly stop working.
Replies: 37
Views: 18212

Re: Savegames randomly stop working.

I found an issue with autosave where it will write a blank save during rom loading. This only happens if there is already a game with saves running and it writes to save ram just before the new rom starts loading. I have sent a pull request for the SNES core but it probably also affects other cores like Genesis and Turbografx16. Unfortunately this...
by Johnny Love
Wed Sep 02, 2020 4:11 pm
Forum: Linux
Topic: request: squashfs in the linux kernel
Replies: 21
Views: 9876

Re: request: squashfs in the linux kernel

I think you may be misinterpreting what my goal is here. Squashfs is part of the linux kernel. All I had to do was grab the MiSTer kernel source code from github, go into the filesystem settings of the kernel, and turn on squashfs support before compiling it. I enabled all of the compression options so people can experiment, but xz seems to be the ...
by Johnny Love
Tue Aug 25, 2020 4:58 pm
Forum: Linux
Topic: Why use rar for compression when there are seemingly better alternatives?
Replies: 10
Views: 6538

Re: Why use rar for compression when there are seemingly better alternatives?

OK that makes sense, I would probably go for zip there, but Mr. Fusion seems like the better option these days.
by Johnny Love
Sat Aug 22, 2020 4:28 pm
Forum: Linux
Topic: Why use rar for compression when there are seemingly better alternatives?
Replies: 10
Views: 6538

Re: Why use rar for compression when there are seemingly better alternatives?

I think the question was about roms, not anything MiSTer related, so it's probably off-topic for this forum.
by Johnny Love
Wed Aug 19, 2020 10:08 am
Forum: Linux
Topic: request: squashfs in the linux kernel
Replies: 21
Views: 9876

Re: request: squashfs in the linux kernel

It takes quite a lot of CPU resources to compress them, but I only plan on doing it once a year or so. Probably RAM too, but I didn't check. So far I haven't really noticed much of a change at all, and I have most cores working now, excluding the cdrom based ones. Decompression is always easier than the initial compression. It is literally a filesy...
by Johnny Love
Mon Aug 17, 2020 7:53 pm
Forum: Linux
Topic: request: squashfs in the linux kernel
Replies: 21
Views: 9876

Re: request: squashfs in the linux kernel

If anyone is interested, I have compiled a kernel with squashfs support. See https://github.com/MiSTerJohnnyLove/MiSTerSquashfs and https://redd.it/ibl8j3
by Johnny Love
Sun Aug 16, 2020 5:03 pm
Forum: General Discussions
Topic: Savegames randomly stop working.
Replies: 37
Views: 18212

Re: Savegames randomly stop working.

I found an issue with autosave where it will write a blank save during rom loading. This only happens if there is already a game with saves running and it writes to save ram just before the new rom starts loading. I have sent a pull request for the SNES core but it probably also affects other cores like Genesis and Turbografx16. Unfortunately this...
by Johnny Love
Sun Aug 16, 2020 4:39 pm
Forum: Linux
Topic: request: squashfs in the linux kernel
Replies: 21
Views: 9876

request: squashfs in the linux kernel

Just an example, the 2019-03-04 Neo Geo Roll-UP BETA 3.1 7zip file is 2.5GB MiSTer can't read it, so you have to extract it, then it ends up being 7.3GB After a few minutes of compression with "gensquashfs -D . -c xz -b 1048576 ../squash.neogeo.img" it goes from being 1447 uncompressed files, down to a single file that is only 1.8GB, smal...