forum

o!verlay - Transparent-like menu bg creator!

posted
Total Posts
57
show more
Topic Starter
Flanster

[cocoa] wrote:

LoliFlan wrote:

2. Run as administrator.
Working now but why my BG not change???
You are not a supporter.
[cocoa]_old

LoliFlan wrote:

You are not a supporter.
oh that's makes sense now, why not tell it from first time???
Topic Starter
Flanster

[cocoa] wrote:

LoliFlan wrote:

You are not a supporter.
oh that's makes sense now, why not tell it from first time???
You should know that its a supporter only feature like everyone else..
Muv Acid
hi!
after i tried a few things (changing desktop bg, running as admin, restarting pc, updating .net) im still getting this:

SPOILER
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
at System.Drawing.IntSecurity.DemandReadFileIO(String fileName)
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at osuoverlaygui.Core.SetBG_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
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.Button.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.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
o!verlay_gui
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Users/Bertalan/Desktop/Neuer%20Ordner%20(5)/o!verlay_gui.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 12.0.51209.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
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.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
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.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.

Screen resolution: 1280 x 1024
Osu! resolution: 1024 x 600
Topic Starter
Flanster
Odd, let me try to figure out whats causing it.
[cocoa]_old

LoliFlan wrote:

You should know that its a supporter only feature like everyone else..
wow i feel like a dummy now, well this a great app will tell it to everyone (of course who have osu supporter ;) ).
Topic Starter
Flanster

Muv Acid wrote:

CodeBase: file:///C:/Users/Bertalan/Desktop/Neuer%20Ordner%20(5)/o!verlay_gui.exe
-
Can you try to put the application directly on your desktop or somewhere else like C: or D: drive and give it a go.
Muv Acid

LoliFlan wrote:

Muv Acid wrote:

CodeBase: file:///C:/Users/Bertalan/Desktop/Neuer%20Ordner%20(5)/o!verlay_gui.exe
-
Can you try to put the application directly on your desktop or somewhere else like C: or D: drive and give it a go.
i guess we are getting somewhere. now it asks for Bertalan.cfg? (bertalan is my name)
http://puu.sh/9oN42/c054eb1f4e.png

And preview background gives this
http://puu.sh/9oN8j/4878734cc9.png
Topic Starter
Flanster
The path is wrong. It shouldn't be C:\Program Files\osu!\Skins, what path did you set?
Topic Starter
Flanster

sheela901 wrote:

Looks cool. I'll try it.
---------------------------------
EDIT: When I test it, there was something that is not right. This is my main background:And o!verlay use this one: Also, I use Windows 8.1. The OS may cause this problem?
Are you using more than 1 monitor? If so, it works with the Primary Screen background.
Muv Acid

LoliFlan wrote:

The path is wrong. It shouldn't be C:\Program Files\osu!\Skins, what path did you set?
i guess, my pc is beeing an idiot or something...
http://puu.sh/9oO2R/acd408a47b.png
Topic Starter
Flanster

Muv Acid wrote:

LoliFlan wrote:

The path is wrong. It shouldn't be C:\Program Files\osu!\Skins, what path did you set?
i guess, my pc is beeing an idiot or something...
http://puu.sh/9oO2R/acd408a47b.png
Its you actually. Set it to C:\Program Files\osu!

Added a filter to make sure osu! subfolders will not be accepted as the game path.
Muv Acid
im running it as admin. http://puu.sh/9oPQR/e053c5c853.png

when running without admin privilaget http://puu.sh/9oPP8/eb02405299.png
Topic Starter
Flanster

Muv Acid wrote:

im running it as admin. http://puu.sh/9oPQR/e053c5c853.png

when running without admin privilaget http://puu.sh/9oPP8/eb02405299.png
Delete the o!verlay cfg file and try again. Your PC IS an idiot. Do you have multiple osu! clients installed or something.
Muv Acid

LoliFlan wrote:

Muv Acid wrote:

im running it as admin. http://puu.sh/9oPQR/e053c5c853.png

when running without admin privilaget http://puu.sh/9oPP8/eb02405299.png
Delete the o!verlay cfg file and try again. Your PC IS an idiot. Do you have multiple osu! clients installed or something.
i have only 1 client installed, and i tried deleting the config, same stuff coming up..
Topic Starter
Flanster
I don't have any code that would lead to such a path, don't know how you managed to do this.
Stefan
It only shows me the default Windows Background to use as Background.. how to change that?
Topic Starter
Flanster

Stefan wrote:

It only shows me the default Windows Background to use as Background.. how to change that?
Try the new version in the OP.
Stefan
Yes, this works now! Thanks
sheela

LoliFlan wrote:

sheela901 wrote:

Looks cool. I'll try it.
---------------------------------
EDIT: When I test it, there was something that is not right. This is my main background:And o!verlay use this one: Also, I use Windows 8.1. The OS may cause this problem?
Are you using more than 1 monitor? If so, it works with the Primary Screen background.
I'm on a laptop, but the new update fixes the problem. Thanks~
Aka
? D:

Topic Starter
Flanster

Aka wrote:

? D:

