ps2homebrew / pfsshell

Browse and edit PFS filesystems on APA-formatted hard drive
GNU General Public License v2.0
95 stars 22 forks source link

Added native Windows port of pfsfuse #34

Closed AKuHAK closed 2 years ago

AKuHAK commented 2 years ago

Pull Request checklist

Note: these are not necessarily requirements

Pull Request description

Ported great @parrado work to be compatible with other platforms. Also updated code to be compatible with recently released Dokany v2. Currently, looks like most of the functions are working. Looks like ftruncate/truncate method isn't working. The truncate method allows to change the file size, if this method doesn't work, you cannot change filesize. That means you should avoid directly editing files on the mounted partition. You also will get an error, trying to overwrite the file, so be careful when copying files - you should remove them before copying. I am not quite sure why this happened, maybe I made some mistake during porting @parrado work.

@uyjulian I was not able to compile pfsfuse using cross-compilation on Ubuntu, so I made another GitHub action for compiling it natively in MSYS2 on windows.

parrado commented 2 years ago

Good to know you added continuous integration support. I was too lazy to do that.

uyjulian commented 2 years ago

I'll clean this up later, but this is good for now.