emuola
Nov 28 2005, 07:45 AM
It's hard to believe, that there seems to be no answer to the problem with xport emulators and hdtv resolution. I can start the emulators, but when I try to set the resolution to 720p, the screen gets corrupted

This is a real shame, 'cause otherwise the emus are pure fun. Could someone please give me some info?
hargle
Nov 28 2005, 08:45 PM
There's no solution entirely because the source code for xport's emulators are locked away in his basement somewhere.
Unfortunately, xport himself also seems to be locked away somewhere as it's been a year+ since he's shown up here. Without the code and the code master, there is no hope for any fix.
sigh.
sp0n
Nov 29 2005, 02:50 AM
It is a problem with the newer xboxes and their video chip. Older xbox units do not have this problem. I suggest picking up a v1.0 xbox and modding it. it is worth it if you have a hdtv.
see this thread
http://forums.xbox-scene.com/lofiversion/i...hp/t424865.html
emuola
Nov 29 2005, 09:35 AM
Da*n

This was just what I assumed, because it's the only thing that makes sense. I have a 1.6 box

The da*n xcalibur seems to be a real pain in the back for many xbox homebrew projects. Ok I can set my tv to display the 480i pretty nicely, but ofcourse it would be great to see the old games in 720p. I'm gonna start a petition to get the source for the xport's emus or an update from the guy himself. I hope you guys "join the tune"

Oh, and one more thing: How can I set up 2 joystics properly for a two player game in vice64x and winuaex? Don't tell me it's also a thing that doesn't work
hargle
Nov 30 2005, 12:10 AM
QUOTE(emuola @ Nov 29 2005, 09:42 AM)

I'm gonna start a petition to get the source for the xport's emus or an update from the guy himself. I hope you guys "join the tune"
Oh, believe me, I will be joining in that petition.
I've already offered a bounty of $250 for the complete set, with the agreement that I will make them all open source upon receiving them so we can collectively get out of this situation.
Chron Johnson
Dec 1 2005, 12:45 AM
If that bounty is indeed only to be offered to XPort then I would imagine it would cheapen his exhaustive efforts and serve to insult him. I sort of liked it better when it was a true bounty on current, compilable sources, open to all bounty hunters. As to the 720p problem, is this distinct from the problem whereby an emulator launched in progressive scan mode will in fact launch in interlaced mode, or vice versa, and appear scrambled? This happens to me on the plasma, but for some reason not all the time. It's a luck of the draw thing. 1.6 Box here with the XCalibur. Is the XCalibur really what's dreaded? I've heard that launching from a dash that does not auto adjust the launched application to the set resolution will solve the problem...case in point launching from Evolution X instead of XBMC. I've yet to explore this, but I wonder if this alleged problem with XPort's code is in fact solvable with current tools and by current means. Because the same problem happens with FBA-XXX and Surreal XXX for me, if indeed we're talking about the same difficulty in getting a newer XBox to output emulators in HD.
emuola
Dec 1 2005, 08:48 AM
Ok, if that's the case I'm not burying my box just yet

I have only tried Avalaunc, which sets the resolution automatically, so that could be the case. I'll try evox, so that we'll see how it goes. I haven't been able to get the 720p to work ever, so I haven't been so lucky as you

Please reply, if any progress is made.
hargle
Dec 1 2005, 05:43 PM
QUOTE(Chron Johnson @ Dec 1 2005, 12:52 AM)

