Compare commits

..

3 Commits

10 changed files with 43 additions and 0 deletions

3
.gitmodules vendored
View File

@ -22,3 +22,6 @@
[submodule "fineid/pyllyukko-fineid.md"] [submodule "fineid/pyllyukko-fineid.md"]
path = fineid/pyllyukko-fineid.md path = fineid/pyllyukko-fineid.md
url = https://gist.github.com/a1ed6baa6b638b805a30b16960399e94.git url = https://gist.github.com/a1ed6baa6b638b805a30b16960399e94.git
[submodule "submodules/shell-things"]
path = submodules/shell-things
url = https://gitea.blesmrt.net/Mikaela/shell-things.git

View File

@ -0,0 +1,9 @@
root = false
[*]
# See .gitattributes
end_of_line = crlf
[*.{sh,bash}]
# Not for PS2 consumption
end_of_line = lf

6
gayming/playstation2/.gitattributes vendored Normal file
View File

@ -0,0 +1,6 @@
# Everything in SMB/OpenPS2Loader has crlf line endings and while I am unsure
# on whether it actually requires that, better safe than sorry. Their git
# uses lf though, but maybe that doesn't matter in source code.
* text=auto eol=crlf
# Not for PS2 consumption
*.bash text eol=lf

View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# This is just a simple script to backup VMCs in case something goes wrong
set -x
VMCDIR=~/PS2/VMC
BACKUPDIR=~/PS2-VMC-backups
mkdir -p $BACKUPDIR
# E.g. 2023-075TT1719, I don't think change of month matters and these are
# going to be small 8MB files anyway so seeing the age at glance is nice.
# WARNING: This doesn't handle DST switch althůgh I don't expect to be
# playing or running this script during the problem hours
cp -rv "$VMCDIR" "$BACKUPDIR/$(date +%Y-%jT%H%M)"
set +x

View File

@ -0,0 +1,4 @@
root = false
[*]
end_of_line = lf

View File

@ -0,0 +1,2 @@
# Not for PS2 consumption
* text=auto eol=lf

View File

@ -0,0 +1 @@
playstation2.conf

View File

@ -0,0 +1 @@
This is `/etc/samba/` and not for PS2 consumption itself

View File

@ -0,0 +1 @@
../../../../submodules/shell-things/etc/samba/playstation2.conf

@ -0,0 +1 @@
Subproject commit 6333883dc3cd32de4b71d507f513991f3d66866a