{"id":50434,"date":"2017-07-01T07:24:11","date_gmt":"2017-07-01T05:24:11","guid":{"rendered":"http:\/\/www.emu-france.com\/?p=50434"},"modified":"2017-07-01T07:24:11","modified_gmt":"2017-07-01T05:24:11","slug":"mame-support-files-pfemame-v1-006","status":"publish","type":"post","link":"https:\/\/www.emu-france.com\/?p=50434","title":{"rendered":"[MAME Support Files] pfeMame v1.006"},"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;<br \/>\n<em>\u2022\tIn Linux (not Windows), using the ENTER key to run a game caused two event to be generated for reasons that I just could not find out.  I have been able to work around this by using two different methods to capture the key press for Windows and Linux.<br \/>\n\u2022\tRemoved some empty linefeeds not needed when running verifyroms<br \/>\n\u2022\tHave included the pfeMAME manual with the distributions now and have added a submenu under Help to view it<br \/>\n\u2022\tGeneral tidy up of some code \u2013 spacing, grammar, python-ish correctness etc<br \/>\n\u2022\tCorrected some override code for the ultimatelistcontrol<br \/>\n\u2022\tUsed a better method for determining if a game has an icon or not \u2013 previous method was an ugly hack<br \/>\n\u2022\tHave added a CLEAR ALL option to the file paths window.  This is more useful for development than normal use<br \/>\n\u2022\tHave added an AUTO FIND option to the file paths window.  This is very handy as it just simplifies and speeds up the process of entering all of your folders.  Under Linux only looks in \\usr\\games\\mame \u2013 if it finds a match it adds it in, otherwise it is left empty so you know a match wasn\u2019t found<br \/>\n\u2022\tChanged the about dialog to use the wxpython inbuilt dialog<br \/>\n\u2022\tChanged the singlechoice dialog to use the wxpython inbuilt dialog<br \/>\n\u2022\tRemoved my own coded singlechoicedialog and aboutbox include files from the distribution build as they are no longer used<br \/>\n\u2022\tChanged the logfile file limit size to 512k before it creates a archive copy and then a fresh logfile.log.  This was done to allow me to use the scrolledmessagedialog to display the logfile \u2013 this inbuilt control has a text size limit.<br \/>\n\u2022\tAdded a view option to display the logfile.  Note, it will only display the currently active logfile (limited to 512k), not any archived log files (with a .1, .2, etc extension)<br \/>\n\u2022\tRenamed the manual to pfeMAME_manual (added the underscore).  Linux couldn\u2019t find the file due to the space causing issues with subprocess.popen.<br \/>\n\u2022\tFixed a bug that prevented the pfeMAME manual from being opened under Linux \u2013 the method to open a PDF file under Linux and Windows is different as under Linux you need to essentially tell the system to use a default opener.<br \/>\n\u2022\tUpdated the manual \u2013 brought it up to date and corrected spelling and punctuation etc.<br \/>\n\u2022\tRemoved all references to mameinfo.dat as it was not actually required or used anywhere but you still had to select it in the folder paths.  Also removed as a prerequisite in the manual.<br \/>\n\u2022\tWhen selecting a star rating for a rom, the pop-up will now set its default value based upon what the current star rating for the rom is<br \/>\n\u2022\tFixed a bug that caused some games to throw an error to the console when trying to get the game info from the mameinfo.dat file.  This was due to non ascii characters being in the file.  Have added encoding to utf8 when reading the file to solve the problem (this was done using io.open as the standard open in python 2.7 doesn\u2019t support built in encoding on open).<br \/>\n\u2022\tFixed a bug whereby a slightly malformed game snapshot (PNG) would cause a long delay and then a core assertion error at console when the image was being resized for display.  I have trapped the error and a message is displayed for the user so that they can track down the offending image file.  The long pause still happens as it takes a while for python to realise there is an issue while it gets stuck trying to resize the image.<br \/>\n\u2022\tHave improved the code for displaying game information \u2013 could still be faster.<br \/>\n\u2022\tAdjustments to column widths in game list table<br \/>\n\u2022\tHave improved the \u2018first time use\u2019 message a bit to make it more useful.<\/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.6.0 (115 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=50434\" 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_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_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},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-50434","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-d7s","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/50434","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=50434"}],"version-history":[{"count":2,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/50434\/revisions"}],"predecessor-version":[{"id":50436,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/50434\/revisions\/50436"}],"wp:attachment":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=50434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=50434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=50434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}