Post subject: Famtasia fix - movie length calculation
Joined: 4/11/2004
Posts: 155
Location: Fairfax, VA, USA
As Arc pointed out here, Famtasia has a bug when computing the length of a movie in minues/seconds. Here's a fix, in C code form:
		{ 0x2f228, 0x1e, "\x89\xc8\xb9\x3c\x00\x00\x00\x99\xf7\xf9\x81\xfa\x1e\x00\x00\x00\x7c\x01\x40\x99\xf7\xf9\x52\x99\xf7\xf9\x52\x50\xeb\x40" },
If you're using a hex editor, change the 30 bytes at offset $2f228 from: DC 0D F8 28 44 00 C1 E8 1F 03 D0 8B F2 89 74 24 18 E8 92 29 00 00 99 DB 44 24 18 B9 3C 00 to: 89 C8 B9 3C 00 00 00 99 F7 F9 81 FA 1E 00 00 00 7C 01 40 99 F7 F9 52 99 F7 F9 52 50 EB 40
Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Well thx again it works pretty well.
Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
It seems all games have the wrong time ex. Double Dragon 3 was 14:05 with the other version and now it's 14:04.
Joined: 4/11/2004
Posts: 155
Location: Fairfax, VA, USA
Phil wrote:
It seems all games have the wrong time ex. Double Dragon 3 was 14:05 with the other version and now it's 14:04.
The original Famtasia was doing some weird rounding. I'm pretty confident that my method is correct, though. It's very simple to take the number of frames in a movie and turn that into minutes/seconds.
Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Yeah you're right
Post subject: Is this patch cumulative?
Joined: 4/30/2004
Posts: 95
Location: Asatru Heaven
i.e., i can patch v 5.1 with this, or any of the other ones, independently of the others?
Post subject: Re: Is this patch cumulative?
Joined: 4/11/2004
Posts: 155
Location: Fairfax, VA, USA
Yggdrasil wrote:
i.e., i can patch v 5.1 with this, or any of the other ones, independently of the others?
Yep, it's independent.
Joined: 4/15/2004
Posts: 81
Location: Swe- Krstd
blip is dangerous =D
// ZtanZ