llamar a un archivo swf, desde mamewah
sydaroa
view post Escrito el 4/9/2005, 21:53
Avatar

Famfrit

Grupo: Moderadores generales
Mensajes: 1102
Location: En algún rincón de Ivalice


Status: Offline: ultima azione eseguita il 10/1/2007, 08:50


Precisamente el wrapper hace lo que comenta quark, al pulsar ESC simula la pulsación de ALT+F4
sydaroa
view post Escrito el 5/9/2005, 00:01
Avatar

Famfrit

Grupo: Moderadores generales
Mensajes: 1102
Location: En algún rincón de Ivalice


Status: Offline: ultima azione eseguita il 10/1/2007, 08:50


Bueno pues ya lo he conseguido

El programa a usar es SWFOpener, lo encontrareis en

http://www.browsertools.net/

El ini sería



### flash.ini (mamewah v1.60) ###

emulator_title flash

### List Generation Settings ###
rom_path c:\archivos de programa\Unh solutions\swf opener
rom_extension swf
dat_file
nms_file
catver_ini_file
list_generation_method rom_folder

### Execution Settings ###
emulator_executable c:\archivos de programa\Unh solutions\swf opener\flashwrapper.exe
commandline_format "[rompath]\[name].[romext]" -full {nodosbox}{safelaunch}
alt_commandline_format_1 [name]{autodosbox}{nosafelaunch}
alt_commandline_format_2 [name]{autodosbox}{nosafelaunch}
game_specific_config_path

### Artwork Locations ###
artwork_1_image_path
artwork_2_image_path
artwork_3_image_path
artwork_4_image_path
artwork_5_image_path
artwork_6_image_path
artwork_7_image_path
artwork_8_image_path
artwork_9_image_path
artwork_10_image_path
movie_preview_path
movie_artwork_no 1

### Screen-Saver Settings ###
enable_music_in_screensaver 1
saver_type slideshow
movie_path
movie_fullscreen 1
quit_delay 30
wrapper_executable
wrapper_commandline_format [name]{nodosbox}{nosafelaunch}
scr_file

### External Application Settings ###
ipc_file_or_path
app_1_executable
app_1_commandline_format
app_2_executable
app_2_commandline_format
app_3_executable
app_3_commandline_format
auto_launch_apps

### Additional Settings ###
music_path
lcd_display_file_path
lcd_fe_text

### Settings used by MAMEWAH ###
current_list 0


Para el wrapper descargaremos uno de la pagina de marcianitos, por ejemplo el del karaoke.
El archivo exe lo renombramos flashwrapper.exe
El archivo lconfig lo editamos y lo ponemos asi:

#this is a config file for the launcher wrapper program
#turn on wordwrap for best viewing results


# Leave at 0 to hide the command line while the emulator is launching.

LAUNCHSTYLE=0

#each command in an emu is usually followed by a delimeter (in mame it's a "-" for example) put this deliemter in the following line

delimeter=-


#put the mame command or romname followed by a ";" and the command that does the same thing in the emu your launching (like in zinc to launch a game you type it's number so sfex;1 would launch sfex for you)

{cmdlist}

{/cmdlist}
#put the name of the emulator you wish to launch immediately following this comment

exe=SWFOpener.exe

#Some emus don't like spaces in the filenames or paths
#turn this on to send a short filename to the emu

Short=0

# this will wrap your filepaths in quotes, an alternative to short

Quotes=0

#Set this to how often you want the wrapper to check for the exit key...
#It's in milliseconds.... 1000 = about 1 second

refreshspeed=1


#Choose which way to exit the emulator.
#0=Let emu close itself.
#1=Try all methods
#2=Try Alt-F4 method
#3=Try Posting a Close Message
#4=Try Posting a Exit Message
#5=Terminate Process (sloppy, but always works)
#Use only 0 or 1 unless you run into problems.

ExitType=2


#Current Problem Emus and the Settings your should use:

#Zinc=5
#Nebula=5
#Nebula Model 2=5

# If you discover another problem emu please contact me and I'll add it to the list.

y ya está, a disfrutarlo

PD mirad esta página

Pagina

Saludos

Modificado por sydaroa - 5/9/2005, 01:04
littlecharlie
view post Escrito el 5/9/2005, 17:35
Avatar

pangeando

Grupo: Member
Mensajes: 542
Location: Valencia


Status: Offline: ultima azione eseguita il 24/6/2006, 17:04


eres un as jefe
funciona perfecto, se abren bien los swf, a pantalla completa, puedes usar el raton y sales al mamewah con el ESC
lo he probado en mi ordenador, en cuanto solucione unos problemas en la recre lo metere y pegare unos tiritos

muchas gracias!
sydaroa
view post Escrito el 5/9/2005, 22:32
Avatar

Famfrit

Grupo: Moderadores generales
Mensajes: 1102
Location: En algún rincón de Ivalice


Status: Offline: ultima azione eseguita il 10/1/2007, 08:50


De nada, para eso estamos, ahora a currarse un layout
18 respuesta(s) desde el 31/8/2005, 12:54