Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Broken Layout After Reolution Change  (Read 5165 times)

0 Members and 1 Guest are viewing this topic.

Yeltsew7

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 71
  • Last login:June 01, 2015, 07:03:56 pm
  • I don't think that I'll ever get my cab built.
    • My Messy Flash Archive
Broken Layout After Reolution Change
« on: May 02, 2014, 11:05:48 pm »
After I load an emulator that changes my resolution, my layout gets messed up like the picture attached.  That is all I can figure out so far.  I am using Ootake to emulate PC Engine, and as far as I know that is the only emulator I am using SO FAR that changes my resolution.  I plan to use GroovyMAME also, which will change my resolution.  The layout works fine before I select the emulator, but when I exit Ootake, it looks like pic related.  I am running it on my laptop right now, which is 1366x768 natively, so maybe that's the problem.  I am using MaLa 1.82 Beta.
« Last Edit: May 02, 2014, 11:07:40 pm by Yeltsew7 »

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14019
  • Last login:June 20, 2025, 06:55:33 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Broken Layout After Reolution Change
« Reply #1 on: May 02, 2014, 11:09:28 pm »
is your layout made for a specific resolution or will it scale?
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

EssexMame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 472
  • Last login:May 20, 2025, 09:13:39 am
  • Mame Weekender
Re: Broken Layout After Reolution Change
« Reply #2 on: May 03, 2014, 05:18:30 am »
watching with interest. I have a similar problem on exiting some emulators (not all). I "fixed" by using setting in Mala (in options - GUI - Game Start/Quit and tick Reorder Layout after game quit). This sort of fixes it by shunting it back BUT the Start pic and so on for the next game are all misaligned.

I've stopped looking for now, I'm actually concentrating on the woodwork and just Mame for now - I will come back to the Emulators, and this problem so hope you find a good solution (or are happy with this "fix"). There is something on change Desktop resolution in Mala options also - perhaps something there will help?

Yeltsew7

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 71
  • Last login:June 01, 2015, 07:03:56 pm
  • I don't think that I'll ever get my cab built.
    • My Messy Flash Archive
Re: Broken Layout After Reolution Change
« Reply #3 on: May 03, 2014, 08:38:30 am »
is your layout made for a specific resolution or will it scale?
I'm not sure, how can I check?

EDIT:  It is scaling 4:3, which is a problem, since my laptop is 16:9.  When I start the emulator, it changes to 640x480, which is a 4:3 resolution.  When it changes back it must not like 16:9.  Checking "Reorder Layout" fixes it.
« Last Edit: May 03, 2014, 08:50:37 am by Yeltsew7 »

cyb

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 81
  • Last login:December 20, 2023, 04:25:20 pm
Re: Broken Layout After Reolution Change
« Reply #4 on: July 12, 2014, 03:43:57 am »
I had the same problem, and using the "reorder layout" option wasn't working. I found this program called winsize2 http://sourceforge.net/projects/winsize2/
you can configure it to automatically resize any window after a resolution switch. It works great.

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:June 22, 2025, 10:00:52 am
    • My personal forum
Re: Broken Layout After Reolution Change
« Reply #5 on: July 13, 2014, 10:36:37 am »
In my program AllInOneFYC I put an option to be able change the windows resolution pushing a button! I need betatesters to check it.
You could test it and tell me if works fine or not.

Thanks in advance!

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Yesterday at 10:49:58 am
  • ...
Re: Broken Layout After Reolution Change
« Reply #6 on: July 14, 2014, 04:13:18 pm »
How are you exiting the emulator? 
This usually happens when the process is just killed instead of shut down properly.
In the world of emulation though, that isn't always an option.
It shouldn't be an issue with MAME.

I had this issue with some of the Taito Type X games and made an autohotkey script to reset the desktop resolution before returning to Mala.

theelf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:June 12, 2016, 06:33:54 pm
  • I want to build my own arcade controls!
Re: Broken Layout After Reolution Change
« Reply #7 on: July 21, 2014, 05:45:49 am »
Hi!!

At least in my PC, i discover that MALA and OpenGL are not good friends, but deppend emulator, same problem with ddraw i think


For example,  magicengine


I use 1280x240 for magicengine, and 640x240 for MALA.  If i use opengl in magicengine, when i came back to mala, is a mess
If i use ddraw, no problem at all

retroarch, same problem, opengl a mess, D3D OK

mednafen exactly same...

Dosbox same problem,  ddraw/surface/d3d OK, OpenGL bad


scummvm, same problem, even if i dont use OpenGL... maybe is a SDL incompatibility with MALA? because dosbox is very problematic too, even on surface

For example, in scummvm, im forced to have same resolution, in layout and scummvm,  640x200



Mala + OpenGL + different resolution mala/emulator = messed layout



Greetings




« Last Edit: July 22, 2014, 08:00:02 am by theelf »

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:June 22, 2025, 10:00:52 am
    • My personal forum
Re: Broken Layout After Reolution Change
« Reply #8 on: July 23, 2014, 01:18:51 am »
The best test is:
a) to do a controlled close of your emulator without using external program like AllInOneFYC, closemul,ect. Use your mouse and close your emulator to check the resolution of MALA when you come back.
b) to do the same but now using closeemul or another similar programs.

I think that this problem occurs when you kill the emulator processes without doing a controlled close.

Greetings!

theelf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14
  • Last login:June 12, 2016, 06:33:54 pm
  • I want to build my own arcade controls!
Re: Broken Layout After Reolution Change
« Reply #9 on: July 23, 2014, 05:55:35 am »
The best test is:
a) to do a controlled close of your emulator without using external program like AllInOneFYC, closemul,ect. Use your mouse and close your emulator to check the resolution of MALA when you come back.
b) to do the same but now using closeemul or another similar programs.

I think that this problem occurs when you kill the emulator processes without doing a controlled close.

Greetings!


Hi there! greetings

I never kill any process,  i always quit from the normal way emulator offer to do, normally with CLOSE, but in some cases, with internal command, like for example, DOSBox, CTRL-F9

I assigned a button in the pad for quit emulators, then i can assign any key conbination, thats why i know i always quit in a good way... (or at least i think so)


In the case of scummvm for example, i did not assign any button to quit, just go to menu with F5, and close from normal way... and scummvm is very difficult with mala, or I use same resolution in scummvma and mala, or a mess came... :)