Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
tutos:software:systemes:bandai-wonderswan [2017/01/31 16:03] oijkn créée |
tutos:software:systemes:bandai-wonderswan [2017/02/14 11:46] (Version actuelle) thesalan MAJ Ajout du systeme |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Bandai WonderSwan ====== | + | ====== |
- | __Tutoriel original__ : micaelo14 du 29/04/2016 | + | ===== Présentation ===== |
- | {{ | + | {{ :tutos: |
- | < | ||
- | |||
- | \\ | ||
Fondée en 1950 par Naoharu Yamashina, Bandai était à l' origine un fabricant de voitures de jouets et modèles en plastique, mais il est devenu un acteur majeur dans l' | Fondée en 1950 par Naoharu Yamashina, Bandai était à l' origine un fabricant de voitures de jouets et modèles en plastique, mais il est devenu un acteur majeur dans l' | ||
Ligne 14: | Ligne 11: | ||
Le WonderSwan a été officiellement dévoilé à Tokyo le 8 Octobre, 1998. [5] Bandai a choisi le nom du système pour mettre en évidence son esthétique et les capacités techniques parce que le cygne est reconnu comme un oiseau élégant avec des jambes puissantes pour l' aider à nager. [6] La compagnie a promis une vie de 30 heures batterie, un prix de détail faible, et une gamme de lancement d' | Le WonderSwan a été officiellement dévoilé à Tokyo le 8 Octobre, 1998. [5] Bandai a choisi le nom du système pour mettre en évidence son esthétique et les capacités techniques parce que le cygne est reconnu comme un oiseau élégant avec des jambes puissantes pour l' aider à nager. [6] La compagnie a promis une vie de 30 heures batterie, un prix de détail faible, et une gamme de lancement d' | ||
- | L' | + | L' |
Le WonderSwan lancé le 4 Mars, 1999 [4] et était disponible en neuf couleurs de boîtier: blanc perle, Squelette vert, argent métallisé, | Le WonderSwan lancé le 4 Mars, 1999 [4] et était disponible en neuf couleurs de boîtier: blanc perle, Squelette vert, argent métallisé, | ||
Ligne 21: | Ligne 19: | ||
Une refonte de la couleur WonderSwan, intitulé SwanCrystal (スワンクリスタ SuwanKurisutaru ? ), A été libéré au Japon le 12 Juillet 2002 pour ¥ 7800, [11] [12] ¥ 1,000 moins que le Game Boy Advance. [13] Encore une fois , Bandai a tenu un sondage sur son site Web afin de déterminer les couleurs du boîtier et libéré le système Blue Violet, vin rouge, Crystal Blue et Black Crystal. [3] [14] en dépit de son faible prix et un écran LCD amélioré, le SwanCrystal n'a pas pu à la concurrence, | Une refonte de la couleur WonderSwan, intitulé SwanCrystal (スワンクリスタ SuwanKurisutaru ? ), A été libéré au Japon le 12 Juillet 2002 pour ¥ 7800, [11] [12] ¥ 1,000 moins que le Game Boy Advance. [13] Encore une fois , Bandai a tenu un sondage sur son site Web afin de déterminer les couleurs du boîtier et libéré le système Blue Violet, vin rouge, Crystal Blue et Black Crystal. [3] [14] en dépit de son faible prix et un écran LCD amélioré, le SwanCrystal n'a pas pu à la concurrence, | ||
- | </ | + | FIXME : description à reprendre |
- | + | ||
- | Nous utiliserons l' | + | |
- | + | ||
- | __**Paramétrer RL ainsi en mettant Retroarch en émulateur global car il servira pour d' | + | |
- | + | ||
- | {{http:// | + | |
- | + | ||
- | __**Utiliser ce module: | + | |
- | + | ||
- | < | + | |
- | + | ||
- | \\ | + | |
- | MEmu = RetroArch\\ | + | |
- | MEmuV = v05-11-2015 Nightly\\ | + | |
- | MURL = http:// | + | |
- | MAuthor = djvj, | + | |
- | MVersion = 2.3.8\\ | + | |
- | MCRC = 22B378DC\\ | + | |
- | iCRC = F7B77133\\ | + | |
- | MID = 635038268922229162\\ | + | |
- | MSystem = "Acorn BBC Micro"," | + | |
- | ; | + | |
- | ; Notes:\\ | + | |
- | ; If the emu doesn' | + | |
- | ; Devs stated they will never add support for mounted images (like via DT)\\ | + | |
- | ; Fullscreen is controlled via the module setting in RocketLauncherUI\\ | + | |
- | ; This module uses the CLI version of RetroArch (retroarch.exe), | + | |
- | ; The emu may make a mouse cursor appear momentarily during launch, MouseMove and hide_cursor seem to have no effect\\ | + | |
- | ; Enable 7z support for archived roms\\ | + | |
- | ; Available CLI options: https:// | + | |
- | ;\\ | + | |
- | ; LibRetro DLLs:\\ | + | |
- | ; LibRetro DLLs come with the emu, but here is another source for them: http:// | + | |
- | ; Whatever cores you decide to use, make sure they are extracted anywhere in your Emu_Path\cores folder. The module will find and load the default core unless you choose a custom one for each system.\\ | + | |
- | ; You can find supported cores that Retroarch supports simply by downloading them from the " | + | |
- | ; Some good discussion on cores and filters: http:// | + | |
- | ;\\ | + | |
- | ; SRM files:\\ | + | |
- | ; srm are stored in a " | + | |
- | ;\\ | + | |
- | ; Save states:\\ | + | |
- | ; Save states are stored in a " | + | |
- | ;\\ | + | |
- | ; Config files:\\ | + | |
- | ; By default, the module looks for config files in a folder called config in the RetroArch folder. Example: C: | + | |
- | ; RetroArch' | + | |
- | ; RetroArch will also load core config files named after the core name. Example: nestopia_libretro.cfg\\ | + | |
- | ; This allows different settings globally, for each system, and for each core. If you want all systems to use the same retroarch.cfg, | + | |
- | ; If a core config exists, it takes precedence over the global config. And if a system config exists, it takes precedence over the core config.\\ | + | |
- | ;\\ | + | |
- | ; MultiGame: | + | |
- | ; MultiGame support is currently only available for the Mednafen PSX core. Retroarch uses the same method as Mednafen to load multi-disc games. This method involves m3u playlists which are commonly used for music. The m3u files needed to load multi-disc games are generated for you by the module when you launch a multi-disc game and are saved to your corresponding rom directory. Due to m3u limitations, | + | |
- | ; The m3u files generated by the module contain a list of paths to all roms/images in the multi-disc set. Retroarch automatically loads the first path in the m3u so the first path will always be the disc you are loading. For example, Final Fantasy VII has 3 discs and if you load Disc 2 first, the order of the paths in the m3u will be disc 2, disc 3, disc 1. If you load Disc 3 first, the order will be disc 3, disc 1, disc 2. The module anticipates this and will load the correct disk, selected from the Pause/ | + | |
- | ; In order for RocketLauncher' | + | |
- | ;\\ | + | |
- | ; MAME:\\ | + | |
- | ; MAME BIOS roms should be placed in the system\mame folder\\ | + | |
- | ;\\ | + | |
- | ; System Specific Notes:\\ | + | |
- | ; Microsoft MSX/MSX2: Launch an MSX game and in the core options, set the console to be an MSX2 and it will play both just fine.\\ | + | |
- | ; Nintendo Famicom Disk System - Requires disksys.rom be placed in the folder you define as system_directory in the RetroArch' | + | |
- | ; Sega CD - Requires " | + | |
- | ; Super Nintendo Entertainment System - requires split all 10 dsp# & st### roms all be placed in the folder you define as system_directory in the RetroArch' | + | |
- | ; NEC TurboGrafx-CD (using pce fast core) - Requires " | + | |
- | ; NEC TurboGrafx-CD (using MAME core)\\ | + | |
- | ; - You'll need to update a couple mame specific options in the Retroarch core options file to get it to boot from the cli. These should probably be updated automagically by the module. Turning softlists off, but might not need to.\\ | + | |
- | ; mame_boot_from_cli = " | + | |
- | ; mame_softlists_enable = " | + | |
- | ; mame_softlists_auto_media = " | + | |
- | ; - Requires hash folder from MAME/ | + | |
- | ; - Requires the CD bios file(s) saved in the mame bios folder you've defined. Usually \RetroArch\system\mame\bios\\\ | + | |
- | ; For PC Engine-CD you'll need the file "[cd] cd-rom system (japan) (v2.1).pce" | + | |
- | ; For PC Engine SuperGrafx-CD you'll need the file "[cd] super cd-rom system (japan) (v3.0).pce" | + | |
- | ; For TurboGrafx-CD you'll need the file "[cd] turbografx cd system card (usa) (v2.0).pce" | + | |
- | ; For TurboDuo you'll need the file "[cd] turbografx cd super system card (usa) (v3.0).pce" | + | |
- | ; Nintendo Super Game Boy - Set the Module setting in RocketLauncherUI SuperGameBoy to true to enable a system or only a rom to use SGB mode. This is not needed if your systemName is set to the official name of " | + | |
- | ; MAME: The nag screen patch has been removed from the MAME core as of some point in March. We will be investigating our options for this. For MAME-based systems, make sure to set 7z use to false as MAME needs zip files.\\ | + | |
- | ; Sony PSP/ | + | |
- | ; | + | |
- | StartModule()\\ | + | |
- | BezelGUI()\\ | + | |
- | FadeInStart() | + | |
- | + | ||
- | primaryExe := new Process(emuPath . " | + | |
- | emuPrimaryWindow := new Window(new WindowTitle(" | + | |
- | emuConsoleWindow := new Window(new WindowTitle(""," | + | |
- | + | ||
- | ; Here we define all supported systems for this module. This object controls how the module reacts to different systems. RetroArch can play a lot of systems, but needs to know what system you want to run, so this module has to adapt.\\ | + | |
- | ; 1 - Official System Name in RocketLauncher\\ | + | |
- | ; 2 - Short name used only for easy referencing within module\\ | + | |
- | ; 3 - Default core\\ | + | |
- | ; 4 - The system ID MAME core recognizes\\ | + | |
- | RLLog.Debug(" | + | |
- | mTypeVar: | + | |
- | ( LTrim\\ | + | |
- | AAE|LibRetro_AAE|mame_libretro\\ | + | |
- | Acorn BBC Micro|LibRetro_BBCB|mess_libretro|bbcb\\ | + | |
- | Amstrad CPC|LibRetro_CPC|mess_libretro|cpc464\\ | + | |
- | Amstrad GX4000|LibRetro_GX4K|mess_libretro|gx4000\\ | + | |
- | APF Imagination Machine|LibRetro_APF|mess_libretro|apfimag\\ | + | |
- | Apple IIGS|LibRetro_AIIGS|mess_libretro|apple2gs\\ | + | |
- | Applied Technology MicroBee|LibRetro_MBEE|mess_libretro|mbeeic\\ | + | |
- | Atari 2600|LibRetro_2600|stella_libretro|a2600\\ | + | |
- | Atari 5200|LibRetro_5200|mess_libretro|a5200\\ | + | |
- | Atari 7800|LibRetro_7800|prosystem_libretro|a7800\\ | + | |
- | Atari 8-Bit|LibRetro_ATARI8|mess_libretro|a800\\ | + | |
- | Atari Classics|LibRetro_ACLS|mame_libretro\\ | + | |
- | Atari Jaguar|LibRetro_JAG|virtualjaguar_libretro|jaguar\\ | + | |
- | Atari Lynx|LibRetro_LYNX|handy_libretro|lynx\\ | + | |
- | Atari ST|LibRetro_ST|hatari_libretro\\ | + | |
- | Atari XEGS|LibRetro_XEGS|mess_libretro|xegs\\ | + | |
- | Bally Astrocade|LibRetro_BAST|mess_libretro|astrocde\\ | + | |
- | Bandai Gundam RX-78|LibRetro_BGRX|mess_libretro|rx78\\ | + | |
- | Bandai Super Vision 8000|LibRetro_SV8K|mess_libretro|sv8000\\ | + | |
- | Bandai Wonderswan|LibRetro_WSAN|mednafen_wswan_libretro|wswan\\ | + | |
- | Bandai Wonderswan Color|LibRetro_WSANC|mednafen_wswan_libretro|wscolor\\ | + | |
- | Canon X07|LibRetro_CX07|mess_libretro|x07\\ | + | |
- | Capcom Classics|LibRetro_CAPC|mame_libretro\\ | + | |
- | Capcom Play System|LibRetro_CPS1|fba_cores_cps1_libretro\\ | + | |
- | Capcom Play System II|LibRetro_CPS2|fba_cores_cps2_libretro\\ | + | |
- | Capcom Play System III|LibRetro_CPS3|mame_libretro\\ | + | |
- | Casio PV-1000|LibRetro_CAS1K|mess_libretro|pv1000\\ | + | |
- | Casio PV-2000|LibRetro_CAS2K|mess_libretro|pv2000\\ | + | |
- | Cave|LibRetro_CAVE|mame_libretro\\ | + | |
- | Coleco ADAM|LibRetro_ADAM|mess_libretro|adam\\ | + | |
- | ColecoVision|LibRetro_COLEC|mess_libretro|coleco\\ | + | |
- | Commodore Amiga|LibRetro_PUAE|puae_libretro\\ | + | |
- | Commodore Max Machine|LibRetro_CMAX|mess_libretro|vic10\\ | + | |
- | Creatronic Mega Duck|LibRetro_DUCK|mess_libretro|megaduck\\ | + | |
- | Data East Classics|LibRetro_DATA|mame_libretro\\ | + | |
- | Dragon Data Dragon|LibRetro_DRAG64|mess_libretro|dragon64\\ | + | |
- | Elektronika BK|LibRetro_EBK|mess_libretro|bk0010\\ | + | |
- | Elektronska Industrija Pecom 64|LibRetro_P64|mess_libretro|pecom64\\ | + | |
- | Emerson Arcadia 2001|LibRetro_A2001|mess_libretro|arcadia\\ | + | |
- | Entex Adventure Vision|LibRetro_AVISION|mess_libretro|advision\\ | + | |
- | Epoch Game Pocket Computer|LibRetro_GPCKET|mess_libretro|gamepock\\ | + | |
- | Epoch Super Cassette Vision|LibRetro_SCV|mess_libretro|scv\\ | + | |
- | Exidy Sorcerer|LibRetro_SORCR|mess_libretro|sorcerer\\ | + | |
- | Fairchild Channel F|LibRetro_CHANF|mess_libretro|channelf\\ | + | |
- | Final Burn Alpha|LibRetro_FBA|fb_alpha_libretro\\ | + | |
- | Funtech Super Acan|LibRetro_SACAN|mess_libretro|supracan\\ | + | |
- | GamePark 32|LibRetro_GP32|mess_libretro|gp32\\ | + | |
- | GCE Vectrex|LibRetro_VECTX|mess_libretro|vectrex\\ | + | |
- | Hartung Game Master|LibRetro_GMASTR|mess_libretro|gmaster\\ | + | |
- | Interton VC 4000|LibRetro_VC4K|mess_libretro|vc4000\\ | + | |
- | Irem Classics|LibRetro_IREM|mame_libretro\\ | + | |
- | JungleTac Sport Vii|LibRetro_SPORTV|mess_libretro|vii\\ | + | |
- | Konami Classics|LibRetro_KONC|mame_libretro\\ | + | |
- | Magnavox Odyssey 2|LibRetro_ODYS2|mess_libretro|odyssey2\\ | + | |
- | MAME|LibRetro_MAME|mame_libretro|mame\\ | + | |
- | Matra & Hachette Alice|LibRetro_ALICE|mess_libretro|alice32\\ | + | |
- | Mattel Aquarius|LibRetro_AQUA|mess_libretro|aquarius\\ | + | |
- | Mattel Intellivision|LibRetro_INTV|mess_libretro|intv\\ | + | |
- | MGT Sam Coupe|LibRetro_SAMCP|mess_libretro|\\ | + | |
- | Microsoft MS-DOS|LibRetro_MSDOS|dosbox_libretro\\ | + | |
- | Microsoft MSX|LibRetro_MSX|bluemsx_libretro\\ | + | |
- | Microsoft MSX2|LibRetro_MSX2|bluemsx_libretro\\ | + | |
- | Microsoft Windows 3.x|LibRetro_WIN3X|dosbox_libretro\\ | + | |
- | Midway Classics|LibRetro_MIDC|mame_libretro\\ | + | |
- | Namco Classics|LibRetro_NAMC|mame_libretro\\ | + | |
- | Namco System 22|LibRetro_NAM2|mame_libretro\\ | + | |
- | NEC PC Engine|LibRetro_PCE|mednafen_pce_fast_libretro|pce, | + | |
- | NEC PC Engine-CD|LibRetro_PCECD|mednafen_pce_fast_libretro|pce, | + | |
- | NEC PC-FX|LibRetro_PCFX|mednafen_pcfx_libretro\\ | + | |
- | NEC SuperGrafx|LibRetro_SGFX|mednafen_supergrafx_libretro|sgx, | + | |
- | NEC TurboGrafx-16|LibRetro_TG16|mednafen_pce_fast_libretro|tg16, | + | |
- | NEC TurboGrafx-CD|LibRetro_TGCD|mednafen_pce_fast_libretro|tg16, | + | |
- | Nintendo 64|LibRetro_N64|mupen64plus_libretro|n64\\ | + | |
- | Nintendo 64DD|LibRetro_N64|mupen64plus_libretro\\ | + | |
- | Nintendo Arcade Systems|LibRetro_NINARC|mame_libretro\\ | + | |
- | Nintendo Classics|LibRetro_NINC|mame_libretro\\ | + | |
- | Nintendo DS|LibRetro_DS|desmume_libretro\\ | + | |
- | Nintendo Entertainment System|LibRetro_NES|nestopia_libretro|nes\\ | + | |
- | Nintendo Famicom|LibRetro_NFAM|nestopia_libretro\\ | + | |
- | Nintendo Famicom Disk System|LibRetro_NFDS|nestopia_libretro|famicom\\ | + | |
- | Nintendo Game Boy|LibRetro_GB|gambatte_libretro|gameboy\\ | + | |
- | Nintendo Game Boy Advance|LibRetro_GBA|vba_next_libretro|gba\\ | + | |
- | Nintendo Game Boy Color|LibRetro_GBC|gambatte_libretro|gbcolor\\ | + | |
- | Nintendo Game Boy Japan|LibRetro_GBJ|gambatte_libretro|gameboy\\ | + | |
- | Nintendo Game & Watch|LibRetro_GW|gw_libretro\\ | + | |
- | Nintendo Pokemon Mini|LibRetro_POKE|mess_libretro|pokemini\\ | + | |
- | Nintendo Satellaview|LibRetro_NSFS|snes9x_libretro\\ | + | |
- | Nintendo SuFami Turbo|LibRetro_NSFST|snes9x_libretro\\ | + | |
- | Nintendo Super Famicom|LibRetro_NSF|bsnes_balanced_libretro\\ | + | |
- | Nintendo Super Game Boy|LibRetro_SGB|bsnes_balanced_libretro\\ | + | |
- | Nintendo Virtual Boy|LibRetro_NVB|mednafen_vb_libretro|vboy\\ | + | |
- | Othello Multivision|LibRetro_OTHO|genesis_plus_gx_libretro\\ | + | |
- | Panasonic 3DO|LibRetro_3DO|4do_libretro\\ | + | |
- | Philips CD-i|LibRetro_CDI|mess_libretro|cdimono1\\ | + | |
- | Philips Videopac|LibRetro_PVID|mess_libretro|videopac\\ | + | |
- | RCA Studio II|LibRetro_STUD2|mess_libretro|studio2\\ | + | |
- | SCUMMVM|LibRetro_SCUMM|scummvm_libretro\\ | + | |
- | Sega 32X|LibRetro_32X|picodrive_libretro|32x\\ | + | |
- | Sega CD|LibRetro_SCD|genesis_plus_gx_libretro|segacd\\ | + | |
- | Sega Classics|LibRetro_SEGC|mame_libretro\\ | + | |
- | Sega Dreamcast|LibRetro_DCAST|reicast_libretro\\ | + | |
- | Sega Game Gear|LibRetro_GG|genesis_plus_gx_libretro|gamegear\\ | + | |
- | Sega Genesis|LibRetro_GEN|genesis_plus_gx_libretro|genesis\\ | + | |
- | Sega Mark III|Libretro_SM3|genesis_plus_gx_libretro\\ | + | |
- | Sega Master System|LibRetro_SMS|genesis_plus_gx_libretro|sms\\ | + | |
- | Sega Mega Drive|LibRetro_GEN|genesis_plus_gx_libretro|megadriv\\ | + | |
- | Sega Mega Drive 32X|LibRetro_MD32X|picodrive_libretro\\ | + | |
- | Sega Meganet|LibRetro_GEN|genesis_plus_gx_libretro|genesis\\ | + | |
- | Sega Nomad|LibRetro_GEN|genesis_plus_gx_libretro|genesis\\ | + | |
- | Sega Pico|LibRetro_PICO|picodrive_libretro\\ | + | |
- | Sega Saturn|LibRetro_SAT|yabause_libretro|saturn\\ | + | |
- | Sega Saturn Japan|LibRetro_SAT|yabause_libretro|saturnjp\\ | + | |
- | Sega SC-3000|LibRetro_SC3K|mess_libretro|sc3000\\ | + | |
- | Sega SG-1000|LibRetro_SG1K|genesis_plus_gx_libretro\\ | + | |
- | Sega ST-V|LibRetro_STV|mame_libretro\\ | + | |
- | Sega VMU|LibRetro_SVMU|mess_libretro|svmu\\ | + | |
- | Sharp X1|LibRetro_SX1|mess_libretro|x1\\ | + | |
- | Sinclair ZX Spectrum|LibRetro_SPECZX|mess_libretro|spectrum\\ | + | |
- | SNK Classics|LibRetro_SNKC|mame_libretro\\ | + | |
- | SNK Neo Geo|LibRetro_NEO|fb_alpha_libretro\\ | + | |
- | SNK Neo Geo AES|LibRetro_NEOAES|mame_libretro|aes\\ | + | |
- | SNK Neo Geo CD|LibRetro_NEOCD|mess_libretro|neocdz\\ | + | |
- | SNK Neo Geo MVS|LibRetro_NEOMVS|mame_libretro\\ | + | |
- | SNK Neo Geo Pocket|LibRetro_NGP|mednafen_ngp_libretro|ngp\\ | + | |
- | SNK Neo Geo Pocket Color|LibRetro_NGPC|mednafen_ngp_libretro|ngpc\\ | + | |
- | Sony PlayStation|LibRetro_PSX|mednafen_psx_libretro|psu\\ | + | |
- | Sony PlayStation Minis|LibRetro_PSXMIN|ppsspp_libretro\\ | + | |
- | Sony PocketStation|LibRetro_POCKS|mess_libretro|pockstat\\ | + | |
- | Sony PSP|LibRetro_PSP|ppsspp_libretro\\ | + | |
- | Sord M5|LibRetro_SORD|mess_libretro|m5\\ | + | |
- | Spectravideo|LibRetro_SV328|mess_libretro|svi328n\\ | + | |
- | Super Nintendo Entertainment System|LibRetro_SNES|bsnes_balanced_libretro|snes\\ | + | |
- | Taito Classics|LibRetro_TAIC|mame_libretro\\ | + | |
- | Tandy TRS-80 Color Computer|LibRetro_TRS80|mess_libretro|coco3\\ | + | |
- | Technos|LibRetro_TECHN|mame_libretro\\ | + | |
- | Texas Instruments TI 99-4A|LibRetro_TI99|mess_libretro|ti99_4a\\ | + | |
- | Thomson MO5|LibRetro_MO5|mess_libretro|mo5\\ | + | |
- | Thomson TO7|LibRetro_TO7|mess_libretro|to7\\ | + | |
- | Tiger Game.com|LibRetro_TCOM|mess_libretro|gamecom\\ | + | |
- | Tiki-100|LibRetro_TIKI|mess_libretro|kontiki\\ | + | |
- | Tomy Tutor|LibRetro_TOMY|mess_libretro|tutor\\ | + | |
- | VTech CreatiVision|LibRetro_VTECH|mess_libretro|crvision\\ | + | |
- | Watara Supervision|LibRetro_SUPRV|mess_libretro|svision\\ | + | |
- | Williams Classics|LibRetro_WILLS|mame_libretro\\ | + | |
- | )"\\ | + | |
- | mType := Object()\\ | + | |
- | Loop, Parse, mTypeVar, `n, `r\\ | + | |
- | {\\ | + | |
- | obj := {}\\ | + | |
- | Loop, Parse, A_LoopField, | + | |
- | {\\ | + | |
- | If (A_Index = 1)\\ | + | |
- | obj.System := A_LoopField\\ | + | |
- | Else If (A_Index = 2)\\ | + | |
- | obj.ID := A_LoopField\\ | + | |
- | Else If (A_Index = 3)\\ | + | |
- | obj.Core := A_LoopField\\ | + | |
- | Else { ; 4\\ | + | |
- | StringSplit, | + | |
- | obj.MAMEID := tmp1\\ | + | |
- | obj.MAMEMedia := tmp2\\ | + | |
- | }\\ | + | |
- | }\\ | + | |
- | mType.Insert(obj[" | + | |
- | }\\ | + | |
- | RLLog.Debug(" | + | |
- | ; For easier use throughout the module\\ | + | |
- | retroSystem := mType[systemName].System\\ | + | |
- | retroID := mType[systemName].ID\\ | + | |
- | retroCore := mType[systemName].Core\\ | + | |
- | retroMAMEID := mType[systemName].MAMEID\\ | + | |
- | retroMAMEMedia := mType[systemName].MAMEMedia\\ | + | |
- | RLLog.Info(" | + | |
- | RLLog.Info(" | + | |
- | RLLog.Info(" | + | |
- | RLLog.Info(" | + | |
- | RLLog.Info(" | + | |
- | RLLog.Info(" | + | |
- | If !retroSystem\\ | + | |
- | ScriptError(" | + | |
- | If !retroCore\\ | + | |
- | ScriptError(" | + | |
- | + | ||
- | Fullscreen := moduleIni.ReadCheck(" | + | |
- | configFolder := moduleIni.ReadCheck(" | + | |
- | mameRomPath := moduleIni.ReadCheck(" | + | |
- | mameHideNag := If moduleIni.ReadCheck(" | + | |
- | mameHideInfo := If moduleIni.ReadCheck(" | + | |
- | mameHideWarn := If moduleIni.ReadCheck(" | + | |
- | hideConsole := moduleIni.ReadCheck(" | + | |
- | ejectToggleKey := moduleIni.ReadCheck(" | + | |
- | nextDiskKey := moduleIni.ReadCheck(" | + | |
- | prevDiskKey := moduleIni.ReadCheck(" | + | |
- | core := moduleIni.ReadCheck(systemName . " | + | |
- | superGB := moduleIni.ReadCheck(systemName . " | + | |
- | enableNetworkPlay := moduleIni.ReadCheck(" | + | |
- | overlay := moduleIni.ReadCheck(systemName . " | + | |
- | videoShader := moduleIni.ReadCheck(systemName . " | + | |
- | aspectRatioIndex := moduleIni.ReadCheck(systemName . " | + | |
- | customViewportWidth := moduleIni.ReadCheck(systemName . " | + | |
- | customViewportHeight := moduleIni.ReadCheck(systemName . " | + | |
- | customViewportX := moduleIni.ReadCheck(systemName . " | + | |
- | customViewportY := moduleIni.ReadCheck(systemName . " | + | |
- | stretchToFillBezel := moduleIni.ReadCheck(systemName . " | + | |
- | rotation := moduleIni.ReadCheck(systemName . " | + | |
- | cropOverscan := moduleIni.ReadCheck(systemName . " | + | |
- | threadedVideo := moduleIni.ReadCheck(systemName . " | + | |
- | vSync := moduleIni.ReadCheck(systemName . " | + | |
- | integerScale := moduleIni.ReadCheck(systemName . " | + | |
- | configurationPerCore := moduleIni.ReadCheck(systemName . " | + | |
- | + | ||
- | configFolder := GetFullName(configFolder)\\ | + | |
- | mameRomPath := If mameRomPath ? GetFullName(mameRomPath) : romPath\\ | + | |
- | overlay := GetFullName(overlay)\\ | + | |
- | videoShader := GetFullName(videoShader)\\ | + | |
- | rotateBezel := false | + | |
- | + | ||
- | configFolder := new Folder(configFolder) | + | |
- | + | ||
- | If (retroID = " | + | |
- | { superGB := " | + | |
- | sgbRomPath := CheckFile(emuPath . " | + | |
- | CheckFile(emuPath . " | + | |
- | retroID := " | + | |
- | retroSystem := " | + | |
- | } | + | |
- | + | ||
- | ; Find the dll for this system\\ | + | |
- | libDll := CheckFile(emuPath . " | + | |
- | + | ||
- | ; Find the cfg file to use\\ | + | |
- | If !configFolder.Exist()\\ | + | |
- | ScriptError(" | + | |
- | globalRetroCfg := emuPath . " | + | |
- | systemRetroCfg := configFolder.FilePath . " | + | |
- | coreRetroCfg := configFolder.FilePath . " | + | |
- | RLLog.Info(" | + | |
- | RLLog.Info(" | + | |
- | RLLog.Info(" | + | |
- | foundCfg := "" | + | |
- | + | ||
- | systemRetroCfg := new File(systemRetroCfg)\\ | + | |
- | coreRetroCfg := new File(coreRetroCfg)\\ | + | |
- | globalRetroCfg := new File(globalRetroCfg) | + | |
- | + | ||
- | If systemRetroCfg.Exist() { ; check for system cfg first\\ | + | |
- | retroCFGFile := systemRetroCfg\\ | + | |
- | foundCfg := 1\\ | + | |
- | RLLog.Info(" | + | |
- | } Else If coreRetroCfg.Exist() { ; 2nd option is a core config\\ | + | |
- | retroCFGFile := coreRetroCfg\\ | + | |
- | foundCfg := 1\\ | + | |
- | RLLog.Info(" | + | |
- | } Else If globalRetroCfg.Exist() { ; 3rd is global cfg\\ | + | |
- | retroCFGFile := globalRetroCfg\\ | + | |
- | foundCfg := 1\\ | + | |
- | RLLog.Info(" | + | |
- | }\\ | + | |
- | If foundCfg {\\ | + | |
- | RLLog.Info(" | + | |
- | retroCFG := LoadProperties(retroCFGFile.FileFullPath)\\ | + | |
- | } Else\\ | + | |
- | RLLog.Warning(" | + | |
- | + | ||
- | If StringUtils.Contains(rotation," | + | |
- | rotateBezel := true | + | |
- | + | ||
- | If StringUtils.Contains(retroID, | + | |
- | retroSysDir := ReadProperty(retroCFG," | + | |
- | retroSysDir := ConvertRetroCFGKey(retroSysDir) ; remove dbl quotes\\ | + | |
- | retroSysDirLeft := StringUtils.Left(retroSysDir, | + | |
- | If (retroSysDirLeft = ": | + | |
- | retroSysDir := StringUtils.TrimLeft(retroSysDir, | + | |
- | RLLog.Info(" | + | |
- | retroSysDir := emuPath . retroSysDir\\ | + | |
- | }\\ | + | |
- | If !retroSysDir\\ | + | |
- | ScriptError(" | + | |
- | checkForSlash := StringUtils.Right(retroSysDir, | + | |
- | If (checkForSlash = " | + | |
- | retroSysDir := StringUtils.TrimRight(retroSysDir, | + | |
- | } | + | |
- | + | ||
- | If (StringUtils.Contains(core, | + | |
- | RLLog.Info(" | + | |
- | If !StringUtils.Contains(core, | + | |
- | If !SystemModuleIni.Exist()\\ | + | |
- | SystemModuleIni.Append ; create a new blank ini file if one does not exist\\ | + | |
- | } | + | |
- | + | ||
- | If (configurationPerCore = " | + | |
- | coreOptionsCFGFile := coreOptionsCFGFile.CheckFile(new File(configFolder.FilePath . " | + | |
- | Else\\ | + | |
- | coreOptionsCFGFile := coreOptionsCFGFile.CheckFile(new File(emuPath . " | + | |
- | coreOptionsCFG := LoadProperties(coreOptionsCFGFile.FileFullPath) | + | |
- | + | ||
- | If StringUtils.Contains(core, | + | |
- | tmpCore := If StringUtils.Contains(core, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | } Else If StringUtils.Contains(retroID, | + | |
- | mupenGfx := moduleIni.ReadCheck(systemName . " | + | |
- | mupenRsp := moduleIni.ReadCheck(systemName . " | + | |
- | mupenCpu := moduleIni.ReadCheck(systemName . " | + | |
- | mupenPak1 := moduleIni.ReadCheck(systemName . " | + | |
- | mupenPak2 := moduleIni.ReadCheck(systemName . " | + | |
- | mupenPak3 := moduleIni.ReadCheck(systemName . " | + | |
- | mupenPak4 := moduleIni.ReadCheck(systemName . " | + | |
- | mupenGfxAccur := moduleIni.ReadCheck(systemName . " | + | |
- | mupenExpMem := moduleIni.ReadCheck(systemName . " | + | |
- | mupenTexturFilt := moduleIni.ReadCheck(systemName . " | + | |
- | mupenViRefresh := moduleIni.ReadCheck(systemName . " | + | |
- | mupenFramerate := moduleIni.ReadCheck(systemName . " | + | |
- | mupenResolution := moduleIni.ReadCheck(systemName . " | + | |
- | mupenPolyOffstFctr := moduleIni.ReadCheck(systemName . " | + | |
- | mupenPolyOffstUnts := moduleIni.ReadCheck(systemName . " | + | |
- | mupenViOverlay := moduleIni.ReadCheck(systemName . " | + | |
- | mupenAnalogDzone := moduleIni.ReadCheck(systemName . " | + | |
- | + | ||
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | } Else If StringUtils.Contains(retroID, | + | |
- | If StringUtils.Contains(core, | + | |
- | nestopiaBlargg := moduleIni.ReadCheck(" | + | |
- | nestopiaPalette := moduleIni.ReadCheck(" | + | |
- | nestopiaNoSprteLimit := moduleIni.ReadCheck(" | + | |
- | + | ||
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | }\\ | + | |
- | } Else If StringUtils.Contains(retroID, | + | |
- | If StringUtils.Contains(core, | + | |
- | handyRotate := moduleIni.ReadCheck(systemName . " | + | |
- | If StringUtils.Contains(handyRotate, | + | |
- | rotateBezel := true\\ | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | }\\ | + | |
- | } Else If StringUtils.Contains(retroID, | + | |
- | psxCdImageCache := moduleIni.ReadCheck(systemName . " | + | |
- | psxMemcardHandling := moduleIni.ReadCheck(systemName . " | + | |
- | psxDualshockAnalogToggle := moduleIni.ReadCheck(systemName . " | + | |
- | + | ||
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | WriteProperty(coreOptionsCFG, | + | |
- | }\\ | + | |
- | SaveProperties(coreOptionsCFGFile.FileFullPath, | + | |
- | } | + | |
- | + | ||
- | hideEmuObj := Object(emuConsoleWindow, | + | |
- | 7z(romPath, romName, romExtension, | + | |
- | + | ||
- | mgM3UFile := new File(romPath . " | + | |
- | + | ||
- | mgRomExtensions := " | + | |
- | mgValidExtension := false | + | |
- | + | ||
- | Loop, Parse, mgRomExtensions, | + | |
- | If (romExtension = " | + | |
- | mgValidExtension := true | + | |
- | + | ||
- | If (StringUtils.Contains(retroID, | + | |
- | m3uRomIndex := Object()\\ | + | |
- | mgType := romTable[1, | + | |
- | mgMaxIndex := romTable.MaxIndex()\\ | + | |
- | mgRomIndex := 0 | + | |
- | + | ||
- | If mgM3UFile.Exist()\\ | + | |
- | mgM3UFile.Delete() | + | |
- | + | ||
- | Loop % mgMaxIndex\\ | + | |
- | {\\ | + | |
- | If (romTable[A_Index, | + | |
- | tempType := romTable[A_Index, | + | |
- | mgRomIndex := StringUtils.TrimLeft(tempType, | + | |
- | RLLog.Info(" | + | |
- | Break\\ | + | |
- | }\\ | + | |
- | } | + | |
- | + | ||
- | If (mgRomIndex > 0) {\\ | + | |
- | tempRomIndex := mgRomIndex\\ | + | |
- | Loop % mgMaxIndex\\ | + | |
- | {\\ | + | |
- | mgTypeIndex := mgType . tempRomIndex\\ | + | |
- | m3uRomIndex.Insert(tempRomIndex) | + | |
- | + | ||
- | Loop % mgMaxIndex\\ | + | |
- | {\\ | + | |
- | If (romTable[A_Index, | + | |
- | tempRomPath := romTable[A_Index, | + | |
- | mgM3UFile.Append(tempRomPath . " | + | |
- | RLLog.Info(" | + | |
- | Break\\ | + | |
- | }\\ | + | |
- | } | + | |
- | + | ||
- | If (tempRomIndex < mgMaxIndex)\\ | + | |
- | tempRomIndex++\\ | + | |
- | Else\\ | + | |
- | tempRomIndex := 1\\ | + | |
- | }\\ | + | |
- | }\\ | + | |
- | } | + | |
- | + | ||
- | ; MAME/ | + | |
- | MAMEParam1 := "" | + | |
- | MAMEParam2 := "" | + | |
- | MAMEParam3 := "" | + | |
- | If StringUtils.Contains(core, | + | |
- | RLLog.Info(" | + | |
- | If !retroMAMEID\\ | + | |
- | ScriptError(" | + | |
- | Else\\ | + | |
- | RLLog.Info(" | + | |
- | + | ||
- | If !mameRomPath\\ | + | |
- | ScriptError(" | + | |
- | + | ||
- | MAMEParam1 := "" | + | |
- | MAMEParam2 := " -rompath \""" | + | |
- | + | ||
- | ; If we already have a media type, then use it.\\ | + | |
- | If (StringUtils.Contains(retroMAMEID, | + | |
- | ;MAMEParam3 := " -cart \" . """" | + | |
- | MAMEParam3 := " -cart \""" | + | |
- | ; TODO: This needs a better way to handle the cdrom bios files, in my opinion. As it is, there' | + | |
- | ; Defaulting to the TurboDuo cdrom bios since it will play 2.00 or 3.00 games.\\ | + | |
- | } Else If (StringUtils.Contains(retroMAMEID, | + | |
- | ;MAMEParam3 := " -cart cdsys -cdrm \" . """" | + | |
- | MAMEParam3 := " -cart scdsys -cdrm \""" | + | |
- | } Else {\\ | + | |
- | ; Build a key/value object containing the different MAMEParam3 choices\\ | + | |
- | MAMEP3 := Object(" | + | |
- | MAMEParam3 := MAMEP3[retroMAMEID] ; search object for the retroMAMEID pair\\ | + | |
- | MAMEParam3 := " -" . (If MAMEParam3 ? MAMEParam3 : " | + | |
- | } | + | |
- | + | ||
- | If (retroMAMEID = " | + | |
- | { microbeeModel := IniReadCheck(MAMESysINI, | + | |
- | If microbeeModel not in mbee, | + | |
- | ScriptError(" | + | |
- | Else If (microbeeModel != " | + | |
- | retroMAMEID := microbeeModel\\ | + | |
- | If romExtension in .mwb, | + | |
- | mediaDeviceType := " | + | |
- | Else If romExtension in .wav, | + | |
- | mediaDeviceType := " | + | |
- | Else If romExtension in .rom\\ | + | |
- | mediaDeviceType := " | + | |
- | Else If romExtension in .dsk\\ | + | |
- | mediaDeviceType := " | + | |
- | Else ; .bin format\\ | + | |
- | mediaDeviceType := " | + | |
- | MAMEParam3 := " -" . mediaDeviceType . " \" . """" | + | |
- | } | + | |
- | + | ||
- | fullRomPath := MAMEParam1 . MAMEParam2 . MAMEParam3\\ | + | |
- | } Else If (superGB = " | + | |
- | RLLog.Info(" | + | |
- | fullRomPath := " """ | + | |
- | } Else {\\ | + | |
- | RLLog.Info(" | + | |
- | fullRomPath := " """ | + | |
- | } | + | |
- | + | ||
- | If (retroID = " | + | |
- | { disksysRom := new File(retroSysDir . " | + | |
- | If !disksysRom.Exist()\\ | + | |
- | ScriptError(" | + | |
- | } Else If (retroID = " | + | |
- | { If !StringUtils.Contains(romExtension, | + | |
- | ScriptError(" | + | |
- | biosCDEBin := new File(retroSysDir . " | + | |
- | biosCDUBin := new File(retroSysDir . " | + | |
- | biosCDJBin := new File(retroSysDir . " | + | |
- | If !biosCDEBin.Exist()\\ | + | |
- | ScriptError(" | + | |
- | If !biosCDUBin.Exist()\\ | + | |
- | ScriptError(" | + | |
- | If !biosCDJBin.Exist()\\ | + | |
- | ScriptError(" | + | |
- | } Else If StringUtils.Contains(retroID," | + | |
- | { If !StringUtils.Contains(romExtension," | + | |
- | ScriptError(" | + | |
- | sysCard3Pce := new File(retroSysDir . " | + | |
- | If !sysCard3Pce.Exist()\\ | + | |
- | ScriptError(" | + | |
- | } Else If (retroID = " | + | |
- | { If !StringUtils.Contains(romExtension," | + | |
- | ScriptError(" | + | |
- | pcfxBios := new File(retroSysDir . " | + | |
- | If !pcfxBios.Exist()\\ | + | |
- | ScriptError(" | + | |
- | } Else If (retroID = " | + | |
- | {\\ | + | |
- | scummFile := new File(romPath . " | + | |
- | If !scummFile.Exist()\\ | + | |
- | scummFile.Append("""" | + | |
- | } | + | |
- | + | ||
- | networkSession := "" | + | |
- | If (enableNetworkPlay = " | + | |
- | RLLog.Info(" | + | |
- | + | ||
- | netplayNickname := moduleIni.ReadCheck(" | + | |
- | getWANIP := moduleIni.ReadCheck(" | + | |
- | + | ||
- | If (getWANIP = " | + | |
- | myPublicIP := GetPublicIP() | + | |
- | + | ||
- | RLLog.Warning(" | + | |
- | defaultServerIP := moduleIni.ReadCheck(" | + | |
- | defaultServerPort := moduleIni.ReadCheck(" | + | |
- | lastIP := moduleIni.ReadCheck(" | + | |
- | lastPort := moduleIni.ReadCheck(" | + | |
- | + | ||
- | mpMenuStatus := MultiPlayerMenu(lastIP, | + | |
- | If (mpMenuStatus = -1) { ; if user exited menu early\\ | + | |
- | RLLog.Warning(" | + | |
- | ExitModule()\\ | + | |
- | }\\ | + | |
- | If networkSession {\\ | + | |
- | RLLog.Info(" | + | |
- | moduleIni.Write(networkPort, | + | |
- | ; msgbox lastIP: %lastIP%`nlastPort: | + | |
- | If (networkType = " | + | |
- | moduleIni.Write(networkIP, | + | |
- | netCommand := " -C " . networkIP . " --port " . networkPort . " --nick """ | + | |
- | } Else { ; server\\ | + | |
- | netCommand := " -H --port " . networkPort . " --nick """ | + | |
- | }\\ | + | |
- | RLLog.Warning(" | + | |
- | RLLog.Info(" | + | |
- | } Else\\ | + | |
- | RLLog.Info(" | + | |
- | } | + | |
- | + | ||
- | BezelStart(,, | + | |
- | + | ||
- | If foundCfg {\\ | + | |
- | If (stretchToFillBezel = " | + | |
- | {\\ | + | |
- | customViewportWidth := bezelScreenWidth\\ | + | |
- | customViewportHeight := bezelScreenHeight\\ | + | |
- | customViewportX := 0\\ | + | |
- | customViewportY := 0\\ | + | |
- | aspectRatioIndex := 22\\ | + | |
- | RLLog.Info(" | + | |
- | } | + | |
- | + | ||
- | raCfgHasChanges := "" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | WriteRetroProperty(" | + | |
- | If StringUtils.Contains(retroID, | + | |
- | Loop, 8 ; Loop 8 times for 8 controllers\\ | + | |
- | { p%A_Index%ControllerType := moduleIni.ReadCheck(systemName . " | + | |
- | WriteRetroProperty(" | + | |
- | }\\ | + | |
- | } | + | |
- | + | ||
- | If raCfgHasChanges {\\ | + | |
- | RLLog.Info(" | + | |
- | SaveProperties(retroCFGFile.FileFullPath, | + | |
- | }\\ | + | |
- | } | + | |
- | + | ||
- | fullscreen := If fullscreen = " | + | |
- | srmPath := new Folder(emuPath . " | + | |
- | saveStatePath := new Folder(emuPath . " | + | |
- | retroCFGFileCLI := If foundCfg ? " -c """ | + | |
- | + | ||
- | If !srmPath.Exist(" | + | |
- | srmPath.CreateDir() ; creating srm dir if it doesn' | + | |
- | If !saveStatePath.Exist(" | + | |
- | saveStatePath.CreateDir() ; creating save dir if it doesn' | + | |
- | + | ||
- | HideAppStart(hideEmuObj, | + | |
- | + | ||
- | If StringUtils.Contains(core, | + | |
- | primaryExe.Run(" | + | |
- | } Else If (retroID = " | + | |
- | primaryExe.Run(" | + | |
- | } Else If (retroID = " | + | |
- | primaryExe.Run(fullscreen . retroCFGFileCLI . " -L """ | + | |
- | } Else If mgM3UFile.Exist() {\\ | + | |
- | primaryExe.Run(" | + | |
- | } Else {\\ | + | |
- | primaryExe.Run(" | + | |
- | } | + | |
- | + | ||
- | mpMenuStatus := "" | + | |
- | If networkSession {\\ | + | |
- | canceledServerWait := false\\ | + | |
- | multiplayerMenuExit := false\\ | + | |
- | TimerUtils.SetTimer(" | + | |
- | + | ||
- | If (networkType = " | + | |
- | RLLog.Info(" | + | |
- | mpMenuStatus := MultiPlayerMenu(,,,,,,,," | + | |
- | } Else { ; client\\ | + | |
- | RLLog.Info(" | + | |
- | mpMenuStatus := MultiPlayerMenu(,,,,,,,," | + | |
- | } | + | |
- | + | ||
- | If (mpMenuStatus = -1) { ; if user exited menu early before a client connected\\ | + | |
- | RLLog.Warning(" | + | |
- | If primaryExe.Process(" | + | |
- | primaryExe.Process(" | + | |
- | ExitModule()\\ | + | |
- | } Else { ; blank response from MultiPlayerMenu, | + | |
- | RLLog.Info(" | + | |
- | emuPrimaryWindow.Wait()\\ | + | |
- | emuPrimaryWindow.WaitActive()\\ | + | |
- | }\\ | + | |
- | TimerUtils.SetTimer(" | + | |
- | } Else { ; single player\\ | + | |
- | emuPrimaryWindow.Wait()\\ | + | |
- | emuPrimaryWindow.WaitActive()\\ | + | |
- | } | + | |
- | If (hideConsole | + | ===== Emulateurs compatibles ===== |
- | emuConsoleWindow.Set(" | + | |
- | BezelDraw()\\ | + | * [[tutos: |
- | HideAppEnd(hideEmuObj, | + | |
- | FadeInExit()\\ | + | |
- | primaryExe.Process(" | + | |
- | 7zCleanUp()\\ | + | |
- | BezelExit()\\ | + | |
- | FadeOutExit()\\ | + | |
- | ExitModule() | + | |
- | ; Writes new properties into the retroCFG if defined by user\\ | + | ===== Installation sous RocketLauncher ===== |
- | WriteRetroProperty(key, | + | |
- | If (value != "" | + | |
- | Global retroCFG, | + | |
- | WriteProperty(retroCFG, | + | |
- | raCfgHasChanges := 1\\ | + | |
- | }\\ | + | |
- | } | + | |
- | ; Used to convert between RetroArch keys and usable data\\ | + | Pour ce tutoriel, le système Bandai WonderSwan |
- | ConvertRetroCFGKey(txt,direction=" | + | |
- | Global emuPath, | + | |
- | If (direction = " | + | |
- | { newtxt := StringUtils.TrimLeft(txt, | + | |
- | newtxt := StringUtils.TrimRight(newtxt, | + | |
- | relativeCheck := StringUtils.SubStr(newtxt, | + | |
- | If StringUtils.Contains(relativeCheck,":", | + | |
- | RLLog.Debug(" | + | |
- | newtxt | + | |
- | newtxt | + | |
- | }\\ | + | |
- | If StringUtils.Contains(newtxt," | + | |
- | newtxt := StringUtils.Replace(newtxt," | + | |
- | } Else If (direction = " | + | |
- | { newtxt := """" | + | |
- | If StringUtils.Contains(newtxt," | + | |
- | newtxt := StringUtils.Replace(newtxt," | + | |
- | } Else\\ | + | |
- | ScriptError(" | + | |
- | RLLog.Debug(" | + | |
- | Return newtxt\\ | + | |
- | } | + | |
- | MultiGame: | + | ==== Installation de l' |
- | KeyUtils.SetKeyDelay(100)\\ | + | |
- | emuPrimaryWindow.Activate()\\ | + | |
- | KeyUtils.Send(" | + | |
- | If (!mgLastRomIndex) {\\ | + | |
- | mgLastRomIndex := mgRomIndex\\ | + | |
- | }\\ | + | |
- | selectedRomIndex := 0\\ | + | |
- | selectedRomIndex := StringUtils.TrimLeft(selectedRomNum, | + | |
- | Loop % mgMaxIndex\\ | + | {{page> |
- | {\\ | + | |
- | If (m3uRomIndex[A_index] = mgLastRomIndex) | + | |
- | tempLastRomIndex | + | |
- | RLLog.Debug(" | + | |
- | }\\ | + | |
- | If (m3uRomIndex[A_index] = selectedRomIndex) {\\ | + | |
- | tempSelectedRomIndex := A_index\\ | + | |
- | RLLog.Debug(" | + | |
- | }\\ | + | |
- | } | + | |
- | mgNewIndex := tempLastRomIndex - tempSelectedRomIndex | + | ==== Module ==== |
- | If (mgNewIndex < 0) {\\ | + | {{page>tutos:software: |
- | mgNewIndex := mgNewIndex * -1\\ | + | |
- | Loop % mgNewIndex\\ | + | |
- | {\\ | + | |
- | RLLog.Debug(" | + | |
- | KeyUtils.Send(" | + | |
- | }\\ | + | |
- | } Else If (mgNewIndex | + | |
- | Loop % mgNewIndex\\ | + | |
- | {\\ | + | |
- | RLLog.Debug(" | + | |
- | KeyUtils.Send(" | + | |
- | }\\ | + | |
- | } | + | |
- | KeyUtils.Send(" | + | ==== Configuration ==== |
- | mgLastRomIndex := selectedRomIndex\\ | + | |
- | Return | + | |
- | NetworkConnectedCheck:\\ | + | {{page> |
- | If clientConnected\\ | + | |
- | multiplayerMenuExit | + | |
- | Else If emuPrimaryWindow.Exist() {\\ | + | |
- | RLLog.Info(" | + | |
- | multiplayerMenuExit | + | |
- | }\\ | + | |
- | Return | + | |
- | CloseProcess: | + | ==== Ajout du système ==== |
- | FadeOutStart()\\ | + | |
- | emuPrimaryWindow.Close()\\ | + | |
- | Return | + | |
- | </ | + | Il ne vous reste désormais plus qu'à ajouter le système dans Rocket Launcher : |
- | Marche parfaitement | + | * Etape //Choose System Name// |
+ | * Name : //Bandai WonderSwan// | ||
+ | * Etape //Select Emulator// | ||
+ | * Cliquez sur la loupe et sélectionnez // | ||
+ | * Etape //Select Rom Path(s)// | ||
+ | * Cliquez sur le bouton //+// et sélectionnez le dossier de vos roms | ||
+ | * Etape //Database Creation// | ||
+ | * Choisissez l' | ||
+ | * Etape // | ||
+ | * Vérifiez la configuration et cliquez sur //Finish// | ||
+ | ===== Liens ===== | ||
+ | * Tutoriel d' |