{"id":46737,"date":"2016-10-23T13:31:29","date_gmt":"2016-10-23T11:31:29","guid":{"rendered":"http:\/\/www.emu-france.com\/?p=46737"},"modified":"2016-10-23T13:31:29","modified_gmt":"2016-10-23T11:31:29","slug":"mame-support-files-pfemame-v1-002","status":"publish","type":"post","link":"https:\/\/www.emu-france.com\/?p=46737","title":{"rendered":"[MAME Support Files] pfeMame v1.002"},"content":{"rendered":"<p>pfeMame (\u00e9crit par Gareth Finch) est un frontend pour MAME, \u00e9crit en Python. Il est multiplateforme (test\u00e9 sur Linux &#8211; Ubuntu et Windows). Il comprend \u00e9galement une interface graphique destin\u00e9e aux MameCab qui permet le contr\u00f4le \u00e0 l&rsquo;aide de joystick \/ manette.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2014\/06\/pfemame_main.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-30703\" src=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2014\/06\/pfemame_main-1024x838.jpg\" alt=\"pfemame_main\" width=\"500\" height=\"409\" srcset=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2014\/06\/pfemame_main-1024x838.jpg 1024w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2014\/06\/pfemame_main-300x245.jpg 300w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2014\/06\/pfemame_main.jpg 1026w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><em><strong>v1.002<\/strong><br \/>\n\u2022\tRemoved all traces of the folderMemcard code as this was removed from MAME some time ago and I only put a quick fix in at the time just to get things going.<br \/>\n\u2022\tFixed rungame code that was preventing the number of runs in Linux from working.  Forgot to set the error output strings to empty at the start of the code.  Was ok if there was an error, otherwise a problem.<br \/>\n\u2022\tRemoved the \u2018check all\u2019 option \u2013 it just never worked properly and when it did it was so slow it was pretty much pointless<br \/>\n\u2022\tChanged the help>controls window to a scrolled window so that the scrollbar works in both Linux and Windows.<br \/>\n\u2022\tFixed a problem in Linux in Tile View where any empty spaces (i.e. no game assigned to that space) showed a corrupted graphic in the space.  The issue is a bug in EmptyBitmap in Linux.  Have replaced this with a Black png image.<br \/>\n\u2022\tHave added the ability to add a system(Home Computer, Game Console) to the favorites list<br \/>\n\u2022\tAdded support for system program snapshots.  They MUST be names the same as the program file and especially for Linux they MUST have the same case.  E.g. the snamshot image file for BRUCE LEE.sna must be BRUCE LEE.png<br \/>\n&nbsp;<br \/>\n<strong>v1.001<\/strong><br \/>\n\u2022\tFixed a major bug \u2013 some time ago I added an include for test2 which was just for testing purposes.  The test2.py was never distributed but the include was still there.  This I can only assume would mean anyone trying this for the first time would find a broken program.  Very sorry.<br \/>\n\u2022\tAs of MAME v0.172 the command -multhreaded no longer exists.  This stopped pfemame from being able to run any roms.  Have removed this command from the rungame and other places.<br \/>\n\u2022\tRemoved sixaxis option as it seems to be no longer supported.<br \/>\n\u2022\tFixed a bug that was stopping the command string from being written to the log file in rungame.<br \/>\n\u2022\tSwitched back to compiling 32 bit target rather than 64 bit.  Found no real advantage in 64 bit, and it caused some pose execution lock up issues \u2013 maybe some stability issues somewhere.  Tested under Windows 10 and works ok as a 32 bit target.<br \/>\n\u2022\tType ahead search working much faster now its back as 32 bit.<br \/>\n\u2022\tAdded logging of pfeMame version<br \/>\n\u2022\tAdded logging of Add \/ remove favourites<br \/>\n\u2022\tFixed a problem introduced in v0.173 MAME whereby getting the mame version with the -? switch now returns too much information.  To maintain compatibility with earlier versions I have added a maximum string length as well as the old search criteria to build the software version.<br \/>\n\u2022\tAdded capturing the ENTER key to run a selected game (normal view, not tile view)<br \/>\n\u2022\tImproved the speed of scrolling though games by pre-loading the history.dat file and parsing that file on the fly for game info.  The old way I did it was parsing the file on the fly which had large overheads in speed and just not very efficient.<br \/>\n\u2022\tUpdated any code using subprocess.Popen to select the shell type depending upon if it is running under Windows or Linux.  This is to solve issues relating to how the different operating system shell command interpreters work and that under Windows I have to use shell=True to prevent lockups (I still think this is something to do with 64 bit code execution under python as it never happened under XP)<br \/>\n\u2022\tPrevented the rungame code from trying to extract the console output from the subprocess.popen call when running games under Tile View.  This fixed further lockups that seemed to be happening under Windows 64 bit.<br \/>\n\u2022\tAdded better prompting on startup if there are no games categories set.  It will now open the window for you to select some.<br \/>\n\u2022\tImproved how systems are displayed so that all program files that are associated with a system (e.g. ZX Spectrum) are now grouped under the master system file name with a \u2018-\u2192\u2019 between the system name and the program file name.  Makes things look a lot nicer.<br \/>\n&nbsp;<br \/>\n<strong>v1.000<\/strong><br \/>\n\u2022\tFixed a bug in rungane for systems.  Was performing a check to find a matching media type based upon the file extension.  I had made an assumption that media types were 4 characters long when they can actually be variable length.  Fixed it.<br \/>\n\u2022\tAdded a check in rungame for systems \u2013 if you try running a system program \/ rom with a file extension that doesn\u2019t exist in the list of media types, a message popup will warn tell you that the extension type is unknown and the program will not be executed.  This has fixed some annoying error popups under windows.<br \/>\n\u2022\tAdded a bit more information for first time run to try and help users that have never used pfeMame before.<br \/>\n\u2022\tAfter running a database refresh a check is performed on the number of games in the visible list.  If its zero(0) then a message pops up advising you to check if you have any game categories selected<\/em><\/p>\n<p>&nbsp;<br \/>\n<p class=\"p_telecharger_icone_zip\"><a class=\"telecharger_icone_zip\" href=\"https:\/\/www.emu-france.com\/?wpfb_dl=6557\" title=\"Download pfeMame (32 bits)\">T\u00e9l\u00e9charger pfeMame (32 bits) v3.3.5 (105 Mo)<\/a><\/p><p class=\"p_telecharger_icone_zip\"><a class=\"telecharger_icone_zip\" href=\"https:\/\/www.emu-france.com\/?wpfb_dl=7268\" title=\"Download pfeMame (64 bits)\">T\u00e9l\u00e9charger pfeMame (64 bits) v1.008 (12.5 Mo)<\/a><\/p><\/p>\n<p class=\"p_site_officiel\"><a class=\"site_officiel\" href=\"http:\/\/sourceforge.net\/projects\/pfemame\/\" target=\"_blank\">Site Officiel<\/a><\/p>\n<p class=\"p_en_savoir_plus\"><a class=\"en_savoir_plus\" href=\"https:\/\/www.emu-france.com\/utilitaires\/17-mame-support-files\/263-frontends\/\">En savoir plus&#8230;<\/a><\/p>\n<div class=\"fcbkbttn_buttons_block\" id=\"fcbkbttn_left\"><div class=\"fb-share-button  \" data-href=\"https:\/\/www.emu-france.com\/?p=46737\" data-type=\"button_count\" data-size=\"small\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>pfeMame (\u00e9crit par Gareth Finch) est un frontend pour MAME, \u00e9crit en Python. Il est multiplateforme (test\u00e9 sur Linux &#8211; Ubuntu et Windows). Il comprend \u00e9galement une interface graphique destin\u00e9e aux MameCab qui permet le contr\u00f4le \u00e0 l&rsquo;aide de joystick &#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-46737","post","type-post","status-publish","format-standard","hentry","category-par-defaut","uentry","postonpage-1","odd","post-author-Jets"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKi2R-c9P","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/46737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46737"}],"version-history":[{"count":3,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/46737\/revisions"}],"predecessor-version":[{"id":46740,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/46737\/revisions\/46740"}],"wp:attachment":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}