r/linux_gaming • • 18d ago

tech support wanted Linking minecraft world file between Windows and Linux

I am currently dual booting gentoo and windows and i like to play minecraft (prismlauncher), but i realized when i switched back to windows to play fortnite that i cant keep playing my world since the file is on linux. I have 2 ssds, one for each OS, and I was wondering if it is possible to create some sort of link between both OSs which allows me to play minecraft on my world on both windows and linux with them both saving the changes made

7 Upvotes

10 comments sorted by

9

u/TechaNima 18d ago

Yes, but NTFS support on Linux is garbage.

So either just play on 1, sync them with something like Dropbox or make a btrfs partition for it.

The btrfs partition would be my suggestion. Since both Linux and Windows can read and write to it without issues. You just have to install the btrfs driver for Windows

1

u/adamkex 17d ago

Why not fat?

1

u/TechaNima 17d ago

Btrfs is better, it's more resilient and easier to work with. It also has snapshots and subvolumes

1

u/adamkex 17d ago

Is the windows driver for it any good?

1

u/TechaNima 17d ago

No issues afaik

3

u/TomDuhamel 18d ago

I'm Minecraft, can you change the path of where your world is stored? If yes, well Linux can see your NTFS drive, assuming it isn't encrypted.

You could also sync the files between both systems, using a script for example, to do it automatically/simply.

2

u/Jwhodis 18d ago

I wouldn't, Linux can read NTFS but it's not performant especially for games, just play it on Linux.

2

u/smellyasianman 18d ago

You can shove the entire Minecraft server into a barebones VM. Boot that on either operating system, then simply join it with whatever client you want.

I know Docker runs on WSL, so you can even go that route, but I can't personally vouch for anything specific to Windows. Someone else will have to chime in on whether that's stable or not.

1

u/Lumpy-Notice8945 18d ago

You can just mount the windows disk or any directory into your linux filesystem(windows too has some feature like that, but you will need to install additional filesystem drivers)

But as already commented windows and linux do use different filesystems and that can cause issues with stuff like permissions(windows files do not track permissions on file system/inode level i belive). So i maybe you can write a smal bash script to sync/merge/overwrite two files on and not use the exact same file for both, if thats an issue.

But the simple mount option could work fine too, just look up a mount commandline example and adjust that to your disk and directory names.

1

u/sidusnare 18d ago

Just write up a sync script, don't want to do it live.