forum

[Editor] Adding Background picture gives wrong position [confirmed] [resolved]

posted
Total Posts
9
Topic Starter
lolcubes
Every time you try drag & drop a picture into the editor and save, when you open .osu file you will see that the background image has an offset of 1,1 (X,Y). By default this was always 0.

To replicate:

1) Open a map in editor that has no BG.
2) Drag & drop a picture (I used a 1366x768 pic) into the editor. You will be prompted if you want to use it as a background. Select yes.
3) Save.
4) Open .osu file and locate the line where your picture is added.

You will see something like this:

[Events]
//Background and Video events
0,0,<name of the pic>.jpg/png, 1,1

^ the above 1,1 should be 0,0 (or it shouldn't be there at all) or the picture will be moved by 1 pixel down and 1 to the right.
Kokatsu
Confirming.

Saten
so that's why the BG moved a tiny bit

MillhioreF
Is one pixel row + column really that important?
Moved to Low Priority.
Topic Starter
lolcubes
It is because it creates errors when maps are getting ranked. It is opened up to interpretation how bad this is, however while this error exists there will be a lot more ranked maps with this if left unnoticed. :p
Marcin
Oh, so that's the reason of one pixel wide column on almost every map...
MillhioreF
Ah, right. If a map got ranked in this state, that might be kinda bad to fix... Moved it back now.
MillhioreF
Bump. We just had our first unrank due to this bug.
MillhioreF

Changelog wrote:

[woc2006] Fix 1 pixel offset of background image.
Thank you woc!!
Please sign in to reply.

New reply