retoc icon indicating copy to clipboard operation
retoc copied to clipboard

Cannot create composite container for containers of different versions

Open ADX5000 opened this issue 5 months ago • 4 comments

Hello trumank

I put modder's pak ,ucas ,and utoc files at Paks folder with Stellar Blade official pak files.

I just want to check what did he do to the uasset and execute with the follow command.

retoc.exe to-legacy .\Paks\ .\output\ -f "CharacterTable.uasset"

and it went wrong with the follow error.

Error: Cannot create composite container for containers of different versions: Container deadUIdelay_P and global have different versions DirectoryIndex and PartitionSize

however,if I move all the official files out,there is no error but no file can be outputed.

[00:00:00] ######################################## 0/0
Extracted 0 (0 failed) legacy assets to ".\output\" Extracted 0 shader code libraries to ".\output\"

did I do something wrong??or there is other solution can extract other modder's file?

ADX5000 avatar Jul 20 '25 07:07 ADX5000

Current retoc has a check which triggers this error: https://github.com/trumank/retoc/blob/v0.1.2/src/iostore.rs#L205-L236

You can try the fork from BlafKing here: https://github.com/BlafKing/retoc It adds a --no-ver-check option to to-legacy which skips retoc's mixed version check:

retoc.exe to-legacy --no-ver-check .\Paks\ .\output\ -f "CharacterTable.uasset"

hypermodule avatar Jul 20 '25 07:07 hypermodule

Current retoc has a check which triggers this error: https://github.com/trumank/retoc/blob/v0.1.2/src/iostore.rs#L205-L236

You can try the fork from BlafKing here: https://github.com/BlafKing/retoc It adds a --no-ver-check option to to-legacy which skips retoc's mixed version check:

retoc.exe to-legacy --no-ver-check .\Paks\ .\output\ -f "CharacterTable.uasset"

I move all the official files out and used the fork from BlafKing,but it still went wrong.

F:\SteamLibrary\steamapps\common\StellarBlade\SB\Content>retoc.exe to-legacy --no-ver-check .\Paks\ .\output
Failed to convert ../../../SB/Content/Local/Data/EffectTable.uasset: FIoChunkId { chunk_id: "000000000000000000000007", chunk_type: LoaderInitialLoadMeta } not found in any containers [00:00:00] ######################################## 1/1
Extracted 0 (1 failed) legacy assets to ".\output\" Extracted 0 shader code libraries to ".\output\"

maybe I shouldn't move out official files?

but if I remain official files,the extracted file wiil be official,not the modder's altered version.🤔

ADX5000 avatar Jul 20 '25 11:07 ADX5000

maybe I shouldn't move out official files?

You need to have the game's global.utoc and global.ucas in the same directory as the file you want to extract. So arrange it like this:

global.utoc
global.ucas
ModFile_P.pak
ModFile_P.utoc
ModFile_P.ucas

hypermodule avatar Jul 20 '25 11:07 hypermodule

maybe I shouldn't move out official files?

You need to have the game's global.utoc and global.ucas in the same directory as the file you want to extract. So arrange it like this:

global.utoc
global.ucas
ModFile_P.pak
ModFile_P.utoc
ModFile_P.ucas

OK,it works!

I thought the extracted file was official version ,I was wrong.

just use the fork from BlafKing ,and adds --no-ver-check.

thanks a lot.

ADX5000 avatar Jul 20 '25 12:07 ADX5000