Skip to content

Commit

Permalink
Add option to disable snd0
Browse files Browse the repository at this point in the history
Signed-off-by: Ronnie Sahlberg <[email protected]>
  • Loading branch information
sahlberg committed Sep 8, 2024
1 parent 0c4fffa commit 1099753
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ Command line arguments are:
This requires that you have xdelta3 installed.
--snd0 : Provide an audio file to be played when this game
is focused on the XMB. See the SND0.AT3 section below.
To disable snd0 use --snd0=no
--auto-libcrypt : Try to automatically create and apply a patch for
libcrypt. This can be used if there is no proper PPF
file available. This is not 100% reliable.
Expand Down
3 changes: 3 additions & 0 deletions pop-fe.py
Original file line number Diff line number Diff line change
Expand Up @@ -4575,6 +4575,9 @@ def process_disk_file(cue_file, idx, temp_files, subdir='./'):
snd0 = get_snd0_from_link(snd0, subdir=subdir)
if snd0:
temp_files.append(snd0)
if snd0 == 'no':
print('Disable SND0')
snd0 = None

if args.psp_dir:
create_psp(args.psp_dir, disc_ids, game_title, icon0, pic0, pic1, cue_files, cu2_files, img_files, mem_cards, aea_files, magic_word, snd0=snd0, subdir=subdir, watermark=args.watermark, subchannels=subchannels, manual=manual, configs=pspconfigs, use_cdda=args.psp_use_cdda, logo=logo)
Expand Down

0 comments on commit 1099753

Please sign in to comment.