Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resident Evil 3 (PC, 1999) rofs.dat archive support #66

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ set(PHYSFS_SRCS
src/physfs_archiver_7z.c
src/physfs_archiver_mvl.c
src/physfs_archiver_qpak.c
src/physfs_archiver_rofs.c
src/physfs_archiver_wad.c
src/physfs_archiver_csm.c
src/physfs_archiver_zip.c
Expand Down Expand Up @@ -145,6 +146,11 @@ if(NOT PHYSFS_ARCHIVE_QPAK)
add_definitions(-DPHYSFS_SUPPORTS_QPAK=0)
endif()

option(PHYSFS_ARCHIVE_ROFS "Enable Resident Evil 3 ROFS support" TRUE)
if(NOT PHYSFS_ARCHIVE_ROFS)
add_definitions(-DPHYSFS_SUPPORTS_ROFS=0)
endif()

option(PHYSFS_ARCHIVE_SLB "Enable I-War / Independence War SLB support" TRUE)
if(NOT PHYSFS_ARCHIVE_SLB)
add_definitions(-DPHYSFS_SUPPORTS_SLB=0)
Expand Down Expand Up @@ -328,6 +334,7 @@ message_bool_option("CSM support" PHYSFS_ARCHIVE_CSM)
message_bool_option("HOG support" PHYSFS_ARCHIVE_HOG)
message_bool_option("MVL support" PHYSFS_ARCHIVE_MVL)
message_bool_option("QPAK support" PHYSFS_ARCHIVE_QPAK)
message_bool_option("ROFS support" PHYSFS_ARCHIVE_ROFS)
message_bool_option("SLB support" PHYSFS_ARCHIVE_SLB)
message_bool_option("VDF support" PHYSFS_ARCHIVE_VDF)
message_bool_option("ISO9660 support" PHYSFS_ARCHIVE_ISO9660)
Expand Down
3 changes: 3 additions & 0 deletions docs/CREDITS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ Bug fixes,
Bug fixes:
Rob Loach

ROFS archiver:
Patrice Mandin

Other stuff:
Your name here! Patches go to [email protected] ...

Expand Down
1 change: 1 addition & 0 deletions src/Makefile.os2
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ SRCS = physfs.c &
physfs_archiver_7z.c &
physfs_archiver_mvl.c &
physfs_archiver_qpak.c &
physfs_archiver_rofs.c &
physfs_archiver_wad.c &
physfs_archiver_zip.c &
physfs_archiver_slb.c &
Expand Down
3 changes: 3 additions & 0 deletions src/physfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1179,6 +1179,9 @@ static int initStaticArchivers(void)
#if PHYSFS_SUPPORTS_QPAK
REGISTER_STATIC_ARCHIVER(QPAK);
#endif
#if PHYSFS_SUPPORTS_ROFS
REGISTER_STATIC_ARCHIVER(ROFS);
#endif
#if PHYSFS_SUPPORTS_HOG
REGISTER_STATIC_ARCHIVER(HOG);
#endif
Expand Down
Loading