Closed okmika closed 1 month ago
@okmika this issue is caused by SarcTool as well.
[Error] System.ArgumentException: C:\Users\ArchLeaders\AppData\Roaming\tkmm\mods\7ee08f5d-0508-4331-9885-83bbbb319ae6\romfs does not exist (Parameter 'modFolderPaths')
at TKMM.SarcTool.Core.SarcMerger..ctor(IEnumerable`1 modFolderPaths, String outputPath, String configPath, String shopsPath) in F:\Software\Projects\Games\Nintendo\TKMM-Team\Tkmm\lib\TKMM-SARC\TKMM.SarcTool.Core\SarcMerger.cs:line 65
at Tkmm.Core.Components.Mergers.SarcMergerShell.Merge(IModItem[] mods, String output) in F:\Software\Projects\Games\Nintendo\TKMM-Team\Tkmm\src\Tkmm.Core\Components\Mergers\SarcMergerShell.cs:line 11
at Tkmm.Core.Services.MergerService.MergeAsync(Mod[] mods, String output) in F:\Software\Projects\Games\Nintendo\TKMM-Team\Tkmm\src\Tkmm.Core\Services\MergerService.cs:line 61
at Tkmm.Core.Services.MergerService.<>c__DisplayClass4_0.<<Merge>b__2>d.MoveNext() in F:\Software\Projects\Games\Nintendo\TKMM-Team\Tkmm\src\Tkmm.Core\Services\MergerService.cs:line 46
--- End of stack trace from previous location ---
at Tkmm.Core.Services.MergerService.Merge(Profile profile, String output) in F:\Software\Projects\Games\Nintendo\TKMM-Team\Tkmm\src\Tkmm.Core\Services\MergerService.cs:line 44
at Tkmm.Core.Services.MergerService.Merge() in F:\Software\Projects\Games\Nintendo\TKMM-Team\Tkmm\src\Tkmm.Core\Services\MergerService.cs:line 19
at Tkmm.Helpers.MergerOperations.Merge() in F:\Software\Projects\Games\Nintendo\TKMM-Team\Tkmm\src\Tkmm\Helpers\MergerOperations.cs:line 11
Currently, mods without
romfs
cause an exception. E.g.:SarcTool, RSDB, and any other subtool that operates on
romfs
should not run in cases where the mod doesn't have aromfs
folder. We should just do a straight copy over to the target by priority.