Skip to content

Commit 8d336c0

Browse files
authored
Merge pull request #2 from InvoxiPlayGames/master
(hopefully) fix converting pack CONs to RBVR with ForgeTool
2 parents 765f6e9 + 321cd73 commit 8d336c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibForge/ForgeTool/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,11 @@ void WithIO(Action<Stream, Stream> action)
328328
var rbvrPath = args[2];
329329
var conFile = STFSPackage.OpenFile(Util.LocalFile(conPath));
330330
var tempDir = Path.Combine(Path.GetTempPath(), "forgetool_tmp_build");
331-
Directory.CreateDirectory(tempDir);
332331
var songs = PkgCreator.ConvertDLCPackage(conFile.RootDirectory.GetDirectory("songs"));
333332
var entitlementNames = new List<string>();
334333
foreach(DLCSong song in songs)
335334
{
335+
Directory.CreateDirectory(tempDir);
336336
var shortname = song.SongData.Shortname;
337337
var filePrefix = $"pc/songs_download/{shortname}/{shortname}";
338338
var arks = new List<List<Tuple<string, IFile, int>>>();

0 commit comments

Comments
 (0)