shatteredzman Posted May 6, 2015 Posted May 6, 2015 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. 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 Error. 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
makako Posted April 13, 2016 Posted April 13, 2016 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 . I came one year later but i hope you continue with the idea of using nulldc,the best emulator for Naomi and Atomiswave Enjoy!!! ;----------------------------------------------------------------------------; Sega Naomi & Atomiswave; NullDC v.104 r150; by Makako; 1.0;----------------------------------------------------------------------------;SettingsautoStart = 1noConsole = 1autoHideMenu = 1fullScreen = 1showVMU = 0loadDefaultImage = 0patchRegion = 1configPath = %emuPath%nullDC.cfg;Write SettingsIniWrite, %autoStart%, %configPath%, nullDC, Emulator.AutoStartIniWrite, %noConsole%, %configPath%, nullDC, Emulator.NoConsoleIniWrite, %autoHideMenu%, %configPath%, nullDC_GUI, AutoHideMenuIniWrite, %fullScreen%, %configPath%, nullDC_GUI, FullscreenIniWrite, %showVMU%, %configPath%, drkMaple, VMU.Show;Fixes hangin previous nullDC on bad exits or loadsProcess, Exist, %executable%if !ErrorLevel = 0Process, Close, %executable%;Let's run nulldc hiding the launcher,making the window transparentRun, %executable%, %emuPath%, hide`Gui +LastFoundGui ShowWinSet Transparent, 1, ASleep, 1000Gui DestroyWinSet Transparent, 1, A;We send the full name of the rom to emulatorSend, %romname%%RomExtension% ; sends rompath romfile from exe syntax;give time to nullDC run properly and enter the name of the rom.Gui +LastFoundGui ShowSleep, 1000Gui DestroySend, {enter}Sleep, 1000WinShow, nullDCProcess, WaitClose, %executable% ExitApp CloseProcess: Process, Close, %executable%return
Logics21 Posted April 14, 2016 Posted April 14, 2016 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.
makako Posted April 14, 2016 Posted April 14, 2016 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 loadsProcess, Exist, %executable%if !ErrorLevel = 0Process, 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..... Put here the code of the demul.ahk and i will try to help you.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.