Rocksmithconvert Save

Simple standalone OSX app to convert Rocksmith 2014 .psarc (CDLC) files between PC and MAC.

Project README

Rocksmith 2014 CDLC convert PC / Mac

Simple standalone OSX app to convert/rename Rocksmith 2014 .psarc files between PC and MAC.

Based on 0x0L's pyrocksmith (https://github.com/0x0L/rocksmith)

Screenshot

Download & install

Download latest readymade package for OSX 10.12 and newer: https://github.com/glebb/rocksmithconvert/releases

  • Download the zip package
  • Unzip by double clicking the file (if needed, e.g. Safari does this automatically)
  • No installation needed, you can move the app to Applications folder if you like
  • Start the app -> osx security kicks in (the first time you run it):
  • Allow the app to run by checking osx System Preferences / Security & Privacy / General -> Allow

Usage

Just drag & drop files you want to convert to the app (supports mass conversions). Additionally, you can choose to use short filenames or just rename(copy) the files without conversion.

If target file already exists, operation is skipped. Original files are not modified, the app always creates new files as a result of conversion/rename.

Example: your CDLC is /Users/john/Downloads/Really_Long_Artist_Name-ThisIsJustATribute_p.psarc Dropping the file to the app and processing with conversion and rename options enabled, following file is produced: /Users/john/Library/Application Support/Steam/steamapps/common/Rocksmith2014/dlc/ReallyLong-ThisIsJust_m.psarc (target folder of course depends on your selection).

The next time you run the app, settings are as you set them before. With remembering settings combined with auto-processing feature, you can set the app to check desired folder at launch and do the processing automatically, without any user interaction. You can use it to scan Downloads folder and automatically convert files dlc/cdlc folder. It doesn't matter what files are in the source folder, only files that are not in target already will be processed.

If you don't use autoprocessing, you can just drop the files on the app while it's running to invoke processing. Additionally you can drop files directly on the app icon (e.g. on Dock) while holding down cmd (Option) before you start the drag. This will open the app and automatically process the files.

If source folder contains both pc (_p.psarc) and mac (_m.psarc) files, the processor picks all of them and either copies or converts the files based on platform selection to the target folder.

NOTE! Option for renaming is to avoid problems loading CDLC within Rocksmith. This is achieved by removing all unecessary characters and also splitting Artist and Song name if needed. Using rename scheme is optional.

Versions

1.1 Was the first public release. It is considerably different from the current version. See details from the 1.1 readme. The main difference is that 1.1 user interface was build on platypus and applescript. Most of it was implemented as pure bash script. It did (still does) its job, but considering the limitations, it was not feasible to develop it much further as adding new features became increasingly awkward.

2.x Is the current branch, based on PyQt5/PyQt6. It still uses pyrocksmith as it's core for the psarc file handling, but otherwise it's a complete rewrite. New features include e.g. permanent settings and using threads for processing, making it much faster. In theory, it should also work cross platform.

Development & building from source

The basic idea is to use pyrocksmith to parse the files and bundle everything to a nice and clean standalone osx app without additional dependencies. That's why the release filesize is so BIG! Batteries included. This is achieved by using pyinstaller to create a single executable from PyQt app.

Requirements

  • Python 3.6+:
    • pip install -r requirements.txt:
      • PyQt5 (latest version which works in osx 10.12 is 5.13.2), or PyQt6 if building on modern mac (requirements-m1.txt)
      • pyinstaller (https://pypi.org/project/pyinstaller/)
      • git+https://github.com/0x0L/rocksmith.git

Testing and running locally

Install dependencies: pip install -r requirements-dev.txt Install as a local package: pip install -e src/. Run tests: py.test Run app: convert_gui.py

UI

Qt Creator is used to handle the master .ui. To convert "qt" files to python source, use pyuic5 or pyuic6 (e.g. pyuic6 -x mainwindow.ui -o mainwindow.py) To be compatible with both PyQt5 and PyQt6, remember to manually edit mainwindow.py and replace qt imports to from rocksmithconvert.qt_wrapper import QtCore, QtWidgets

Making convert_gui.py as standalone executable

Running pyinstaller --name 'RSConvert_GUI' --windowed --onefile src/rocksmithconvert/convert_gui.py --clean --icon=docs/rsconvert.icns --add-binary src/rocksmithconvert/assets:assets creates an executable under .dist/. On Windows: pyinstaller --name RSConvert_GUI --windowed --onefile src/rocksmithconvert/convert_gui.py --clean --icon=docs/rsconvert.ico --add-binary src/rocksmithconvert/assets;assets

Open Source Agenda is not affiliated with "Rocksmithconvert" Project. README Source: glebb/rocksmithconvert
Stars
121
Open Issues
0
Last Commit
1 year ago
License

Open Source Agenda Badge

Open Source Agenda Rating