| Re: Spelling Error & Major Mac Frustration |
| Posted By: Hamish Sinclair | Date: 10/13/02 1:53 p.m. |
| In Response To: Spelling Error & Major Mac Frustration (poena.dare #CP#)
: misspelled a link... the Counterattack chapter screen is now visible.
: "Original" Music: I've had the worst luck with my 7600. After I
: cannibalized the floppy drive from another Mac, I was able to get the midi
: files to it via sneakernet. My Mac has Quicktime 2.5 installed so I can
: hear the music just like it was way back when.
: But that's about as far as I can go. I hooked up an Ethernet cable to it and
: it refused to "catch" an IP address from my hub or even the
: cable modem. I even went as far as to download DISK IMAGES (!) of Open
: Transport 1.1.2 and upgrade the software. No luck. (How do you know if the
: built-in Ethernet has gone bad?)
: So, the steps I would have to take to convert the Marathon midi files to mp3
: are now in the realm of the ridiculous. I'm looking for someone with their
: act together more than me to do this. Hell, if someone could just rip the
: midis to WAV or AIFF and send them to me, I can take it from there.
: *sigh*
: Well, at lest the terms look right. Ghôlsbane and I went round and round
: about which display font is best: Courier or Courier New. I've now got a
: bit of JavaScript in there that gives Mac users Courier and PC users
: Courier New. So far it seems everybody is happy.
: (Dept of Insane Methods)
: Trying to figure out the changing time string in the term headers caused me
: to dig through the Marathon 2 source code. I found this: /* I'll use this
: function, almost untouched.. */
: static get_date_string(
: char *date_string)
: {
: char temp_string[101];
: long seconds, game_time_passed;
: DateTimeRec converted_date;
: struct tm game_time;
: /* Treat the date as if it were recent. */
: game_time_passed= LONG_MAX -
: dynamic_world->game_information.game_time_remaining;
: seconds = 2882914937;
: /* convert the game seconds to machine seconds */
: seconds += (game_time_passed/TICKS_PER_SECOND)*MACINTOSH_TICKS_PER_SECOND;
: Secs2Date(seconds, &converted_date);
: game_time.tm_sec= converted_date.second;
: game_time.tm_min= converted_date.minute;
: game_time.tm_hour= converted_date.hour;
: game_time.tm_mday= converted_date.day;
: game_time.tm_mon= converted_date.month-1;
: game_time.tm_year= 437;
: game_time.tm_wday= converted_date.dayOfWeek;
: game_time.tm_yday= 0;
: game_time.tm_isdst= 0;
: getcstr(temp_string, strCOMPUTER_LABELS, _date_format);
: strftime(date_string, 100, temp_string, &game_time);
: }
: Note: game_time.tm_year= 437. 1900 (old Mac clock time base) + 437 = 2337,
: which is the last (right most) number you see in the headers. If this is
: supposed to be the *real* game year, then Bungie's dates are well off,
: 'cause the Marathon was attacked on 07/25/2794 (457 years later).
: Other then that, I'm not sure I could reduce their code down to something
: that would be similar in JavaScript.
Aye the year 2337 was noted in the Dates section of the Story page.
Cheers
Hamish
|