Jump to content

nulldc v1.0.4 Unhandled exeption while initing image reader


Rylight

Recommended Posts

Posted

Hello all!

First post!

Background

I have Hyperspin working with MAME, Neo Geo using mame emulator and SNES.

My next emulator is Sega Dreamcast. Using NullDC v1.0.4

I have Hyperspin able to open NullDC but it asks to open a rom path Because LoadDefaultImage=0

So I took the advice from other members on this forum to change this to

LoadDefaultImage=1

Fullscreen=1

Emulator.AutoStart=1

Since I have turned

LoadDefaultImage=1

I now receive this error.

Unhandled exeption while Initing Image Reader plugin by drk||Raziel & GiGaHeRz [Aug 21 2011] plugin

I know the problem isn't with Hyperspin because I receive this error even when I try and open nullDC separate.

The solutions I read about others seeing this error is to update their NullDC, I am running th enewest on their site. nullDC 1.0.4 r136

I am running WIndows 7 64bit.

Hope someone has run into thi before and has some advice I am running into a wall with this one. I have seen posts about a Module hyperlauncher, but my concern was would this ruin how I have set up my other emulators?

Thanks!

Here is my Sega Dreamcast hyperspin.ahk portion:

;*********************************SEGA DREAMCAST********************************

else if (systemName = "Sega Dreamcast" && executable = "nullDC.exe" )

{

hideDesktop()

SetWorkingDir, %emuPath%

Hotkey, %exitEmulatorKey%, CloseProcess

Blockinput on

SetBatchLines -1

Gui +AlwaysOnTop -Caption +ToolWindow

Gui Color, 0

Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%,

MouseGetPos X, Y

SetDefaultMouseSpeed, 0

MouseMove %A_ScreenWidth%,%A_ScreenHeight%

IniWrite, 1, %A_WorkingDir%\nulldc.cfg, nullDC, Emulator.AutoStart

IniWrite, 1, %A_WorkingDir%\nulldc.cfg, nullDC, Emulator.NoConsole

IniWrite, 1, %A_WorkingDir%\nulldc.cfg, drkpvr, Fullscreen.Enabled

IniWrite, 800, %A_WorkingDir%\nulldc.cfg, drkpvr, Fullscreen.Res_X

IniWrite, 600, %A_WorkingDir%\nulldc.cfg, drkpvr, Fullscreen.Res_Y

IniWrite, %romPath%%romname%%RomExtension%, %A_WorkingDir%\nulldc.cfg, imagereader, defaultimage

Run, %executable%

Sleep, 8000

Gui Destroy

SetDefaultMouseSpeed, 2

Blockinput off

;Process, WaitClose, %executable%

Process, WaitClose, nullDC

WinActivate, HyperSpin

}

Here is my Sega Dreamcast.ini

[exe info]

path=F:\HyperSpin\Emulators\SEGA Dreamcast2\

rompath=F:\HyperSpin\Emulators\RomFiles\Sega Dreamcast Games\

userompath=true

exe=nullDC.exe

romextension=rar

parameters= -config ImageReader:DefaultImage=F:\HyperSpin\Emulators\RomFiles\Sega Dreamcast Games\Soul Calibur.cdi

searchsubfolders=true

pcgame=false

winstate=HIDDEN

hyperlaunch=true

Per_Game_Modules=false

Skipchecks=false

Hide_Cursor=use_global

Hide_Desktop=use_global

Hide_Taskbar=use_global

CPWizard_Enabled=use_global

CPWizard_Delay=use_global

CPWizard_Params=use_global

Fade_In=use_global

Fade_Out=use_global

Fade_Color=use_global

Fade_In_Duration=use_global

Fade_Out_Duration=use_global

Fade_In_Delay=use_global

7z_Enabled=use_global

7z_Extract_Dir=use_global

7z_Delete_Temp=use_global

Keymapper_Enabled=use_global

Keymapper=use_global

MultiGame_Enabled=use_global

MultiGame_Background_Color=use_global

