| QUOTE (flattspott @ Feb 23 2004, 08:28 PM) |
| 1. To display the old title I use SetFunc OldTitle XBETitle %_GameExe% XMLSetValue EntryDLG !.Control?CtrlID=109.Value %OldTitle% Now this works everytime if ita retail game. only sometimes for the hombrew stuff though. Ballzy is an example. It's doesn't say anything 2. It also seems like the _GameDesc variable doesn't work at all either. |
| CODE |
SetActionVar( _T("_GameTitle"), pMenuNode->GetString( NULL, _T("title"), _T(""), true ) ); SetActionVar( _T("_GameDesc"), pMenuNode->GetString( NULL, _T("desc"), _T(""), true ) ); SetActionVar( _T("_GameDir"), pMenuNode->GetString( NULL, _T("dir"), _T(""), true ) ); SetActionVar( _T("_GameExe"), pMenuNode->GetString( NULL, _T("exe"), _T(""), true ) ); SetActionVar( _T("_GameMedia"), pMenuNode->GetString( NULL, _T("media"), _T(""), true ) ); SetActionVar( _T("_GameThumbnail"), pMenuNode->GetString( NULL, _T("thumbnail"), _T(""), true ) ); SetActionVar( _T("_GameXBEID"), pMenuNode->GetString( NULL, _T("xbeid"), _T(""), true ) ); SetActionVar( _T("_GameVerified"), pMenuNode->GetString( NULL, _T("verified"), _T(""), true ) ); |
| QUOTE |
| SetActionVar( _T("_GameDesc"), pMenuNode->GetString( NULL, _T("desc"), _T(""), true ) ); |
| QUOTE (flattspott @ Feb 26 2004, 03:56 PM) |
| And another thing, what going on in the cache_menu.xml <exe>F:\EMULATORS\NES\default.xbe</exe> <xbecurpath>F:\EMULATORS\NES\default.xbe</xbecurpath> Why both? And why is it that not all the items in the cache_menu have both? |
| QUOTE (flattspott @ Feb 26 2004, 08:30 PM) |
| The Description part still don't work though. I've tried _GameDesc _GameDescr _GameDescription All of them come up blank when I try to load them into an editbox. Even the they come up fine for the menu in some skins. |