Author Topic: nulldc  (Read 7223 times)

cassette

  • Full Member
  • ***
  • Posts: 170
  • Karma: +1/-0
    • View Profile
nulldc
« on: June 10, 2017, 09:33:32 AM »
Trying to get this emulator to work, but no luck. Anyone knows what I should put on "arguments"?

JonahUK

  • Guest
Re: nulldc
« Reply #1 on: June 10, 2017, 11:11:07 AM »
Not at my cab right now but i think its this:

Code: [Select]
arguments = -config ImageReader:DefaultImage="%ITEM_NAME%"
Also, do you have the correct BIOS files etc in your \DATA folder?
« Last Edit: June 10, 2017, 04:57:19 PM by JonahUK »

cassette

  • Full Member
  • ***
  • Posts: 170
  • Karma: +1/-0
    • View Profile
Re: nulldc
« Reply #2 on: June 11, 2017, 12:03:43 AM »
Hmm, it doesn't work on my end

Code: [Select]
executable = C:\Program Files (x86)\nulldc\nulldc.exe
arguments = -config ImageReader:DefaultImage="%ITEM_NAME%"

I have the correct BIOS and all, yeah. I can run games from the emulator with File > Normal Boot.

bodbod

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
    • Don't be a sheep, Do It Yourself !
Re: nulldc
« Reply #3 on: June 11, 2017, 12:44:20 AM »
have you tried executable = "C:\Program Files (x86)\nulldc\nulldc.exe" ?

cassette

  • Full Member
  • ***
  • Posts: 170
  • Karma: +1/-0
    • View Profile
Re: nulldc
« Reply #4 on: June 11, 2017, 01:24:05 AM »
Adding the " actually makes it not load at all lol. I should have mentioned - nulldc opens, but not the game. It's stuck on the nulldc splash image as if no game has been loaded.

JohnnyBoy

  • Newbie
  • *
  • Posts: 3
  • Karma: +1/-0
    • View Profile
Re: nulldc
« Reply #5 on: June 13, 2017, 04:49:02 PM »
What Johan said above is correct regarding the arguments but you may also need the following in your nulldc.cfg file:

Code: [Select]
[ImageReader]
LoadDefaultImage=01
DefaultImage=pathtoyourroms\whateverrom.cdi

JonahUK

  • Newbie
  • *
  • Posts: 35
  • Karma: +16/-0
    • View Profile
Re: nulldc
« Reply #6 on: June 13, 2017, 10:45:41 PM »
What Johan said above is correct regarding the arguments but you may also need the following in your nulldc.cfg file:

Code: [Select]
[ImageReader]
LoadDefaultImage=01
DefaultImage=pathtoyourroms\whateverrom.cdi

Its actually Jonah not Johan!! Hahahahaha.

cassette

  • Full Member
  • ***
  • Posts: 170
  • Karma: +1/-0
    • View Profile
Re: nulldc
« Reply #7 on: June 14, 2017, 04:07:47 AM »
Doesn't work on my end for some reason... the console of nulldc doesn't say it's attempting to load a file, even, just loading the plugins.

Code: [Select]
executable = C:\Program Files (x86)\nulldc\nulldc.exe
arguments = -config ImageReader:DefaultImage="%ITEM_NAME%"

Code: [Select]
;; nullDC config file;;
[nullDC]
Dynarec.Enabled=1
Dynarec.DoConstantPropagation=1
Dynarec.SafeMode=1
Dynarec.UnderclockFpu=0
Dreamcast.Cable=3
Dreamcast.RTC=2067391781
Dreamcast.Region=3
Dreamcast.Broadcast=4
Emulator.AutoStart=0
Emulator.NoConsole=0