MultiGame_Side_Padding=use_global

MultiGame_Y_Offset=use_global

MultiGame_Image_Adjust=use_global

MultiGame_Font=use_global

MultiGame_Text_1_Options=use_global

MultiGame_Text_1_Text=use_global

MultiGame_Text_2_Options=use_global

MultiGame_Text_2_Offset=use_global

MultiGame_Use_Sound=use_global

MultiGame_Sound_Frequency=use_global

MultiGame_Exit_Effect=use_global

MultiGame_Selected_Effect=use_global

MultiGame_Use_Game_Art=use_global

MultiGame_Art_Folder=use_global

[filters]

parents_only=false

themes_only=false

wheels_only=false

[themes]

use_parent_vids=true

use_parent_themes=false

animate_out_default=false

reload_backgrounds=false

[wheel]

alpha=.15

small_alpha = 1

style=normal

speed=high

pin_center_width=500

horz_wheel_y=512

vert_wheel_position=right

y_rotation=center

norm_large=360

norm_small=230

vert_large=400

vert_small=240

pin_large=500

pin_small=200

horz_large=240

horz_small=150

letter_wheel_x=800

letter_wheel_y=384

text_width=700

text_font=Style4

small_text_width=260

large_text_width=400

text_stroke_size=6

text_stroke_color=0x000000

text_color1=0x00BFFD

text_color2=0xFFFFFF

text_color3=0x00BFFD

color_ratio=139

shadow_distance=0

shadow_angle=45

shadow_color=0x000000

shadow_alpha=1

shadow_blur=0

[pointer]

animated=true

x=975

y=384

[video defaults]

path=F:\HyperSpin\Media\Sega Dreamcast\Video\

[sounds]

game_sounds=true

wheel_click=true

[navigation]

game_jump=50

use_indexes=false

jump_timer=400

remove_info_wheel=false

remove_info_text=false

use_last_game=false

last_game=Soul Calibur

random_game=false

start_on_favorites=false

[special Art A]

default=false

active=true

x=512

y=720

in=0.4

out=0.4

length=3

delay=0

type=normal

start=bottom

[special Art B]

default=true

active=true

x=512

y=740

in=0.4

out=0.4

length=3

delay=0

type=fade

start=none

[special Art C]

active=true

x=512

y=384

in=0

out=0

length=3

delay=10

type=fade

start=none

[Game Text]

game_text_active=true

show_year=true

show_manf=true

show_description=true

text_color1=0xffffff

text_color2=0x0099cc

stroke_color=0x000000

text_font=Style1

text1_textsize=26

text1_strokesize=7

text1_x=32

text1_y=610

text2_textsize=36

text2_strokesize=8

text2_x=30

text2_y=640

Here is my nullDC.cfg

;; nullDC config file;;

[nullDC]

Dynarec.Enabled=1

Dynarec.DoConstantPropagation=1

Dynarec.SafeMode=1

Dynarec.UnderclockFpu=0

Dreamcast.Cable=3

Dreamcast.RTC=1990436719

Dreamcast.Region=3

Dreamcast.Broadcast=4

Emulator.AutoStart=1

Emulator.NoConsole=1

