User Tools

Site Tools


en:customize_decorations_bezels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:customize_decorations_bezels [2019/01/23 20:16]
nadenislamarre
en:customize_decorations_bezels [2019/07/08 22:05] (current)
lbrpdx
Line 2: Line 2:
  
   * connect to your batocera.linux,​ via the network for example   * connect to your batocera.linux,​ via the network for example
-  * on the userdata folder (next to roms, bios, ...) create a directory called decorations+  * in the ''/​userdata/'' ​folder, create a directory called ''​decorations'' ​(next to ''​roms''​''​bios''​, ...) 
  
 {{:​en:​bezel1.png?​500|}} {{:​en:​bezel1.png?​500|}}
  
-  * inside the decorations folder, create a new directory, let's call him mybezels+  * inside the ''​decorations'' ​folder, create a new directory, let's call it ''​mybezels''​
   * go in batocera.linux menu > games > decorations   * go in batocera.linux menu > games > decorations
   * check that the mybezels decoration is available and select it   * check that the mybezels decoration is available and select it
Line 12: Line 12:
 {{:​en:​bezel2.png?​500|}} {{:​en:​bezel2.png?​500|}}
  
-  * Note 1 : defaults ​bezels are available at https://​github.com/​batocera-linux/​batocera-bezel +  * Note 1 : default ​bezels are available at https://​github.com/​batocera-linux/​batocera-bezel 
-  * Note 2 : if you create a "​default"​ folder instead of a custom name, bezels will replace the existing "​default"​ bezel (the 2 folders will be virtually merge, taking as preference the userdata bezels)+  * Note 2 : if you create a "​default"​ folder instead of a custom name, bezels will replace the existing "​default"​ bezel (the 2 folders will be virtually merge, taking as preference the ''​userdata'' ​bezels)
  
 === Create a new bezel === === Create a new bezel ===
Line 23: Line 23:
 You can have the 3 at the same time. If a specific bezel if found for a game, it will be taken, otherwise, the system bezel will be taken, otherwise, the default bezel will be taken, otherwise if there is no suitable bezel, no bezel will apply. You can have the 3 at the same time. If a specific bezel if found for a game, it will be taken, otherwise, the system bezel will be taken, otherwise, the default bezel will be taken, otherwise if there is no suitable bezel, no bezel will apply.
  
-A bezel is composed of 2 files. A .png file and a .info file.+A bezel is composed of 2 files. A ''​.png'' ​file and a ''​.info'' ​file.
  
 == specific games == == specific games ==
-Bezel for specific games must be placed in the games directory and have the same name as the rom.+Bezel for specific games must be placed in the ''​games'' ​directory and have the same name as the rom.
  
-Example: mybezels/​games/​mario1.png and mybezels/​games/​mario1.info+Example: ​''​mybezels/​games/​mario1.png'' ​and ''​mybezels/​games/​mario1.info''​
  
 == specific systems == == specific systems ==
-Bezel for specific systems must be placed in the systems directory and have the same name as the system.+Bezel for specific systems must be placed in the ''​systems'' ​directory and have the same name as the system.
  
-Example: mybezels/​system/​snes.png and mybezels/​system/​snes.info+Example: ​''​mybezels/​system/​snes.png'' ​and ''​mybezels/​system/​snes.info''​
  
 == default bezel == == default bezel ==
-The default bezel must be at top and have the name default.png and default.info+The default bezel must be at top and have the name ''​default.png'' ​and ''​default.info''​
  
 === Example === === Example ===
-Create the file mybezel/​default.png. +Create the file ''​mybezel/​default.png''​
-A size of 1920x1080 is recommanded.+A size of 1920x1080 is recommended.
 The bezel will be drawn over the emulator rendering. Thus, you must keep transparent parts on the image. The bezel will be drawn over the emulator rendering. Thus, you must keep transparent parts on the image.
  
Line 46: Line 46:
  
 == the .info file == == the .info file ==
-The .info file is a text file describing how the image must be displayed over the emulator. +The ''​.info'' ​file is a text file describing how the image must be displayed over the emulator. 
-  * width: width of the image +  * ''​width''​: width of the image 
-  * height: height of the image +  * ''​height''​: height of the image 
-  * top: top/​left/​bottom/​right define the marge in pixel let to render the emulator. +  * ''​top''​: top/​left/​bottom/​right define the marge in pixel let to render the emulator. 
-  * left: top/​left/​bottom/​right define the marge in pixel let to render the emulator. +  * ''​left''​: top/​left/​bottom/​right define the marge in pixel let to render the emulator. 
-  * bottom: top/​left/​bottom/​right define the marge in pixel let to render the emulator. +  * ''​bottom''​: top/​left/​bottom/​right define the marge in pixel let to render the emulator. 
-  * right: top/​left/​bottom/​right define the marge in pixel let to render the emulator. +  * ''​right''​: top/​left/​bottom/​right define the marge in pixel let to render the emulator. 
-  * opacity: a value between 0.0 and 1.0 to define the transparency of the image +  * ''​opacity''​: a value between 0.0 and 1.0 to define the transparency of the image 
-  * messagex: ​the horizontal position of game messages (when a state is saved for example) +  * ''​messagex''​: horizontal position of game messages (when a state is saved for example) 
-  * messagey: ​the vertical position of game messages (when a state is saved for example)+  * ''​messagey''​: vertical position of game messages (when a state is saved for example)
  
   {   {
en/customize_decorations_bezels.txt · Last modified: 2019/07/08 22:05 by lbrpdx