Page 62 of 63 < 1 2 ... 60 61 62 63 >
Topic Options
#58927 - 06/02/10 10:16 PM Re: CD-i WIP [Re: Stiletto]
LuigiBlood Offline
Member

Registered: 21/10/09
Posts: 7
Actually, what i need is some kind of CD-i DYUV Image Decoder.
(Already have CLUT8 and RLE7 decoder, however, i have troubles finding sprites, dunno why.)

All i can find is that (CLUT8/RLE7):




And some kind of DYUV image (decoded badly by a decoder i found) :


(I can find anything else except the sprites.)

Remember that these are ripped from the game files.


Edited by LuigiBlood (06/02/10 10:17 PM)

Top
#58946 - 07/02/10 06:15 PM Re: CD-i WIP [Re: LuigiBlood]
Lord Nightmare Offline
Senior Member

Registered: 16/03/06
Posts: 372
Loc: PA, USA
See lines 3735-3924 in /src/mess/drivers/cdi.c
http://git.redump.net/cgit.cgi/mess/tree/src/mess/drivers/cdi.c
(if you use that link, be sure to turn CSS off (View -> Page Style -> No page style) if you're using Firefox or the line numbers don't line up properly)
(EDIT: Ugh they line up even worse in Internet Explorer... Duke, is that a known bug in CGIT?)
More specifically I think the DYUV decoder is around lines 3754-3844, but is coupled to MCD212 code which you'd need to rip it out of.
Harmony and CDIfan know more.
LN


Edited by Lord Nightmare (07/02/10 06:20 PM)
Edit Reason: add note
_________________________
"If life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"

Top
#58949 - 07/02/10 09:29 PM Re: CD-i WIP [Re: Lord Nightmare]
Duke Offline
Senior Member

Registered: 12/05/04
Posts: 504
Loc: Germany
Line numbers are fine here, can you make a screenshot?

Here's a link: http://git.redump.net/cgit.cgi/mess/tree/src/mess/drivers/cdi.c#n3735

Top
#58950 - 07/02/10 09:47 PM Re: CD-i WIP [Re: Duke]
R. Belmont Offline
Senior Member

Registered: 17/03/01
Posts: 12492
Loc: USA
Line numbers are perfect here too (Firefox 3.5.6 64-bit on Linux).

Top
#58951 - 07/02/10 10:24 PM Re: CD-i WIP [Re: R. Belmont]
Lord Nightmare Offline
Senior Member

Registered: 16/03/06
Posts: 372
Loc: PA, USA
Line numbers are screwed up here on Firefox 3.6 on Win XP, could be a font rendering issue with windows? Lemme see if I can make a screenshot...
EDIT: here: http://imagebin.ca/view/k7kUvS.html
Note how the line numbers don't actually line up with the lines of code by the time you get toward the bottom. Disabling CSS fixes it.

LN


Edited by Lord Nightmare (07/02/10 10:30 PM)
Edit Reason: add image
_________________________
"If life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"

Top
#58955 - 08/02/10 03:53 AM Re: CD-i WIP [Re: Lord Nightmare]
Stiletto Offline
Senior Member

Registered: 29/10/06
Posts: 366
Oh, yeah, I'm seeing that too. Same config (Firefox 3.6, WinXP). It's off by "a hair" - like 5 pixels or something.

Top
#58958 - 08/02/10 08:48 AM Re: CD-i WIP [Re: Stiletto]
Duke Offline
Senior Member

Registered: 12/05/04
Posts: 504
Loc: Germany
Hm, it's some weird issue with the syntax-highlighting and 'font-style: italic'. I've disabled it and it should work now.

Top
#58959 - 08/02/10 01:23 PM Re: CD-i WIP [Re: Duke]
Lord Nightmare Offline
Senior Member

Registered: 16/03/06
Posts: 372
Loc: PA, USA
Its better now, but still not correct; scroll down to the bottom and you'll see line 4716 doesn't line up with the last line of the file by about 50 lines (better than the ?150? or so it was off by before)

Edit: Actually now that I look closer, the issue seems to start at the first 'typedef struct' line around line 112; before that it is all lined up correctly.

This smells like a Firefox/gecko font rendering bug of some sort, especially if it works correctly on Linux and not windows?

LN


Edited by Lord Nightmare (08/02/10 01:26 PM)
Edit Reason: add info
_________________________
"If life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"

Top
#58960 - 08/02/10 01:30 PM Re: CD-i WIP [Re: Lord Nightmare]
R. Belmont Offline
Senior Member

Registered: 17/03/01
Posts: 12492
Loc: USA
More likely since the git browser was made on Linux that it's assuming some specific font that doesn't exist on Windows.

Top
#58961 - 08/02/10 01:35 PM Re: CD-i WIP [Re: R. Belmont]
Duke Offline
Senior Member

Registered: 12/05/04
Posts: 504
Loc: Germany
Lord Nightmare: Make sure you clear your browser cache to reload the CSS file (pressing shift while clicking reload for example).

R. Belmont: The git browser uses the default monospace font (which you can freely select in your browser).

Top
Page 62 of 63 < 1 2 ... 60 61 62 63 >


Who's Online
2 registered (Micko, Kaylee), 18 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Forum Stats
4015 Members
9 Forums
6215 Topics
63601 Posts

Max Online: 162 @ 01/05/07 03:28 AM