[nullDC_plugins]
GUI=nullDC_GUI_Win32.dll
Current_PVR=drkPvr_Win32.dll
Current_GDR=ImgReader_Win32.dll
Current_AICA=nullAICA_Win32.dll
Current_ARM=vbaARM_Win32.dll
Current_ExtDevice=nullExtDev_Win32.dll
Current_maple0_5=PuruPuru_Win32.dll:0
Current_maple0_0=XMaple_Win32.dll:3
Current_maple0_1=NULL
Current_maple1_5=drkMapleDevices_Win32.dll:0
Current_maple2_5=NULL
Current_maple3_5=NULL
Current_maple0_2=NULL
Current_maple0_3=NULL
Current_maple0_4=NULL
Current_maple1_0=NULL
Current_maple1_1=NULL
Current_maple1_2=NULL
Current_maple1_3=NULL
Current_maple1_4=NULL
Current_maple2_0=NULL
Current_maple2_1=NULL
Current_maple2_2=NULL
Current_maple2_3=NULL
Current_maple2_4=NULL
Current_maple3_0=NULL
Current_maple3_1=NULL
Current_maple3_2=NULL
Current_maple3_3=NULL
Current_maple3_4=NULL

[nullDC_GUI]
AutoHideMenu=1
Fullscreen=1
AlwaysOnTop=0

[drkpvr]
Emulation.AlphaSortMode=1
Emulation.PaletteMode=1
Emulation.ModVolMode=0
Emulation.ZBufferMode=0
Emulation.TexCacheMode=0
OSD.ShowFPS=0
OSD.ShowStats=0
Video.ResolutionMode=0
Video.VSync=0
Enhancements.MultiSampleCount=0
Enhancements.MultiSampleQuality=0
Enhancements.AspectRatioMode=1

[ImageReader]
LoadDefaultImage=01
DefaultImage=M:\Media\Interactive\Platform\Dreamcast\Bangai-O\Bangai-O.cdi
LastImage=M:\Media\Interactive\Platform\Dreamcast\Marvel VS Capcom 2\Marvel VS Capcom 2.cdi
PatchRegion=0

[nullAica]
BufferSize=2048
LimitFPS=1
HW_mixing=0
SoundRenderer=1
GlobalFocus=1
BufferCount=1
CDDAMute=0
GlobalMute=0
DSPEnabled=0
Volume=90

[nullExtDev]
mode=0
adapter=0

[ndc_hookjoy]
PortA_CONT_C=67
PortA_CONT_B=90
PortA_CONT_A=88
PortA_CONT_START=13
PortA_CONT_DPAD_UP=38
PortA_CONT_DPAD_DOWN=40
PortA_CONT_DPAD_LEFT=37
PortA_CONT_DPAD_RIGHT=39
PortA_CONT_Z=68
PortA_CONT_Y=65
PortA_CONT_X=83
PortA_CONT_DPAD2_UP=0
PortA_CONT_DPAD2_DOWN=0
PortA_CONT_DPAD2_LEFT=0
PortA_CONT_DPAD2_RIGHT=0
PortA_CONT_ANALOG_UP=38
PortA_CONT_ANALOG_DOWN=40
PortA_CONT_ANALOG_LEFT=37
PortA_CONT_ANALOG_RIGHT=39
PortA_CONT_LSLIDER=81
PortA_CONT_RSLIDER=87
PortB_CONT_C=71
PortB_CONT_B=82
PortB_CONT_A=70
PortB_CONT_START=80
PortB_CONT_DPAD_UP=89
PortB_CONT_DPAD_DOWN=89
PortB_CONT_DPAD_LEFT=89
PortB_CONT_DPAD_RIGHT=89
PortB_CONT_Z=84
PortB_CONT_Y=89
PortB_CONT_X=72
PortB_CONT_DPAD2_UP=27
PortB_CONT_DPAD2_DOWN=27
PortB_CONT_DPAD2_LEFT=27
PortB_CONT_DPAD2_RIGHT=27
PortB_CONT_ANALOG_UP=219
PortB_CONT_ANALOG_DOWN=222
PortB_CONT_ANALOG_LEFT=186
PortB_CONT_ANALOG_RIGHT=220
PortB_CONT_LSLIDER=189
PortB_CONT_RSLIDER=187
PortC_CONT_C=66
PortC_CONT_B=88
PortC_CONT_A=86
PortC_CONT_START=16
PortC_CONT_DPAD_UP=38
PortC_CONT_DPAD_DOWN=40
PortC_CONT_DPAD_LEFT=37
PortC_CONT_DPAD_RIGHT=39
PortC_CONT_Z=77
PortC_CONT_Y=90
PortC_CONT_X=67
PortC_CONT_DPAD2_UP=0
PortC_CONT_DPAD2_DOWN=0
PortC_CONT_DPAD2_LEFT=0
PortC_CONT_DPAD2_RIGHT=0
PortC_CONT_ANALOG_UP=73
PortC_CONT_ANALOG_DOWN=75
PortC_CONT_ANALOG_LEFT=74
PortC_CONT_ANALOG_RIGHT=76
PortC_CONT_LSLIDER=65
PortC_CONT_RSLIDER=83
PortD_CONT_C=66
PortD_CONT_B=88
PortD_CONT_A=86
PortD_CONT_START=16
PortD_CONT_DPAD_UP=38
PortD_CONT_DPAD_DOWN=40
PortD_CONT_DPAD_LEFT=37
PortD_CONT_DPAD_RIGHT=39
PortD_CONT_Z=77
PortD_CONT_Y=90
PortD_CONT_X=67
PortD_CONT_DPAD2_UP=0
PortD_CONT_DPAD2_DOWN=0
PortD_CONT_DPAD2_LEFT=0
PortD_CONT_DPAD2_RIGHT=0
PortD_CONT_ANALOG_UP=73
PortD_CONT_ANALOG_DOWN=75
PortD_CONT_ANALOG_LEFT=74
PortD_CONT_ANALOG_RIGHT=76
PortD_CONT_LSLIDER=65
PortD_CONT_RSLIDER=83
local_port=0
server_addr=192.168.1.33
server_port=11122

