Skip to content

Commit fab12b7

Browse files
committed
support rpg maker mz file extensions
1 parent 4e8c3ba commit fab12b7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Currently supports:
1212
- Inform 7 (blorb)
1313
- RPG Maker VX Ace (rgss3a, v3 only)
1414
- RPG Maker MV (rpgmvp, rpgmvm, rpgmvo)
15+
- RPG Maker MZ (png_, m4a_, ogg_)
1516
- Ren'py (rpa, v3 only)
1617
- Wolf RPG (dxa, v6 only, compression unsupported)
1718
- Electron (asar)

cmd/gamearc-rpgmv/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ filesLoop:
8585
base := strings.TrimSuffix(filepath.Base(srcfile.Name()), ext) // basename without extension (for ex w04_16)
8686

8787
switch ext {
88-
case ".rpgmvp":
88+
case ".rpgmvp", ".png_":
8989
ext = ".png"
90-
case ".rpgmvm":
90+
case ".rpgmvm", ".m4a_":
9191
ext = ".m4a"
92-
case ".rpgmvo":
92+
case ".rpgmvo", ".ogg_":
9393
ext = ".ogg"
9494
default:
9595
// Not encrypted.

0 commit comments

Comments
 (0)