xboxscene.org forums

Author Topic: A Few Bugs I Found While Updating Entrymaker  (Read 324 times)

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
A Few Bugs I Found While Updating Entrymaker
« on: February 23, 2004, 03:35:00 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.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
A Few Bugs I Found While Updating Entrymaker
« Reply #1 on: February 23, 2004, 04:20:00 PM »

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.
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
A Few Bugs I Found While Updating Entrymaker
« Reply #2 on: February 23, 2004, 05:25:00 PM »

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
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
A Few Bugs I Found While Updating Entrymaker
« Reply #3 on: February 23, 2004, 05:35:00 PM »

wink.gif
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
A Few Bugs I Found While Updating Entrymaker
« Reply #4 on: February 26, 2004, 10:43:00 AM »

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:  
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
A Few Bugs I Found While Updating Entrymaker
« Reply #5 on: February 26, 2004, 11:03:00 AM »

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?
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
A Few Bugs I Found While Updating Entrymaker
« Reply #6 on: February 26, 2004, 03:37:00 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.  
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
A Few Bugs I Found While Updating Entrymaker
« Reply #7 on: February 27, 2004, 05:06:00 AM »

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.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
A Few Bugs I Found While Updating Entrymaker
« Reply #8 on: February 27, 2004, 05:00:00 AM »

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.
Logged