1
Themes / Old school gaming nights
« on: March 27, 2021, 02:55:29 PM »
Just stumbled upon this video on YT and thought, wow that would be a sweet front end. What do you guys think?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
There is a bug for me in 4.9.
Here's the steps to reproduce it.
Should be fixed in this layout.nut, with the side effect that you can't wrap around the list in history view or when going next_page/game, prev_page/game with hotkeys. At least it doesn't break the list.
You can try the attached layout: it should fix the cropping of box art, and use all the notes in parenthesis. Please let me know if it works for you
function trimmed_name( index_offset ) {
local s = split( fe.game_info( Info.Title, index_offset ), "(" );
if ( s.len() > 0 )
return s[0];
return "";
}
// gets the second part of the game name, after the "("
function subname1( index_offset ) {
local s = split( fe.game_info( Info.Title, index_offset ), "(" )
local s2 = ""
if ( s.len() > 1 ) {
s2 = split(s[1],")")
return s2[0]
}
return ""
}
// gets the third part of the game name, after the "("
function subname2( index_offset ) {
local s = split( fe.game_info( Info.Title, index_offset ), "(" )
local s3 = ""
if ( s.len() > 2 ) {
s3 = split(s[2],")")
return ", " + s3[0]
}
return ""
}
// gets the fourth part of the game name, after the "("
function subname3( index_offset ) {
local s = split( fe.game_info( Info.Title, index_offset ), "(" )
local s4 = ""
if ( s.len() > 3 ) {
s4 = split(s[3],")")
return ", " + s4[0]
}
return ""
}
// Any blank--if no text after parenthesis, then sends N/A
function subname4( index_offset ) {
local s = split( fe.game_info( Info.Title, index_offset ), "(" )
local s5 = ""
if ( s.len() > 1 ) {
s5 = split(s[1],")")
return ""
}
return "N/A"
}
local region_text =fe.add_text("",100, 100, 500, 22 )
fe.add_transition_callback( "update_game_info" )
function update_game_info( ttype, var, ttime )
{
if ( ttype == Transition.StartLayout || ttype == Transition.ToNewList || ttype == Transition.EndNavigation )
{
region_text.msg = subname1 (var) + subname2 (var) + subname3 (var) + subname4 (var) ;
}
return false;
}
I've attached the log. Hopefully you can get to the bottom of this. Would having my romlists, at least for all my arcade lists, help?
The log was very helpful: Arcadeflow is throwing an error, and that's the reason why you see that inconsistent and strange behavior. It's the same kind of error you had in the past, there are two very similar functions in Arcadeflow, one for game sorting used to populate the labels, one for extracting the first letter of the name. Basically one was patched and the other not.
If you want you can try this patched layout.nut, and tell me if it works better...
Are you using the same layout for all your displays? Don't mix 4.7 with previous versions.Yes. Deleted 4.6 along time ago.
Do you have a script.nv file in your AM folder? If yes, please share it here so I can check it
Can you share your attract.cfg and cfg files in the Emulators directory?
The setting "Show boxart or flyer mode" should be renamed because it's confusing: it's not a selection of boxart vs flyers, actually boxart and flyers are the same thing in AM. So despite the bad wording, if it's set to "Yes" then boxart (or flyers for arcade) are shown, if it's set to "No" then screenshots are shown. But this is just a "default" setting. Each display can have its own setting, just set a hotkey (by default Custom3) or use the utility menu to switch each display as you like it.
Good to know that at least crashes are no more! The small thumbnails is an option in Horizontal Rows: the option is now 1-Small, 1, 2, 3 and the first one is what you should set to see small thumbs
Well System is already present: it's in the smaller line under the game title. I'll add back the filters data, maybe in a different place instead of the bottom.
I've almost finished polishing 4.7, hopefully it will be less a disaster than 4.6