Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • zonitz
    Participant
    Post count: 11

    Try to remove everything again and then SSH to RetroPie and run: sudo chown -R pi /opt/retropie/ . Then try to install everything again, you should have the correct permissions now.

    zonitz
    Participant
    Post count: 11

    [quote=97150]How to get perfect video scaling

    On a fixed-pixel display, you have to stretch the native resolution of a game by a whole integer amount, otherwise you will get ugly scaling artifacts; some pixels will be larger or of a different shape than others. Scaling artifacts are particularly noticeable when a game is scrolling, and they ruin the look of scanlines. To eliminate scaling artifacts, do the following:

    1. Hold “x” or “m” when launching a game to bring up the launch menu. By default, “video mode” should be blank. If it is not blank, select “remove video mode choice.” This will tell Retroarch to automatically detect the native resolution of your display.
    2. Now scroll to “retroarch render resolution.” Set this to “use video output” if using a raspberry pi model 2. Otherwise leave as is (640×480).
    3. Launch game.
    4. go to RGUI -> settings -> video settings -> integer scale ON
    5. RGUI -> options -> video options -> set custom ratio
    6. Set to whatever looks best. You can’t get to a perfect 4:3 aspect ratio but you can get close if you use the right scaling ratio. For NES for example, 6×5 scaling gets you close to a 4:3 aspect ratio with the top and bottom cropped off (see below)

    A note on 5x scale: If you use 5x scale and wish to use a scanline overlay, you need to use one designed for 5x, which I’ve provided here. It is desirable to set the Y axis to 5x scale for many systems, cropping off the top and bottom of the picture. On a CRT, the “safe area” was 90% of the picture. The safe area was the zone in which important graphics were displayed. The rest was occupied by overscan, which wasn’t meant to be displayed and which was cropped off by CRTs. With 5x scale on the Y axis, or 1200 pixels, you are cropping off 120 pixels on a 1080 display. This is 24 pixels on a 240p console, or 10%, equivalent to the entire overscan area.

    Important Note: depending on the core, crop overscan may need to be turned either ON or OFF. Crop overscan can cause problems with scaling if not set right.

    Note: these resolutions are for a 1080p display.

    NES:
    1024×960
    1280×960
    1280×1200
    1536×1200

    Genesis:
    960×896
    1280×896
    1280×1120
    1600×1120

    SNES:
    1024×896
    1280×896
    1280×1120
    1536×1120

    Doom:
    1280×1000

    More systems will be added as they are tested.

    [/quote]

    patrickm, could you please provide your recommendations for, PSX, Mastersystem, PC-Engine as well? Sega CD seem to differ from genesis and 32x as well.

    zonitz
    Participant
    Post count: 11

    patl, could you please tell me how the config should look and which overlay to use for PC Engine, lr-mednafen-pce? I tried the NES setup but something seem to differ look odd.

    zonitz
    Participant
    Post count: 11

    How are you editing your .cfg file, in linux, windows or WinSCP? If the edit is a paste from example a forum as this in windows the format and fonts could make it weird in linux (RetroPie). Try editing the file from the terminal or via SSH, remove and or re-add the (“) character and do a backspace on all ” ” whitespace eg. (input_overlay=) to (input_overlay =) again. Im thinking this could be the problem since when RA is writing the value it’s working (linux environment).

    zonitz
    Participant
    Post count: 11

    I tried to add the HDMI settings as well in config.txt, but the line is still there. It’s the same problem that patrickm has with his overlay. I also noticed it in GB now, but never in any overlay with scanlines. Could it be the grid pattern?

    zonitz
    Participant
    Post count: 11

    patl, first of all, thanks for the updates! Regarding the diagonal line on GBC, I can only see it on the Super Mario Bros. Deluxe (U), have you tried that game as well?

    Regarding my settings, they are default regarding video in config.txt so EDID should be used, have you specifically set HDMI modes etc there?

    I could also recommend anyone with a PI2 to try turning “v-sync” on and disable “threaded video”, I feel that the games are running smoother with these settings (PI is overclocked, 1050, 550, 550, voltage 6).

    zonitz
    Participant
    Post count: 11

    I tried all the configs and it looked good, great work!

    Could you please explain how to get the green colors for the Gameboy? I placed the palette folder with the “default.pal” file into /home/pi/RetroPie/BIOS but I guess there is more to it.

    I also noticed a diagonal “/” line in the GBC overlay when playing the gbc super mario game. It was only seen in that game by the few I tested. The right side of the / was darker and the left brighter. It was fading away the more I lowered the input_overlay_opacity.

    zonitz
    Participant
    Post count: 11

    Would it be possible to attach the scanlines as a separate .png file without the Retrostation TV borders?

    zonitz
    Participant
    Post count: 11

    The dropbox files worked, something probably got corrupted during attachment.

    Thanks!

    zonitz
    Participant
    Post count: 11

    Display is 1080p CEA mode 16, RA render output doesn’t matter I tried them all. The preset RA scanline overlay is working but does not look good (only the picture differs between patrickm’s and RA’s from what I could tell by looking). Also the file size differ, 44k for the RA preset .png and 2kb for patricksm’s picture, that’s why im wondering.

    zonitz
    Participant
    Post count: 11

    I tried your scanline overlay but the picture (scanlines) was not show. The overlay only darkened the picture. Could you please upload the two pictures in a .zip file instead, they might have been modified during upload or something?

Viewing 11 posts - 1 through 11 (of 11 total)