If that bounty is indeed only to be offered to XPort then I would imagine it would cheapen his exhaustive efforts and serve to insult him. I sort of liked it better when it was a true bounty on current, compilable sources, open to all bounty hunters.
This is an excellent point. (and sorry for hijacking the 720p thread)
I was looking at the bounty as more of an incentive for xport to get paid for spending 10 minutes of his life zipping up his current source tree and putting it on xbins, then he can go back to his real life for as long as he'd like.
However, as the situation continues to decay, that reward might just have to paid to the first one to offer them up!
So far, it's a bit of a moot point, since no one is even hinting that they have the sources.
guybird
Dec 7 2005, 05:59 PM
I have the dreaded "scrambled screen of death" whenever I enable 480p in my MS dash. My tv supports it, as I play many games that support 480p with it on, but for whatever reason, the emus will not boot properly with it turned on. So this creates a huge burden of:
Do I want to play an emulator? If so then go turn off 480p
Do I want to play xbox games? If so then gurn on 480p
Its so annoying as you'll forget what you last set it to, and have to do multiple reboots in order to square everything away. On a similar note, whenever I boot FBA with the 480p off (else it gets scrambled) and then try to turn on progressive scan, it gets once again scrambled. Is it due to the 480p not being enabled? Or is it really enabling 720p and is just getting corrupted? I know I've had this working before (and I can't recall the scrambled screen always existing), so I'm wondering if its more of an issue with UnleashX? Seems to me that when I used EvoX, that I never had this issue, and it wasn't until I switched dashes that this problem occured. Might need to do some troubleshooting and see when & where it really occurs. I'm not so sure that it is a xbox version or a tv set problem as I've seen this occur on different versions, and different tvs.
hargle
Dec 7 2005, 11:09 PM
Have you tried this running xbmc as your emu launcher?
IIRC, xbmc turns off the video hardware before launching another application, which might just set/reset the video chip to the correct mode.
It's certainly worth a shot trying different launching apps as you've suggested.
As I've said before, if you can find some detailed hardware bit level setting that needs to be done before launching the emulator, I can certainly create a small patch program to run before running the emu.
dashboard->runs patcher->sets bits in hardware->runs emu.
If you want to get me an HDTV and a 1.6 xbox, I'd gladly work on this problem for you.
Chron Johnson
Dec 8 2005, 01:36 AM
Well there are like 15 things for me to speak to and reply to here, and I'm pretty tired so the brain is slow. First to the most recent point, about launching via XBMC...this, like Avalaunch and I believe UnleashX, causes me to suffer the exact same problems as guybird. The FBA-XXX series of errors reads exactly like my experience. In fact, most recently I launched the Halo Multiplayer Map Installer, an NTSC program, first with XBMC. It booted scrambled, but v-hold style black and white as if it were a cheap dvd player trying to play PAL. This was in 480i mode on my normal TV. The solution?
As with our emulator difficulties, the solution was to boot the application from Evo-X (trying UnleashX first caused the same PAL flicker). Version 1.6 box of course with the XCalibur. So collectively, that gives us a problem with launch resolutions and methods from Avalaunch, XBMC, and UnleashX...the trimvirate of Advanced dashboards. Are they simply too smart for the XCalibur? Evo-X, with its simplicity, somehow allows an XBox to boot apps in the resolution they ought to be in, it seems.
The thing to do would really be to take the xbox downstairs and try to play some emulators in 720p and/or 480p. Any suggestions for a procedure? If I set the XBox to be in both 480p and 720p is that best for a 720p-optimized television? I usually do that, as the settings allow it. Could that be problematic? If a game that cannot play in 720p but can in 480p were to be launched, my thinking was that enabling 480p along with my preferred 720p would allow the app to boot in 480p. I supposed I'll try them each alone, booting from various dashboards.
Another talking point...what happened with the emulator art? Did everyone who was interested enough in them to actually install them successfully just go and make their own? I still can't figure out how to create box covers for my GBA roms. (that's for guybird, don't get confused). As to the bounty on X-Port's source code...what if we think of a nice gift for the holidays or something. So he knows he's missed and not forgotten.
hargle
Dec 8 2005, 05:08 PM
QUOTE(Chron Johnson @ Dec 8 2005, 01:43 AM)

First to the most recent point, about launching via XBMC...this, like Avalaunch and I believe UnleashX, causes me to suffer the exact same problems as guybird. The FBA-XXX series of errors reads exactly like
...
The solution was to boot the application from Evo-X (trying UnleashX first caused the same PAL flicker). Version 1.6 box of course with the XCalibur. So collectively, that gives us a problem with launch resolutions and methods from Avalaunch, XBMC, and UnleashX...the trimvirate of Advanced dashboards. Are they simply too smart for the XCalibur? Evo-X, with its simplicity, somehow allows an XBox to boot apps in the resolution they ought to be in, it seems.
OK, that makes sense. something (bios?) is turning on the correct bits in the xcalibur chip to allow the machine to boot up in the correct video mode. Evox, being simplistic, doesn't futz with the video hardware when it launches another application. Advanced dashboards like xbmc, unleashx, etc, disable the video hardware before launching another application, which resets some magic bits in the xcalibur chip, making it go to a scrambled mode.
Soooo, a possible solution would be:
1) boot into evox, launch a program that sucks out the contents of the xcal chip for us to investigate.
2) boot into xbmc, launch the same program and see what is different.
3) write the patcher program, described in previous posts, to set the bits back the way they were from the evox dash.
I *might* be able to write such programs. Dumping and tweaking bits out of hardware is my day job. It's an easy task to do on a PC, but I'm still a little shaky in xbox development. I also don't have a 1.6 or an HDTV, so I can't really test anything I come up with. I will investigate if this xcal chip has documentation online that I can check to see how to access it.
emuola
Dec 10 2005, 01:33 PM
I post this reply to clear out how this problem behaves exactly with (my) 1.6 xbox. I hope this helps to find out the reason for the problems:
1. If I have set the 480p and 720p support from the ms dash and use Avalaunch the xport emulators start with scrambled screen. It seems it's the 480p (when enabled from the ms dash) that makes the screen corrupted. When I have only 720p enabled emulators start up just fine.
2. No matter what modes are enabled from the ms dash, I can never set the resolution to any other than 480i from the emulators menu without scrambled screen if I use Avalaunch.
3. But if I use Evox as my dash I actually can have the resolution 480p enabled from the ms dash and the emus start up just fine. I can even set the resolution from the emulators menu to 480p. No luck with 720p though.
I just tried to make things clearer
guybird
Dec 14 2005, 02:30 PM
Well I finally got around to testing a few of my theories on this and this is what I've found:
When booting from EvoX with 480p enabled in my M$ dash, everything is fine, no scramble.
When booting from Unleashx with 480p enabled, scrambled.
When booting from XBMC with 480p enabled, scrambled.
I have a 1.5 xbox with a Duox2 chip, so I doubt that it is either a xbox version or a chip problem. I'm thinking that its definitely an advanced dashboard bug. With that being said, hargle I think you should be able to test this theory out with any version of xbox, any type of chip and get the same results. Or I might just be totally talking out of my ass and it might be more of a problem with our tv sets? I've only seen a handful of complaints about this issue on the forums, although more people might have an issue with it and just haven't spoken up. Is there any way to configure a shortcut to a "customized" evox that would pretty much autoboot a particular emulator? For example, somehow configure an evox.ini to only show 1 emulator, and autoboot it upon launch, put this evox.xbe and evox.ini into that emulator's folder, and then make a shortcut to that evox in unleash/avalaunch/xbmc ? Seems that would be a very easy way to do this although a bit clumsier.
On a similar note, even after booting into FBA with EvoX, and with 720p turned on & off, I still can't get FBA to display in Progressive scan mode. Was there some changes made in the latest versions that messed up that feature? I distinctly remember being able to enable it sometime in the past.
hargle
Dec 14 2005, 04:45 PM
QUOTE(guybird @ Dec 14 2005, 02:37 PM)

