Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for P3P_EFIGS #13

Merged
merged 1 commit into from
Feb 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions AtlusScriptCompilerGUI/GUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public partial class GUI
"SMT 3 Nocturne",
"SMT Digital Devil Saga",
"Persona 3 Portable",
"Persona 3 Portable - EU",
"Persona 3",
"Persona 3 FES",
"Persona 4",
Expand Down Expand Up @@ -121,47 +122,53 @@ private static string GetArgument(string droppedFilePath, string extension, stri
if (extension == ".MSG" || extension == ".FLOW")
outFormatArg = "-OutFormat V1";
break;
case 3: //P3
case 3: //P3P_EFIGS
encodingArg = "-Encoding P3P_EFIGS";
libraryArg = "-Library P3P";
if (extension == ".MSG" || extension == ".FLOW")
outFormatArg = "-OutFormat V1";
break;
case 4: //P3
encodingArg = "-Encoding P3";
libraryArg = "-Library P3";
if (extension == ".MSG" || extension == ".FLOW")
outFormatArg = "-OutFormat V1";
break;
case 4: //P3FES
case 5: //P3FES
encodingArg = "-Encoding P3";
libraryArg = "-Library P3F";
if (extension == ".MSG" || extension == ".FLOW")
outFormatArg = "-OutFormat V1";
break;
case 5: //P4
case 6: //P4
encodingArg = "-Encoding P4";
libraryArg = "-Library P4";
if (extension == ".MSG" || extension == ".FLOW")
outFormatArg = "-OutFormat V1";
break;
case 6: //P4G
case 7: //P4G
encodingArg = "-Encoding P4";
libraryArg = "-Library P4G";
if (extension == ".MSG" || extension == ".FLOW")
outFormatArg = "-OutFormat V1";
break;
case 7: //P5
case 8: //P5
encodingArg = "-Encoding P5";
libraryArg = "-Library P5";
if (extension == ".MSG")
outFormatArg = "-OutFormat V1BE";
if (extension == ".FLOW")
outFormatArg = "-OutFormat V3BE";
break;
case 8: //P5R
case 9: //P5R
encodingArg = "-Encoding P5";
libraryArg = "-Library P5R";
if (extension == ".MSG")
outFormatArg = "-OutFormat V1BE";
if (extension == ".FLOW")
outFormatArg = "-OutFormat V3BE";
break;
case 9: //P5REU
case 10: //P5REU
encodingArg = "-Encoding P5R_EFIGS";
if (extension != ".BMD")
libraryArg = "-Library P5R";
Expand All @@ -170,7 +177,7 @@ private static string GetArgument(string droppedFilePath, string extension, stri
if (extension == ".FLOW")
outFormatArg = "-OutFormat V3BE";
break;
case 10: //PQ2
case 11: //PQ2
encodingArg = "-Encoding SJ";
libraryArg = "-Library PQ2";
if (extension == ".MSG")
Expand Down