Jump to content

How to edit Background Offset X / Offset Y values?


Recommended Posts

I've come across an issue which is confusing me lol :) 

So for some Backgrounds, such as this Simpsons background, it has an offset, -5 in this case.  It does need that, and it shifts the background 5 pixels left.  Then the background lines up with the lamps, reels etc perfectly.

However if I try to edit the values in the field, even on a new blank layout with/without a Background image loaded, it's not possible to edit/delete the values.  What am I missing please?  As surely Ross managed to type that -5 in there... somehow.

Cheers all - JP :)
 image.png.7c472772aa2824f6defa65c82924b352.png

Edited by johnparker007

[ Arcade Simulator ] Pre-alpha installer: https://tinyurl.com/2kcrkprh | Donation info: https://tinyurl.com/yzvgl4xo
[ Community Drive ] The drive: http://tinyurl.com/yckze665
[ Fruit Machine Database ] Frontpage: https://tinyurl.com/mr6r429t  (raw data): https://tinyurl.com/2c5znxzz
[ Fruit Machine ROM  Archive ] The archive: https://tinyurl.com/3jhzbue
[ Fruit Machine Settings/Tests Guide ] https://tinyurl.com/yuebw8b5
[ MAME (fixes/improvements) ] Commits: https://github.com/johnparker007/mame/commits/master/?author=johnparker007

[ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch
[ Oasis ] Source code: https://github.com/johnparker007/Oasis
[ ROM Hacking Tutorials ] Index: https://tinyurl.com/4yw4zfw5
[ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor

Link to comment
Share on other sites

1 hour ago, dad said:

Just checked it out, looks like a really nice DX :)

Though I'm mainly looking to change those values - so then by using some less common numbers (than zero), we can figure out where those value live for the FmlDecoder package... The only thing I can think right now is that it was a feature in an older MFME so if those fields are set, then they are read only on v20.1.  Not sure if that feels like the right answer though...

[ Arcade Simulator ] Pre-alpha installer: https://tinyurl.com/2kcrkprh | Donation info: https://tinyurl.com/yzvgl4xo
[ Community Drive ] The drive: http://tinyurl.com/yckze665
[ Fruit Machine Database ] Frontpage: https://tinyurl.com/mr6r429t  (raw data): https://tinyurl.com/2c5znxzz
[ Fruit Machine ROM  Archive ] The archive: https://tinyurl.com/3jhzbue
[ Fruit Machine Settings/Tests Guide ] https://tinyurl.com/yuebw8b5
[ MAME (fixes/improvements) ] Commits: https://github.com/johnparker007/mame/commits/master/?author=johnparker007

[ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch
[ Oasis ] Source code: https://github.com/johnparker007/Oasis
[ ROM Hacking Tutorials ] Index: https://tinyurl.com/4yw4zfw5
[ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor

Link to comment
Share on other sites

@johnparker007In edit mode, if I drag the windows the values change.  I just loaded a test background and it sits at 0 0, but then if I pull out the windows anchored that info changed.

If you right click and reset to background size those values should go back to 0 0 mate :).  If that's any help?  It's greyed out now as I have used it, but that might help you work it out.  I think it's when you start creating a layout it sites at 0 0, any manipulation of the window size will effect that value, just using the Resize to Background will reset it.

 

image.png.264b361b0d888740c9be983eda24aaa8.png

J

Edited by thealteredemu
  • Like 1
Link to comment
Share on other sites

11 minutes ago, thealteredemu said:

@johnparker007In edit mode, if I drag the windows the values change.  I just loaded a test background and it sits at 0 0, but then if I pull out the windows anchored that info changed.

If you right click and reset to background size those values should go back to 0 0 mate :).  If that's any help?  It's greyed out now as I have used it, but that might help you work it out.  I think it's when you start creating a layout it sites at 0 0, any manipulation of the window size will effect that value, just using the Resize to Background will reset it.

 

image.png.264b361b0d888740c9be983eda24aaa8.png

J


I wasn't quite sure what you meant by dragging the windows, however I should've updated here that Paul has managed to identify where these two values live in the Fml structure, so we now have access to them, and so the issue is resolved from our side :) 

In the earlier times of FmlDecoding it was a lot about making small adjustments, then comparing several saved layouts to be able to find where things were stored, but he's an expert now, so he managed to figure it from just that one Simpsons layout!

All sorted now, but thanks for the additional info mate :) 

image.thumb.png.ef881a4d63bacef13f2801636e0810d3.png

  • Like 1

[ Arcade Simulator ] Pre-alpha installer: https://tinyurl.com/2kcrkprh | Donation info: https://tinyurl.com/yzvgl4xo
[ Community Drive ] The drive: http://tinyurl.com/yckze665
[ Fruit Machine Database ] Frontpage: https://tinyurl.com/mr6r429t  (raw data): https://tinyurl.com/2c5znxzz
[ Fruit Machine ROM  Archive ] The archive: https://tinyurl.com/3jhzbue
[ Fruit Machine Settings/Tests Guide ] https://tinyurl.com/yuebw8b5
[ MAME (fixes/improvements) ] Commits: https://github.com/johnparker007/mame/commits/master/?author=johnparker007

[ MFME Launch ] Source code: https://github.com/johnparker007/MFMELaunch
[ Oasis ] Source code: https://github.com/johnparker007/Oasis
[ ROM Hacking Tutorials ] Index: https://tinyurl.com/4yw4zfw5
[ Sound ROM Editor ] Source code: https://github.com/johnparker007/SoundRomEditor

Link to comment
Share on other sites

 Share

×
×
  • Create New...