Turning of Border in lr-hatari
-
Hello,
i run RetroPie 4.6.1 on a Raspberry Pi 4.I can successfully start a zip file containing an ipf file with lr-hatari.
The Borders bother me a lot because they make the picture much smaller. Fortunately, I can use the F11 key to deactivate it in the menu under "Atari Screen -> Show Borders".
I then save hatari.cfg under the menu item "Save config".
Usually the settings should now be saved correctly. Unfortunately, however, the Borders are nevertheless reactivated at the next start and I cannot find a corresponding borders setting in hatari.cfg.
How can I permanently switch off the Borders in lr-hatari?
This is my hatari.cfg.
[Log] sLogFileName = stderr sTraceFileName = stderr nExceptionDebugMask = 259 nTextLogLevel = 4 nAlertDlgLogLevel = 1 bConfirmQuit = FALSE bNatFeats = FALSE bConsoleWindow = FALSE [Debugger] nNumberBase = 10 nDisasmLines = 8 nMemdumpLines = 8 nDisasmOptions = 15 bDisasmUAE = FALSE [Screen] nMonitorType = 2 nFrameSkips = 0 bFullScreen = FALSE bKeepResolution = TRUE bKeepResolutionST = TRUE bAllowOverscan = FALSE nSpec512Threshold = 1 nForceBpp = 0 bAspectCorrect = TRUE bUseExtVdiResolutions = FALSE nVdiWidth = 640 nVdiHeight = 480 nVdiColors = 2 bShowStatusbar = FALSE bShowDriveLed = TRUE bCrop = FALSE bForceMax = FALSE nMaxWidth = 832 nMaxHeight = 520 [Joystick0] nJoystickMode = 2 bEnableAutoFire = FALSE bEnableJumpOnFire2 = FALSE nJoyId = 0 nKeyCodeUp = 1073741898 nKeyCodeDown = 1073741901 nKeyCodeLeft = 127 nKeyCodeRight = 1073741902 nKeyCodeFire = 1073742050 [Joystick1] nJoystickMode = 1 bEnableAutoFire = TRUE bEnableJumpOnFire2 = FALSE nJoyId = 0 nKeyCodeUp = 1073741906 nKeyCodeDown = 1073741905 nKeyCodeLeft = 1073741904 nKeyCodeRight = 1073741903 nKeyCodeFire = 1073742048 [Joystick2] nJoystickMode = 0 bEnableAutoFire = FALSE bEnableJumpOnFire2 = FALSE nJoyId = 0 nKeyCodeUp = 1073741906 nKeyCodeDown = 1073741905 nKeyCodeLeft = 1073741904 nKeyCodeRight = 1073741903 nKeyCodeFire = 1073742052 [Joystick3] nJoystickMode = 0 bEnableAutoFire = FALSE bEnableJumpOnFire2 = FALSE nJoyId = 0 nKeyCodeUp = 1073741906 nKeyCodeDown = 1073741905 nKeyCodeLeft = 1073741904 nKeyCodeRight = 1073741903 nKeyCodeFire = 1073742052 [Joystick4] nJoystickMode = 0 bEnableAutoFire = FALSE bEnableJumpOnFire2 = FALSE nJoyId = 0 nKeyCodeUp = 1073741906 nKeyCodeDown = 1073741905 nKeyCodeLeft = 1073741904 nKeyCodeRight = 1073741903 nKeyCodeFire = 1073742052 [Joystick5] nJoystickMode = 0 bEnableAutoFire = FALSE bEnableJumpOnFire2 = FALSE nJoyId = 0 nKeyCodeUp = 1073741906 nKeyCodeDown = 1073741905 nKeyCodeLeft = 1073741904 nKeyCodeRight = 1073741903 nKeyCodeFire = 1073742052 [Keyboard] bDisableKeyRepeat = FALSE nKeymapType = 0 szMappingFileName = [ShortcutsWithModifiers2] keyOptions = 111 keyFullScreen = 102 keyMouseMode = 109 keyColdReset = 99 keyWarmReset = 114 keyScreenShot = 103 keyBossKey = 105 keyCursorEmu = 106 keyFastForward = 120 keyRecAnim = 97 keyRecSound = 121 keySound = 115 keyPause = 0 keyDebugger = 1073741896 keyQuit = 113 keyLoadMem = 108 keySaveMem = 107 keyInsertDiskA = 100 keySwitchJoy0 = 1073741882 keySwitchJoy1 = 1073741883 keySwitchPadA = 1073741884 keySwitchPadB = 1073741885 [ShortcutsWithoutModifiers2] keyOptions = 1073741893 keyFullScreen = 1073741892 keyMouseMode = 0 keyColdReset = 0 keyWarmReset = 0 keyScreenShot = 0 keyBossKey = 0 keyCursorEmu = 0 keyFastForward = 0 keyRecAnim = 0 keyRecSound = 0 keySound = 0 keyPause = 1073741896 keyDebugger = 0 keyQuit = 0 keyLoadMem = 0 keySaveMem = 0 keyInsertDiskA = 0 keySwitchJoy0 = 0 keySwitchJoy1 = 0 keySwitchPadA = 0 keySwitchPadB = 0 [Sound] bEnableMicrophone = TRUE bEnableSound = TRUE bEnableSoundSync = FALSE nPlaybackFreq = 48000 nSdlAudioBufferSize = 0 szYMCaptureFileName = /opt/retropie/supplementary/emulationstation/hatari.wav YmVolumeMixing = 2 [Memory] nMemorySize = 14 bAutoSave = FALSE szMemoryCaptureFileName = /home/pi/.hatari/hatari.sav szAutoSaveFileName = /home/pi/.hatari/auto.sav [Floppy] bAutoInsertDiskB = TRUE FastFloppy = FALSE EnableDriveA = TRUE DriveA_NumberOfHeads = 2 EnableDriveB = TRUE DriveB_NumberOfHeads = 2 nWriteProtection = 0 szDiskAZipPath = szDiskAFileName = /tmp/retroarch/10th Frame (Europe).ipf szDiskBZipPath = szDiskBFileName = szDiskImageDirectory = /opt/retropie/supplementary/emulationstation/ [HardDisk] bBootFromHardDisk = FALSE bUseHardDiskDirectory = FALSE szHardDiskDirectory = /opt/retropie/supplementary/emulationstation nGemdosCase = 0 nWriteProtection = 0 bUseHardDiskImage = FALSE szHardDiskImage = /opt/retropie/supplementary/emulationstation bUseIdeMasterHardDiskImage = FALSE bUseIdeSlaveHardDiskImage = FALSE szIdeMasterHardDiskImage = /opt/retropie/supplementary/emulationstation szIdeSlaveHardDiskImage = /opt/retropie/supplementary/emulationstation nHardDiskDrive = 0 [ROM] szTosImageFileName = /mnt/toshiba/BIOS/tos.img bPatchTos = TRUE szCartridgeImageFileName = [RS232] bEnableRS232 = FALSE szOutFileName = /dev/modem szInFileName = /dev/modem [Printer] bEnablePrinting = FALSE szPrintToFileName = /home/pi/.hatari/hatari.prn [Midi] bEnableMidi = TRUE sMidiInFileName = /dev/snd/midiC1D0 sMidiOutFileName = /dev/snd/midiC1D0 [System] nCpuLevel = 0 nCpuFreq = 16 bCompatibleCpu = TRUE nMachineType = 1 bBlitter = TRUE nDSPType = 0 bRealTimeClock = TRUE bPatchTimerD = FALSE bFastBoot = TRUE bFastForward = FALSE [Video] AviRecordVcodec = 2 AviRecordFps = 0 AviRecordFile = /opt/retropie/supplementary/emulationstation/hatari.avi [ShortcutsWithModifiers] keyOptions = 111 keyFullScreen = 102 keyMouseMode = 109 keyColdReset = 99 keyWarmReset = 114 keyScreenShot = 103 keyBossKey = 105 keyCursorEmu = 106 keyFastForward = 120 keyRecAnim = 97 keyRecSound = 121 keySound = 115 keyPause = 0 keyDebugger = 19 keyQuit = 113 keyLoadMem = 108 keySaveMem = 107 keyInsertDiskA = 100 keySwitchJoy0 = 282 keySwitchJoy1 = 283 keySwitchPadA = 284 keySwitchPadB = 285 [ShortcutsWithoutModifiers] keyOptions = 293 keyFullScreen = 292 keyMouseMode = 0 keyColdReset = 0 keyWarmReset = 0 keyScreenShot = 0 keyBossKey = 0 keyCursorEmu = 0 keyFastForward = 0 keyRecAnim = 0 keyRecSound = 0 keySound = 0 keyPause = 19 keyDebugger = 0 keyQuit = 0 keyLoadMem = 0 keySaveMem = 0 keyInsertDiskA = 0 keySwitchJoy0 = 0 keySwitchJoy1 = 0 keySwitchPadA = 0 keySwitchPadB = 0
Cheers
Sid1968 -
Have you tried toggling the 'Crop Overscan' or choosing 'High resolution' in the core options ?
-
Yes, without success.
I normally use "hatari-fast" emulator without any problems.
As you can see in my emulator.cfg "hatari-fast" uses for the Borders the command "--borders 0".hatari-fast = "/opt/retropie/emulators/hatari/bin/hatari --confirm-quit 0 --statusbar 0 --zoom 1 -w --compatible 0 --timer-d 1 --borders 0 %ROM%" default = "lr-hatari" hatari-fast-borders = "/opt/retropie/emulators/hatari/bin/hatari --confirm-quit 0 --statusbar 0 --zoom 1 -w --compatible 0 --timer-d 1 --borders 1 %ROM%" hatari-compatible = "/opt/retropie/emulators/hatari/bin/hatari --confirm-quit 0 --statusbar 0 --zoom 1 -w --compatible 1 --timer-d 0 --borders 0 %ROM%" hatari-compatible-borders = "/opt/retropie/emulators/hatari/bin/hatari --confirm-quit 0 --statusbar 0 --zoom 1 -w --compatible 1 --timer-d 0 --borders 1 %ROM%" lr-hatari = "LD_LIBRARY_PATH='/opt/retropie/libretrocores/lr-hatari' /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-hatari/hatari_libretro.so --config /opt/retropie/configs/atarist/retroarch.cfg %ROM%"
Since "hatari-fast" do not support ziped ipf-files i have to use lr-hatari.
Why is there no corresponding variable in hatari.cfg when you can deactivate the Borders in the lr-hatari GUI ???
-
In case I haven't expressed myself clearly enough: In the lr-hatari GUI I can uncheck "Show Borders" under "Atari Screen" to successfully deactivate the Borders. Unfortunately, this only lasts as long as lr-hatari is running. After restarting lr-hatari, the check mark for "Show Borders" is set again, although I had saved the settings in hatari.cfg via the GUI. This is probably due to the fact that there is no variable for "Show Borders" in hatari.cfg. It is very frustrating!
-
I understood you first post, but a libretro core might not read or write the same
.cfg
file as the standalone emulator. Usually when an emulator is ported to the libretro api, its options are implemented and exposed as Core Options in RetroArch.
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.