ruarai / CompilePal

A tool to assist in the compiling of source engine maps
GNU General Public License v3.0
224 stars 25 forks source link

Cant open program #77

Closed Montydog9 closed 5 years ago

Montydog9 commented 5 years ago

when i click on the .exe it doesn't open it just creates some files then cloeses

MAGNAT2645 commented 5 years ago

You should look for logs in CrashLogs folder. I think that you have same problem as me.

System.NullReferenceException: object Reference not set to an instance of an object.
   in CompilePalX.GameConfigurationParser.Parse(String filename)
   in CompilePalX.LaunchWindow..ctor()
Exactol commented 5 years ago

It looks like a few users are having this issue, could you send me the GameConfig.txt located in the bin folder of the game you are compiling for?

Exactol commented 5 years ago

I believe this issue has been fixed, I've released a fixed version here: https://github.com/ruarai/CompilePal/releases/tag/26.1 @MAGNAT2645

MAGNAT2645 commented 5 years ago

Now i have something like that (appears when i click Launch in mod selection):

An exception was caught by the ExceptionHandler:
System.FormatException: Input string was not in a correct format.
   in System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
   in CompilePalX.UpdateManager.CheckVersion()
   in CompilePalX.MainWindow..ctor()
   in CompilePalX.LaunchWindow.Launch(GameConfiguration config)
   in CompilePalX.LaunchWindow.Button_Click(Object sender, RoutedEventArgs e)
   in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   in System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   in System.Windows.Controls.Primitives.ButtonBase.OnClick()
   in System.Windows.Controls.Button.OnClick()
   in System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   in System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   in System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   in System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   in System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   in System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   in System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   in System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   in System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   in System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   in System.Windows.Input.InputManager.ProcessStagingArea()
   in System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   in System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   in System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   in System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   in System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   in MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   in MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Exactol commented 5 years ago

Can you send me the contents of the version.txt and version_prerelease.txt files in the Compile Pal folder?

MAGNAT2645 commented 5 years ago

026 and 026.1 (i think this is the problem)

Exactol commented 5 years ago

CompilePal 026.1.zip I think this is a localization issue, try out this build.

MAGNAT2645 commented 5 years ago

Now works fine.