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

SA2PC project creation key 0 error #278

Open
3 tasks done
rin-ikagari opened this issue Nov 21, 2024 · 2 comments
Open
3 tasks done

SA2PC project creation key 0 error #278

rin-ikagari opened this issue Nov 21, 2024 · 2 comments

Comments

@rin-ikagari
Copy link

rin-ikagari commented Nov 21, 2024

Before creating a new issue, please read the following:

This issue tracker is for bug reports and feature requests. This is not the place to ask how to use the tools or where to find models etc. If you need help using the tools, check out the wiki or ask on Discord.

In addition, please confirm the following:

  • I am using the latest version of SA Tools.

  • The problem is consistently reproducible.

  • I have looked through the list of open issues and confirmed that the problem hasn't been reported before.

Describe the bug/request
A clear and concise description of what the issue is.

To Reproduce (if applicable)
Steps to reproduce the behavior:
Create new project, set it to SA2PC template

Expected behavior
the project opens

Screenshots
If applicable, add screenshots to help explain your problem.
imagen

Files
If the program crashes during work with a specific file (such as a custom level), attach it to this report.

Log
Program: SA Tools Hub
Build Date: 11/13/2024 08:26:11
OS Version: Microsoft Windows NT 10.0.19042.0
Log:
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'notepad' with working directory 'E:\SteamLibrary\steamapps\common\Sonic Adventure 2'. El sistema no puede encontrar el archivo especificado.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at SAToolsHub.newProj.BackgroundWorker1_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) in C:\Programs\sa_tools\SAToolsHub\Forms\newProj.cs:line 636
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Additional context
Add any other context about the problem here.

@PiKeyAr
Copy link
Member

PiKeyAr commented Nov 21, 2024

Split error log:

Program: SA Tools Hub
Build Date: 11/21/2024 21:28:24
OS Version: Microsoft Windows NT 10.0.26100.0
Log:
System.Collections.Generic.KeyNotFoundException: The given key '0' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at SplitTools.SAArc.sa2MDL.Split(String filePath, String outputFolder, String[] animationPaths, String mdllabelfile, String mtnlabelfile, String exmtnfile) in D:\GitHub\sa_tools\Libraries\SplitTools\SplitMDL.cs:line 134
   at SAModel.SAEditorCommon.ProjectManagement.ProjectFunctions.SplitTemplateMDLEntry(SplitEntryMDL splitMDL, ProgressDialog progress, String gameFolder, String outputFolder, String iniFolder, Boolean overwrite) in D:\GitHub\sa_tools\Libraries\SAEditorCommon\ProjectManagement\ProjectManagement.cs:line 704
   at SAToolsHub.newProj.splitGame(String game, ProgressDialog progress, DoWorkEventArgs e) in D:\GitHub\sa_tools\SAToolsHub\Forms\newProj.cs:line 535
   at SAToolsHub.newProj.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e) in D:\GitHub\sa_tools\SAToolsHub\Forms\newProj.cs:line 620
   at SAToolsHub.newProj.btnCreate_Click(Object sender, EventArgs e) in D:\GitHub\sa_tools\SAToolsHub\Forms\newProj.cs:line 164
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)

@BeezareCalm
Copy link

for some reason this only happened to me when i downloaded it from the Sonic Adventure Blender I/O website. make sure you download it from the github, or https://github.com/X-Hax/sa_tools/blob/master/README.md .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants