Automatic video mode switching when loading game

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Morien Offline
Senior Member
Posts: 185
Joined: Dec 2003
Reputation: 0
Lightbulb  Automatic video mode switching when loading game Post: #1
hi,

i allways seem to get the odd game or prog that won't run at all, or won't run properly in pal-50 mode.
to make them work properly i need to switch the xbox to pal-60, which on my tv squashes the picture and deforms the top and bottom, or rarely ntsc, which on my tv plays squashed and in black and white.
would it be possible to set individually (in a default.txt file even) to switch outputs on program launch, and then revert back when xbmc opens again (which would be after a cold or warm reboot)?

so when i boot xbmc it stays in pal-50 mode, but if i boot say, hitman contracts ntsc (which doesn't work in pal-50 mode) then xbmc will automatically switch to pal-60 just before launching the game. this would take slightly longer to launch i think, however it's much easier than going into the ms dash everytime i want to play hitman. for other games which haven't been set to change, it would be the same loading time.

is this possible?
thanks
morien
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #2
i believe that ava launch can handle doing this. a work around would be to set up ava launch and use that to launch your games. (you can launch ava from xbmc if you don't want to use it as a dash.)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Morien Offline
Senior Member
Posts: 185
Joined: Dec 2003
Reputation: 0
Post: #3
hmm. well i guess i'll do that until a time when it's implemented into xbmc... if ever.. thanks for the heads up.

morien
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,595
Joined: Sep 2003
Reputation: 9
Location: Sweden
Exclamation    Post: #4
i've got the videomode switch source code from cherry (link) that unleashx uses to switch pal <=> ntsc 'on-the-fly' when/before launching a game if someone would like to look at it. this code does not write to eeprom (however it do require a restart of a xbe so can't be used to switch video modes within xbmc), i believe it does this by patching the xbox bios (or eeprom?) that gets loaded into the protected memory are in the ram at boot(?). ps! i believe nexgen also have source code available for this(?), evox and avalauch also have this fucntion but i believe they do it in a other way(?).

maybe an unofficial dev could code a patch for this from that?, (as i don't think any devs on team-xbmc prioritise this?)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Mental Block Offline
Senior Member
Posts: 107
Joined: Oct 2003
Reputation: 0
Location: Kent, UK
Post: #5
this feature would certainly be great Smile

i did look for a xbe to changed it and then load the original renamed xbe, but never found it Sad

hope some one can implement this :thumbsup:
find quote
CosyCat Offline
Senior Member
Posts: 263
Joined: Mar 2005
Reputation: 0
Location: Sweden
Post: #6
auto switch to ntsc(only games that only run under ntsc) when i start a game.

i like to have this because some of my games only run under ntsc..like psychonauts (i must run video disc switch and switch to ntsc for this game to work)

my xbox is pal

[Image: cosycat.gif]
find quote
spiff Online
Grumpy Bastard Developer
Posts: 12,180
Joined: Nov 2003
Reputation: 82
Post: #7
sf.net patch #1194146

all cred/blame to cherry for sharing his code Smile

spiff

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
CosyCat Offline
Senior Member
Posts: 263
Joined: Mar 2005
Reputation: 0
Location: Sweden
Post: #8
great will this be implanted in later builds of xbmc or must i do it myself??

[Image: cosycat.gif]
find quote
A600 Offline
Fan
Posts: 461
Joined: Oct 2003
Reputation: 7
Post: #9
i tried to compile but it gives the following error:

Quote:util.obj : error lnk2019: unresolved external symbol "bool cdecl cutil::launchxbe(char *,char *,char *)" (?launchxbe@cutil@@saxpad00@z)
find quote
spiff Online
Grumpy Bastard Developer
Posts: 12,180
Joined: Nov 2003
Reputation: 82
Post: #10
uhm,

perhaps i accidentially uploaded the wrong version. will check it out this evening, i was might tired yesterday

spiff

edit: had a look at the uploaded code. everything looks correct from here. are you sure that you added all necessary files to the project? perhaps a clean is required. no bool cutil::launchxbe(...) exists in the cvs tree anyway, it's a void function.

will try to apply it to a vanilla cvs tree when i get back home

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Post Reply