Skip to content

Commit

Permalink
fix a galactic oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
BombasticTom committed May 23, 2024
1 parent 9e8c30a commit 9c877a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Weekend1/
vs-skippa-psychengine/

## Files
**/SONGTEST/*
CodeTest.py
fnf-porter.code-workspace
Thumbs.db
Expand Down
6 changes: 3 additions & 3 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pyinstaller --onefile setup.py --icon=icon.png --clean -n "FNF Porter v0_1"
cd dist\"FNF Porter v0_1"
"FNF Porter v0_1"
pyinstaller --onefile --icon=icon.ico -n "FNF Porter" setup.py
cd dist
"FNF Porter.exe"
6 changes: 2 additions & 4 deletions psychtobase/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,9 @@ def convert(psych_mod_folder, result_folder, options):
if chart != None:
try:
if os.path.basename(songFile) == 'Voices-Player.ogg':
fileCopy(songFile,
f'{result_folder}/{modFoldername}{bgSongs}{songKeyFormatted}/Voices-{chart.metadata['playData']['characters'].get('player')}.ogg')
fileCopy(songFile, f"{result_folder}/{modFoldername}{bgSongs}{songKeyFormatted}/Voices-{chart.metadata['playData']['characters'].get('player')}.ogg")
elif os.path.basename(songFile) == 'Voices-Opponent.ogg':
fileCopy(songFile,
f'{result_folder}/{modFoldername}{bgSongs}{songKeyFormatted}/Voices-{chart.metadata['playData']['characters'].get('opponent')}.ogg')
fileCopy(songFile, f"{result_folder}/{modFoldername}{bgSongs}{songKeyFormatted}/Voices-{chart.metadata['playData']['characters'].get('opponent')}.ogg")

except Exception as e:
logging.error(f'Could not copy asset {songFile}: {e}')
Expand Down

0 comments on commit 9c877a5

Please sign in to comment.