Previous Thread
Next Thread
Print Thread
Page 62 of 69 1 2 60 61 62 63 64 68 69
Stiletto #58927 02/06/10 10:16 PM
Joined: Oct 2009
Posts: 8
L
Member
Offline
Member
L
Joined: Oct 2009
Posts: 8
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.

Last edited by LuigiBlood; 02/06/10 10:17 PM.
LuigiBlood #58946 02/07/10 06:15 PM
Joined: Mar 2006
Posts: 1,054
L
Very Senior Member
Offline
Very Senior Member
L
Joined: Mar 2006
Posts: 1,054
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

Last edited by Lord Nightmare; 02/07/10 06:20 PM. Reason: add note

"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
Lord Nightmare #58949 02/07/10 09:29 PM
Joined: May 2004
Posts: 940
Likes: 5
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 940
Likes: 5
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

Duke #58950 02/07/10 09:47 PM
Joined: Mar 2001
Posts: 16,716
Likes: 11
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,716
Likes: 11
Line numbers are perfect here too (Firefox 3.5.6 64-bit on Linux).

R. Belmont #58951 02/07/10 10:24 PM
Joined: Mar 2006
Posts: 1,054
L
Very Senior Member
Offline
Very Senior Member
L
Joined: Mar 2006
Posts: 1,054
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

Last edited by Lord Nightmare; 02/07/10 10:30 PM. Reason: add image

"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
Lord Nightmare #58955 02/08/10 03:53 AM
Joined: Oct 2006
Posts: 997
Likes: 4
S
Senior Member
Offline
Senior Member
S
Joined: Oct 2006
Posts: 997
Likes: 4
Oh, yeah, I'm seeing that too. Same config (Firefox 3.6, WinXP). It's off by "a hair" - like 5 pixels or something.

Stiletto #58958 02/08/10 08:48 AM
Joined: May 2004
Posts: 940
Likes: 5
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 940
Likes: 5
Hm, it's some weird issue with the syntax-highlighting and 'font-style: italic'. I've disabled it and it should work now.

Duke #58959 02/08/10 01:23 PM
Joined: Mar 2006
Posts: 1,054
L
Very Senior Member
Offline
Very Senior Member
L
Joined: Mar 2006
Posts: 1,054
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

Last edited by Lord Nightmare; 02/08/10 01:26 PM. Reason: add info

"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"
Lord Nightmare #58960 02/08/10 01:30 PM
Joined: Mar 2001
Posts: 16,716
Likes: 11
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,716
Likes: 11
More likely since the git browser was made on Linux that it's assuming some specific font that doesn't exist on Windows.

R. Belmont #58961 02/08/10 01:35 PM
Joined: May 2004
Posts: 940
Likes: 5
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 940
Likes: 5
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).

Page 62 of 69 1 2 60 61 62 63 64 68 69

Link Copied to Clipboard
Who's Online Now
6 members (Stick, Dorando, mahlemiut, algrun, 2 invisible), 38 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,921
Posts117,204
Members4,989
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com