AGGIUNGERE IL CODICE SORGENTE CON LE FEATURES DI MAMEINFO by M*A*S*H L’amico M*A*S*H, [http://www.mameworld.net/mameinfo/], ha reso disponibile sul suo sito il codice sorgente di Mameinfo, che comprende alcune "features" aggiuntive per il MAME. Ecco le caratteristiche di Mameinfo, illustrate da M*A*S*H: FEATURES -------- The Mameinfo Source has some extra functions, which the normal MAME32 source doesn't have. It listed for example all driver flags at the top of the MAMEinfo text: GAME_NOT_WORKING IMPERFECT_GRAPHICS GAME_NO_SOUND GAME_SUPPORTS_SAVE STATES (see Cavelon) After the MAMEinfo.dat it listed game informations like... CPU/SOUND VIDEO INPUT ROM REGION SAMPLES DIPSWITCHES ORIGINAL/CLONES These informations can be directly cut from the MAME32 window and be paste into other programs like editors, HTML pages or E-mail programs. Here an example of PuckMan: CPU: Z80 (3072000 Hz) SOUND: Namco (96000 Hz) 1 Channel VIDEO: 224x288 (V) (60.606060 Hz, palette 32, raster) INPUT: 2 Players, 4-way Joystick + 1 Button, 2 Coins ROM REGION: namcopac.6e 1000 cpu1 0 namcopac.6f 1000 cpu1 1000 namcopac.6h 1000 cpu1 2000 namcopac.6j 1000 cpu1 3000 pacman.5e 1000 gfx1 0 pacman.5f 1000 gfx1 1000 82s123.7f 20 prom 0 82s126.4a 100 prom 20 82s126.1m 100 snd1 0 82s126.3m 100 snd1 100 DIPSWITCHES: Rack Test (Cheat): [Off] On Service Mode : [Off] On Cabinet : [Upright] Cocktail Coinage : 2 Coins/1 Credit [1 Coin/1 Credit] 1 Coin/2 Credits Free Play Lives : 1 2 [3] 5 Bonus Life : [10000] 15000 20000 None Difficulty : [Normal] Hard Ghost Names : [Normal] Alternate 2x Speed Cheat : [Disabled] Enabled Always Enabled with Button . . . Under the game informations are the DRIVER infos: SOURCE: *driver.c - TODO list - Driver and hardware notes - MAME WIP news - Supported games by the driver The other feature of the MAMEinfo source are viewing the source driver file, and ROM-ZIPs. To view the source file with MAME32 use your PC mouse, select a game and then right-click and option >View Source<. If you not have associated the driver file extension (*.c) under Windows with a text program, then do this first. The MAME32 source files must be also into the directory D:\mingw\mame\ or you changed the directory in ui\win32ui.c under 'case ID_VIEW_SOURCEDRV' sprintf(filename, "d:/mingw/mame/%s", drivers[nGame]->source_file); PROBLEMS -------- * If you use MAME32 for the first time and want to display the MAMEinfo under the game screenshot, then you must set the 'Screenshots Bordersize' from 11 to 0 under Options / 'Interface Options'. If you also use a *black* background image, then you must changed under Options / 'Game List Font' the font color. If you want to display the MAMEinfo in a full window, without the game screenshot, then enabled 'History' under View / Show Pictures. - (c) 2000-2007 M.A.S.H. Potete aggiungere queste caratteristiche anche al vostro MAME personalizzato. Prima di procedere, assicuratevi di avere installato quanto segue: 1) - Il codice sorgente del MAME Win 2) – Eventuali file diff di Aaron (patch) 3) - Il codice sorgente di MAME 32 Aprite una connessione Internet tramite il vostro browser e portatevi sul sito dell'amico M*A*S*H* [http://www.mameworld.net/mameinfo]. Fate scorrere la pagina e cercate il link “Mameinfo Source Code”. Fateci clic sopra e scaricate il una vostra cartella il file zip collegato. Chiudete la connessione Internet. Scompattate questo file nella cartella c:\mingw\mame\ adoperando programmi tipo WinZip, PK-Zip o simili. Adesso possiamo compilare il codice sorgente di Mameinfo. Se avete già compilato precedentemente il MAME 32, allora è necessario ricompilare il codice come se fosse la prima volta (vale a dire: dovrete impiegarci ancora un’oretta). In questo caso, con Esplora Risorse, cancellate la cartella c:\mingw\mame\obj. Aprite una finestra del Prompt dei Comandi, digitate C:\MINGW\MINGW e premete Invio. Poi digitate cd \mingw\mame e premete Invio. Ora digitate make.exe WINUI=1 SUFFIX=32 e premete Invio Al termine, le “features” di Mameinfo saranno presenti nel vostro MAME personalizzato ! N.B.: Non dimenticate di procurarvi, e collocare nella cartella c:\mingw\mame le ultime versioni dei file mameinfo.dat [http://www.mameworld.net/mameinfo] e history.dat [http://www.arcade-history.com]. Inoltre, ricordatevi di associare i drivers dei sorgenti (ovvero i files con estensione .c) al vostro editor di testi preferito. Potrete visualizzare il sorgente del driver del gioco selezionato nella lista dei giochi di MAME 32 con un clic con il tasto destro del mouse o portandovi sul menu menu File / View Source. Potrete visualizzare il contenuto del file Zip delle Roms relative al gioco selezionato nella lista dei giochi di MAME 32 con un clic con il tasto destro del mouse o portandovi sul menu menu File / View Zip.