Is there any way to configure a shortcut to a "customized" evox that would pretty much autoboot a particular emulator? For example, somehow configure an evox.ini to only show 1 emulator, and autoboot it upon launch, put this evox.xbe and evox.ini into that emulator's folder, and then make a shortcut to that evox in unleash/avalaunch/xbmc ? Seems that would be a very easy way to do this although a bit clumsier.
That's pretty much what I was describing as my "bridge" program to fix this too. No idea if you can do this in evox, but I know that I can do it if I write something up!
I'm hoping to find some time in the next week or so to write up a small utility to dump out the video encoder registers to a file. I was able to find the datasheets for the conexant and rockwell video encoder parts, but nothing on the xcalibur. Since all 3 of these devices are SMBus devices located at the same address, I should be able to write 1 dump utility for all 3 parts. OpenXDK has all the functions in it that I'll need to access the part and dump to a text file, so I can make this whole thing legally downloadable from here, so I'll need some volunteers to run the app and send me the output. (I don't have an HDTV)
I also have a 1.6 xbox at my disposal for the next couple weeks, so I'm pretty sure I'll be able to get something put together.
My theory is still that the video part is set up differently or disabled when exiting different dashboards, so with this utility, we should be able to just launch it from different dashboards, gather up the output files and if we see a difference, then we might have a chance at correcting it in a little custom app that then launches an emulator.
Stay tuned...
hargle
Dec 17 2005, 03:33 AM
ok folks, here's what hopefully is step 1 in fixing this problem,
download this simple little .xbe file:
vid_dump.zipwhat this thing does is reads the contents of the video encoder out and save it to a text file, then it'll reboot your xbox back to your dashboard. Pretty simple.
I need some volunteers to do the following:
0) enable HDTV
1) launch this xbe from any dashboard which scrambles up an emulator. (xbmc or avalaunch)
2) rename the output file to scrambled.txt
3) launch this xbe from any dashboard which doesn't scramble the emulator (evox)
4) mail me or post both files here so we can (hopefully) find a difference in the programming of the parts, which might lead us to a solution.
I've tested this program out on my machine, which is a 1.1 xbox with a conexant video part.
(I didn't know I had a conexant part til I compared the output to the datasheets, and it matched up!)
Here's the output from the program:
__ x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xa xb xc xd xe xf
00 62 62 03 03 10 10 03 03 03 03 03 03 03 03 03 c0
10 c0 c0 00 00 80 80 9d 9d 00 00 00 00 00 00 00 00
20 00 00 00 00 00 00 00 00 00 00 28 28 30 30 00 00
30 00 00 28 28 80 80 a4 a4 00 00 00 00 80 80 80 80
40 80 80 13 13 da da 4b 4b 28 28 a3 a3 9f 9f 25 25
50 a3 a3 9f 9f 25 25 00 00 00 00 ff ff 01 01 44 44
60 c1 c1 00 00 60 60 f8 f8 42 42 00 00 46 46 00 00
70 0f 0f 00 00 01 01 cc cc d8 d8 80 80 98 98 5c 5c
80 07 07 13 13 f2 f2 26 26 00 00 66 66 7f 7f 03 03
90 0d 0d 24 24 e0 e0 06 06 00 00 50 50 f7 f7 2a 2a
a0 0c 0c 0a 0a e4 e4 7b 7b ca ca 8e 8e 9a 9a c8 c8
b0 a4 a4 78 78 21 21 5e 5e 00 00 24 24 00 00 00 00
c0 00 00 00 00 01 01 9c 9c 80 80 c0 c0 c0 c0 19 19
d0 00 00 00 00 00 00 00 00 40 40 0f 0f fc fc 20 20
e0 d0 d0 6f 6f 0f 0f 00 00 00 00 0c 0c f3 f3 09 09
f0 bd bd 66 66 b5 b5 90 90 b2 b2 7d 7d 00 00 00 00
emuola
Dec 20 2005, 08:57 AM
Ok, here goes for my 1.6 xbox, both output files of Avalaunch (scrambled) and RemoteX (Ok) are identical and all zeros!!! Like this:
x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xa xb xc xd xe xf
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I guess, I just ruined your day ;( I don't understand how this is possible, but the little utility worked just like you told me, it took a couple of seconds before it booted the box and the there was a file videooutput.txt.
I hope you can make something of this mess, 'cause I sure can't.
alexh
Dec 20 2005, 12:27 PM
Are you sure that XPORT never released the source to any of his emulators? It's just I've got (for some reason) the source to WinSTonX here on my hard drive.
QUOTE(emuola @ Dec 20 2005, 10:04 AM)

Ok, here goes for my 1.6 xbox, both output files of Avalaunch (scrambled) and RemoteX (Ok) are identical and all zeros!!!
That's because he's got a 1.1 xbox with a Conexant CX25871 video encoder at I2C address 0x45, and you have a 1.6 xbox with an Xcalibur video encoder at address 0x70.
guybird
Dec 20 2005, 03:42 PM
I tried this as well and came up with the same results as emuola. I have a 1.6 w/ a Duox2 chip.
hargle
Dec 20 2005, 04:03 PM
Thanks for playing guys!
I didn't quite realize that they moved the video encoder part on the 1.6.
The 2 datasheets for the conexant and rockwell parts that I have both show the slave address to be the same-I was hoping that the xcal would be the same too.
I'll compile up a new one of these and re-post it and we'll try it again. Check back in ~12 hours.
Thanks alexh for pointing me to where to find it on the 1.6
Xport did release a lot of his source code, but they are all 2-3 revisions behind the current stuff, depending on the emulator. I've not found one where the code is even close to the current release. I can't even get the ones that are on xbins to compile.
If you've got something better, my $250 bounty still applies! (except I want ALL the source, heh)
JbOnE
Dec 20 2005, 11:26 PM
how far behind are the sources on sourceforge/xbins ? if they're recent enough for ya i can add hd/prog autoswitching np - Jay
hargle
Dec 21 2005, 01:36 AM
Right.
Here's a 1.6 version of this program, hopefully. I have no way of testing this at the moment.
dump_vid16Good luck!
hargle
Dec 21 2005, 03:00 AM
QUOTE(JbOnE @ Dec 20 2005, 11:33 PM)

how far behind are the sources on sourceforge/xbins ? if they're recent enough for ya i can add hd/prog autoswitching np - Jay
It's hard to say exactly, as I can't find release dates for when the different versions were put out.
An example is this:
In z26x source from xbins, z26x.cpp is dated 26-may-2003. It looks like Ver 4 of z26x was posted on 28-aug-2004, and xport was VERY active inbetween those 2 dates. I'm guessing that the stuff on xbins is probably ver 1, so no SMB/Relax, cheats or standardized UI. (guessing)
There very well may sources out there on xbins which are more recent; one of my winter projects was to d/l everything I could, sort out the latest stuff and try to merge things into 1 workable project. I believe a majority of the work he did was to standardize the UI and add features to the basic emulator, so it might not be such a huge undertaking to bring them up to current.
Any help with this would be GREATLY appreciated.
JbOnE
Dec 21 2005, 07:07 AM
yeah np - after the holidays hit me up with whatever latest you have - even if it doesn't build for ya ( i'm a VS debug maniac

) and i'll help ya come up with a standard autoswitching for them. till then happy holidays

Jay
emuola
Dec 21 2005, 01:09 PM
Again the same result, both files are identical, this time looking like this:
x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xa xb xc xd xe xf
00 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
10 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
20 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
30 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
40 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
50 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
60 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
70 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
80 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
90 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
a0 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
b0 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
c0 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
d0 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
e0 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
f0 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
What gives?
hargle
Dec 21 2005, 03:26 PM
QUOTE(emuola @ Dec 21 2005, 01:16 PM)

Again the same result, both files are identical, this time looking like this:
...crap output deleted...
Argh. I really wish I could locate some information about this part.
But, never fear, I've got a 1.6 that is currently in an un-modded state. As soon as I get my chip I'll be able to try this again and figure out what went wrong. I'm expecting it any day now, so I should be able to post another version by the end of the week.
Thanks anyway, and sorry for the headaches.
hargle
Jan 9 2006, 03:53 PM
just an update:
I finally have a modded 1.6 machine now with an xcalibur chip in it.
Now if only I had a HDTV!
Last night I ran my encoder dump program and was able to duplicate the (crappy) results that everyone else here was getting. Either the encoder's device is a write only device, or it needs a special key written to it to unlock it's registers. My kingdom for a datasheet!
Anyway, all hope is not quite lost. There are some sources out there on xbox-linux and even the xbmc source that tweaks this part-perhaps I can just redo what is done there, then launch the emulator.
I should have another test app available in the next few days.
emuola
Jan 10 2006, 09:02 AM
I wish you the best of luck my friend

I suppose the information about the dumps and the Xcalibur being probably a SiS301C video bridge here:
http://thread.gmane.org/gmane.linux.ports.xbox.devel/7407wont/didn't help a bit?
-Olli
hargle
Jan 23 2006, 12:29 AM
well gang,
Sorry to say that I'm forced to (temporarily at least) give up on pursuing this project. The 1.6 xbox that I've got needs to get back to the rightful owner of it, and I've not gotten a clue as to how to read to this device.
It's not forgotten though; If I ever get the information I need, I'll pick it back up again in a heartbeat.
In the meantime I'll pursue the thread that emuola pointed out. I'll see if I can contact some of the authors of those posts, as they obviously know more than I...
chilin_dude
Jan 23 2006, 01:49 AM
QUOTE(hargle @ Nov 28 2005, 07:52 PM)

There's no solution entirely because the source code for xport's emulators are locked away in his basement somewhere.
Unfortunately, xport himself also seems to be locked away somewhere as it's been a year+ since he's shown up here. Without the code and the code master, there is no hope for any fix.
sigh.
He comes here every day, just chooses to not reply
jC!
Jan 30 2010, 11:51 PM
Bumping (damn near waking the dead) up this 5-year old post post to get an updated solution.
I've just decided to get emulation back up and running on my Xbox. I run XBMC (whatever the newest build is from T3CH) and can't for the life of me get most of X-Ports emu's to run. So far, only NeoGenesis launches properly, no scrambling, 720p works. Looks great!
But none of the Nintendo based emu's are working. Even with fresh installs. Just launches to scrambled screens. I'm at work at the moment and haven't had a chance to mess with the M$Dash HDTV settings to fix it.
This Xbox is a 1.1 softmod.
Any idea on how to maybe reset the settings completely back to default? Are X-Ports emu settings hidden away somewhere in TDATA? I didn't see them.
redrum331
Feb 4 2010, 11:17 AM
damn i cant wait to get my xbox back and up date it to take a look at the res.
pCeSlAyEr
Feb 4 2010, 06:18 PM
Delete the nes stuff in the E:\Saves directory
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.