Joined
·
12 Posts
i made a simple loader( naomi loader ), please test it
MEGAUPLOAD - The leading online storage and file delivery service
byeee!!
MEGAUPLOAD - The leading online storage and file delivery service
byeee!!
You must open the ini file and fill it with your own parameters. You must be check the time of delay with a cronometer and put the seconds in the .ini file.C:\JUEGOS\naomi\naomi.exe
C:\JUEGOS\naomi\roms\Capcom vs SNK Pro\snkvscap.lst
3
3
13
INSTRUCTIONS
PATH FROM NULLDC-NAOMI EXECUTABLE
PATH FROM *.LST FILE OF THE ROM
TIME TO NULLDC-NAOMI WINDOW IS LOADED IN FIRST PLANE AND READY TO USE
TIME TO "FILE\OPEN" WINDOW IS LOADED AND READY
TIME TO ROM IS LOADED 100% AND READY TO SEND AT FULLSCREEN
Sounds complicated. Wouldn't it be easier to pass on the LST file path on the fly? Or Write to the INI the game you are calling?for each game you must have a exe an ini file
#NoEnv
#SingleInstance force
#Persistent
#NoTrayIcon
;CHECKING FOR 1 PARAMS, IF NOT THEN EXIT
if 0 < 1
{
MsgBox Usage: Naomi_Loader.exe "[rompath]\[romfile]"
ExitApp
}
Blockinput on ; Keeps users from messing up loader my pressing buttons and moving mouse
rom = "%1%" ; error level (rompath romfile) gives friendly name as ROM
SetBatchLines -1
Gui +AlwaysOnTop -Caption +ToolWindow ; No title, No taskbar icon
Gui Color, 0 ; Color Black
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
;WinSet Transparent, 200, A ; Can be semi-transparent
MouseGetPos X, Y ; Remember pos to return
MouseMove %A_ScreenWidth%,%A_ScreenHeight% ; Move pointer off screen
IniWrite, 1, nulldc.cfg, nullDC, Emulator.AutoStart
IniWrite, 1, nulldc.cfg, nullDC, Emulator.NoConsole
IniWrite, 1, nulldc.cfg, drkpvr, Fullscreen.Enabled
IniWrite, 640, nulldc.cfg, drkpvr, Fullscreen.Res_X
IniWrite, 480, nulldc.cfg, drkpvr, Fullscreen.Res_Y
Run, nullDC-Naomi_1.0.3_nommu.exe ; launches emulator
WinWait, Open, Open as &read-only
IfWinNotActive, Open, Open as &read-only, WinActivate, Open, Open as &read-only
WinWaitActive, Open, Open as &read-only ; waits for load dialog
Sleep, 100
SendInput,%rom% ; sends rompath romfile from exe syntax
Send, {enter} ; loads roms by pressing enter
Sleep, 7000 ; Gives time for loading to finish before unhiding desktop
Gui Destroy ; Remove blinds from desktop
Blockinput off ; Allows user to send inputs so games can be played
Process, WaitClose, nullDC-Naomi_1.0.3_nommu.exe
MouseMove %X%, %Y% ; Restore mouse
return
ESC::
Process, Close, nullDC-Naomi_1.0.3_nommu
ExitAPP
Private ruta_nulldc, ruta_rom, delay_nulldc, delay_open, delay_loaded As String
Private contadorx As Integer
Private Sub Command1_Click()
'ejecuto emu, alt, abajo, enter, pego text, enter, cuento 20, alt+enter
Shell Text5.Text, vbNormalFocus
Clipboard.Clear
Clipboard.SetText Text1.Text
End Sub
Private Sub Form_Load()
contadorx = 0
Open App.Path + "\configuracion.ini" For Input As #1
Line Input #1, ruta_nulldc
Line Input #1, ruta_rom
Line Input #1, delay_nulldc
Line Input #1, delay_open
Line Input #1, delay_loaded
Close #1
Shell Text5.Text, vbNormalFocus
Clipboard.Clear
Clipboard.SetText Text1.Text
End Sub
Private Sub Timer4_Timer()
contadorx = contadorx + 1
If contadorx = Int(delay_nulldc) Then
SendKeys "%" 'alt
SendKeys "{ENTER}" 'bajo
SendKeys "{ENTER}" 'enter
End If
If contadorx = Int(delay_nulldc) + Int(delay_open) Then
SendKeys "^v" 'pego ruta
SendKeys "{ENTER}" 'enter
End If
If contadorx = Int(delay_nulldc) + Int(delay_open) + Int(delay_loaded) Then
SendKeys "%{ENTER}" 'pantalla completa
Unload Me
Exit Sub
End If
End Sub