Тёмный

Can Linux finally solve gamesaves? 

Lavafroth
Подписаться 2,3 тыс.
Просмотров 4,1 тыс.
50% 1

If I earned a dollar for a gamesave I lost beause of Wine nuances, I would have been a millionaire by now. It's 2024, the age of thriving containers and it's time we changed how we preserve our gamesaves!
The product logos featured in this video are used under fair-use following any accompanying guidelines:
Icons: primer.github.io/octicons
Dead Cells logo: commons.wikimedia.org/wiki/Fi...
Archlinux logo: archlinux.org
Wine logo by anlieve: www.svgrepo.com/svg/501914/wi...
Docker logo: www.docker.com/company/newsro...
Podman logo: github.com/containers/podman/...
Backing track "Keys Of Moon - Somewhere in the Clouds" is under a Creative Commons (CC BY 3.0) license.
Code used to animate this video can be found at github.com/lavafroth/videos/t...

Наука

Опубликовано:

 

2 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@kir-cv1ur
@kir-cv1ur 18 дней назад
Yes, Gaming Linux 3blue1brown, more calm collected edutainment videos please
@TotalImmort7l
@TotalImmort7l 16 дней назад
My right ear enjoyed this.
@forloopcodes
@forloopcodes Месяц назад
animations are becoming cooler and more understandable day by day great explaination bro!
@algonix11
@algonix11 18 дней назад
This is so beautiful, the beauty of old school hacking. Thank you.
@MikeKasprzak
@MikeKasprzak Месяц назад
Nice idea. Gets me thinking. I've always loved that you can use Wine to effectively sandbox a Windows app (something I wish you could do on Windows itself), and adding rollback support would be amazing, though as things are today managing a wine folder for each application is clunky. There's a tool "Bottles" (?) that I hoped would make managing wine folders nicer, but I ran into some problems when I first used it. I really don't like that the default way to use wine is creating a .wine folder in your home folder (making it easy to accidentally install an app in the same .wine), so I'm all for the idea of wrapping Wine in something to enable a more Vagrant/Docker-like experience. Bottles might be the answer, but I know I'd like something more terminal friendly. Wine folder structue as-is is also devoid of an obvious program to start, but wine was built as a general Windows environment, not a single app in a sandbox. That is something Bottles handles, but in my short time with it I didn't see an obvious way to utilize it from the terminal.
@BigLongRandomNumberNameM-kf9vy
@BigLongRandomNumberNameM-kf9vy 16 дней назад
I wonder how hard a copy-on-write system would be to implement 🤔
@Poldovico
@Poldovico 15 дней назад
Wine is not a sandbox. It's kind of complicated and I don't fully understand it, but in short: machine code is machine code, what changes between OSs is how you load it. Once it's running, it's native*. *except for the parts that aren't. The upshot is Wine does not offer any kind of enhanced security, and in fact it is even possible for your Linux machine to catch some types of Windows malware through Wine.
@robmckennie4203
@robmckennie4203 16 дней назад
"if i had a dollar for every game save i lost because of wine, i would be a millionaire." not because it's ever happened to me, but because it sounds like an easy way to make a million dollars 😂
@matthewsawatzky1159
@matthewsawatzky1159 16 дней назад
sounds like something you could use BTRFS snapshots to solve, but cool solution nonetheless.
@subhaubasak2109
@subhaubasak2109 Месяц назад
The animations are so clear and smooth ✨ Loved the way you explained bro ❤️✨
@DeviRuto
@DeviRuto 16 дней назад
Sounds like something btrfs would handle nicely. Snapshots are instant in btrfs, and file changes are copy-on-write.
@angeldude101
@angeldude101 16 дней назад
I think ZFS and the newer bcachefs have the same thing, though they require making the initial directory as a subvolume rather than a normal directory. Also worth mentioning that the last time I checked, bcachefs doesn't yet support the system calls required to be used as the upper layer of an overlayfs, so the subvolume and snapshot method would be required until it gets added.
@lamprospitsillou6325
@lamprospitsillou6325 9 дней назад
Would like to see a more detailed video on this
@tmoisolo
@tmoisolo 15 дней назад
Hi. Nice video. At 3:39 you can actually run mount command if you create new user and mount namespaces beforehand with "unshare --map-root-user --mount". This lets you mount overlayfs natively without going through FUSE
@monalisabasak2243
@monalisabasak2243 Месяц назад
Loved it.
@mikebrightman
@mikebrightman 10 дней назад
I wonder. Would there be a nice way to use zfs's snapshot system via sanoid to handle this? Either trigger snapshot taking when you startup a container, or have it take minute-ly snapshots that it keeps for 24hrs if you want hyper-granular savestates (in theory an unchanged snapshot takes up practicallly zero space). Then you can rollback the filesystem back in time for a minute, or explicitly snapshot as soon as you begin playing letting you undo a play session if you're not happy. Must be doable.
@lavafroth
@lavafroth 10 дней назад
I'm not very familiar with zfs's snapshot system. I'll have to check it out, thanks!
@tablettablete186
@tablettablete186 7 дней назад
I honestly think you can solve this by using namespaces and overlayFS (and yes they are the basis of Linux containers).
@tablettablete186
@tablettablete186 7 дней назад
Lol I should have seem the rest of the video, great video
@tablettablete186
@tablettablete186 7 дней назад
Btw, you could also use unshare to create a new mount namespace without root (you will also need a new user namespace)
@exotic-gem
@exotic-gem 15 дней назад
This is really cool, but ideally a system like this would just get integrated into Proton. Having to do this myself guarantees I just won’t bother 😅
@jomo_sh
@jomo_sh 16 дней назад
do you have a discord, your voice in the audio could be a lot better (its very noisy)
@fishsayhelo9872
@fishsayhelo9872 16 дней назад
nice
@THX-1138
@THX-1138 16 дней назад
Steam cloud brah
@unixson8038
@unixson8038 16 дней назад
that's more for game preservation i suppose. cause one day steam and steam cloud will go offline. like forever... and then what? sure you can create an image an burn it onto a bluray or something, but would it be cool to preserve your progress too? like imagine in like 20 years opening a game and just continue it like you never left? that would be super cool
@mabakalox2353
@mabakalox2353 16 дней назад
another problem - some games don't/didn't provide steam cloud saves, like it have been with subnautica for a long time since recently.
@THX-1138
@THX-1138 16 дней назад
@@unixson8038 This is why Linux users routinely fail to understand the end user and the ultimate goal of useful software. This video is nothing more than a thought experiment, and, while fun, by it's very nature cannot be elevated higher. The utility of steam cloud is in its simplicity of essence and function... There is no 40 minute tinker stage because you failed to correctly design the database or what have you. It simply works. This, is what useful software means to the end user.
@progCan
@progCan 13 дней назад
you didin't get the whole point of this, steam uses proton, proton isn't compatible with all games, if you get banned your progress is lost, and he uses wine.
@lassebq1
@lassebq1 11 дней назад
​@@progCanand how does wine make it any different? Proton is just a patched version of wine with dxvk and vkd3d. Also, proton isn't bannable afaik. Either way it wouldn't affect steam cloud save.
Далее
Two Decades of Hardware Optimizations Down The Drain
10:20
Пробую торты
00:43
Просмотров 225 тыс.
I Optimised My Game Engine Up To 12000 FPS
11:58
Просмотров 483 тыс.
Why I Like LFS
19:42
Просмотров 2 тыс.
What was the N64 Expansion Pak actually used for?
15:03
Using Pacman on Arch Linux: Everything you need to know
17:44
Fedora vs Debian and Arch Linux
17:32
Просмотров 484 тыс.
`const` was a mistake
31:50
Просмотров 94 тыс.
Signals. I spent 2 years to understand this part.
21:24
Projects Every Programmer Should Try
16:58
Просмотров 352 тыс.
This Zsh config is perhaps my favorite one yet.
17:24
Просмотров 109 тыс.
Карточка Зарядка 📱 ( @ArshSoni )
0:23
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Просмотров 9 млн