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: Effect from ini before screen scaling, is it possible?  (Read 1538 times)

0 Members and 1 Guest are viewing this topic.

oomek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 268
  • Last login:July 22, 2025, 06:32:09 am
  • Mame forever.
    • https://github.com/oomek
Effect from ini before screen scaling, is it possible?
« on: November 08, 2016, 11:51:46 am »
I've encountered some strange behaviour of the Effect variable in the ini file.
I've always thought its being applied to the native game resolution after prescale and before stretching, but instead it's mixed after scaling so the png is being mixed in my output 1920x1080 resolution and do not line up with the game lines.

What am I missing here?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Effect from ini before screen scaling, is it possible?
« Reply #1 on: November 08, 2016, 12:15:44 pm »
To get good results with png effects you need native support for integer scaling (not available in 171). Search for the post by the user schmerzkaufen.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

oomek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 268
  • Last login:July 22, 2025, 06:32:09 am
  • Mame forever.
    • https://github.com/oomek
Re: Effect from ini before screen scaling, is it possible?
« Reply #2 on: November 08, 2016, 12:22:38 pm »
Ok thanks, I understand, I'm in despair to get the 0.171 working but, every time I solve one issue another appears :)
My latency is perfect now, but when I was trying to get my scanlines back, boom, another problem :)

I created another thread showing even more problems, hlsl this time as I abandoned the idea of using internal mame effect png. I hope you don't mind me spamming the forum like crazy.

schmerzkaufen

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 792
  • Last login:April 16, 2025, 09:46:43 am
  • Multiple Electronic Machine Emulator
Re: Effect from ini before screen scaling, is it possible?
« Reply #3 on: November 09, 2016, 12:27:53 pm »
It is indeed possible to scale in integer multiples with 0.171 or older, though only by setting precise H & V stretch slider values for each and every game hardware, and corresponding to the native output resolution of your display (like 1920x1080 for a standard Full-HD).

Often it is also necessary to move the H & V positions by a few lines so the PNG effect lines up perfectly.

The settings stay saved in the .cfg folder so it has to be done only once for each game.

I have unfortunately deleted my 0.171 folder so all the stored values are lost, but I could find them again if someone really, really wants them.