310 Commits

Author SHA1 Message Date
CosmicScale
4380fdb951 fix: restore spaces in PS2 icon.sys titles replaced by '?' 2025-10-29 14:38:22 +00:00
Maxime Coirault
a86c8627cc Prevent selection of wsl folders and force wsl2 usage (#300)
* prevent users from picking a WSL folder

* explicitly use wsl 2 when installing the PSBBN distro

* run wsl --install --no-distribution to ensure wsl2 is available

* enforce 19041 as a minimum build number to run wsl
2025-10-17 18:00:41 +01:00
CosmicScale
da00e2b5d1 Prioritise git update 2025-10-03 19:59:44 +01:00
CosmicScale
134c2370c1 Check for art_downloader.py instead of art_downloader.js 2025-10-03 19:50:09 +01:00
CosmicScale
86d4a949b0 Convert art_downloader from JavaScript to Python and remove Node.js dependencies
- Convert art_downloader from JavaScript to Python
- Remove nodejs, npm, puppeteer and chromium dependencies
2025-10-03 19:45:13 +01:00
CosmicScale
a9e647a46d Require 11+ chars to safely extract Game ID from filename 2025-10-03 16:47:21 +01:00
CosmicScale
a2b4c22224 Cap OPL size display to a maximum of 2 TB 2025-10-03 16:21:27 +01:00
CosmicScale
bc0e39e8f2 Update app, art and game databases 2025-10-03 01:11:56 +01:00
Maxime Coirault
1b40a3e20c Add multiple improvements to the pwsh script (#296)
* remove the usbstor logic entirely and intercept the WSL error specific to usb storage mounting failure

* modify disk number input to support numbers greater than 9

* check that apt properly installed git, else gracefully exit

* handle selecting a folder that belongs to the wsl filesystem
2025-10-02 16:23:20 +01:00
CosmicScale
b91b1ceeb8 Improve Music Installer
- Support multi-disc albums using disc number metadata
- Replace unsupported characters with safe alternatives
- Prefer Album Artist metadata for albums; use Artist for tracks
- Group and improve feedback for skipped files
2025-10-01 21:55:09 +01:00
CosmicScale
297e74fb5c Fix sort order for wip3out and tekken tag tournament 2025-09-29 18:04:31 +01:00
CosmicScale
e6f15666f2 Prevent invalid WSL path from being used 2025-09-29 16:23:32 +01:00
CosmicScale
eb60f01b93 Update art, app and game databases 2025-09-28 17:16:02 +01:00
CosmicScale
a63f090c70 Update README 2025-09-28 17:10:26 +01:00
CosmicScale
0b7c4408d0 Improve user experience when partitioning drive 2025-09-26 17:38:51 +01:00
CosmicScale
6d7a5f7fdf Add quotes to TOOLKIT_PATH variable 2025-09-22 12:44:52 +01:00
CosmicScale
35656eb0eb Update game, art and app databases 2025-09-22 11:43:49 +01:00
CosmicScale
2c753818ef Remove leading Game ID from fallback game names 2025-09-22 11:42:26 +01:00
CosmicScale
7e22921987 Revert "add detection for disk under 200gb and usb drive or sdcard readers (#…" (#281)
This reverts commit 6ee7c0ba6b.
2025-09-21 00:35:05 +01:00
Thomson2412
3de54d32b8 Add nix support with flakes (#186)
* Add nix flake to setup the environment

* Update dependency checking to support nix

* Move flake to scripts folder
2025-09-19 22:25:56 +01:00
Maxime Coirault
6ee7c0ba6b add detection for disk under 200gb and usb drive or sdcard readers (#278) 2025-09-19 22:14:55 +01:00
CosmicScale
abd1b33fe6 Add game ID to message when OPL artwork not found locally 2025-09-15 15:25:11 +01:00
CosmicScale
5e238c8faa Update 'app' and 'launch disc' icons 2025-09-15 13:31:41 +01:00
CosmicScale
c71d23a0f4 Fix contributions to art/icons databases 2025-09-12 14:41:39 +01:00
CosmicScale
de55585160 Add fallback for drive selection 2025-09-11 21:23:31 +01:00
CosmicScale
e5ec3401a5 Add vendor to drive_model when run with PSBBN Launcher for Windows 2025-09-11 16:48:06 +01:00
CosmicScale
e87738a652 Add chromium as dependency 2025-09-11 15:49:59 +01:00
CosmicScale
3e0443f06d Add PSBBN Launcher for Windows instructions 2025-09-11 15:25:29 +01:00
Maxime Coirault
c72efca8a6 Add Windows-based launcher script (#183)
* Add Windows-based launcher script

* Clone the test branch when running the windows-launcher

* Add warning related to unix username rules

* Add logic to check and install the WSL feature

* Add version number of the script to the title

* Use a label for the wsl distro to distinguish it from a potential existing install

* fix installed distro not being detected properly under powershell 5.1

* force wsl to output utf8 and improve wsl mount/unmount output messages

* move mounting the disk after apt update and clone to help with the disk not appearing in lsblk

* fix wsl encoding for PS5.1 and ensure only one restart is needed upon installing all 3 features

* improve disk size format

* add parameter -log to copy the output of the console to ~\psbbn-windows-launcher.log

* relaunch the script as administrator automatically if needed

* implement a folderpicker for the main content folder and pass it to linux scripts

* improve disk picker to detect OPL volume and allow to refresh

* add comments and linebreak the longer code lines

* checkout branch even if the repo is already cloned to another one

* add fallback logic in case the remote branch was deleted

* change target branch to main, and add some comments

* fix variable scope of $diskList

* change string.Split call to work with powershell 5.1

* move and rename the windows scripts

* resize the console to 100x45 and save the selected path to path.cfg

* offline/online disk before mounting on wsl to avoid locking issues

* silence error when plugging a disk with no partition + add path.cfg to .gitignore

* use utf8-bom on the powershell script to enable proper display of utf8 characters

* update title acsii art

* offer to keep using the previously used games' path

* fix disk picking issue and add serial to the disk list

* open the explorer even when the same path is reused

* improve UI of the restart prompt
2025-09-11 12:42:55 +01:00
CosmicScale
2188b0ff08 Improve drive picker 2025-09-09 12:21:43 +01:00
CosmicScale
725a10d425 Update app, art and game databases 2025-09-09 00:41:13 +01:00
CosmicScale
fb9786e98b Fix WSL path handling and improve display of paths and drives
- Fix handling of WSL paths containing spaces
- Display Windows paths in Windows-style format
- Show drive model instead of device name
2025-09-08 21:23:31 +01:00
CosmicScale
3d102338ca Replace mkfs.ext2 with mke2fs. Add /sbin and /usr/sbin to PATH 2025-09-08 14:26:44 +01:00
CosmicScale
0dd0fc69f2 Cleanup after creating VMCs 2025-09-06 00:59:42 +01:00
CosmicScale
a5369a3619 Add modprobe fallback for exFAT 2025-09-05 22:42:04 +01:00
CosmicScale
991182af17 Fix big where VMC's could be created outside the POPS folder when installing lots of games 2025-09-05 22:12:49 +01:00
CosmicScale
7cbc3afb46 Fix sorting order for WipEout and Ace Combat series 2025-09-05 19:27:27 +01:00
CosmicScale
f79bf81130 Forward FUSE2 error to log 2025-09-05 19:20:26 +01:00
CosmicScale
c8007887ea Unmount drive before PSBBN install 2025-09-05 00:19:38 +01:00
CosmicScale
5fa10248c2 Update WSL instructions 2025-09-04 20:42:26 +01:00
rtd1250
59fb805c5d Avoid partial updates on Arch Linux (#244) 2025-09-04 11:13:47 +01:00
CosmicScale
1a1dd1c958 Force scripts to run with English locale, remove exfatutils from Arch setup 2025-09-03 11:43:04 +01:00
CosmicScale
fc3aaa0676 Update README 2025-09-02 22:38:48 +01:00
CosmicScale
da90f5f345 Stop script on real tar extraction errors, ignoring ownership warnings 2025-09-02 22:05:31 +01:00
CosmicScale
8aab975d6c Improve ffmpeg error logging and notify user when files are skipped 2025-09-02 20:45:52 +01:00
CosmicScale
e702bdc4bc Add ldconfig, sfdisk and partprobe to dependencies 2025-09-02 12:50:34 +01:00
CosmicScale
9992f49765 Add exFAT support checks and Fedora/Arch WSL restrictions
## PSBBN-Definitive-Patch.sh
- Add exFAT mount check (kernel, FUSE)
- Block Fedora/Arch under WSL

## Setup.sh
- Install exfatprogs and exfat-fuse as fallback
- Fedora: remove dnf check-update, replace fuse with fuse-libs
2025-09-01 21:21:31 +01:00
CosmicScale
4e5fb3df92 Add wipefs when initialising drive, forward dmsetup errors to log 2025-09-01 15:43:01 +01:00
CosmicScale
a0aa13e8d0 Update art and app databases 2025-09-01 15:36:08 +01:00
CosmicScale
228c21cb30 Update game, app and art databases 2025-08-30 00:33:43 +01:00