RetroFE forums

Artwork & Layouts => Share your theme => Topic started by: NeoID on February 06, 2017, 08:53:00 PM

Title: RetroBox 4:3
Post by: NeoID on February 06, 2017, 08:53:00 PM
Hi guys,

Before switching to the new domain I was working on a new theme for RetroFE called RetroBox.
The theme also features a script that "compiles" menu items containing artwork, genre, players and year. See code for valid arguments, I haven't organized the code just yet, but it works.
Unfortunately none of the artwork, media or stories are included for now, but I'm working on a complete setup. :)

About the theme and concept: https://idmedia.no/projects/retrobox/creating-new-theme-retrofe/

Screenshots
(https://idmedia.no/wp-content/uploads/2016/11/SystemView.png)
(https://idmedia.no/wp-content/uploads/2016/11/GameView.png)

Video
https://www.youtube.com/watch?v=sJ8E9ZXN3fE (https://www.youtube.com/watch?v=sJ8E9ZXN3fE)
I post some videos now and then, so please subscribe if you want to stay up to date of this or other projects. :)

Thanks
A huge thank you to Pieter Hulshoff for taking over the RetroFE project and keeping it alive!
Another thank you to JonahUK for the initial ideas for the script (using Photoshop).

Download
Download here (https://idmedia.no/projects/retrobox/preview-retrobox-theme-retrofe/)
Title: Re: RetroBox 4:3
Post by: Floyd on February 07, 2017, 12:40:44 PM
Looks nice, thanks for sharing :)
Title: Re: RetroBox 4:3
Post by: JonahUK on February 07, 2017, 12:58:36 PM
Another thank you to JonahUK for the initial ideas for the script (using Photoshop).

Glad you sorted it and the theme is looking nice!
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on February 07, 2017, 01:50:12 PM
Looking good indeed. Still sorting how to support this menu structure directly in RetroFE rather than having to create specific images.
Title: Re: RetroBox 4:3
Post by: ryuuji on February 07, 2017, 02:33:14 PM
Nice one  :)
Takk!
Title: Re: RetroBox 4:3
Post by: NeoID on February 18, 2017, 03:47:31 PM
Thanks for the feedback. While I'm quite happy with the game selection screen, the console view is a bit "confusing" when using it with a lot of systems. I currently have 175 systems on mine and I quickly struggle to find the right console. I think of adding another layer so the user first has to select the year (e.g. 1980-1985,1985-1990,...), but I'm not sure if that's the best solution either.

I've also thought about adding a graphical timeline on top of the console view so you can see "where you are" in relation to the other consoles... Another (awesome) solution would be a grid/wall layout, but that's something that unfortunately isn't supported yet *looks at Pieter Hulshoff with huge Bambi eyes*

I appreciate any ideas here. :)
Title: Re: RetroBox 4:3
Post by: Sequence on March 27, 2018, 12:18:31 PM
Just had to say I liked this theme a lot when I first saw it. The fact that an image was needed for each menu item with the box & title & and genre made me not want to travel this road. I can say now that this is possible without custom images. After what I've just seen, I know fantastic things are possible if coded correctly. In other words, I could make this theme with no extras necessary as it would natively use the box and info as a single image. Im recreating igarikoitz aura theme and....wow.

Big thanks to him & Peter.
Title: Re: RetroBox 4:3
Post by: NeoID on March 27, 2018, 12:49:54 PM
Just had to say I liked this theme a lot when I first saw it. The fact that an image was needed for each menu item with the box & title & and genre made me not want to travel this road. I can say now that this is possible without custom images. After what I've just seen, I know fantastic things are possible if coded correctly. In other words, I could make this theme with no extras necessary as it would natively use the box and info as a single image. Im recreating igarikoitz aura theme and....wow.

Big thanks to him & Peter.

