Jump to content
(Open Beta) HyperSpin 2 is now available for everyone ×

Need help getting NullDC Naomi working


shatteredzman

Recommended Posts

Posted

So I have been trying to get Naomi into Hyperspin and have ran into a bit of a roadblock. I originally tried to use NullDC Naomi and couldn't get it to work. Then I tried Makaron, but it is not compatible with my graphics card. I cannot upgrade the card because I am using an all in one micro pc. I don't think there is a way to fix this. I installed the proper directx package as well as C++ redistributable, but that didn't resolve it. I'm fine with this since I would rather have NullDC working.

 bQ965bT.png

 

After giving up on Makaron I went on to try Demul and I was able to get it to play games, but not launch in Hyperspin.

 

I decided to go back to NullDC Naomi and give it another shot since I got the furthest with it and I think its a simple fix. I'm able to get it to launch in Hyperspin, but depending on the way I configure the AHK it prompts for a rom to be opened or gives an error. Since I use NullDC to play Dreamcast games I figured I could just copy the AHK file that comes with Hyperspin and it would work. It looks like NullDC Naomi launches roms differently.

 

I'm pretty sure what it comes down to is this setting. 

loadDefaultImage

If I enable it I get the error message. If I disable it I get prompted for the file. I can then select a game and it works fine.

 
Prompt

Fqrylj5.png

 

 

Error.

U7j0PhJ.png

 

 

Here is the AHK. What do I need to modify to get it to launch roms properly?

 

 

 

 

;----------------------------------------------------------------------------
; Sega Naomi
; NullDC r104
; by BBB
; 1.0
;----------------------------------------------------------------------------
 
;Settings
autoStart = 1
noConsole = 1
autoHideMenu = 1
fullScreen = 1
showVMU = 0
loadDefaultImage = 1
patchRegion = 1
configPath = %emuPath%nullDC.cfg
 
;Write Settings
IniWrite, %autoStart%, %configPath%, nullDC, Emulator.AutoStart
IniWrite, %noConsole%, %configPath%, nullDC, Emulator.NoConsole
IniWrite, %autoHideMenu%, %configPath%, nullDC_GUI, AutoHideMenu
IniWrite, %fullScreen%, %configPath%, nullDC_GUI, Fullscreen
IniWrite, %showVMU%, %configPath%, drkMaple, VMU.Show
IniWrite, %loadDefaultImage%, %configPath%, ImageReader, LoadDefaultImage
IniWrite, %patchRegion%, %configPath%, ImageReader, PatchRegion
IniWrite, %romPath%%romname%%RomExtension%, %configPath%, ImageReader, DefaultImage
 
;Fixes hangin previous nullDC on bad exits or loads
Process, Exist, %executable%
if !ErrorLevel = 0
Process, Close, %executable%
 
Run, %executable%, %emuPath%, hide
;Enough to hide the startup logo
Sleep, 2000
 
;Let's completely hide the menu by slighly moving the window off screen
;nullDC will self adjust once the menu autohides
if(fullScreen = 1){
  yOffset = -20
  winHeight := A_ScreenHeight - yOffset
  WinMove, nullDC,, 0, %yOffset%, %A_ScreenWidth%, %winHeight%
}
 
WinShow, nullDC
 
Process, WaitClose, %executable%     
 
ExitApp
           
CloseProcess:
  Process, Close, %executable%
return
  • 11 months later...
Posted

Hi,shatteredzman.

I had the same problem, I wanted to use nulldc 104 for Naomi in Hyperspin.I learned a pair of things about autohotkeys and I created this one.

At least to me, works perfectly,report any error :P .

I came one year later but i hope you continue with the idea of using nulldc,the best emulator for Naomi and Atomiswave

  Enjoy!!! :D

 

;----------------------------------------------------------------------------
; Sega Naomi & Atomiswave
; NullDC v.104 r150
; by Makako
; 1.0
;----------------------------------------------------------------------------

;Settings
autoStart = 1
noConsole = 1
autoHideMenu = 1
fullScreen = 1
showVMU = 0
loadDefaultImage = 0
patchRegion = 1
configPath = %emuPath%nullDC.cfg

;Write Settings
IniWrite, %autoStart%, %configPath%, nullDC, Emulator.AutoStart
IniWrite, %noConsole%, %configPath%, nullDC, Emulator.NoConsole
IniWrite, %autoHideMenu%, %configPath%, nullDC_GUI, AutoHideMenu
IniWrite, %fullScreen%, %configPath%, nullDC_GUI, Fullscreen
IniWrite, %showVMU%, %configPath%, drkMaple, VMU.Show

;Fixes hangin previous nullDC on bad exits or loads
Process, Exist, %executable%
if !ErrorLevel = 0
Process, Close, %executable%

;Let's run nulldc hiding the launcher,making the window transparent

Run, %executable%, %emuPath%, hide`
Gui +LastFound
Gui Show
WinSet Transparent, 1, A
Sleep, 1000
Gui Destroy
WinSet Transparent, 1, A
;We send the full name of the rom to emulator
Send, %romname%%RomExtension% ; sends rompath romfile from exe syntax
;give time to nullDC run properly and enter the name of the rom.
Gui +LastFound
Gui Show
Sleep, 1000
Gui Destroy
Send, {enter}
Sleep, 1000
WinShow, nullDC
Process, WaitClose, %executable%     

ExitApp
           
CloseProcess:
  Process, Close, %executable%

return

Posted

I got demul to launch from Hyperspin

I use demul07a_201215 the newest one doesn't even run at all, also sometimes games don't launch and I think its because either the demul emulaor or hyperlaunch process is already running in the background.

Posted

Maybe this piece of code can solve that issue if you are not wrong whith your diagnosis:

 

;Fixes hangin previous nullDC on bad exits or loads
Process, Exist, %executable%
if !ErrorLevel = 0
Process, Close, %executable%

 

Add it just before run demul.Of course I´m not sure,it works on NullDC,in Demul 0.7a will have to check it , tell us if work....or not..... :P

Put here the code of the demul.ahk and i will try to help you.

Archived

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

×
×
  • Create New...