zibib Posted September 3, 2016 Share Posted September 3, 2016 (edited) Hello everybody. Today I'm home --> Finally I can fix bugs and I AM☺☻☺ Download For Version 1.1 the bugs proof version (unitil somebody will ignore this state or will use illegal save name) I am glad to annouce about a beginning of new tool for our loved game. currently this is only the first version. I want to add features to the luncher like a comfortable resolution control and parameters checkbox, but I won't be able to make updates soon. In this version you can add many saves as you wish to your LR2 game. please: download, Enjoy and make responds. for 1.1 download please click here. this version created and tested only on win xp but i don't expct bugs. please backup your save file before using this luncher. Edited September 17, 2016 by zibib updates Link to comment Share on other sites More sharing options...
Fluffy Cupcake Posted September 3, 2016 Share Posted September 3, 2016 I'm running on Windows 7 x64, here's some bugs (I'm using portable version): Selecting any save gives a " unhandled exception" error. When launching the game with the program, the screen flickers to black like it is going to launch the game but then nothing happens and I immediately get returned to my destkop (might be connected to error above?). Creating a new save creates 0 byte files. Is this normal? Pressing "new" and then cancel causes "unhandled exception" error. Pressing "advanced" and the "change executable location" followed by cancel causes "unhandled exception" error. -I actually have a partial note on resolution. In LR2.cfg the width is at bytes 4-5, and the height bytes 8-9. -You called the tool LegoRacersSaveManager in the download. You really should add the 2 in there for less confusion. -Can we get a launch parameter box? I usually like to play the game windowed. Link to comment Share on other sites More sharing options...
zibib Posted September 3, 2016 Author Share Posted September 3, 2016 Can you please upload a screenshot of the unhalded exception that happen when you chose save? I wish to fix it tomorrow. 32 minutes ago, Xiron said: I'm running on Windows 7 x64, here's some bugs (I'm using portable version): Selecting any save gives a " unhandled exception" error. When launching the game with the program, the screen flickers to black like it is going to launch the game but then nothing happens and I immediately get returned to my destkop (might be connected to error above?). Creating a new save creates 0 byte files. Is this normal? Pressing "new" and then cancel causes "unhandled exception" error. Pressing "advanced" and the "change executable location" followed by cancel causes "unhandled exception" error. -I actually have a partial note on resolution. In LR2.cfg the width is at bytes 4-5, and the height bytes 8-9. -You called the tool LegoRacersSaveManager in the download. You really should add the 2 in there for less confusion. -Can we get a launch parameter box? I usually like to play the game windowed. Link to comment Share on other sites More sharing options...
le717 Posted September 3, 2016 Share Posted September 3, 2016 1 hour ago, zibib said: but i don't expct bugs. Biggest understatement ever in programming. The Ace Railgun 1 Link to comment Share on other sites More sharing options...
Fluffy Cupcake Posted September 3, 2016 Share Posted September 3, 2016 Here's the funny thing. I use to actually get something under "your current save is: " Now I can't get anything no matter what I select. Full copy-paste of "Details" See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.IOException: Cannot create a file when that file already exists. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.Move(String sourceFileName, String destFileName) at LegoRacersSaveManager.Form1.replaceSave() at LegoRacersSaveManager.Form1.comboBox1_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- LegoRacersSaveManager Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/Username/Desktop/LegoRacers2SaveManager/portable%20version/LegoRacersSaveManager.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8686 (QFE.050727-8600) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Link to comment Share on other sites More sharing options...
The Ace Railgun Posted September 3, 2016 Share Posted September 3, 2016 2 hours ago, zibib said: i don't expct bugs. This is just begging for Murphy's law to happen. Quisoves Potoo and le717 2 Link to comment Share on other sites More sharing options...
le717 Posted September 4, 2016 Share Posted September 4, 2016 2 hours ago, The Ace Railgun said: This is just begging for Murphy's law to happen. 1. Relevant: https://en.wikipedia.org/wiki/Milo_Murphy's_Law 2. It already did happen. (OK. I'll stop posting here since I have nothing constructive to add.) The Ace Railgun 1 Link to comment Share on other sites More sharing options...
zibib Posted September 4, 2016 Author Share Posted September 4, 2016 Sorry but I cant figure out how to fix it without computer with win7. So more 2 or 3 weeks I will try to fix it. Link to comment Share on other sites More sharing options...
dead_name Posted September 4, 2016 Share Posted September 4, 2016 Right here in Form1.replaceSave(), you're calling File.Move without checking that the target file (the file you're moving to) already exists. If that target already exists, the function call fails and throws that error. Fix: Write some code that checks to see if the target file exists, and handle that case accordingly. Link to comment Share on other sites More sharing options...
zibib Posted September 5, 2016 Author Share Posted September 5, 2016 On 9/4/2016 at 9:39 AM, WillKirkby said: Right here in Form1.replaceSave(), you're calling File.Move without checking that the target file (the file you're moving to) already exists. If that target already exists, the function call fails and throws that error. Fix: Write some code that checks to see if the target file exists, and handle that case accordingly. I know but I'm doesn't study near my home so , I can't fix the program until I will go to home. ( it will be somewhen at the end of the next week. ) Link to comment Share on other sites More sharing options...
zibib Posted September 18, 2016 Author Share Posted September 18, 2016 On 9/4/2016 at 5:39 PM, WillKirkby said: Right here in Form1.replaceSave(), you're calling File.Move without checking that the target file (the file you're moving to) already exists. If that target already exists, the function call fails and throws that error. Fix: Write some code that checks to see if the target file exists, and handle that case accordingly. Yesterday I fixed the bugs. The most important bug was that if I'm using File.Create, I should write File.create("file name").close(); Else the created file is locked. Link to comment Share on other sites More sharing options...
Recommended Posts