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.
    • 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
                          • NaSHoOo
                            NaSHoOo last edited by NaSHoOo

                            I've made a few things, with the following results:

                            1st - The field <name> in gamelist.xml doesn't change using this:

                            $ELEMENT_8 = 'name|value|noms/nom_%%|form:region'
                            $ELEMENT_9 = 'name|value|nom|value'

                            2nd - The field <name> in gamelist.xml doesn't change using this:

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

                            3rd - The field <name> in gamelist.xml dissapear (yes, not showing the name tag) using this:

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

                            or this

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

                            Any idea? 😕

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

                              I need to check 😉 normally the 3rd one must work :S

                              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

                                Problem solved!

                                I'm a BIG DUMB! xD

                                Thinking that I had the last version...

                                Thank you very much @screech

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

                                Want to support us ?

                                78
                                Online

                                99.6k
                                Users

                                28.1k
                                Topics

                                187.1k
                                Posts

                                Copyright © 2021 recalbox.com