RetroPie-Setup  4.8.7
Functions
archivefuncs.sh File Reference

RetroPie archivefuncs library. More...

Functions

 archiveExtract (src_file, disk_exts)
 Extracts an archive to a temporary directory. More...
 
 archiveCleanup ()
 Purges archive temp directory from previous calls to archiveExtract.
 

Detailed Description

RetroPie archivefuncs library.

Function Documentation

◆ archiveExtract()

archiveExtract ( src_file  ,
disk_exts   
)

Extracts an archive to a temporary directory.

Parameters
src_fileFull path to archive file to extract
disk_extsSpace separated list of supported disk extensions (e.g. ".d64 .t64")

After calling this the variable arch_dir will contain the directory that was used for extraction. Also the variable arch_files will contain an array of filenames that are considered as game disks according to parameter disk_exts.