Help - Search - Members - Calendar
Full Version: A Few Bugs I Found While Updating Entrymaker
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official MediaXMenu (MXM) Forum > MXM ActionScripting Forum
flattspott
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.
BenJeremy
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.

Right from the code:

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 ) );


So if there's an EXE field, or a DESC field, it should work.
flattspott
QUOTE
SetActionVar( _T("_GameDesc"), pMenuNode->GetString( NULL, _T("desc"), _T(""), true ) );


Well somethings not right then cause in the cachemenu theres these.

<descr>Region / Dongle Free</descr>
<description>Region / Dongle Free</description>

No sign of just Desc
BenJeremy
Well, then, I'll fix that for "descr" wink.gif
flattspott
OMG, you're not gonna believe this.This was not a bug, but stupidity on my part. The reason the title and descr weren't showing up is because I was running the script as a normal menu item, rather then a Context item. Duh! blink.gif
flattspott
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?
flattspott
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.
BenJeremy
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?

That will probably change when I revamp the initialization shortly.
BenJeremy
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.

That's probably because I haven't had a chance to update the WIP since then wink.gif

Patience... I hope to be able to update tonight, but I was having some difficulties with my internet at home, and I've been working very long hours this week.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.