• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Original Space Invaders Green Overlay in lr-mame2003

Scheduled Pinned Locked Moved Help and Support
lr-mame2003space invadersmame
36 Posts 5 Posters 13.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    rbaker @Jon987
    last edited by rbaker 8 Mar 2017, 15:14 3 Aug 2017, 14:03

    @jon987 said in Original Space Invaders Green Overlay in lr-mame2003:

    As far as I'm aware the original Space Invaders arcade machine displayed a black and white picture and used a green overlay at the bottom of the screen

    You are correct. I have achieved this effect in Advmame 1.4 by placing the relevant zipped artwork files in:

    /home/pi/RetroPie/roms/mame-advmame/artwork

    and the samples in

    /home/pi/RetroPie/roms/mame-advmame/samples

    My system is configured to use the Arcade folder so I have multiple emulators being selected in the background for different games, e.g this one and FBA for CPS etc. Now inside this zip file which must be named exactly the same as your rom, you will find an "art" file. Open this up in notepad and it looks like this:

    //	[artname]:
    //		file       = [filename]
    //		alphafile  = [alphafilename]
    //		layer      = [backdrop|overlay|bezel|marquee|panel|side|flyer]
    //		position   = [left],[top],[right],[bottom]
    //		priority   = [priority]
    //		visible    = [visible]
    //		alpha      = [alpha]
    //		brightness = [brightness]
    //
    
    // thanks to Nathan Strum for the backdrop graphics
    backdrop:
    	file		= invaders.png
    	layer		= backdrop
    	priority	= -2
    	visible		= 1
    	position	= 0.0,-0.14,1.29,1.15
    
    // we use an overlay here to change the bright white color used by
    // the game down to a more pleasing blue-tinted light gray
    // this has the side effect of making the game graphics appear a bit
    // transluscent over the backdrop
    overlay:
    	file		= tintover.png
    	alphafile	= tintmask.png
    	layer		= overlay
    	priority	= -1
    	visible		= 1
    	position	= 0.0,0.0,1.0,1.0
    // graphic work by Nicky Special
    // following part of the art file by drkmssh
    // http://www.drk-bezel.fr.st
    bezel:
    	file		= invadbez.png
    	alphafile	= invadmask.png
    	layer		= bezel
    	priority	= 0
    	visible		= 1
    	position	= -0.3333,-0.8206,1.7179,1.7851
    	brightness	= 1.0
    

    You can then tweak for many hours. You can get the green and the moon backdrop with everything else from here. I used this set without the bezel art and enabled scanlines. Looks great. Here is the green in action, this was before the moon was added.

    then is it possible to set RetroPie to use lr-mame2010 for Space Invaders and lr-mame2003 for all other ROMs?

    This is what the Arcade folder is for. Place multiple arcade rom formats in this folder and select the emulator of your choice using the run command. Very clean.

    1 Reply Last reply Reply Quote 0
    • J
      Jon987
      last edited by 3 Aug 2017, 17:40

      Thanks so much @rbaker !!

      However, typically, before I read your reply I found that lr-imame4all manages to run Space Invaders with the green parts included and supports samples. So far so good. But if I discover any issues with it I'll try your solution. It might be the best solution anyway as I understand that lr-mame2003 is the recommended emulator for RetroPie for many reasons.

      Thanks again,

      Jon

      R 1 Reply Last reply 4 Aug 2017, 08:31 Reply Quote 0
      • U
        UDb23
        last edited by 3 Aug 2017, 18:10

        @rbaker , @Jon987 This topic has been discussed in the past as I raised a similar question on colors and backdrop.
        There are multiple ways to get the original colors.
        BTW some versions of Space Invaders were just monochrome and some other had a cellophane applied on the screen to simulate colors (not only green ;-) ).

        What is still unsolved (for me at least) is how to get the backdrop (moon) to display correctly (more info here). Retroarch does not support backdrops, just overlays. Placing the moon as an overlays with high transparency as I saw in some video is not an option to me as it doesn't look right.
        With lr-mame 2010 you can use current mame overlay standard format that includes backdrops. Unfortunately applying it makes Invaders too slow even on Pi3.

        As @rbaker mentioned best option is advmame: you get overlay w backdrop (old mame overlay format) but overlay is not made for 16:9 and you get very small game area.

        small invaders

        Haven't tested again with advmame 3.1 but 1.4 refused to integer scale the gaming area correctly when using a specifically custom made "full heigh" game area overlay.

        Anybody got it right with advmame ?

        R 1 Reply Last reply 3 Aug 2017, 18:43 Reply Quote 0
        • R
          rbaker @UDb23
          last edited by 3 Aug 2017, 18:43

          @udb23 it works on my advancemame with that art config as shown above. The moon is part of the zip package.

          U 1 Reply Last reply 3 Aug 2017, 19:23 Reply Quote 0
          • U
            UDb23 @rbaker
            last edited by UDb23 8 Mar 2017, 20:23 3 Aug 2017, 19:23

            @rbaker It's basically the same as I tested. Any clue how to get the game area full screen?
            I mean with a specific overlay, not with the crop option in the mame menu.

            R 1 Reply Last reply 3 Aug 2017, 21:50 Reply Quote 0
            • R
              rbaker @UDb23
              last edited by rbaker 8 Mar 2017, 22:52 3 Aug 2017, 21:50

              @udb23 Not sure what you mean. I basically dropped the artwork in that zip but didn't use the bezel and the result is this

              U 1 Reply Last reply 4 Aug 2017, 04:02 Reply Quote 0
              • U
                UDb23 @rbaker
                last edited by 4 Aug 2017, 04:02

                @rbaker thanks. Did you remove the reference to the "bezel" in the .art file ?
                What is the actual display resolution it is using ?

                R 2 Replies Last reply 4 Aug 2017, 07:47 Reply Quote 0
                • R
                  rbaker @UDb23
                  last edited by 4 Aug 2017, 07:47

                  @udb23 the art file above is exactly the one copied from my Pi. I shall take a look at the entire zip file and post it back. I think the art file came from the site. I didn't create it. The monitor is a 4:3 screen at 19" the resolution is the advancemame default for the rom.

                  U 1 Reply Last reply 4 Aug 2017, 22:00 Reply Quote 0
                  • R
                    rbaker @UDb23
                    last edited by rbaker 8 Apr 2017, 09:27 4 Aug 2017, 08:14

                    @udb23 Ok, so I have had a look. Here are the settings.

                    This is the file that I edited after placing the zip packages....

                    /opt/retropie/configs/mame-advmame/advmame-1.4.rc

                    I modified these lines:

                    display_artwork_backdrop yes
                    display_artwork_bezel no
                    display_artwork_crop yes
                    display_artwork_overlay yes
                    

                    This only works with the old artwork files though.

                    The contents of my zip are:
                    invadbez.png
                    invaders.art
                    invaders.png
                    invadmask.png
                    invadmask0.png
                    tintmask.png
                    tintover.png

                    R 2 Replies Last reply 4 Aug 2017, 14:47 Reply Quote 0
                    • R
                      rbaker @Jon987
                      last edited by 4 Aug 2017, 08:31

                      @jon987 said in Original Space Invaders Green Overlay in lr-mame2003:

                      I understand that lr-mame2003 is the recommended emulator for RetroPie for many reasons.

                      Yes but once you realise what effects are possible with other emulators, you will want to use them throughout your arcade experience. For example, if you are playing vector games then you must read this. You will not be disappointed.

                      1 Reply Last reply Reply Quote 2
                      • R
                        Riverstorm @rbaker
                        last edited by 4 Aug 2017, 14:47

                        @rbaker said in Original Space Invaders Green Overlay in lr-mame2003:

                        @udb23 Ok, so I have had a look. Here are the settings.

                        This is the file that I edited after placing the zip packages....

                        /opt/retropie/configs/mame-advmame/advmame-1.4.rc

                        I modified these lines:

                        display_artwork_backdrop yes
                        display_artwork_bezel no
                        display_artwork_crop yes
                        display_artwork_overlay yes
                        

                        This only works with the old artwork files though.

                        You might know this already but another handy option is you can set it for just a specific game(s) if you don't want to set the same options globally or you can use it to override the global settings too.

                        invaders/display_artwork_backdrop yes
                        invaders/display_artwork_bezel no
                        invaders/display_artwork_crop yes
                        invaders/display_artwork_overlay yes

                        I see they have a Depthcharge overlay which is exciting I am going to give it a try. I had no idea one was available.

                        1 Reply Last reply Reply Quote 1
                        • R
                          Riverstorm @rbaker
                          last edited by 4 Aug 2017, 16:41

                          @rbaker said in Original Space Invaders Green Overlay in lr-mame2003:

                          This only works with the old artwork files though.

                          Is there a way to tell if it's old or new? Trying Depth Charge (depthch) I can't seem to get the blue overlay, control panel, marquee, basically nothing working just the game in black & white. Space Invaders looks great this way, thanks for this Baker!

                          R U 2 Replies Last reply 4 Aug 2017, 17:25 Reply Quote 0
                          • R
                            rbaker @Riverstorm
                            last edited by 4 Aug 2017, 17:25

                            @riverstorm Well I am not sure about this. However, this is the link to visit:

                            http://mrdo.mameworld.info/old_artwork.php

                            I do not know how the files differ or what to look for. At the time of building, I just made sure there were references to the mame version in what artwork I downloaded.

                            R 1 Reply Last reply 4 Aug 2017, 17:49 Reply Quote 0
                            • R
                              Riverstorm @rbaker
                              last edited by 4 Aug 2017, 17:49

                              @rbaker said in Original Space Invaders Green Overlay in lr-mame2003:

                              @riverstorm Well I am not sure about this. However, this is the link to visit:

                              http://mrdo.mameworld.info/old_artwork.php

                              I do not know how the files differ or what to look for. At the time of building, I just made sure there were references to the mame version in what artwork I downloaded.

                              Ah ok, Depth Charge has a listing in the main artwork but not the old. It looks like quite a few differences between the two types. I would love to see Depth Charge restored to it's glorious blue overlay and control panel. It such a simple game that has a lot of appeal. :)

                              U 1 Reply Last reply 4 Aug 2017, 21:57 Reply Quote 0
                              • U
                                UDb23 @Riverstorm
                                last edited by 4 Aug 2017, 21:48

                                @riverstorm said in Original Space Invaders Green Overlay in lr-mame2003:

                                Trying Depth Charge (depthch)

                                I made an overlay for Depth Charge months ago:
                                alt text
                                It's a Libretro overlay so it works with any lr-mame version.
                                Blue may not 100% the same as original but on the other hand you get the original side art from the cabinet. No good images of that art existed so I asked an owner (on another forum) of the original cab to take some pictures; that makes it unique ;-)

                                R 1 Reply Last reply 4 Aug 2017, 22:40 Reply Quote 0
                                • U
                                  UDb23 @Riverstorm
                                  last edited by UDb23 8 Apr 2017, 23:03 4 Aug 2017, 21:57

                                  @riverstorm said in Original Space Invaders Green Overlay in lr-mame2003:

                                  It looks like quite a few differences between the two types

                                  As said previously I researched and tested quite a lot on "Overlay matters" for Retropie.
                                  In the end the best option is to use Retroarch/Libretro overlays (not Mame overlays).
                                  This also gives you exact control on screen resolution and game area size, position and aspect ratio.
                                  The only limitation is you can't have backdrops (images below game), only overlays (images on top).
                                  Concerning Mame overlays the "old" .ART standard format was used until mame .106 (if I remember well); all successive Mame releases require .LAY standard ("new"). The two standards are not exchangeable.
                                  Advamame supports .ART files but seems to fail on some resolution settings. I have not tested w the latest 3.1 advmamem version but have intention to do it soon. Will update on this when I have news.
                                  Edit: forgot to mention: lr-mame2010 requires and supports the "new" .LAY (but tipically makes game too slow)

                                  1 Reply Last reply Reply Quote 0
                                  • U
                                    UDb23 @rbaker
                                    last edited by 4 Aug 2017, 22:00

                                    @rbaker said in Original Space Invaders Green Overlay in lr-mame2003:

                                    The monitor is a 4:3 screen at 19" the resolution is the advancemame default for the rom.

                                    Thanks for checking and letting me know you settings and config.
                                    I get the issues with 16:9 @1080p; as you're 4:3 that's probably the reason it works for you.

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      Riverstorm @UDb23
                                      last edited by 4 Aug 2017, 22:40

                                      @udb23 said in Original Space Invaders Green Overlay in lr-mame2003:

                                      I made an overlay for Depth Charge months ago:

                                      Yeah the hue/saturation looks slightly off I suppose you have to eye-ball the color and guess on the RGB value. You have a great eye for art and converting it to overlays! Amazing work! Thank you!

                                      http://mrdo.mameworld.info/mame_artwork/depthch.png

                                      U 1 Reply Last reply 5 Aug 2017, 05:49 Reply Quote 0
                                      • U
                                        UDb23 @Riverstorm
                                        last edited by 5 Aug 2017, 05:49

                                        @riverstorm said in Original Space Invaders Green Overlay in lr-mame2003:

                                        Yeah the hue/saturation looks slightly off I suppose you have to eye-ball the color and guess on the RGB value

                                        Glad you like it.
                                        Getting the right blue is a little tricky as you choose a "starting" color and then you have to apply significant transparency (to show the game area below) and that changes the resulting color. So the point is finding the right starting color: trial and error.
                                        Even searched for some sort of formula on RGB values... with no success.

                                        R 1 Reply Last reply 7 Aug 2017, 16:23 Reply Quote 0
                                        • U
                                          UDb23
                                          last edited by 6 Aug 2017, 23:43

                                          Did some tests with advmame 3.5 . Opened a separate thread for the issue with overlays.

                                          1 Reply Last reply Reply Quote 0
                                          21 out of 36
                                          • First post
                                            21/36
                                            Last post

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                            This community forum collects and processes your personal information.
                                            consent.not_received