I know.. it's not perfect, but it automatically generates those images for you... :)
Title: Re: RetroBox 4:3
Post by: Sequence on March 27, 2018, 03:41:41 PM
Oh, take no offense. I loved your theme. Just wanted to say retrofe can perform this theme natively & should be added to the front page to showcase its abilities.
Title: Re: RetroBox 4:3
Post by: Sequence on March 30, 2018, 09:26:10 AM
O.K. Having said that...I'm only missing the tiles underneath the artwork. I can't display much more than titles and boxes natively as menus. What would work is to batch the exact same tile image for each game & have them named accordingly.

So the question is... how would one call a background image for each game? Not asking for the singular background like fanart but rather use the same background image displayed underneath all logos. Hopefully this can be done without batch. If not, I'm just gonna batch 1000's of the same image.
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on March 30, 2018, 11:30:22 AM
I think you could create a new menu with an unused image type, and just use default.png for all games. Would that work for you?

Sent from my SM-G950F using Tapatalk

Title: Re: RetroBox 4:3
Post by: latreides on March 30, 2018, 02:05:07 PM
I like the design of this theme, but how does it look for taller/narrower boxes?  (Ex: PS2, Wii, PSP, With the extreme being Sega Saturn?)
Title: Re: RetroBox 4:3
Post by: Sequence on March 31, 2018, 12:34:45 AM
Just found out about the default. I'll see what I can do to make it work. Appreciate it!! I'll get back with my results.
Title: Re: RetroBox 4:3
Post by: Sequence on March 31, 2018, 11:18:22 AM
The "default.png" doesn't appear to be working for me. The image I am trying to use does appear when it's titled the same as a listed game but "default.png" does not populate the other games. What I belive should work is (imageType="screentitle" mode="layout") with the location of (RetroFE\layouts\layoutname\collections\Super Nintendo Entertainment System\medium_artwork\screentitle\default.png). This does not function with or without another image.


  No mode used:
      collections/SNES/medium_artwork/logo/1942.png
      collections/SNES/medium_artwork/logo/default.png
  Mode layout:
      layouts/<layout name>/collections/SNES/medium_artwork/logo/1942.png
      layouts/<layout name>/collections/SNES/medium_artwork/logo/default.png                  *Here is what does not work for me. Logo obviously works as I have the logos, but an unused imageType with default.png in it's directory :(
  Mode system:
      collections/SNES/system_artwork/logo.png
  Mode systemlayout:
      layouts/<layout name>/collections/SNES/system_artwork/logo.png
  Mode common (not very useful for type logo):
      collections/_common/medium_artwork/logo/1942.png
      collections/_common/medium_artwork/logo/default.png
  Mode commonlayout (not very useful for type logo):
      layouts/<layout name>/collections/_common/medium_artwork/logo/1942.png
      layouts/<layout name>/collections/_common/medium_artwork/logo/default.png    
    
*If you could test and confirm how this is done that would be awesome.
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on March 31, 2018, 01:53:05 PM
I'll have a look; I haven't used this feature with menus yet.

Sent from my SM-G950F using Tapatalk

Title: Re: RetroBox 4:3
Post by: billyc666 on March 31, 2018, 02:10:04 PM
shouldn't it go under collections\SNES\medium_artwork\fanart\default.png
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on March 31, 2018, 09:08:54 PM
I just checked; the functionality is not yet implemented for menus. I will correct that as soon as I finish with the configuration menu features.
Title: Re: RetroBox 4:3
Post by: Sequence on April 01, 2018, 06:41:07 AM
Thanks guys. One more thing. If it would be possible to "menu up" items like numberPlayers, that would be awesome. Closer & closer I get to my theme. Take all the time you need. We all got jobs and lives  :)
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on April 01, 2018, 07:14:25 AM
Thanks guys. One more thing. If it would be possible to "menu up" items like numberPlayers, that would be awesome.

I’m not sure what you mean. Can you elaborate?


Sent from my iPad using Tapatalk
Title: Re: RetroBox 4:3
Post by: Sequence on April 01, 2018, 02:29:14 PM
Well as far as menus go, you can't make menus of all reloadable things. You can't make a menu for year, manuf, numberPlayer, genre, etc. You can for items like the title, even the reloadable images like artwork_front and logos. Not so much for things like a menu of just fanarts. Of course it gets loaded for the the single item on screen but to have a menu that shows all on-screen items including the players for each game is a no go. A menu to show a default image for all on-screen items is a no go. You can only reload the single item in the menu.

