Skip to content

Commit

Permalink
Support using "miller" as HAP archive type
Browse files Browse the repository at this point in the history
  • Loading branch information
Radfordhound committed Oct 25, 2024
1 parent 5539f09 commit ecebfa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion HedgeTools/HedgeArcPack/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ static arc_type get_arc_type(const hl::nchar* typeStr)
}

// Sonic x Shadow Generations .pac files.
if (hl::text::iequal(typeStr, HL_NTEXT("sxsg")))
if (hl::text::iequal(typeStr, HL_NTEXT("sxsg")) ||
hl::text::iequal(typeStr, HL_NTEXT("miller")))
{
return arc_type::sxsg;
}
Expand Down
2 changes: 1 addition & 1 deletion HedgeTools/HedgeArcPack/src/text.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
HL_NTEXT("frontiers/rangers\t(Sonic Frontiers .pac files)\n"),

/* arc_type_sxsg */
HL_NTEXT("sxsg\t\t\t(Sonic x Shadow Generations .pac files)\n\n"),
HL_NTEXT("sxsg/miller\t\t(Sonic x Shadow Generations .pac files)\n\n"),

/* extracting */
HL_NTEXT("Extracting..."),
Expand Down

0 comments on commit ecebfa0

Please sign in to comment.