[quote="Solid Snake"]Ma per l'emulatore di dreamcast , come faccio a fargli capire quando voglio l'atomiswawe o la naomi od il dreamcast? Cavoli, è complicata come cosa...
Diventando membro gold avreri tutta la pappa pronta?
ciao a tutti per cominciare.
mi sono abbastanza specializzato nell'hyperspin e posso dire che è (secondo me)il front del secolo,ma anche il + difficile da utilizzare,l'uso di autohotkey è fondamentale per questo front.
autohotkey conosciuto anche per ahk è un programmino mooolto interessante,il quale tramite un file di testo puntato ahk lancia tutte le applicazioni come se fosse un batch ma molto + complicato.
quindi quando inserisci un emulatore devi saper modificare questo file di testo,praticamente non trovi la pappa pronta.
però basta prendere spezzoni di testo da un'altro file ahk ed aggiungerlo al tuo,ma un minimo di conoscenza tecnica ci vuole.
esempio.
;***********************************Atomiswave 56************************************
;Required - Settings.ini:
;
http://www.hyperspin-fe.com/forum/showp ... tcount=113
if (systemName = "Atomiswave" && executable = "demul.exe")
{
hideDesktop()
Hotkey, %exitEmulatorKey%, CloseProcess
;Blockinput on
;\\\optional plain black screen\\\
;Gui +AlwaysOnTop -Caption +ToolWindow
;Gui, color, 0
;Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
;\\\Please Wait Loading Screen change size,color,font,background color,what you want to say\\\
IniRead, Long_RomName, %emupath%settings.ini, %Romname%, Long_RomName
WinHide ahk_class Shell_TrayWnd
guiheight:=A_ScreenHeight/9*4
Gui, +toolwindow -Caption +AlwaysOnTop
Gui, Color, black
Gui, Font, S24 Cred, verdanna
Gui, Add, Text, y%guiheight% W%A_ScreenWidth% H%A_ScreenHeight% Center, Please Wait! Now Loading...`n %systemnane%`n`n"%Long_RomName%" ;"%romname%"
Gui, Show, W%A_ScreenWidth% H%A_ScreenHeight%,
IniRead, system, %emupath%settings.ini, %RomName%, System,
IniRead, Screen_Timeout, %emupath%settings.ini, %Romname%, Screen_Timeout
IniRead, LoadDecrypted, %emupath%settings.ini, %Romname%, LoadDecrypted
;\\\This section swaps out controls for different game types\\\
demul_controller_code = 16777216
demul_mouse_code = 131072
demul_keyboard_code = 1073741824
demul_lightgun_code = -2147483648
IniRead, controls, %emupath%settings.ini, %RomName%, controls, standard
IniRead, current_device, %emupath%demul.ini, PORTB, device, demul_controller_code
IniRead, current_controls, %emupath%padDemul.ini, CONTROL_TYPE, CONTROL_TYPE, standard
If(controls = "standard" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%STANDARD_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "sfstyle" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%SFSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "ggxstyle" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%GGXSTYLE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "reverse" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%REVERSE_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "driving" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%DRIVING_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "fps" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%FPS_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "samba" && (current_device != demul_controller_code or current_controls != controls))
{
filecopy, %emupath%SAMBA_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_controller_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "lightgun" && (current_device != demul_mouse_code or current_controls != controls))
{
filecopy, %emupath%STANDARD_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_mouse_code%, %emupath%demul.ini, PORTB, device
}
Else if(controls = "keyboard" && (current_device != demul_keyboard_code or current_controls != controls))
{
filecopy, %emupath%STANDARD_padDemul.ini, %emupath%padDemul.ini, 1
IniWrite, %demul_keyboard_code%, %emupath%demul.ini, PORTB, device
}
;\\\add sounds\\\
;sounds go in demul directory change to .mp3 if desired or specify a directory of sounds for "romname"
;soundplay, %A_ScriptDir%\%systemame%.wav
;soundplay, %A_ScriptDir%\%Romname%.wav
;soundplay, %A_ScriptDir%\%anyname%.wav
If (LoadDecrypted = "false")
{
Run, %emupath%%executable% -run=%system% -rom=%Romname%
sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
Blockinput off
sleep, 1000
Gui Destroy
winactivate, DEMUL
Process, WaitClose, %executable%
}
else if (LoadDecrypted = "true")
{
Run, %emupath%%executable% -run=%system% -rom=%Romname%
send, {Down 2}
send, {ENTER}
send, {shiftdown}{Tab}{Shiftup}
send, {Enter}
sleep, 2000
clipboard=
clipboard=%A_ScriptDir%\%romName%
ClipWait
Sleep,100
Send,^v
Sleep,100
send, {ENTER}
sleep, %Screen_Timeout%
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
Blockinput off
sleep, 1000
Gui Destroy
winwaitactive, DEMUL
Process, WaitClose, %executable%
}
}
questo lancia lemulatore atoms e lo butta a tutto schermo 640x480 in automatico.
per fare un minimo di tutorial
send, {ALTDOWN}{ENTER}{ALTUP} ; Go full Screen demul 56
questo comando simula la pressione dei tasti alt ed enster per mandare l'emu in fullscreen
mentre questo lancia il demul e le rom sia naomi dreamcast atomiswave
;***************************************************************
;Sega Naomi Demul 0.5.5
;Atomiswave
;Required - Settings.ini:
http://www.hyperspin-fe.com/forum/sh...5&postcount=54
else if (executable = "demul.exe")
{
Blockinput on
SetDefaultMouseSpeed, 0
MouseGetPos X, Y
MouseMove %A_ScreenWidth%,-%A_ScreenHeight%
Gui +AlwaysOnTop -Caption +ToolWindow
Gui, color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
IniRead, num_down, %emupath%settings.ini, %RomName%, Down_Count, 0
IniRead, system, %emupath%settings.ini, %RomName%, System, Atomiswave
Run, "%emupath%%executable%", Hide UseErrorLevel
winactivate %executable%
sleep, 1000 ; wait a moment for emulator to load
send, {AltDown}{AltUP}
send, {down}
sleep, 500
if (system = "Atomiswave")
{
send, {Down}
send, {Down}
send, {ENTER}
send, {DOWN %num_down%} ; send down keystroke to select rom
send, {ALTDOWN}{ENTER}{ALTUP}
send, {ENTER}
sleep, 10000 ; sleep for 10 seconds before pressing f8 key
send, {F8} ; Go full Screen
sleep, 1000
Gui Destroy
SetDefaultMouseSpeed, 2
Blockinput off
}
if (system = "Atomiswave Load Decrypted")
{
send, {Down}
send, {Down}
send, {ENTER}
send, {DOWN %num_down%} ; send down keystroke to select rom
send, {ALTDOWN}{ENTER}{ALTUP}
send, {ENTER}
sleep, 10000 ; sleep for 10 seconds before pressing f8 key
send, {F8} ; Go full Screen
sleep, 1000
Gui Destroy
Blockinput off
}
Else if (system = "Naomi")
{
send, {Down}
send, {ENTER}
send, {DOWN %num_down%} ; send down keystroke to select rom
send, {ALTDOWN}{ENTER}{ALTUP}
send, {ENTER}
sleep, 10000 ; sleep for 10 seconds before pressing f8 key
send, {F8} ; Go full Screen
sleep, 1000
Gui Destroy
SetDefaultMouseSpeed, 2
Blockinput off
}
Else if (system = "Naomi Load Decrypted")
{
send, {Down}
send, {ENTER}
send, {Tab}
send, {Tab}
send, {Tab}
send, {ENTER}
send, {shiftdown}{Tab}{Shiftup}
send, {shiftdown}{Tab}{Shiftup}
send, {DOWN %num_down%} ; send down keystroke to select rom
send, {ENTER}
sleep, 10000 ; sleep for 10 seconds before pressing f8 key
send, {F8} ; Go full Screen
sleep, 1000
Gui Destroy
SetDefaultMouseSpeed, 2
Blockinput off
}
Else if (system = "Hikaru")
{
send, {Down}
send, {Down}
send, {Down}
send, {ENTER}
send, {Tab}
send, {Tab}
send, {Tab}
send, {ENTER}
send, {shiftdown}{Tab}{Shiftup}
send, {shiftdown}{Tab}{Shiftup}
send, {DOWN %num_down%} ; send down keystroke to select rom
send, {ENTER}
sleep, 10000 ; sleep for 10 seconds before pressing f8 key
send, {F8} ; Go full Screen
sleep, 1000
Gui Destroy
SetDefaultMouseSpeed, 2
Blockinput off
}
Else if (system = "Hikaru Load Decrypted")
{
send, {Down}
send, {Down}
send, {Down}
send, {ENTER}
send, {Tab}
send, {Tab}
send, {Tab}
send, {ENTER}
send, {shiftdown}{Tab}{Shiftup}
send, {shiftdown}{Tab}{Shiftup}
send, {DOWN %num_down%} ; send down keystroke to select rom
send, {ENTER}
sleep, 10000 ; sleep for 10 seconds before pressing f8 key
send, {F8} ; Go full Screen
sleep, 1000
Gui Destroy
SetDefaultMouseSpeed, 2
Blockinput off
}
}
siamo chiari questi sono gli script + complicati se si intende mettere il mame,nintendo ,sega o atari.
il tutto diventa molto + semplificato