Skip to content

Commit 1e4eeb9

Browse files
add vrfsdump to readme
1 parent 29c148c commit 1e4eeb9

4 files changed

Lines changed: 18 additions & 27 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ replace_clut
3232
resource_dasm
3333
smsdumpbanks
3434
smssynth
35-
vrfs_dump
35+
vrfsdump
3636

3737
# CMake files
3838
CMakeCache.txt

CMakeLists.txt

Lines changed: 16 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -98,33 +98,23 @@ target_include_directories(
9898
)
9999
target_link_libraries(resource_file phosg::phosg z)
100100

101-
add_executable(gcmasm src/gcmasm.cc)
102-
target_link_libraries(gcmasm phosg::phosg)
103-
add_executable(gcmdump src/gcmdump.cc)
104-
target_link_libraries(gcmdump phosg::phosg)
105-
add_executable(gvmdump src/gvmdump.cc)
106-
target_link_libraries(gvmdump phosg::phosg)
107-
add_executable(rcfdump src/rcfdump.cc)
108-
target_link_libraries(rcfdump phosg::phosg)
109-
add_executable(vrfs_dump src/vrfs_dump.cc)
110-
target_link_libraries(vrfs_dump phosg::phosg)
111-
112-
add_executable(smsdumpbanks src/Audio/smsdumpbanks.cc)
113-
target_link_libraries(smsdumpbanks phosg::phosg resource_file)
114-
add_executable(smssynth src/Audio/smssynth.cc)
115-
target_link_libraries(smssynth phosg::phosg resource_file)
116-
add_executable(modsynth src/Audio/modsynth.cc)
117-
target_link_libraries(modsynth phosg::phosg resource_file)
101+
foreach(ExecutableName IN ITEMS gcmasm gcmdump gvmdump rcfdump vrfsdump)
102+
add_executable(${ExecutableName} src/${ExecutableName}.cc)
103+
target_link_libraries(${ExecutableName} phosg::phosg)
104+
endforeach()
105+
foreach(ExecutableName IN ITEMS smsdumpbanks smssynth modsynth)
106+
add_executable(${ExecutableName} src/Audio/${ExecutableName}.cc)
107+
target_link_libraries(${ExecutableName} phosg::phosg resource_file)
108+
endforeach()
109+
118110
if(SDL3_FOUND)
119-
message("SDL3 is available; enabling audio playback support in smssynth and modsynth")
120-
target_sources(smssynth PRIVATE src/Audio/SDLAudioStream.cc)
121-
target_compile_definitions(smssynth PRIVATE SDL3_AVAILABLE)
122-
target_include_directories(smssynth PUBLIC ${SDL3_INCLUDE_DIRS})
123-
target_link_libraries(smssynth ${SDL3_LIBRARIES})
124-
target_sources(modsynth PRIVATE src/Audio/SDLAudioStream.cc)
125-
target_compile_definitions(modsynth PRIVATE SDL3_AVAILABLE)
126-
target_include_directories(modsynth PUBLIC ${SDL3_INCLUDE_DIRS})
127-
target_link_libraries(modsynth ${SDL3_LIBRARIES})
111+
message("SDL3 is available; enabling audio playback support in smssynth and modsynth")
112+
foreach(ExecutableName IN ITEMS smssynth modsynth)
113+
target_sources(${ExecutableName} PRIVATE src/Audio/SDLAudioStream.cc)
114+
target_compile_definitions(${ExecutableName} PRIVATE SDL3_AVAILABLE)
115+
target_include_directories(${ExecutableName} PUBLIC ${SDL3_INCLUDE_DIRS})
116+
target_link_libraries(${ExecutableName} ${SDL3_LIBRARIES})
117+
endforeach()
128118
else()
129119
message("SDL3 is not available; disabling audio playback support in smssynth and modsynth")
130120
endif()

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The tools in this project are:
1818
* **decode_data**: Decodes some custom compression formats (see below).
1919
* **render_sprite**: Renders sprites from a variety of custom formats (see below).
2020
* **icon_unarchiver**: Exports icons from an Icon Archiver archive to .icns (see below).
21+
* **vrfsdump**: Extracts the contents of VRFS archives from Blobbo.
2122
* **gcmdump**: Extracts all files in a GCM file (GameCube disc image) or TGC file (embedded GameCube disc image).
2223
* **gcmasm**: Generates a GCM image from a directory tree.
2324
* **gvmdump**: Extracts all files in a GVM archive (from Phantasy Star Online) to the current directory, and converts the GVR textures to Windows BMP files. Also can decode individual GVR files outside of a GVM archive.
File renamed without changes.

0 commit comments

Comments
 (0)