Post subject: How do I make Snes9x output all 240 lines?
Joined: 7/13/2006
Posts: 61
I'm trying to make some mpegs for a dvd and in order for interlacing to work properly I need a source with all 240 lines like the Snes did.
Post subject: Re: How do I make Snes9x output all 240 lines?
Emulator Coder, Skilled player (1311)
Joined: 12/21/2004
Posts: 2687
White Label wrote:
I'm trying to make some mpegs for a dvd and in order for interlacing to work properly I need a source with all 240 lines like the Snes did.
If you're using the version of Snes9x from these forums, go to Options->Display Configuration and there is an option called "Extend Height" in there. But, the actual emulated height is 239 lines, not 240.
#define SNES_HEIGHT					224
#define SNES_HEIGHT_EXTENDED		239
Joined: 7/13/2006
Posts: 61
It's 240 if you include line 0. :wink: Thanks a lot!
Joined: 7/13/2006
Posts: 61
Hmm... My avis are still only at a resolution of 224 lines. Maybe it's a bug in the code? Here are what my settings look like.
Emulator Coder, Skilled player (1311)
Joined: 12/21/2004
Posts: 2687
White Label wrote:
It's 240 if you include line 0. :wink:
If that's the case, then 224 would really be 225 lines, but it isn't.
White Label wrote:
Hmm... My avis are still only at a resolution of 224 lines. Maybe it's a bug in the code?
Maybe it's a feature in the AVI code, that it gets the necessary resolution from the game itself. See what happens if you output from a PAL game that actually uses the extra lines, such as Dino Dini's Soccer (E). For other games, I think it'll probably take either a post-processing step to change the AVI's height, or a code modification. EDIT2: The line of code to change would be this one in DoAVIOpen():
avi_height = IPPU.RenderedScreenHeight;
IPPU.RenderedScreenHeight is 224 for most games.
Joined: 7/13/2006
Posts: 61
Check. Are there any good free compilers for this. I've never really compiled my own code.
Joined: 7/13/2006
Posts: 61
Is it possible that the Snes never did output 240 lines? This is driving me crazy because I'm loading games that should output resolutions of 240 and more.
Editor, Expert player (2079)
Joined: 6/15/2005
Posts: 3282
White Label wrote:
Check. Are there any good free compilers for this. I've never really compiled my own code.
There was a thread on compilers, and someone mentioned Dev-C++. I sometimes use it but I have never tried to compile huge projects, so I don't know how it's done.
Joined: 6/14/2004
Posts: 646
Why not just add the extra lines after the video capture?
I like my "thank you"s in monetary form.
Joined: 7/13/2006
Posts: 61
NrgSpoon wrote:
Why not just add the extra lines after the video capture?
Because i'd like it to look exactly like or as close as possible to a real Snes when it goes out to dvd.