Page 2 of 4

Re: love studio

Posted: Tue Jan 31, 2012 6:30 pm
by kclanc
josefnpat: will do. While the code is pretty clean IMO, certain things still need some work before publishing. eta: < 2 weeks

Re: love studio

Posted: Tue Jan 31, 2012 7:19 pm
by bartbes
The debugger looks really nice, can't wait to get my hands on it!

Re: love studio

Posted: Tue Jan 31, 2012 7:30 pm
by tentus
Wow, seeing my game packaged with the demo is making me wish I had done a better job with it. My old code was rubbish, and my ham-handed attempts to prep for 0.8.0 even more so. :P

Re: love studio

Posted: Tue Jan 31, 2012 8:04 pm
by coffee
Installed C# library, rebooted, files and project open fine now. But can't test/start debugging, got an error "can't find the specified file" either with F5 and Run menu.
I tried to see how to config the love path but you use the included "love" dir/distribution right?

Code: Select all

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(String fileName, String arguments)
   at LoveEdit.Studio.RunTarget()
   at LoveEdit.Studio.runToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
LoveEdit
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/love_studio_demo/LoveStudio.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ScintillaNet
    Assembly Version: 2.2.4405.20907
    Win32 Version: 2.2.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/love_studio_demo/ScintillaNet.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
WinControls.ListView
    Assembly Version: 1.5.1.0
    Win32 Version: 1.5.1.0
    CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/love_studio_demo/WinControls.ListView.DLL
----------------------------------------
Aga.Controls
    Assembly Version: 1.7.0.0
    Win32 Version: 1.7.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/love_studio_demo/Aga.Controls.DLL
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
LuaAnalyzer
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/love_studio_demo/LuaAnalyzer.DLL
----------------------------------------
FParsec
    Assembly Version: 0.9.0.0
    Win32 Version: 0.9.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/love_studio_demo/FParsec.DLL
----------------------------------------
FSharp.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/FSharp.Core/v4.0_4.0.0.0__b03f5f7f11d50a3a/FSharp.Core.dll
----------------------------------------
FParsecCS
    Assembly Version: 0.9.0.0
    Win32 Version: 0.9.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/love_studio_demo/FParsecCS.DLL
----------------------------------------
FParsec.Emitted
    Assembly Version: 0.0.0.0
    Win32 Version: 0.9.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/.../Desktop/love_studio_demo/FParsec.dll
----------------------------------------

Re: love studio

Posted: Wed Feb 01, 2012 6:50 pm
by kclanc
coffee: ack... sorry. It tries to run *CurrentWorkingDirectory*\\love\\love.exe. My guess is that your current working directory is different than the love studio directory. I will try to replace this with a more robust solution.

Re: love studio

Posted: Sat Feb 04, 2012 11:20 pm
by kclanc
https://bitbucket.org/kevinclancy/love-studio

I haved pushed the code to a bitbucket repo. However, there are a few things to note:
1.) I do not plan on making a linux build since the version of linux on my laptop is pretty old.
2.) I'm not sure if a linux build will be possible; I've heard that mono's F# support is poor. On the other hand, F# isn't used very heavily, so the F# code could probably be removed.
3.) The build is currently a mess, and anyone looking at the code will have to deal with this for now.

Thanks for the interest.

Re: love studio

Posted: Sat Feb 04, 2012 11:54 pm
by MarekkPie
You could pretty easily use a virtual machine and just download some .ISO files for Linux testing, but it's ultimately your decision.

Re: love studio

Posted: Sat Mar 31, 2012 7:14 pm
by kclanc
coffee, I think I reproduced your problem by testing Love Studio in Windows XP compatibility mode. The newest version should fix it. Maybe.

Re: love studio

Posted: Sat Mar 31, 2012 7:36 pm
by coffee
kclanc wrote:coffee, I think I reproduced your problem by testing Love Studio in Windows XP compatibility mode. The newest version should fix it. Maybe.
Hello, it passed so many time that I had to read again thread to remember the issues. Ok, did a test. Opened project (still needs to be with keys, menu don't work), opened main.lua. All fine, then tried to run (F5) but opened love without run "dye" project. However as I can remember it's much better now. I will dig a bit to see why isn't running directly the project. Nice work. And no errors.

EDITED: Don't know what to do to run properly project.

EDITED2: should user.cfg have this "C:\Projects\love-debuggable\platform\msvc2010\danceoff\dancemon.luaproj"????? I was expecting something related to included project "dye"

Re: love studio

Posted: Sat Mar 31, 2012 8:10 pm
by kclanc
thanks, coffee. user.cfg was included by accident. It just remembers the most recent project opened in love studio, so it shouldn't effect the correct execution of the program.

In order to run, I'm using the following command "*full love.exe path* *full project path*". It looks like it is correctly finding love.exe, but not the project. :( Deleting user.cfg might fix the problem, but I doubt it.