Skip to content

TJAPlayer crashes right before song starts playing. #93

@maehomie

Description

@maehomie

Once I select a song and play it the game will close, not when I press play, but just before the song starts playing.

Report:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\annan\Downloads\TJAPlayer 3\TJAP3\Songs\05 Vocaloid\Aishite ita no ni\Aishite ita no ni.tja.score.ini'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at TJAPlayer3.CScoreIni.t書き出し(String iniファイル名)
at TJAPlayer3.TJAPlayer3.tScoreIniへBGMAdjustとHistoryとPlayCountを更新(String str新ヒストリ行)
at TJAPlayer3.TJAPlayer3.Draw(GameTime gameTime)
at SampleFramework.Game.DrawFrame() in C:\projects\tjaplayer3\FDK19\コード\01.フレームワーク\Core\Game.cs:line 499
at SampleFramework.Game.Tick() in C:\projects\tjaplayer3\FDK19\コード\01.フレームワーク\Core\Game.cs:line 375
at SampleFramework.Game.Application_Idle(Object sender, EventArgs e) in C:\projects\tjaplayer3\FDK19\コード\01.フレームワーク\Core\Game.cs:line 520
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at SampleFramework.Game.Run() in C:\projects\tjaplayer3\FDK19\コード\01.フレームワーク\Core\Game.cs:line 260
at TJAPlayer3.Program.MainImpl()
at TJAPlayer3.ErrorReporting.ErrorReporter.WithErrorReporting(Action action)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions