ScanMountGoat / ArcExplorer

A cross-platform file browser and extractor for Smash Ultimate's data.arc file.
MIT License
32 stars 2 forks source link

Append regional indicator to extracted regional file names #62

Open ThatNintendoNerd opened 3 years ago

ThatNintendoNerd commented 3 years ago

This could be the default behavior or a configurable option. e.g., extracting ui/message/msg_bgm.msbt set to the Japanese region would result in the extracted file name of msg_bgm+jp_ja.msbt. Internal texture names of various regions use the same naming conventions, such as ui/replace/stage/stage_0/stage_0_battlefield.bntx having the internal name of stage_0_BattleField+us_en.

The option to extract all regions at once using the above behavior would serve useful too, as extracting the same file region by region and renaming each time is awfully tedious.

ScanMountGoat commented 3 years ago

This is definitely doable to add at some point. I don't think making it the default option is a good idea since some tools rely on file names not having any extra characters added to the file name. For example, col0+ja_jp.nutexb might not load properly in Cross Mod.

This could be added as a configurable option in the settings if people like the regional naming similar to Cross Arc. I may also consider adding an "Extract All Regions" option to the context menu for files. I wasn't sure if this was still useful to people, so thanks for bringing this up.