Frontend Tech + >> Emu Loader
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

CiroConsentinoModerator
Frontend freak!
Reged: 09/21/03
Posts: 5326
Loc: Brazil
Send PM
Re: EL with Daphne - only black screen
12/20/16 05:53 PM


hi,

>> I found only one possiblesolution:
>> To remove "-nohwaccel" parameter at start.
>> Does EL use this param.?

No, EL doesn't support this parameter in the Daphne Settings screen (main menu "Default Emulator Settings")
Was it added recently to Daphne ?

EL doesn't change Daphne settings, it creates a custom settings file so EL can create the command line when starting games.
All Daphne settings are stored in eldir\emulator_ini\daphne_el.ini.

EL have only basic support for Daphne since this emulator has its own frontend (DaphneLoader.exe) that does a much better job. Daphne settings are way to complex and there are way to many things to setup for each game.

I haven't updated Daphne support for more than a year. Maybe Daphne recently changed the way command line parameters are used ?

Here's the function to create the parameters (from EL's source):

Code:

  function ReadDaphneIni: String;
var
DaphneIni: TMemIniFile;
StrValue: String;
IntValue: Integer;
begin
Result:= '';
StrValue:= GetEmuIniFileName(idDaphne);
if not FileExists(StrValue) then
begin
Result:= ' vldp';
Exit;
end;
DaphneIni:= TMemIniFile.Create(StrValue);
StrValue:= DaphneIni.ReadString('General', 'LaserdiscType', 'vldp');
Result:= ' '+StrValue;

if StrValue = 'vldp' then
begin
// these settings only work when "Virtual Laser Disc Player" is used
IntValue:= DaphneIni.ReadInteger('Audio', 'VolumeVLDP', -1);
if IntValue <> -1 then
Result:= Result+' -volume_vldp '+IntToStr(IntValue);

IntValue:= DaphneIni.ReadInteger('Video', 'BlankSkips', 0);
if Boolean(IntValue) then
Result:= Result+' -blank_skips';

IntValue:= DaphneIni.ReadInteger('Video', 'BlankSearches', 0);
if Boolean(IntValue) then
Result:= Result+' -blank_searches';
end
else
if StrValue <> 'noldp' then
begin
// options that only work for real Laserdisc players
IntValue:= DaphneIni.ReadInteger('General', 'StopLaserdiscOnQuit', 0);
if Boolean(IntValue) then
Result:= Result+' -stoponquit';
end;

StrValue:= DaphneIni.ReadString('Video', 'ScrResolution', 'auto');
if StrValue <> 'auto' then
begin
Result:= Result+Format(' -x %s -y %s',
[Copy(StrValue, 1, PosEx('x', StrValue)-1),
Copy(StrValue, PosEx('x', StrValue)+1, Length(StrValue))]);
end;
IntValue:= DaphneIni.ReadInteger('Video', 'OpenGL', 0);
if Boolean(IntValue) then
Result:= Result+' -opengl';

IntValue:= DaphneIni.ReadInteger('Video', 'FullScreen', 0);
if Boolean(IntValue) then
Result:= Result+' -fullscreen';

IntValue:= DaphneIni.ReadInteger('Video', 'IgnoreAspectRatio', 0);
if Boolean(IntValue) then
Result:= Result+' -ignore_aspect_ratio';

IntValue:= DaphneIni.ReadInteger('Video', 'FullScale', 0);
if Boolean(IntValue) then
Result:= Result+' -fullscale';

IntValue:= DaphneIni.ReadInteger('Audio', 'PreferSamples', 0);
if Boolean(IntValue) then
Result:= Result+' -prefer_samples';

IntValue:= DaphneIni.ReadInteger('Audio', 'NoSound', 0);
if Boolean(IntValue) then
Result:= Result+' -nosound';

IntValue:= DaphneIni.ReadInteger('Input', 'NoJoysticks', 0);
if Boolean(IntValue) then
Result:= Result+' -nojoystick';

IntValue:= DaphneIni.ReadInteger('General', 'NoCreateLogFile', 1);
if not Boolean(IntValue) then
Result:= Result+' -nolog';

IntValue:= DaphneIni.ReadInteger('General', 'NoWarnings', 0);
if Boolean(IntValue) then
Result:= Result+' -noissues';

IntValue:= DaphneIni.ReadInteger('General', 'SendUsageStatistics', 1);
if not Boolean(IntValue) then
Result:= Result+' -noserversend';

IntValue:= DaphneIni.ReadInteger('General', 'IdleExit', 0);
if Boolean(IntValue) then
begin
IntValue:= DaphneIni.ReadInteger('General', 'IdleExitSeconds', 30);
Result:= Result+ ' -idleexit '+IntToStr(IntValue);
end;

IntValue:= DaphneIni.ReadInteger('General', 'EnableCheat', 0);
if Boolean(IntValue) then
Result:= Result+' -cheat';

IntValue:= DaphneIni.ReadInteger('General', 'SRAMContinuousUpdate', 0);
if Boolean(IntValue) then
Result:= Result+' -sram_continuous_update';

IntValue:= DaphneIni.ReadInteger('General', 'FastBoot', 0);
if Boolean(IntValue) then
Result:= Result+' -fastboot';

FreeAndNil(DaphneIni);
end;




Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
EmuCon Home: http://emuloader.mameworld.info/emucon
MCM Plus: http://mcm.mameworld.info
e-mail: emuloader@gmail.com

Edited by CiroConsentino (12/20/16 06:02 PM)







Entire thread
Subject Posted by Posted on
* EL with Daphne - only black screen rocomat 12/20/16 05:36 PM
. * Re: EL with Daphne - only black screen CiroConsentinoModerator  12/20/16 05:53 PM

Extra information Permissions
Moderator:  CiroConsentino 
0 registered and 4 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 568