Are you a wizard?
Might be a problem with reading osu user config. Please give me your osu!.<username>.cfg file.
Topic Starter
Flanster
Fixed!
Piine
Welp it works for me somewhat. (Was getting memory errors and whatnot but got it to work.) The only thing is the background is not accurate, but close. (and hopefully will get fixed soon in more updates) Nice job LoliFlan and Pannari :D
Pannari

Sulker wrote:

Welp it works for me somewhat. (Was getting memory errors and whatnot but got it to work.) The only thing is the background is not accurate, but close. (and hopefully will get fixed soon in more updates) Nice job LoliFlan and Pannari :D
The only thing I did was come up with the idea and name & some graphics. LoliFlan did all the hard work. :D
Nad
Works fine here!
Thanks =3
Topic Starter
Flanster
Needs more testing on different desktop resolutions!
Dexus
Interesting, I used to do this manually and it would take a bit of time to set it up correctly. This certainly saves some time!

One problem is you can only use a centered window, I move mine to a certain spot and it doesn't line up correctly.

Topic Starter
Flanster

Dexus wrote:

Interesting, I used to do this manually and it would take a bit of time to set it up correctly. This certainly saves some time!

One problem is you can only use a centered window, I move mine to a certain spot and it doesn't line up correctly.

mmmyeah thats normal, I can't know where people put their osu! window at all times afterall. There is a way but that would require some implementations. Thanks for the feedback though!
Dexus
What I do to get it manually is I take a screenshot of the entire desktop and then I take a screen shot of it with osu! up, from there I just use an image editor to select the area within osu! and then copy the initial screenshot of the desktop to a new image.

Edited with gimp a bit but this is what it ends up looking like




I also noticed your program ignores the image scaling such as fill and fit and assumes you're using just center.
Topic Starter
Flanster

Dexus wrote:

What I do to get it manually is I take a screenshot of the entire desktop and then I take a screen shot of it with osu! up, from there I just use an image editor to select the area within osu! and then copy the initial screenshot of the desktop to a new image.

Edited with gimp a bit but this is what it ends up looking like




I also noticed your program ignores the image scaling such as fill and fit and assumes you're using just center.
I am aware of this.
I don't really know how to detect desktop image scaling, most users use fill so it's not a critical problem. Working on a solution still.
Oinari-sama
How did I not see this earlier 0.0

Too bad my supporter just ran out T.T
Topic Starter
Flanster
Sadly due to a failure in my OS, I was forced to reinstall and delete all my program projects. This version is now the final one.
Valuable lesson, dont store too much things on the desktop!
Piine
Get better os > more win
Marcin
use dropbox
more win.
Topic Starter
Flanster

Marcin wrote:

use dropbox
more win.
nah
Dexus
Keep a secondary drive for your files instead of keeping the OS and files together on one drive. You're less likely to lose stuff if you do this.

Topic Starter
Flanster
I do have seperate partitions for that purpose, just my projects were on my desktop, silly aren't I?
peppy
Use github.
Topic Starter
Flanster

peppy wrote:

Use github.
I was going to do that but didn't do it ontime, I had a repository created for it but never pushed a release.
Pannari's command line version still exists, so all is not lost!
peppy
you commit as you go. there's no excuse. it doesn't take effort.

http://puu.sh/9Dpde/4167ead2fb.rar
go commit
smoogipoo
Unfortunately LoliFlan's got a lot more work to do if he wants to get that reflected project anywhere near a point where it compiles :( Might as well start from scratch at this point - you'd end up with a better codebase anyway.
Topic Starter
Flanster
Yeah, I've tried the decompile approach before, doesn't help me, starting over is better. Thanks peppy.
Piine
Call moi when you need more testing -opens a portal-
Howl
If you feel like github sucks because private repos aren't free, https://bitbucket.org/
Pannari
I'll try to make this again with C#, I had the project file on my laptop and it fell and the HDD broke so it's all lost on my part too. I can propably code the basic functions for clipping the image and taking wallpaper from desktop but I have no idea how to make a GUI.
troke
What happen D: ??
o!verlay has experienced the following error:

Out of memory.
   at System.Drawing.Bitmap.Clone(Rectangle rect, PixelFormat format)
   at osuoverlaygui.osu.osuLoad(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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) 
aush
Wow, love it!

Howl

orz
Is something related to the 4:3?
RunAge
I have problem:
o!verlay has experienced the following error:

Brak pamięci.
w System.Drawing.Bitmap.Clone(Rectangle rect, PixelFormat format)
w osuoverlaygui.osu.osuLoad(Object sender, EventArgs e)
w System.Windows.Forms.Form.OnLoad(EventArgs e)
w System.Windows.Forms.Form.OnCreateControl()
w System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
w System.Windows.Forms.Control.CreateControl()
w System.Windows.Forms.Control.WmShowWindow(Message& m)
w System.Windows.Forms.Control.WndProc(Message& m)
w System.Windows.Forms.ScrollableControl.WndProc(Message& m)
w System.Windows.Forms.ContainerControl.WndProc(Message& m)
w System.Windows.Forms.Form.WmShowWindow(Message& m)
w System.Windows.Forms.Form.WndProc(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Magnolia
rip in piss the dl 404'd pls fix
Please sign in to reply.

New reply