Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Better solution PokeKms
Browse files Browse the repository at this point in the history
  • Loading branch information
Brolijah committed Dec 17, 2017
1 parent 9a7345e commit 6098bb2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions YACT/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ static void Main(string[] args)
else if (_doList)
{
//Console.WriteLine("DEBUG: doList! - TODO");
//if (bVerbose) { cpkMaker.DebugPrintInternalInfo(); }
//else { Console.WriteLine(cpkMaker.GetCpkInformationString(true, false)); }
if (bVerbose) { cpkMaker.DebugPrintInternalInfo(); }
else { Console.WriteLine(cpkMaker.GetCpkInformationString(true, false)); }

if(bUseCsv)
{
Expand Down Expand Up @@ -525,11 +525,11 @@ static bool ExportCsv(string csvPath, string cpkName, ref CFileData fileData)
'"' + cfi.ContentFilePath + '"' + ", " +
cfi.FileId.ToString().PadLeft(8) + ", " +
(cfi.IsCompressed ? "Compress" : "Uncompress") + ", " +
'"' + (cfi.GroupString != null ? cfi.GroupString.Replace("/", "").Replace("(none)", "") : "" ) + '"' + ", " +
'"' + (cfi.AttributeString != null ? cfi.AttributeString : "") + '"');
'"' + cfi.GroupDisplayString.Replace("/", "").Replace("(none)", "") + '"' + ", " +
'"' + cfi.AttributeDisplayString + '"');
csvContents.Add(lineString);
}
File.Create(csvPath).Close();
//File.Create(csvPath).Close();
File.WriteAllLines(csvPath, csvContents, Encoding.UTF8);
} catch { return false; }
return true;
Expand Down

1 comment on commit 6098bb2

@Alex18life
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good day. I have one question about YACpkTool.

Please sign in to comment.