Skip to content

Commit 062a513

Browse files
add gcmasm
1 parent 20c914a commit 062a513

File tree

5 files changed

+470
-10
lines changed

5 files changed

+470
-10
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Build products
55
libprs.a
66
afsdump
7+
gcmasm
78
gcmdump
89
gsldump
910
gvmdump

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ add_library(prs src/prs/PRSDataLog.cc src/prs/PRS.cc src/prs/Yay0.cc src/prs/Yaz
3434

3535
find_package(OpenAL REQUIRED)
3636

37-
set(SimpleExecutableNames afsdump gcmdump gsldump gvmdump rcfdump)
37+
set(SimpleExecutableNames afsdump gcmasm gcmdump gsldump gvmdump rcfdump)
3838
set(AllExecutableNames ${SimpleExecutableNames} pae2gvm prsd smsdumpbanks smssynth modsynth)
3939

4040
foreach(ExecutableName IN ITEMS ${SimpleExecutableNames})

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ After the dependencies are installed (on any platform), do this:
5454
**gcmdump** - extracts all files in a GCM file (GameCube disc image) or TGC file (embedded GameCube disc image) to the current directory. You can force formats with the --gcm or --tgc options (by default gcmdump will try to figure out the file format itself).
5555
- Example: `mkdir out && cd out && gcmdump ../image.gcm`
5656

57+
**gcmasm** - generates a .gcm image from a directory tree. Ideally the source data would be a directory tree produced by gcmdump, but if not, you can provide the header data on the command line instead.
58+
- Example: `gcmasm extracted_image_dir` (produces extracted_image_dir.gcm)
59+
5760
**gsldump** - extracts all files in a GSL archive to the current directory. This format was used in multiple versions of Phantasy Star Online for various game parameters.
5861
- Example: `mkdir out && cd out && gsldump ../archive.gsl`
5962

0 commit comments

Comments
 (0)