{"id":817,"date":"2022-05-02T06:38:03","date_gmt":"2022-05-02T06:38:03","guid":{"rendered":"https:\/\/mgalaxy.com\/helpcenter\/?post_type=docs&#038;p=817"},"modified":"2022-05-02T23:10:04","modified_gmt":"2022-05-02T23:10:04","password":"","slug":"adding-editing-an-emulator-definition","status":"publish","type":"docs","link":"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/","title":{"rendered":"Adding\/Editing an emulator definition"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"817\" class=\"elementor elementor-817\" data-elementor-post-type=\"docs\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-12b8923 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"12b8923\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-944f6ed\" data-id=\"944f6ed\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3ae0bd7 elementor-widget elementor-widget-text-editor\" data-id=\"3ae0bd7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tYou may want to edit an emulator, or add an emulator to the list of systems recognized by mGalaxy.\n\nThe easiest way to do this is to make a request on the forum but if you want to do it by yourself we will see in the following how to proceed.\n\nThese tutorials will deal with the creation of an emulator, but if you know the principle, you should also be able to edit an emulator with full knowledge.\n<h2>Creating an emulator<\/h2>\nThe list of emulators is in the file &#8220;mGalaxy\\Data\\Definition\\Emulators.xml&#8221;\nThis file is to be opened with a text editor.\nHere is how an emulator is defined:\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e6808fb elementor-widget elementor-widget-text-editor\" data-id=\"e6808fb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3>The\u00a0&#8220;Emulator&#8221; tag<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-189a8fd elementor-widget elementor-widget-text-editor\" data-id=\"189a8fd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In the first line, 2 attributes:<\/p><ul><li><strong>name<\/strong>: will receive the name of the emulator.<\/li><li><strong>hidden<\/strong>: whose value can be &#8220;true&#8221; or &#8220;false&#8221; will allow to define if we want to launch the emulator with its interface non-visible (&#8220;true&#8221;) or visible (&#8220;false&#8221;).<br \/>Some emulators allow it, others not, so it is to be tested beforehand.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b95a549 elementor-widget elementor-widget-text-editor\" data-id=\"b95a549\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3>The\u00a0&#8220;System&#8221; tag<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2770881 elementor-widget elementor-widget-text-editor\" data-id=\"2770881\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Included in the &#8220;Systems&#8221; tag are the system(s) emulated by this emulator, with the following attributes:<\/p><ul><li><strong>name<\/strong>: the exact name of the system as defined in the &#8220;Systems.xml&#8221; file<\/li><li><strong>option<\/strong>: additional information, if needed<\/li><li><strong>script<\/strong>: whose value can be &#8220;true&#8221; or &#8220;false&#8221; will allow to define if you want to launch the emulator through a script (&#8220;true&#8221;) or not (&#8220;false&#8221;).<\/li><li><strong>cmd<\/strong>: the command line to send to the emulator<\/li><li><strong>extensions<\/strong>: the list of file extensions allowed by this emulator, separated by a &#8220;|&#8221;.<\/li><\/ul><p>Let&#8217;s take a closer look at the command line.<br \/>Almost all emulators can be launched from the command line. These commands can be found on the official website or in the documentation of the emulator.<\/p><p>mGalaxy uses this practice and will therefore address the emulator, sending it option requests (such as &#8216;start in full screen&#8217;) as well as the path to the game to launch.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5dcbbd5 elementor-widget elementor-widget-text-editor\" data-id=\"5dcbbd5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tFor ease of use, the best approach is probably to first test the emulator with a batch file\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7e994f4 elementor-widget elementor-widget-text-editor\" data-id=\"7e994f4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t&#8230;and when everything works perfectly, replace what needs to be replaced.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cfeb92c elementor-widget elementor-widget-text-editor\" data-id=\"cfeb92c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3>The\u00a0&#8220;Requirement&#8221; tag<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3485d2f elementor-widget elementor-widget-text-editor\" data-id=\"3485d2f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The value of this tag is a text containing the prerequisite information for launching the emulator.<\/p><p>This text can contain text formatting tags, such as:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-da69d2d elementor-widget elementor-widget-text-editor\" data-id=\"da69d2d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tOn the other hand, it cannot contain any of the special signs reserved for the XML language. These signs will have to be replaced manually or by means of an online tool, such as <\/span><a href=\"https:\/\/codebeautify.org\/xml-escape-unescape\" target=\"_blank\" rel=\"noopener\">https:\/\/codebeautify.org\/xml-escape-unescape<\/a>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7639be7 elementor-widget elementor-widget-text-editor\" data-id=\"7639be7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3>Inserting the new emulator in the list<\/h3>\nOnce your definition block is ready, copy it to the same level as the other definitions.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>You may want to edit an emulator, or add an emulator to the list of systems recognized by mGalaxy. The easiest way to do this is to make a request on the forum but if you want to do it by yourself we will see in the following how to proceed. These tutorials will deal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[19],"doc_tag":[],"class_list":["post-817","docs","type-docs","status-publish","hentry","doc_category-advanced-use"],"year_month":"2026-04","word_count":1266,"total_views":"537","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"mgalaxy","author_nicename":"mgalaxy","author_url":"https:\/\/mgalaxy.com\/helpcenter\/author\/mgalaxy\/"},"doc_category_info":[{"term_name":"Advanced Use","term_url":"https:\/\/mgalaxy.com\/helpcenter\/docs-category\/advanced-use\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.3.1 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Adding\/Editing an emulator definition - HELP CENTER<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding\/Editing an emulator definition\" \/>\n<meta property=\"og:description\" content=\"You may want to edit an emulator, or add an emulator to the list of systems recognized by mGalaxy. The easiest way to do this is to make a request on the forum but if you want to do it by yourself we will see in the following how to proceed. These tutorials will deal [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/\" \/>\n<meta property=\"og:site_name\" content=\"HELP CENTER\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mgalaxyFE\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-02T23:10:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@mGalaxyFE\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/\",\"url\":\"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/\",\"name\":\"Adding\/Editing an emulator definition - HELP CENTER\",\"isPartOf\":{\"@id\":\"https:\/\/mgalaxy.com\/helpcenter\/#website\"},\"datePublished\":\"2022-05-02T06:38:03+00:00\",\"dateModified\":\"2022-05-02T23:10:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mgalaxy.com\/helpcenter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Adding\/Editing an emulator definition\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mgalaxy.com\/helpcenter\/#website\",\"url\":\"https:\/\/mgalaxy.com\/helpcenter\/\",\"name\":\"HELP CENTER\",\"description\":\"mGalaxy help, documentation, tutorials, faq, knowledge base\",\"publisher\":{\"@id\":\"https:\/\/mgalaxy.com\/helpcenter\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mgalaxy.com\/helpcenter\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/mgalaxy.com\/helpcenter\/#organization\",\"name\":\"mGalaxy\",\"url\":\"https:\/\/mgalaxy.com\/helpcenter\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mgalaxy.com\/helpcenter\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mgalaxy.com\/helpcenter\/wp-content\/uploads\/logo_blue.png\",\"contentUrl\":\"https:\/\/mgalaxy.com\/helpcenter\/wp-content\/uploads\/logo_blue.png\",\"width\":256,\"height\":88,\"caption\":\"mGalaxy\"},\"image\":{\"@id\":\"https:\/\/mgalaxy.com\/helpcenter\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/mgalaxyFE\",\"https:\/\/x.com\/mGalaxyFE\",\"https:\/\/www.instagram.com\/mgalaxyfe\/\",\"https:\/\/www.youtube.com\/user\/mGalaxyFE\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Adding\/Editing an emulator definition - HELP CENTER","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/","og_locale":"en_US","og_type":"article","og_title":"Adding\/Editing an emulator definition","og_description":"You may want to edit an emulator, or add an emulator to the list of systems recognized by mGalaxy. The easiest way to do this is to make a request on the forum but if you want to do it by yourself we will see in the following how to proceed. These tutorials will deal [&hellip;]","og_url":"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/","og_site_name":"HELP CENTER","article_publisher":"https:\/\/www.facebook.com\/mgalaxyFE","article_modified_time":"2022-05-02T23:10:04+00:00","twitter_card":"summary_large_image","twitter_site":"@mGalaxyFE","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/","url":"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/","name":"Adding\/Editing an emulator definition - HELP CENTER","isPartOf":{"@id":"https:\/\/mgalaxy.com\/helpcenter\/#website"},"datePublished":"2022-05-02T06:38:03+00:00","dateModified":"2022-05-02T23:10:04+00:00","breadcrumb":{"@id":"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mgalaxy.com\/helpcenter\/docs\/adding-editing-an-emulator-definition\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mgalaxy.com\/helpcenter\/"},{"@type":"ListItem","position":2,"name":"Adding\/Editing an emulator definition"}]},{"@type":"WebSite","@id":"https:\/\/mgalaxy.com\/helpcenter\/#website","url":"https:\/\/mgalaxy.com\/helpcenter\/","name":"HELP CENTER","description":"mGalaxy help, documentation, tutorials, faq, knowledge base","publisher":{"@id":"https:\/\/mgalaxy.com\/helpcenter\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mgalaxy.com\/helpcenter\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mgalaxy.com\/helpcenter\/#organization","name":"mGalaxy","url":"https:\/\/mgalaxy.com\/helpcenter\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mgalaxy.com\/helpcenter\/#\/schema\/logo\/image\/","url":"https:\/\/mgalaxy.com\/helpcenter\/wp-content\/uploads\/logo_blue.png","contentUrl":"https:\/\/mgalaxy.com\/helpcenter\/wp-content\/uploads\/logo_blue.png","width":256,"height":88,"caption":"mGalaxy"},"image":{"@id":"https:\/\/mgalaxy.com\/helpcenter\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/mgalaxyFE","https:\/\/x.com\/mGalaxyFE","https:\/\/www.instagram.com\/mgalaxyfe\/","https:\/\/www.youtube.com\/user\/mGalaxyFE"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/docs\/817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/comments?post=817"}],"version-history":[{"count":82,"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/docs\/817\/revisions"}],"predecessor-version":[{"id":916,"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/docs\/817\/revisions\/916"}],"wp:attachment":[{"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/media?parent=817"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/doc_category?post=817"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/mgalaxy.com\/helpcenter\/wp-json\/wp\/v2\/doc_tag?post=817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}