Author Topic: Attract only works in window mode.  (Read 1418 times)

dark1973

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
Re: Attract only works in window mode.
« Reply #30 on: December 26, 2018, 05:03:06 AM »
I'm trying it with windows 8.1 Pro. for now it seems to work... (intel core Duo E8500 at 3.8Ghz,4GB Ram, NVIDIA Geforce GTX550Ti) Thanks
can you also send the 32-bit version? bye
« Last Edit: December 26, 2018, 05:10:18 AM by dark1973 »

Oomek

  • Sr. Member
  • ****
  • Posts: 258
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
Re: Attract only works in window mode.
« Reply #31 on: December 26, 2018, 08:36:55 AM »
Sure. I've updated the file. Just redownload it.

dark1973

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
Re: Attract only works in window mode.
« Reply #32 on: December 26, 2018, 08:58:03 AM »
thank you very much

Oomek

  • Sr. Member
  • ****
  • Posts: 258
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
Re: Attract only works in window mode.
« Reply #33 on: December 27, 2018, 03:42:51 AM »
So, is the issue resolved? We need more testers please.

MuZila

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: Attract only works in window mode.
« Reply #34 on: December 27, 2018, 03:12:30 PM »
I have just downloaded it. Will try it out this arvo and get back with results....

Thank you for the hard work Oomek.


MuZila

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: Attract only works in window mode.
« Reply #35 on: December 27, 2018, 05:08:48 PM »
Tested it.

Win 10
Integrated Graphics on a laptop.

X64 Attract:             Window (No Boarder) not working. All the rest work fine.
x64 Attract-console: Window (No Boarder) not working. All the rest work fine.

X86 Attract:             Window (No Boarder) not working. All the rest work fine.
x86 Attract-console: Window (No Boarder) not working. All the rest work fine.




Oomek

  • Sr. Member
  • ****
  • Posts: 258
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
Re: Attract only works in window mode.
« Reply #36 on: December 27, 2018, 05:20:07 PM »
So the fullscreen works, but now window (no border) well that's a bit unexpected. Can you describe the details please? Is the sound playing?

Oomek

  • Sr. Member
  • ****
  • Posts: 258
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
Re: Attract only works in window mode.
« Reply #37 on: December 27, 2018, 05:22:40 PM »
Also can you check your window.am file and see if the size matches the display resolution. If it does try changing it to smaller and try again

Oomek

  • Sr. Member
  • ****
  • Posts: 258
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
Re: Attract only works in window mode.
« Reply #38 on: December 27, 2018, 05:49:29 PM »
If this is what I think it is then it's easy to fix.
There are 2 issues that contribute to this problem with Window (no border) showing black screen:
1. When the values in window.am are position 0,0 and size (your display resolution) windows treats it as exclusive fullscreen, but AM still thinks it's windowed.
2. There is a bug that causes the window.am values being overridden by previously selected window mode (fullscreen and fillscreen) this should change only when you adjust in Window mode using a mouse.

I can push this final commit, after you confirm it works when you:
1. Set window mode to No Border.
2. Exit AM
3. Adjust size in window.am to be less than your display resolution
4. Relaunch AM and try playing game

MuZila

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: Attract only works in window mode.
« Reply #39 on: December 28, 2018, 10:09:37 PM »
Worked!

Window mode (no border) actually set the screen larger than my display but when I edited the window.am file to a smaller screen size it worked as it is meant to.

My screen size is set at 1280 x 768

Window mode (no border) sets it to 1282 x 770.
and the position changes from (position -0,-0) to (position -1,-1) in Window mode (no border)

Hope that all helps...


MuZila

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: Attract only works in window mode.
« Reply #40 on: December 30, 2018, 06:06:44 PM »
Yup I had a small miss configuration. After fixing it, everything works great now.

I can show my config files if that helps you out...


Oomek

  • Sr. Member
  • ****
  • Posts: 258
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
Re: Attract only works in window mode.
« Reply #41 on: December 30, 2018, 06:09:21 PM »
I did all the mentioned fixes. Just waiting for Andrew to review my commits.

dark1973

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
Re: Attract only works in window mode.
« Reply #42 on: December 31, 2018, 07:40:04 AM »
Tried a new emulator, PinballFx2. After several tests with rocketlauncher and bezel, with the old version black screen, with the new version all is ok

Oomek

  • Sr. Member
  • ****
  • Posts: 258
  • Radek Dutkiewicz
    • View Profile
    • github.com/oomek
Re: Attract only works in window mode.
« Reply #43 on: December 31, 2018, 09:00:58 AM »
Thank you for confirming.

popoklo

  • Full Member
  • ***
  • Posts: 48
    • View Profile
Re: Attract only works in window mode.
« Reply #44 on: January 01, 2019, 12:38:07 PM »
My god! My problems are all gone with new commit of you oomek. Thank you so much.

No hang or blackscreen. Finally in Fullscreen Mode, smooth animations work. Was very sloppy in windowed mode. Now i can use my Themes with Attractmode. Without that i didn't use AM at all.

- tested x64
- Win10
- integrated gfx.