[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=PuruPuru_Win32.dll:1

Current_maple0_1=XMaple_Win32.dll:3

Current_maple1_5=NULL

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=0

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

Fullscreen.Enabled=1

Fullscreen.Res_X=800

Fullscreen.Res_Y=600

[imageReader]

PatchRegion=0

LoadDefaultImage=1

DefaultImage=F:\HyperSpin\Emulators\RomFiles\Sega Dreamcast Games\Soul Calibur.rar

LastImage=c:\game.gdi

[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=66

PortA_CONT_B=88

PortA_CONT_A=86

PortA_CONT_START=16

PortA_CONT_DPAD_UP=38

PortA_CONT_DPAD_DOWN=40

PortA_CONT_DPAD_LEFT=37

PortA_CONT_DPAD_RIGHT=39

PortA_CONT_Z=77

PortA_CONT_Y=90

PortA_CONT_X=67

PortA_CONT_DPAD2_UP=0

PortA_CONT_DPAD2_DOWN=0

PortA_CONT_DPAD2_LEFT=0

PortA_CONT_DPAD2_RIGHT=0

PortA_CONT_ANALOG_UP=73

PortA_CONT_ANALOG_DOWN=75

PortA_CONT_ANALOG_LEFT=74

PortA_CONT_ANALOG_RIGHT=76

PortA_CONT_LSLIDER=65

PortA_CONT_RSLIDER=83

PortB_CONT_C=66

PortB_CONT_B=88

PortB_CONT_A=86

PortB_CONT_START=16

PortB_CONT_DPAD_UP=38

PortB_CONT_DPAD_DOWN=40

PortB_CONT_DPAD_LEFT=37

PortB_CONT_DPAD_RIGHT=39

PortB_CONT_Z=77

PortB_CONT_Y=90

PortB_CONT_X=67

PortB_CONT_DPAD2_UP=0

PortB_CONT_DPAD2_DOWN=0

PortB_CONT_DPAD2_LEFT=0

PortB_CONT_DPAD2_RIGHT=0

PortB_CONT_ANALOG_UP=73

PortB_CONT_ANALOG_DOWN=75

PortB_CONT_ANALOG_LEFT=74

PortB_CONT_ANALOG_RIGHT=76

PortB_CONT_LSLIDER=65

PortB_CONT_RSLIDER=83

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

[PuruPuru_Pad_1]

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_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

Posted

You really should go to the new hyperlaunch. Yes, it will make your other emulators not work until you download appropriate modules for them. Also, that is the latest compiled version of nullDC, but you need to run the small upgrades to get to the newer versions, or find a pre-compiled newer version elsewhere. In my experience, version .136 does not run as many roms as the version for which the modules support, which I believe is .141 off the top of my head. Does it give you this error when trying multiple roms?

Posted

Solved.

Thanks for getting back so quickly. You reminding me to check a differnet file sparked an idea. My SNES roms are all zipped so I had set the extension for my dreamcast games to be zipped as well. Once I changed my ini file to use CDI extension instead of RAR it worked first time.

I have a few more emulators I want to add and I do not want to do this again so I will go through the effort to upgrade so I dont run into headaches in the future.

Thanks!

  • 1 year later...
  • 2 weeks later...
Posted

I just downloaded HyperSpin+HyperLaunch 2 days ago and I'm having this problem with NullDC as well.

E:\HyperSpin\Settings\Sega Dreamcast.ini

[exe info]
path=
rompath=
userompath=true
exe=
romextension=
parameters=
searchsubfolders=true
pcgame=false
winstate=HIDDEN
hyperlaunch=true

[filters]
parents_only=false
themes_only=false
wheels_only=false

[themes]
use_parent_vids=true
use_parent_themes=false
animate_out_default=false
reload_backgrounds=false

[wheel]
alpha=.15
small_alpha = 1
style=normal
speed=high
pin_center_width=500
horz_wheel_y=512
vert_wheel_position=right
y_rotation=center
norm_large=360
norm_small=230
vert_large=400
vert_small=240
pin_large=500
pin_small=200
horz_large=240
horz_small=150
letter_wheel_x=800
letter_wheel_y=384
text_width=700
text_font=Style4
small_text_width=260
large_text_width=400
text_stroke_size=6
text_stroke_color=0x000000
text_color1=0x00BFFD
text_color2=0xFFFFFF
text_color3=0x00BFFD
color_ratio=139
shadow_distance=0
shadow_angle=45
shadow_color=0x000000
shadow_alpha=1
shadow_blur=0

[pointer]
animated=true
x=975
y=384

[video defaults]
path=C:\HyperSpin\Media\Sega Dreamcast\Video\

[sounds]
game_sounds=true
wheel_click=true

[navigation]
game_jump=50
use_indexes=false
jump_timer=400
remove_info_wheel=false
remove_info_text=false
use_last_game=false
last_game=Bust-A-Move 4 (USA)
random_game=false

start_on_favorites=false
[special Art A]
default=false
active=true
x=512
y=720
in=0.4
out=0.4
length=3
delay=0
type=normal
start=bottom

[special Art B]
default=true
active=true
x=512
y=740
in=0.4
out=0.4
length=3
delay=0
type=fade
start=none

[special Art C]
active=true
x=512
y=384
in=0
out=0
length=3
delay=10
type=fade
start=none

[Game Text]
game_text_active=true
show_year=true
show_manf=true
show_description=true
text_color1=0xffffff
text_color2=0x0099cc
stroke_color=0x000000
text_font=Style1
text1_textsize=26
text1_strokesize=7
text1_x=32
text1_y=610
text2_textsize=36
text2_strokesize=8
text2_x=30
text2_y=640

Anybody? I want to get this working.. :(

Posted

I have been working on this u have to not work in hyperspin try the emu first in null dc options go to gd rom untick use default image and press select image find your game works great what trying to find out is does null dc work with 7zip games and can null dc have a folder rather then sub game folders

Posted

Got mine working with hyperhq controller set up works great be happy to help got to go to work for a few hours send me message

Posted

I get this sort of error it seems like every time I come back to Dreamcast after not playing for a while and then it takes forever to figure it out again from scratch. And I am not smart enough to understand the fancy module that is supplied for nullDC....so I put my own together.

Seems to load .cdi and gdi (inside zipped files) fine so far.

A few dont work but they dont work outside of hyperspin/hyperlaunch so thats probably a bad .cdi file issue or something.......

no fullscreen support because I am using a bezel

and this emulator seems to remember its fullscreen status...so open it outside hyperspin .... fullscreen it....then close it...viola

it has a blockinput command which on my system requires hyperspin and xpadder to be run as administrators....just fyi

MEmu = NullDC
MEmuV =  r141
MURL = https://code.google.com/p/nulldc/
MAuthor = 
MVersion = 
MCRC = 
iCRC = 
MID = 
MSystem = "Sega Dreamcast"

BlockInput, On
StartModule()
BezelGUI()
FadeInStart()
settingsFile := modulePath . "\" . moduleName . ".ini"
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
BezelStart()
7z(romPath, romName, romExtension, 7zExtractPath)

Run(executable, emuPath)

WinWait("nullDC ahk_class ndc_main_window")
WinWaitActive("nullDC ahk_class ndc_main_window")

Sleep, 500
WinMenuSelectItem,nullDC ahk_class ndc_main_window,,File,Normal Boot

WinWait("Select Image File ahk_class #32770")
WinWaitActive("Select Image File ahk_class #32770")

Sleep, 1111
Loop {
	ControlGetText, edit1Text, Edit1, Select Image File ahk_class #32770
	If ( edit1Text = romPath . "\" . romName . romExtension )
		Break
	Sleep, 100
	ControlSetText, Edit1, %romPath%\%romName%%romExtension%, 

Select Image File ahk_class #32770
}
Sleep, 1000
ControlSend, Button1, {Enter}, Select Image File ahk_class #32770

Sleep, 500
WinMinimize, nullDC ahk_class ConsoleWindowClass


BlockInput, Off

FadeInExit()
BezelDraw()
Process("WaitClose", executable)
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()

CloseProcess:
FadeOutStart()
WinClose("nullDC ahk_class ndc_main_window")
Process, Close, nullDC_Win32_Release-NoTrace.exe
Return

Under Options > GDRom ---> I have everything unchecked......

and in task manager my nulldc is listed as "nullDC_Win32_Release-NoTrace.exe"....I use a process, close command in the .ahk file

and i also made my nulldc.cfg file "read only"...not sure if that is necessary but emulator SEEMs like it forgets setting...dunno

here it is in action

(with fade turned off)

ZuN5hITty3M

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...