Good example, look at the snes mini game menu. Underneath each game there is an image for the numberPlayers underneath each box. This I cannot do.
Title: Re: RetroBox 4:3
Post by: billyc666 on April 01, 2018, 03:03:08 PM
ah i see what you mean now, i just tested to see if i could get it working, no luck.
an alternative would be to batch the images with the name of the rom, maybe a bit time consuming as you would need a complete list of players for all your roms, you could then add to an unused artwork folder and add it as a menu item rather than a re-loadable image.
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on April 01, 2018, 04:05:31 PM
Sounds like I have some work to do.


Sent from my iPad using Tapatalk
Title: Re: RetroBox 4:3
Post by: billyc666 on April 01, 2018, 04:55:52 PM
wish i could help you, sounds like there's lot's of features to add and just your expertise at the helm.
i have been reading the code to try and see how layout xml interacts with the code on the menu items but i cant seem to see what im looking for. :-\
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on April 01, 2018, 06:02:40 PM
wish i could help you, sounds like there's lot's of features to add and just your expertise at the helm.
i have been reading the code to try and see how layout xml interacts with the code on the menu items but i cant seem to see what im looking for. :-\

That's actually a very good way to learn how to program; read other people's code that interests you, and try to understand what it does, and why it does it. :)
You can find the handling of the layout xml code in the PageBuilder.cpp file; within that file it will create components for each of the tags in the xml file. The working of these components can be found in the different component subclasses, like reloadableMedia.cpp, reloadableText.cpp, etc.
Title: Re: RetroBox 4:3
Post by: billyc666 on April 01, 2018, 08:56:37 PM
Thank you, well at least i was looking in the right file to start with.
i don't mean to hijack this thread but  what sequence is asking is it the same basically as im looking into regarding grid but slightly different as it calls another function

example

DataGridViewImageCell: Used to display pictures. Here is an example:
DataGridViewCell ^ celShowPicture = gcnew DataGridViewImageCell;
DataGridViewLinkCell: Used to display linked labels. Here is an example:
DataGridViewCell ^ celEmailAddress = gcnew DataGridViewLinkCell;
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on April 01, 2018, 09:10:28 PM
Thank you, well at least i was looking in the right file to start with.
i don't mean to hijack this thread but  what sequence is asking is it the same basically as im looking into regarding grid but slightly different as it calls another function

example

DataGridViewImageCell: Used to display pictures. Here is an example:
DataGridViewCell ^ celShowPicture = gcnew DataGridViewImageCell;
DataGridViewLinkCell: Used to display linked labels. Here is an example:
DataGridViewCell ^ celEmailAddress = gcnew DataGridViewLinkCell;

Grids are currently not supported by RetroFE; menu tags are translated into ScrollingList objects. At the moment, at least one menu tag needs to be available in the layouts. I've considered grids as well, but haven't decided yet on how they should be implemented or even how they should work for that matter. There's many different ways to build a grid of games, but which one to choose?
Title: Re: RetroBox 4:3
Post by: billyc666 on April 01, 2018, 09:26:59 PM
ideally the grid needs to be resizable so you can choose the actual container size and how may items can be displayed within the grid, plus each item within the grid would need it's own height & width

example views

A B C D
E F G H
I J K L
M N O P

or

A B C D E F
G H I J K L
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on April 01, 2018, 10:53:37 PM
Sure, but others may want one row to hold all games with letter A, the next with games with letter B, etc.
Title: Re: RetroBox 4:3
Post by: Pieter Hulshoff on April 02, 2018, 11:08:11 AM
New version for you to try out: http://retrofe.nl/SMF/index.php?topic=7.msg2869#msg2869
Title: Re: RetroBox 4:3
Post by: billyc666 on April 02, 2018, 03:19:50 PM
I never even thought of that scenario. sounds a good one too. ill try the new version when i get time later.