[drkMaple]
VMU.Show=1
Mouse.Sensitivity=100
ShowVMU=1

[PuruPuru_Pad_1]
l_shoulder=LB
r_shoulder=RB
a_button=A.
b_button=B.
x_button=X.
y_button=Y.
start_button=START
dpad_up=UP
dpad_down=DOWN
dpad_left=LEFT
dpad_right=RIGHT
main_x_left=LX-
main_x_right=LX+
main_y_up=LY+
main_y_down=LY-
halfpress=-1
deadzone=24
pakku_intensity=100
pakku_length=175
keyboard=1
joy_id=0
controllertype=1

[PuruPuru_Pad_2]
l_shoulder=-1
r_shoulder=-1
a_button=-1
b_button=-1
x_button=-1
y_button=-1
start_button=-1
dpad_up=-1
dpad_down=-1
dpad_left=-1
dpad_right=-1
main_x_left=-1
main_x_right=-1
main_y_up=-1
main_y_down=-1
halfpress=-1
deadzone=24
pakku_intensity=100
pakku_length=175
keyboard=0
joy_id=0
controllertype=0

[PuruPuru_Pad_3]
l_shoulder=-1
r_shoulder=-1
a_button=-1
b_button=-1
x_button=-1
y_button=-1
start_button=-1
dpad_up=-1
dpad_down=-1
dpad_left=-1
dpad_right=-1
main_x_left=-1
main_x_right=-1
main_y_up=-1
main_y_down=-1
halfpress=-1
deadzone=24
pakku_intensity=100
pakku_length=175
keyboard=0
joy_id=0
controllertype=0

[PuruPuru_Pad_4]
l_shoulder=-1
r_shoulder=-1
a_button=-1
b_button=-1
x_button=-1
y_button=-1
start_button=-1
dpad_up=-1
dpad_down=-1
dpad_left=-1
dpad_right=-1
main_x_left=-1
main_x_right=-1
main_y_up=-1
main_y_down=-1
halfpress=-1
deadzone=24
pakku_intensity=100
pakku_length=175
keyboard=0
joy_id=0
controllertype=0

