Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    [question] Configuring Mix profil in UXS

    Community projects
    [question] configuring mix profil uxs
    6
    37
    16368
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • supernature2k
      supernature2k last edited by

      So you mean you want nothing at all if the rom has no data?

      Pi powered NES | Gameboy HD | RecalStation | RecalDrive
      Upvote messages if it has been useful ;)

      1 Reply Last reply Reply Quote 0
      • PumpKHeaD
        PumpKHeaD last edited by

        Yes, like the Standard do. But i think this is not possible if i use a image with |fixe| option on config.ini

        1 Reply Last reply Reply Quote 0
        • supernature2k
          supernature2k last edited by

          True.

          I think we need help from @screech

          Pi powered NES | Gameboy HD | RecalStation | RecalDrive
          Upvote messages if it has been useful ;)

          1 Reply Last reply Reply Quote 0
          • screech
            screech last edited by

            Yes, if you use |fixe| image you cannot have blank final picture 😞

            But if you want, instead of a white square on the "empty" GBA, you can put something like "snow" (look the empty arcade) or a picture like this one :

            GBA

            An other solution, simply delete file where GBA is empty 😉 so you have nothing on Emulationstation screen 😉

            Clean your Romset with Universal ROM Cleaner
            Scrape your Romset with Universal XML Scraper

            1 Reply Last reply Reply Quote 0
            • NaSHoOo
              NaSHoOo last edited by

              Hi all! I've found this topic very useful for making my mixes, and I want to use it to post my problem creating my own mix.

              I've created 3 different Mix Profiles, one to scrape EUR roms, one for scrape USA roms, and one for scrape JAP roms.

              This is my config.ini that I've created:

              [MIX_IMG]
              $MIX_IMG_NAME = PersonalStyleUSA
              $MIX_IMG_EXEMPLE = exemple.png
              $MIX_IMG_CIBLE_X = 600
              $MIX_IMG_CIBLE_Y = 400
              $MIX_IMG_NBIMG = 5
              $MIX_IMG1_SOURCE_1 = 'screenTEMP|GameMax|medias/media_screenshot|path:image|476||119|8|'
              $MIX_IMG2_SOURCE_1 = 'wheelTEMP|GameMax|medias/media_wheels/media_wheel_us|path:image|320|320|RIGHT|DOWN'
              $MIX_IMG3_SOURCE_1 = 'boxTEMP|GameMAX|medias/media_boxs/media_boxs3d/media_box3d_us|path:image|269|269|LEFT|DOWN'
              $MIX_IMG4_SOURCE_1 = 'cartridgeTEMP|GameMax|medias/media_supports/media_supports2d/media_support2d_us|path:image|150|150|LEFT|CENTER'
              $MIX_IMG5_SOURCE_1 = 'flagTEMP|FixeMax|Lang-USA.png|path:image|100|100|UP|LEFT'

              The problem is that in many roms I'm obtaining a correct scrape like this:

              0_1472986998287_Super Mario 64 (USA)-image.png

              But many other, I'm obtaining a wrong rendered file, like this:

              1_1472987058724_Castlevania (USA)-image.png

              In this picture I've lost the cartridge and the logo images (and both of them are in screenscraper.fr database...)

              0_1472987058723_007 - The World Is Not Enough (USA)-image.png

              And I've lost the logo in this other (and also, the logo is in the screenscraper database...)

              I don't know what it's hapening, because in many cases, the rendered file is correct (as you can see in the Super Mario 64 scrape...), so the config.ini it would be correct, right?

              Please, can anyone help me with this?? 🙂

              Thank you very much!!

              1 Reply Last reply Reply Quote 0
              • screech
                screech last edited by

                Hi, @NaSHoOo

                The problem (in your case) is that you select "only" one country by scrape. So if a media isn't in the country you scrape (but in an other country) you don't grab it.

                Exemple for Castlevania :
                http://www.screenscraper.fr/gameinfos.php?gameid=5414

                The Screenshot is multicountry = no problem.
                The 3D Box is Us = no problem
                The cardrigde and the wheel (logo) is Eu = so you don't grabe it (you want only Us)

                If you want, you can modify like this :

                [MIX_IMG]
                $MIX_IMG_NAME = PersonalStyleUSA
                $MIX_IMG_EXEMPLE = exemple.png
                $MIX_IMG_CIBLE_X = 600
                $MIX_IMG_CIBLE_Y = 400
                $MIX_IMG_NBIMG = 8
                $MIX_IMG1_SOURCE_1 = 'screenTEMP|GameMax|medias/media_screenshot|path:image|476||119|8|'
                $MIX_IMG2_SOURCE_1 = 'wheelTEMP|GameMax|medias/media_wheels/media_wheel_us|path:image|320|320|RIGHT|DOWN'
                $MIX_IMG3_SOURCE_1 = 'wheelTEMP|GameMax|medias/media_wheels/media_wheel_%%|path:image|320|320|RIGHT|DOWN'
                $MIX_IMG4_SOURCE_1 = 'boxTEMP|GameMAX|medias/media_boxs/media_boxs3d/media_box3d_us|path:image|269|269|LEFT|DOWN'
                $MIX_IMG5_SOURCE_1 = 'boxTEMP|GameMAX|medias/media_boxs/media_boxs3d/media_box3d_%%|path:image|269|269|LEFT|DOWN'
                $MIX_IMG6_SOURCE_1 = 'cartridgeTEMP|GameMax|medias/media_supports/media_supports2d/media_support2d_us|path:image|150|150|LEFT|CENTER'
                $MIX_IMG7_SOURCE_1 = 'cartridgeTEMP|GameMax|medias/media_supports/media_supports2d/media_support2d_%%|path:image|150|150|LEFT|CENTER'
                $MIX_IMG8_SOURCE_1 = 'flagTEMP|FixeMax|Lang-USA.png|path:image|100|100|UP|LEFT'

                So, it take in priority the Us File. And if not found, take in your priority language (if you are in French for exemple : fr|eu|us|en|origine|de|es|pt|jp|xx)

                Other solution (the best one 😉 ) Found missing media (like the Label Texture for the Us Cardridge) and submit it to Screenscraper 😉 so we can add it 😉

                Clean your Romset with Universal ROM Cleaner
                Scrape your Romset with Universal XML Scraper

                1 Reply Last reply Reply Quote 0
                • NaSHoOo
                  NaSHoOo last edited by

                  Dear Screech,

                  You are awesome, thank you for your solution! It works perfectly 🙂

                  I must be doing this "solution" to identify the region of the roms, because when I am doing a scrape of a game with 3 regions (each one has the region in the .zip file), the gamelist.xml generated don't mention where it came from (EUR, USA or JAP).

                  It would be a great feature to include the region at the end of the game's name 🙂

                  Something like this:

                  Super Mario 64 [USA] (if the rom scraped is Super Mario 64 (USA).n64)
                  or
                  Super Mario 64 [EUR] (if the rom scraped is Super Mario 64 (Europe).n64

                  Thank you for your great work with UXS and your support, kind regards!

                  paradadf 1 Reply Last reply Reply Quote 0
                  • paradadf
                    paradadf Staff @NaSHoOo last edited by paradadf

                    @NaSHoOo you can already edit your UXS file like this (copy&paste from Screech's instructions):

                    $ELEMENT_8 = 'name|value|noms/nom_%%|form:region'
                    Scrape the name and the region of your Rom and merge them as a name.
                    ex :

                    Game Name : Mario
                    Region : Japan
                    Name result : Mario (Japan)

                    $ELEMENT_8 = 'name|value|noms/nom_%%|form:%FileNameBracket%'
                    Scrape the name and catch the first bracket ( '(' or '[' ) in the file name and merge the end of the filename (without extension) with the scraped name
                    ex :
                    Game Name : Zero Tolerance
                    Filename : zerotolerance (USA, Europe) [Proto].zip
                    Name Result : Zero Tolerance (USA, Europe) [Proto]

                    If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                    NaSHoOo 1 Reply Last reply Reply Quote 0
                    • screech
                      screech last edited by

                      Yep ^^

                      And also :

                      Now you have a new option in UXS-Config.ini :

                      $Picture_Region = 0 -> Picture preference by User Language
                      $Picture_Region = 1 -> Picture preference by Rom Region + preference by User Language
                      $Picture_Region = 2 -> Picture preference by Rom Region only (nothing if no picture)
                      So before when you have a Game in 3 languages, you have 3 times the same Picture (the one for your language)
                      With this option, If there is different Language Media on Screenscraper, it try to take the one corresponding of your Rom Language.
                      (Work only with MIX Template 😉 )

                      Clean your Romset with Universal ROM Cleaner
                      Scrape your Romset with Universal XML Scraper

                      1 Reply Last reply Reply Quote 0
                      • NaSHoOo
                        NaSHoOo @paradadf last edited by

                        @paradadf said in [question] Configuring Mix profil in UXS:

                        @NaSHoOo you can already edit your UXS file like this (copy&paste from Screech's instructions):

                        $ELEMENT_8 = 'name|value|noms/nom_%%|form:region'
                        Scrape the name and the region of your Rom and merge them as a name.
                        ex :

                        Game Name : Mario
                        Region : Japan
                        Name result : Mario (Japan)

                        $ELEMENT_8 = 'name|value|noms/nom_%%|form:%FileNameBracket%'
                        Scrape the name and catch the first bracket ( '(' or '[' ) in the file name and merge the end of the filename (without extension) with the scraped name
                        ex :
                        Game Name : Zero Tolerance
                        Filename : zerotolerance (USA, Europe) [Proto].zip
                        Name Result : Zero Tolerance (USA, Europe) [Proto]

                        Dear paradadf, thank you for your response!

                        I didn't know about that function! Could you explain me a little more about it?

                        That sentence you wrote ($ELEMENT_8 = 'name|value|noms/nom_%%|form:region')... Need I to include at the end of my file? Replacing any of other sentences?

                        I want to know more about all the functions of UXS, is there a manual or something similar to read about all of those options?

                        Thank you very much for your help! And sorry for my english, I'm spanish 🙂

                        kind regards

                        paradadf 1 Reply Last reply Reply Quote 0
                        • screech
                          screech last edited by

                          In you UXS-config.ini you can found all the scrape "profils".

                          You normally use this one : [ScreenScraper (MIX)-Recalbox v4]

                          In this section, look for this line :
                          $ELEMENT_8 = 'name|value|noms/nom_%%|value'

                          And replace it by :
                          $ELEMENT_8 = 'name|value|noms/nom_%%|form:region'
                          or
                          $ELEMENT_8 = 'name|value|noms/nom_%%|form:%FileNameBracket%'

                          Clean your Romset with Universal ROM Cleaner
                          Scrape your Romset with Universal XML Scraper

                          1 Reply Last reply Reply Quote 0
                          • paradadf
                            paradadf Staff @NaSHoOo last edited by paradadf

                            @NaSHoOo no hay problema!
                            I'm by far not an expert, but just read the forum 😉
                            There is a UXS (something.ini) file next to the .exe of the scraper. You can find the elements in there and edit them if you want.

                            There is a little bit about it on the wiki
                            https://github.com/Universal-Rom-Tools/Universal-XML-Scraper/wiki

                            And a lot here on the forum.

                            If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                            1 Reply Last reply Reply Quote 0
                            • screech
                              screech last edited by

                              OH yes 😉 and I'm on the V2 right now... So I'll make a nicer wiki with all the tuto ^^ (when it's done ^^)

                              Clean your Romset with Universal ROM Cleaner
                              Scrape your Romset with Universal XML Scraper

                              1 Reply Last reply Reply Quote 0
                              • NaSHoOo
                                NaSHoOo last edited by

                                God bless both of you! @paradadf @screech xD

                                Waiting this V2 @screech !! Thank you for this useful tool! 😄

                                1 Reply Last reply Reply Quote 0
                                • NaSHoOo
                                  NaSHoOo last edited by

                                  Dear @screech ,

                                  I have just one more question... as you can see in my first post, I've including flags into the final mix to identify the region of the game.

                                  Thank you to your last explanation, I've solved my problem to identify roms name.

                                  But I would like to continue including my flags images into the final mix.

                                  Is there a way that UXS can identify the region of the rom, and put the right flag image into the final composition?

                                  Something like:

                                  UXS detects Super Mario 64 (USA).n64 and It includes ico-usa.png in the final mix, instead the other flags (all included in the mix .zip)

                                  The flags are:

                                  3_1473074119112_Icono-USA.png
                                  2_1473074119111_Icono-SPA.png
                                  1_1473074119111_Icono-JAP.png
                                  0_1473074119111_Icono-EUR.png

                                  Obiously, I must change the size of this flags in the final composition 🙂

                                  Thank you!

                                  1 Reply Last reply Reply Quote 0
                                  • screech
                                    screech last edited by

                                    unfortunatly, not yet :S

                                    But I put that in my todolist 😉 I'll add a function in the V2 to handle such picture 😉

                                    Clean your Romset with Universal ROM Cleaner
                                    Scrape your Romset with Universal XML Scraper

                                    1 Reply Last reply Reply Quote 0
                                    • NaSHoOo
                                      NaSHoOo last edited by

                                      Ups, I've just tried your modification in the uxs-config.ini but it's not exactly what I need... I'm going to show you:

                                      I have modified the $ELEMENT_8 as you explained:
                                      0_1473074982558_uxs1.png

                                      But the name in the gamelist.xml is still the same, without the region in the name:
                                      0_1473075069852_uxs2.png

                                      But, the modification you proposed, works to modify the name of the mixed images:
                                      0_1473075114515_uxs3.png

                                      I don't need to modify the final image name, I need to modify the name field (<name>) in the gamelist.xml with the region of the game.

                                      Because this name is what Recalbox shows in the TV, and it will show a list with three same names if I have 3 roms with tha same name, but different regions:

                                      I have:
                                      Super Mario 64 (EUR).n64
                                      Super Mario 64 (JAP).n64
                                      Super Mario 64 (USA).n64

                                      If I scrape this, the gamelist.xml will ad the same name for those roms: Super Mario 64

                                      And I will see Super Mario 64 three times in my Recalbox list

                                      Hope to explained better this time 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • screech
                                        screech last edited by

                                        The line you put in config try to "scrape" the country of your rom (from the Screenscraper Database) Sometime, the country is not filled so you don't have the information.

                                        You must try the second choice :

                                        $ELEMENT_8 = 'name|value|noms/nom_%%|form:%FileNameBracket%'

                                        With this option, it scrape the name. And put what is between bracket from the file name to the game name.

                                        Exemple : If you have a file named : "SMario64 (EUR).n64" it will scrape the name (Super Mario 64) and put what is in bracket to the end of the name (EUR) so the final name will be : "Super Mario 64 (EUR)"

                                        hope it's ok 😉

                                        Clean your Romset with Universal ROM Cleaner
                                        Scrape your Romset with Universal XML Scraper

                                        1 Reply Last reply Reply Quote 0
                                        • NaSHoOo
                                          NaSHoOo last edited by

                                          I have tried also this option, but I'm getting the same result:

                                          As you can see, i have added this modification to the UXS config:
                                          0_1473087897099_uxs1.png

                                          But once scrapped, I've obtained the same results. Not region in the name's filed of gamelist.xml, only in the mix image:
                                          0_1473087994821_uxs2.png

                                          😕

                                          1 Reply Last reply Reply Quote 0
                                          • screech
                                            screech last edited by

                                            Can you try to change the line 9 too ?

                                            $ELEMENT_9 = 'name|value|nom|form:%FileNameBracket%'

                                            Because if there is no name for your country, it take the "original" name.

                                            Clean your Romset with Universal ROM Cleaner
                                            Scrape your Romset with Universal XML Scraper

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            72
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com