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

      Hey everyone. Hi screech, nice tip, I use this, it's very useful.

      I have a little problem with Screenscraper on screenshot and support/texture (cartridge labels), the sizes variations.

      Here works well, but the label not. Europe and USA versions have diferents labels sizes.
      0_1469636593143_Legend of Zelda, The - A Link to the Past (USA)-image.png

      Here the screenshot size variation (aspect ratio I think) left an empty space
      0_1469636702995_90 Minutes - European Prime Goal (Europe)-image.png

      My question, I can change the screenshot aspect ratio and maintain a fixed size screen with the numbers of config.ini?

      What i can read to learn about these numbers in the file, 3D image rotation and others things?

      Sorry sn2k use your topic to this but only he had the same issue.

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

        From the wiki (in french 😞 sorry so I make a little translation, sorry for the bad english ^^)

        Exemple :

        $MIX_IMG1_SOURCE_1 = 'marqueefixeTEMP|fixe|marquee.png|path:image|258|65|63|36|246|32|68|90'

        • 1st element : marqueefixeTEMP = It's the temporary name of the image
        • 2nd element : fixe = it's a fixe picture so not dynamic (thank you Mr obvious) it's meen it's already in the template directory, not scraped.
        • 3rd element : marquee.png = The Filename of the picture in the template dir.
        • 4th element : path:image = For a fixe image it's useless 😛
        • 5th and 6th element : 258|65 = Picture size before transformation so : 258x65.
        • 7th an 8th element : 63|36 = Upper left corner position 63x36 (origin 0x0 is the upper left corner of the ffinal picture)
        • 9th and 10th : 246|32 = Upper right corner position 246x32
        • 11th anf 12th : 68|90 = down left corner position 68x90
          The fourth corner don't need to be indicate, it's automatically calculated to make the good deformation (I haven't the choice with GDI+ ^^)

        $MIX_IMG2_SOURCE_1 = 'marqueeTEMP|path:image|medias/media_marquee|path:image|258|65|63|36|246|32|68|90' Il s'agit de la première source, du deuxième élément

        • 1st element : marqueeTEMP = Again the Temp name of the Picture. It's different from the first one. (because first one is a fixe picture, if you have scraped picture, you can use several time the same Temporary name to make a "if the first one doesn't exist, put the second one instead )
        • 2nd element : path:image Useless in this case
        • 3rd element : medias/media_marquee The scraped element type, like in the XML Profil from screenscraper (Watch here for a list of the different element you can take from screenscraper, sorry in french again :S)
        • 4th element : path:image It tell to the soft it was a scraped picture
        • All other element is the same as above 😉

        Hope it's help. If you need help, you can copy/past your config.ini 😉

        @supernature2k Tu es modo 😉 tu crois que tu pourrais déplacer ces derniers messages dans un nouveau sujet pour ne pas polluer le sujet sur les propositions thèmes ?

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

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

          new topic created 🙂

          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

            Thank's the help, and the moving topic supernature2k.

            Now I think can finish my theme ... even without photoshop skills 😉 I will take the tests now

            Is not pretty I know but if someone wants it so request... ^^

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

              @PumpKHeaD
              Hello,
              I'm interested by your Mix! ;o)

              Thème FoolScreen / Squared

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

                Hi cotedeporc,
                I have not finished this MIX yet because I'm having some small problems. And I start work in others MIX's for all system.

                Like this for GBA, I don't want a empty GBA for non scraped roms. Need made test's, if anyone else have tips or suggestions... 🙂

                0_1469996354523_exemple.png

                And Screech It helped a lot with this little tutorial, now who want, can make your own MIX too 😉

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

                  Hi @PumpKHeaD ,

                  Check the standard mix, you can put a pic like the snow screen that will be visible if no screenshot is found.

                  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 PumpKHeaD

                    Sorry supernature2k, I do not understand your explanation, cause if I want a GBA image, I need put this on the MIX file. The Standard MIX dont use a local image.

                    My solution was clear the option "add empty roms" but the problem is the rom is not added to the XML file.

                    1 Reply Last reply Reply Quote 0
                    • 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
                                            • First post
                                              Last post

                                            Want to support us ?

                                            68
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com