[Xmaple]
Controller.DeadZone=25
PuruPuru.UseRealFrequency=1
PuruPuru.Length=175
PuruPuru.Intensity=100

I've read it as Johan too lol

JonahUK

  • Newbie
  • *
  • Posts: 35
  • Karma: +16/-0
    • View Profile
Re: nulldc
« Reply #8 on: June 14, 2017, 11:42:18 AM »
Lol, a lot of people have thought Johan and even Johna before now!!!!

Not sure if it helps but I don't run my DC games from sub-folders so you could try that to see if it works?
If it does, then its just a matter of finding the correct variable for the argument (rather than use %ITEM_NAME%)

I'm sure Pieter added sub-folder support but I don't use it.

EDIT:
Just noticed, not sure if LoadDefaultImage=01 should be LoadDefaultImage=1 (no zero)

EDIT:
Lol, just fired up my cab and whilst it DID work on there before its decided to be a bitch and stop working ffs.
I have made loads of changes (frontends, emus, configs etc) since the last time I actually played a DC game so "somewhere" along the way I have screwed it up!

I'll do some testing with but I know the reicast core in RetroArch is pretty mature so that might be an option if I can't get NullDC working again.
« Last Edit: June 14, 2017, 10:44:07 PM by JonahUK »

cassette

  • Full Member
  • ***
  • Posts: 170
  • Karma: +1/-0
    • View Profile
Re: nulldc
« Reply #9 on: June 15, 2017, 05:29:08 AM »
"01" is indeed a problem, and so is placing "1" on it. I had got to put "0" for it not to throw in an error when File > Normal Boot. I still can't get it to load the game, though...

I feel like we're this close to get it working. These are lines I found from people who use other programs:

GameEx:

Code: [Select]
emu_24_command=nullDC_Win32_Release-NoTrace.exe -config ImageReader:DefaultImage="[ROMPATH]\[ROMFILE]"
EmulationStation

Code: [Select]
-config nullDC:Emulator.Autostart=1 -config ImageReader:LoadDefaultImage=1 -config ImageReader:DefaultImage="%ROM_RAW%" nullDC_GUI:Fullscreen=1

JonahUK

  • Newbie
  • *
  • Posts: 35
  • Karma: +16/-0
    • View Profile
Re: nulldc
« Reply #10 on: June 15, 2017, 07:23:14 PM »
Done some more testing and I originally stated the wrong argument!

It should be:
Code: [Select]
arguments = -config ImageReader:DefaultImage="%ITEM_FILEPATH%"
Tested on my cab and games are launching again now.

Also, ensure the following are present in your nulldc.cfg

Under [nullDC]:
Emulator.AutoStart=1

Under [ImageReader]:
LoadDefaultImage=1
DefaultImage=pathtoroms\rom.cdi
« Last Edit: June 16, 2017, 06:22:00 PM by JonahUK »

cassette

  • Full Member
  • ***
  • Posts: 170
  • Karma: +1/-0
    • View Profile
Re: nulldc
« Reply #11 on: June 18, 2017, 01:38:24 PM »
Yes!! Thanks!

Minor annoyance - do you know if it's possible to always have the bar at the top hidden? It only hides if I move the mouse for me, which is not ideal with a controller.

JonahUK

  • Newbie
  • *
  • Posts: 35
  • Karma: +16/-0
    • View Profile
Re: nulldc
« Reply #12 on: June 18, 2017, 08:30:39 PM »
Yes!! Thanks!

Minor annoyance - do you know if it's possible to always have the bar at the top hidden? It only hides if I move the mouse for me, which is not ideal with a controller.

Code: [Select]
[nullDC_GUI]
AutoHideMenu=1
Fullscreen=1
AlwaysOnTop=1

It will vanish and go full screen after a sec or two.

cassette

  • Full Member
  • ***
  • Posts: 170
  • Karma: +1/-0
    • View Profile
Re: nulldc
« Reply #13 on: June 18, 2017, 11:02:26 PM »
Everything working fine now, thanks again.