Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Can anyone help assign an image to a custom list in GameEx?

I have configured custom lists folder in gameex.ini to point to Mame\CustomFolders

In that folder I have created ini files to create custom lists.

For example, Trackball.ini contains the following:

 

[FOLDER_SETTINGS]

RootFolderIcon = cust1.ico
SubFolderIcon = cust2.ico

[Trackball (Red)]

centiped
lemmings
milliped
missile1

This works fine - when I Update List is see the customs in GameEx.

But how do I assign an image to the list?  I read that if I create an image with the same name as the ini - for example Trackball.png in the media\logos folder of my theme Default - Default that should be displayed on the folder.

But it doesn't work.  Any ideas how to achieve this?

Thanks.

 

 

 

Posted

Can you please attach copies of your gameex in and log.txt files?

Posted

Thanks for your help.  ini and log attached.  Just for a bit more information, I have created a number of custom lists, for example Spinner.ini, Single_Joystick.ini and created images in logos folder in the theme with the same name.  The lists appear but the images do not.

Custom List Folder.png

Theme Logos.png

GameEx.ini log.txt

Posted

Will need to get @Tom Speirsinput on this as I do not think that GameEx can render an image based upon the custom list .ini files within MAME. 

Also, of note, you should probably upgrade to version 19.72. You are a few versions and bugfixes with 19.67.

Posted

Thanks, I'll upgrade the version.  Would be a shame if you couldn't add an image.  Default lists have them.

I found someone online that had mentioned icons - can't find it now - but no documentation - not been able to find any documentation for the ini files.  Best I think is here - but all the links are broken.

 

Posted

To be honest I am not certain that this process ever supported any images as this is being sorted via MAME, not GameEx proper as I noted previously. 

Posted

For anyone that stumbles on this thread, I figured it out.  I update a setting in gameex.ini from "Snap" to "True".  After that it display icons in the theme's logos folder with the same name as the list item.  

[LIST_SETTINGS_8]
displaybackgroundimage=True

 

Posted
2 hours ago, PhilA said:

For anyone that stumbles on this thread, I figured it out.  I update a setting in gameex.ini from "Snap" to "True".  After that it display icons in the theme's logos folder with the same name as the list item.  

[LIST_SETTINGS_8]
displaybackgroundimage=True

 

Thank you for being stubborn and proving me wrong! Would you mind attaching a brief video to show how this works within your build?

Posted

Image of my images attached - I put those into C:\GameEx\THEMES\Default - Default\MEDIA\LOGOS.  Video attached too - all lists except "All Mame Games" are custom lists.  You can see that they load the relevant image with the same name as the list.  Just have to have the entry in gameex.ini set correctly.  Don't really know what those ini entries do but works as I want it to.  GameEx is great but lots of the great functionality is sparely documented. 

e.g. Working on a plugin at the moment to handle plugging in my custom control panels and provide information back to the user - trickly to build the plugin based on the documentation.  Worked out most of it but I am trying to work out if I can trigger a game list update or an exit of the gameex app but stuggling to work it out.  I guess it should be possible to use GameExEventQueue.Add() to send a command but can't find any docs on what commands are available.

 

images.png

Posted

Right after I typed that I might have just figured it out from the "Random Arcade Sound" example plugin.  Working on it.

Posted
49 minutes ago, PhilA said:

Image of my images attached - I put those into C:\GameEx\THEMES\Default - Default\MEDIA\LOGOS.  Video attached too - all lists except "All Mame Games" are custom lists.  You can see that they load the relevant image with the same name as the list.  Just have to have the entry in gameex.ini set correctly.  Don't really know what those ini entries do but works as I want it to.  GameEx is great but lots of the great functionality is sparely documented. 

e.g. Working on a plugin at the moment to handle plugging in my custom control panels and provide information back to the user - trickly to build the plugin based on the documentation.  Worked out most of it but I am trying to work out if I can trigger a game list update or an exit of the gameex app but stuggling to work it out.  I guess it should be possible to use GameExEventQueue.Add() to send a command but can't find any docs on what commands are available.

 

images.png

Thanks for the demo! I have zero experience in working with the GameEx plugins. You may want to open another thread and document what you want to do with your plugin, where you are running into any issues, and provide any detailed examples. I am certain @Tom Speirs will be able to help you fill in any blanks!

Posted

No problem.  I worked out what I needed to do in the plugin.  I have one more UI issue to resolve then my set up is complete.  When I navigate down through a list of games and get to the bottom, it wraps/loop back up to the top of the list.  Makes it difficult to select games at the bottom of the list.  And there doesn't seem to be an obvious way to stop the behaviour in gameex.ini.  I'll open a new forum thread.

  • Like 1
  • Draco1962 changed the title to [RESOLVED] Image for custom game list
Guest
This topic is now closed to further replies.
×
×
  • Create New...