Overview
As of 11/5/2019, the language of the song played in the credits is determined by the language selected by Steam rather than the in-game audio language selector.This means you can’t have the user interface in English, and the audio language of the song in the credits in Japanese.With some manual modifications of the game assets, it’s possible to force the Japanese version of the song to play.
Introduction
Warning: This guide is a bit long, technical and requires fiddling with game files, and using the command prompt for one part
As of 11/5/2019, the language of the song played in the credits and dance mode is determined by the language selected by Steam rather than the in-game audio language selector.
This means you can’t have the user interface in English, and the audio language of the song in the credits in Japanese.
With some manual modifications of the game assets, it’s possible to force the Japanese version of the song to play.
By digging around in the assets, you agree to be exposed to potential spoilers.
And of course, this will prevent the English versions of the song from playing until you reinstall the game or undo the asset changes
Without further ado:
Fixing the Audio
- Download Unity Assets Bundle Extractor (UABE) from the 7 Days to Die forum (I used 2.2d)
- Locate the game’s local files (AI: The Somnium Files->Right Click->Properties->Local Files->Browse Local Files)
- Enter
AI_TheSomniumFiles_DataStreamingAssetsAssetBundlesStandaloneWindows64
- Rename
audio
to
audio.backupand copy it to your UABE folder
- Open
audio
in UABE, select yes and save it to
audio_extracted - Select export on the CAB-… file which should be selected, and save it as
audio_extracted_cab
- Open audio_extracted_cab in UABE, sort by Name, and extract all four
BGM_IRIS_SONG_FULL_JP…
files, as well as
BGM_IRIS_SONG_SHORT_JPand
BGM_IRIS_SONG_GRANDFINALE_JPby selecting “Export Dump”
- You should now have 6 text files; Open each of them and replace
JP
with
USin each file’s m_Name string
- Locate the US versions of the songs in the list; Replace
BGM_IRIS_SONG_FULL_US_x0.5
with your modified
BGM_IRIS_SONG_FULL_JP_x0.5txt file, etc until all 6 US files are replaced by using “Import Dump”
- Select File->Save, and save as
audio_extracted_cab_fixed
- Select OK to close the window
- Re-open
audio_extracted
- Select import on the CAB-… file, and select your
audio_extracted_cab_fixed
file (you may need to show all file types)
- Select File->Save, and save as
audio_extracted_fixed
- Select File->Compress, and open your
audio_extracted_fixed
file
- Select LZMA for the Selected File, and the File Table; Click OK and save as
audio_fixed
- Copy the
audio_fixed
file back to
AI_TheSomniumFiles_DataStreamingAssetsAssetBundlesStandaloneWindows64and rename it to
audio
Fixing the Dance Mode Finale
- Download Unity Assets Bundle Extractor (UABE) from the 7 Days to Die forum (I used 2.2d)
- Locate the game’s local files (AI: The Somnium Files->Right Click->Properties->Local Files->Browse Local Files)
- Enter
AI_TheSomniumFiles_DataStreamingAssetsAssetBundlesStandaloneWindows64movie
- Copy
video_video_dance_en_2k_60
and
video_video_dance_jp_2k_60to your UABE folder, and rename
video_video_dance_en_2k_60to
video_video_dance_en_2k_60.backup - Open
video_video_dance_jp_2k_60
in UABE, select yes, and save it to
video_video_dance_jp_2k_60_extracted - Select export on the selected CAB-… file, and save it as
video_video_dance_jp_2k_60_extracted_cab
- Scroll down to the second CAB-… file (ending in .resource), select export, and save it as
video_video_dance_jp_2k_60_extracted_cab_resource
- Open
video_video_dance_jp_2k_60_extracted_cab
in UABE
- Select “Export Dump” on
Unnamed asset
and save the file
- Open
video_video_dance_en_2k_60
in UABE, select yes, and save it to
video_video_dance_en_2k_60_extracted - Select export on the selected CAB-… file, and save it as
video_video_dance_en_2k_60_extracted_cab
- Open
video_video_dance_en_2k_60_extracted_cab
in UABE
- Select “Export Dump” on
Unnamed asset
and save the file
- Open both of the text files you just extracted in Notepad, and copy the m_Size number near the bottom of the …_jp… file to the …_en… (in my case I’m copying 377879765 from the Japanese file and overwriting 377879934 in the US file)
- Save the …_en… file, and select “Import Dump” on
Unnamed asset
in the
video_video_dance_en_2k_60_extracted_cabfile, replacing it with the
Video_Dance_en_2k_60-…text file
- Select File->Save, and save as
video_video_dance_en_2k_60_extracted_cab_fixed
- Select OK to close the window
- Re-open
video_video_dance_en_2k_60_extracted
- Select import on the CAB-… file, and select your
video_video_dance_en_2k_60_extracted_cab_fixed
file
- Scroll down to the second CAB-… file (ending in .resource), select import, and select
video_video_dance_jp_2k_60_extracted_cab_resource
- Select File->Save, and save as
video_video_dance_en_2k_60_extracted_fixed
- Select File->Compress, and open your
video_video_dance_en_2k_60_extracted_fixed
file
- Select LZMA for the Selected File, and the File Table; Click OK and save as
video_video_dance_en_2k_60_fixed
- Copy the
video_video_dance_en_2k_60_fixed
file back to
AI_TheSomniumFiles_DataStreamingAssetsAssetBundlesStandaloneWindows64movieand rename it to
video_video_dance_en_2k_60
Fixing the Credits
This is the most complicated part as while dance mode uses rendered subtitles, the ones in the credits are embedded into the video!
- Download Unity Assets Bundle Extractor (UABE) from the 7 Days to Die forum (I used 2.2d)
- Download ffmpeg here: [link]
- Locate the game’s local files (AI: The Somnium Files->Right Click->Properties->Local Files->Browse Local Files)
- Enter
AI_TheSomniumFiles_DataStreamingAssetsAssetBundlesStandaloneWindows64movie
- Copy
video_video_e6-wrap79_m10_00_en_2k_60
and
video_video_e6-wrap79_m10_00_jp_2k_60to your UABE folder, and rename
video_video_e6-wrap79_m10_00_en_2k_60to
video_video_e6-wrap79_m10_00_en_2k_60.backup - Open
video_video_e6-wrap79_m10_00_jp_2k_60
in UABE, select yes, and save it to
video_video_e6-wrap79_m10_00_jp_2k_60_extracted - Select export on the selected CAB-… file, and save it as
video_video_e6-wrap79_m10_00_jp_2k_60_extracted_cab
- Scroll down to the second CAB-… file (ending in .resource), select export, and save it as
video_video_e6-wrap79_m10_00_jp_2k_60_extracted_cab_resource
- Open
video_video_e6-wrap79_m10_00_jp_2k_60_extracted_cab
in UABE
- Select “Export Dump” on
Unnamed asset
and save the file
- Open
video_video_e6-wrap79_m10_00_en_2k_60
in UABE, select yes, and save it to
video_video_e6-wrap79_m10_00_en_2k_60_extracted - Select export on the selected CAB-… file, and save it as
video_video_e6-wrap79_m10_00_en_2k_60_extracted_cab
- Scroll down to the second CAB-… file (ending in .resource), select export, and save it as
video_video_e6-wrap79_m10_00_en_2k_60_extracted_cab_resource
- Open the folder the two _resource files you just extracted are in with command prompt
- Run the command
ffmpeg -i video_video_e6-wrap79_m10_00_en_2k_60_extracted_cab_resource -i video_video_e6-wrap79_m10_00_jp_2k_60_extracted_cab_resource -c:v copy -map 0:v:0 -c:a copy -map 1:a:0 -f mp4 video_video_e6-wrap79_m10_00_en_2k_60_extracted_cab_resource_fixed
to replace the English credits audio with the Japanese
- Open
video_video_e6-wrap79_m10_00_en_2k_60_extracted_cab
in UABE
- Select “Export Dump” on
Unnamed asset
and save the file
- Open the Video_E6_wrap79_M10_00_en_2k_60… text file in notepad, and replace the m_Size value at the bottom with the file size of the newly created
video_video_e6-wrap79_m10_00_en_2k_60_extracted_cab_resource_fixed
in bytes (for me, it’s 377985865)
- Save the …_en… file, and select “Import Dump” on
Unnamed asset
in the
video_video_e6-wrap79_m10_00_en_2k_60_extracted_cabfile, replacing it with the modified
Video_E6_wrap79_M10_00_en_2k_60…text file
- Select File->Save, and save as
video_video_e6-wrap79_m10_00_en_2k_60_extracted_cab_fixed
- Select OK to close the window
- Re-open
video_video_e6-wrap79_m10_00_en_2k_60_extracted
- Select import on the CAB-… file, and select your
video_video_e6-wrap79_m10_00_en_2k_60_extracted_cab_fixed
file
- Scroll down to the second CAB-… file (ending in .resource), select import, and select
video_video_e6-wrap79_m10_00_en_2k_60_extracted_cab_resource_fixed
- Select File->Save, and save as
video_video_e6-wrap79_m10_00_en_2k_60_extracted_fixed
- Select File->Compress, and open your
video_video_e6-wrap79_m10_00_en_2k_60_extracted_fixed
file
- Select LZMA for the Selected File, and the File Table; Click OK and save as
video_video_e6-wrap79_m10_00_en_2k_60_fixed
- Copy the
video_video_e6-wrap79_m10_00_en_2k_60_fixed
file back to
AI_TheSomniumFiles_DataStreamingAssetsAssetBundlesStandaloneWindows64movieand rename it to
video_video_e6-wrap79_m10_00_en_2k_60
Cleanup
After you are satisfied with the audio, you can delete UABE and the temporary files you created inside it.
The game should now be properly undubbed.
I have tested the credits and dance mode, but I have not done a full playthrough with this mod.
This is my first guide, so the formatting is probably awful, and it is rather long, but I prefer not to upload the patched assets myself.
However, anyone is free to use this guide to make a simpler one with prepatched assets if they wish.