{"id":48873,"date":"2017-03-23T16:39:13","date_gmt":"2017-03-23T15:39:13","guid":{"rendered":"http:\/\/www.emu-france.com\/?p=48873"},"modified":"2017-03-25T12:02:25","modified_gmt":"2017-03-25T11:02:25","slug":"arcade-supermodel-wip-x86x64-v0-3a-r533","status":"publish","type":"post","link":"https:\/\/www.emu-france.com\/?p=48873","title":{"rendered":"[Arcade] SuperModel WIP (x86\/x64) v0.3a r540"},"content":{"rendered":"<p style=\"text-align: left;\">Le premier \u00e9mulateur de Sega Model 3 cr\u00e9\u00e9 par Bart Trzynadlowski, Ville Linde et Stefano Teso dans sa version de <a href=\"https:\/\/svn.code.sf.net\/p\/model3emu\/code\/trunk\/\">d\u00e9veloppement<\/a> (voir <a href=\"http:\/\/sourceforge.net\/p\/model3emu\/code\/HEAD\/tree\/\">ici<\/a>) [<a href=\"http:\/\/www.supermodel3.com\/Forum\/viewtopic.php?f=3&#038;t=1206\">source<\/a>].<\/p>\n<p>&nbsp;<br \/>\n<a href=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_actual.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-44841\" src=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_actual.jpg\" alt=\"supermodel_actual\" width=\"418\" height=\"269\" srcset=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_actual.jpg 1116w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_actual-300x193.jpg 300w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_actual-768x495.jpg 768w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_actual-1024x660.jpg 1024w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><em>Wii version<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_incorrect.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-44842\" src=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_incorrect.jpg\" alt=\"supermodel_incorrect\" width=\"418\" height=\"324\" srcset=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_incorrect.jpg 1026w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_incorrect-300x232.jpg 300w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_incorrect-768x595.jpg 768w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_incorrect-1024x793.jpg 1024w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/a><em>Supermodel (incorrect)<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_vertex.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-44843\" src=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_vertex.jpg\" alt=\"supermodel_vertex\" width=\"418\" height=\"324\" srcset=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_vertex.jpg 1026w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_vertex-300x232.jpg 300w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_vertex-768x595.jpg 768w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2016\/06\/supermodel_vertex-1024x793.jpg 1024w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/a><em>Supermodel with fixed shading<\/em><\/p>\n<p>&nbsp;<br \/>\n<strong>Les changements:<\/strong><br \/>\n<em>&#8211; The mipmap data in some games seems to being sent behind the base textures, and when the base textures are bound and created the mipmap chain is not yet valid in memory. To fix this, we invalidate the base textures, when the mipmap chain is updated.<br \/>\n&#8211; Just use 1 hash map for the textures, instead of 1 for each format. Should greatly speed up texture invalidation. TODO invalidate texture mipmaps .. the h\/w actually seems to stream the mipmap data separate from the base textures in some cases.<br \/>\n&#8211; cosmetic<br \/>\n&#8211; calculate the correct number of mipmap textures<br \/>\n&#8211; Originally to do mipmapping, I just used the base texture and then let the h\/w automatically generate the mipmap chain. I wasn&rsquo;t sure the real3d api even exposed to the programmer the ability to directly set the mipmap data. Anyway, as pointed out by HarryTuttle scud actually uses darker mipmaps for an effect on the water. This patch uses the uses the actual mipmap data from the real3d memory. Only tested scud, so hopefully I didn&rsquo;t cause any cataclysmic errors<br \/>\n&#8211; Added more games to Games.xml: dayto2pe, eca, lamachin, lostwsga, magtruck, oceanhun, vf3. Fixed swtrilgy (MPEG music).<br \/>\n&#8211; Added 8- and 16-bit tilegen VRAM access handlers to fix missing columns in Star Wars Trilogy tilemaps. Thanks to Spindizzi for initial confirmation that this was the problem.<br \/>\n&#8211; fix scissor code for native resolution (thanks HarryTuttle)<\/em><br \/>\n&nbsp;<\/p>\n<hr>\n<p>&nbsp;<br \/>\n<strong>test et test32:<\/strong><br \/>\n&#8211; correction des musiques dans sega rally 2 (mix)<br \/>\n&#8211; correction musique 1er niveau 2joueurs (la cave rouge) dans vf3 (pas s\u00fbr de la modif, et donc cela peut \u00e9ventuellement entrainer d&rsquo;autre probl\u00e8mes sonore sur d&rsquo;autre jeux).<br \/>\n<\/em><\/p>\n<p>&nbsp;<br \/>\nLes fichiers sont compil\u00e9s par <strong>spindizzi<\/strong>, merci \u00e0 lui.<\/p>\n<p>&nbsp;<\/p>\n<p class=\"p_telecharger_icone_zip\"><p class=\"p_telecharger_icone_zip\"><a class=\"telecharger_icone_zip\" href=\"https:\/\/www.emu-france.com\/?wpfb_dl=4198\" title=\"Download SuperModel (WIP)\">T\u00e9l\u00e9charger SuperModel (WIP) v0.3a Build 260228 (10.8 Mo)<\/a><\/p><\/p>\n<p class=\"p_site_officiel\"><a class=\"site_officiel\" href=\"http:\/\/www.supermodel3.com\/\" target=\"_blank\">Site Officiel<\/a><\/p>\n<p class=\"p_en_savoir_plus\"><a class=\"en_savoir_plus\" href=\"https:\/\/www.emu-france.com\/emulateurs\/6-arcades\/61-multi-games\/\">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=48873\" data-type=\"button_count\" data-size=\"small\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Le premier \u00e9mulateur de Sega Model 3 cr\u00e9\u00e9 par Bart Trzynadlowski, Ville Linde et Stefano Teso dans sa version de d\u00e9veloppement (voir ici) [source]. &nbsp; Wii version &nbsp; Supermodel (incorrect) &nbsp; Supermodel with fixed shading &nbsp; Les changements: &#8211; The &#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-48873","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-cIh","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/48873","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=48873"}],"version-history":[{"count":3,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/48873\/revisions"}],"predecessor-version":[{"id":48878,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/48873\/revisions\/48878"}],"wp:attachment":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}