Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
Acmlm's Board - I3 Archive - - Posts by niteice |
Pages: 1 2 3 |
User | Post | ||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
Hmm. This doesn't seem to work with the European version of the ROM ("Mario Kart 64 (E) (V1.0) [!].z64" is what i have). The program gives me "Incorrect ROM or byte order". I changed the header to "NKTE" instead of "NKTP" (as suggested in mk64edit.cpp) and I get "Decompression failed". I know you probably have only tested the US version, but what could be different between the versions? (I also get this with v1.1.) | |||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
I knew that the differences would be more than a single byte in the header, I was just hoping that maybe I could force it.
Anyway, I'm interested in adding support for the other versions. I discovered that my ROM does indeed load by forcing it that way, so I think it could be not too hard to do. Mario Raceway (and therefore the level data) starts where the viewer thinks Toad's Turnpike ought to be. Interestingly, the level data does seem to start at a valid location, since all the levels load correctly. I think I might have a solution (identify the two seperate releases in the viewer and adjust the calls to fread() appropriately), as long as I can get my head around the source. (edited by niteice on 08-15-06 05:35 PM) |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
Originally posted by HyperHacker I'll admit that I'm new to MK64 ROM hacking, but shouldn't I find "MIO0" at 0x122390? The first place I found it at was 0x641F70 in the US version of the rom. I'm just getting garbage at the first location, which doesn't show up in either European version. The data at 0x1220E0 (US) is at 0x1222C0. The data at 0x641F70 (US) is at 0x642170. Edit: I tested those offsets. Textures and skies load correctly now, but level offsets seem to be shifted as before. (edited by niteice on 08-15-06 11:14 PM) (edited by niteice on 08-15-06 11:15 PM) (edited by niteice on 08-15-06 11:17 PM) |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
OpenGL just draws stuff where you tell it to - it's up to you to make sure that it all makes sense. So yes, you need to do your own collision (though you may find it easier to collide along bounding boxes or a similar system instead of individual polygons).
Cameras are easy, just glRotate() appropriately. Animations, models, and textures don't have much to do with OpenGL. You'll have to figure out how to get them in a state so that you can render them. OpenGL isn't terribly complex to code, but some features (i.e. having multiple screens - mirrors, portals, etc.) can be a pain to pull off. I recommend looking at NeHe (http://nehe.gamedev.net/), they're generally considered to be excellent OpenGL tutorials. |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
The levels are in the right order. I'm getting total crap for Moo Moo Farm (highly distorted vertexes, though the basic structure is there in some places), and after that it just wraps to Mario Raceway (well, what MK64Edit wants it to be). Prior to that though, everything is shifted forward by 10 levels. OBTW, Frappe Snowland almost always crashes.
I did a quick investigation. It looks like I want to adjust fseek(ROMFile, MK64LevelHeaderLoc + (SIZEOF_MK64LEVELHEADER * Level), SEEK_SET); at the top of MK64ReadLevelHeader. I tried (SIZEOF_MK64LEVELHEADER * Level * 10) and ((SIZEOF_MK64LEVELHEADER * Level) * 10). The former crashes straight up, and the latter renders Toad's Turnpike and Mario Raceway in a very limited fashion (some missing textures).
In other words, I wrote complete and total bugs. (edited by niteice on 08-16-06 10:56 PM) |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
It works, but is extremely temperamental. Frappe Snowland crashes about 95% of the time. Big Donut and Rainbow Road crash about 60% of the time. Switching from Luigi Raceway to Toad's Turnpike (and vice versa) always crashes. Other than that, the levels render perfectly. | |||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
Yep, of course, but it isn't always those two maps that crash. Generally I have the same results as before with both ROMs. I turned the European stuff into a #define and modified the makefile, so I have two easy-to-test binaries. (edited by niteice on 08-18-06 03:10 PM) (edited by niteice on 08-18-06 03:11 PM) (edited by niteice on 08-18-06 03:14 PM) |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
Originally posted by TanksOriginally posted by HyperHacker PearPC, but it runs slower than molasses in August. Anyway, it would be easier to follow his suggestion and not edit the top left and bottom right pixels. |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
What's easier?
- Downloading and configuring PearPC, and acquiring (ahem) and installing Mac OS X on it, which can take upwards of 4 hours, and then getting Tile Molestor to run properly on it, all while dealing with an extraordinarily slow emulation speed, which is virtually unusable no matter what hardware you run it on? or - Not editing two pixels. |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
Woah, that's a really great idea. The "Mario Heaven" looks kinda garish, but other than that, that's a really slick-looking mod. | |||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
I have a saxophone sitting a couple feet away from my bed. Total time to get up, realize there's an intruder, and grab the saxophone is about 3 seconds. The nice thing about playing alto sax is that when it's in the case, there's a nice weight/throwability ratio - it isn't so heavy that I can't lift it up to hit a guy in the back of the head, but it isn't so light that it won't hurt.
Once he's down, I can run into the kitchen and first call the police, then grab one of many Rather Deadly Knives. If the guy wakes up before the police get here, I'll have 6-7 knives handy. Oh, and I probably should wrap a cord around his wrists or something. |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
42, obviously. | |||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
It's possible that your router is going berserk at having the outgoing and incoming requests be the same IP - whenever I try to go to my IP locally, I just get my router setup page.
Anyway, I can't connect to your external IP either. Perhaps you should look into a service such as No-IP or DynDNS. |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
About 4:30 PM today, my (DSL) internet connection started dying. So I did the usual - restart computer, restart router, restart modem. Nothing.
Basically, the gist of the issue is that everything is timing out. Everything except for here, about 3 other sites, and MSN and Yahoo Messenger. Effing weird, but I think this forum saved my day. I call SBC about 5:45. I'm on the phone for 2 hours, wherein they can't come up with a solution. The first-level guy (total idiot) tells me that I have too many files in my cache. Second-level guy kinda goes through something resembling sense but at least admits that he has no clue. He tells me they have advanced support for $60/hour. I accept. They tell me it's $99/incident. I think the modem is at fault. Does anyone know offhand if DSL modems tend to contain internal DNS caches? Something tells me that it could be faulty - I get the same error if I'm plugged into the modem, or through a router, on both Windows and Linux on two machines. I can go to sites that I've never been to before (i.e. couldn't possibly be in my cache) - but I was browsing Acmlm earlier today. Turns out that a friend of mine, also with SBC DSL, has the exact same issue as me. Can't be a coincidence, now can it? |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
There was no notice of outages, at least any that the techs knew of.
Anyway, I'm connected directly to the modem from my Linux box, and everything is timing out like crazy. I've rebooted it twice since this started happening. (edited by niteice on 09-23-06 09:36 PM) |
|||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
Most likely. I'm talking just now to a guy that lives across town and he says he was having similar issues 3-4 days ago, so perhaps they're doing maintenance on different areas. (The other guy with outages lives maybe a half mile from me). | |||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
I would hope, it's still down 12 hours later... | |||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
It came on about 10:30 yesterday...they could be nice enough to tell us of outages, but noooo... | |||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
Yeah, they wanted me to pay for their "advanced" support, but they would have eventually discovered that it's NOT MY END. I use a router, so don't try to "fix" it for ONE FSCKING COMPUTER, "Mark" from India! Don't have me reroute DNS on one computer, when it happens to both! Don't tell me that my computers are at fault! IT'S YOUR DAMN PROBLEM FIX IT | |||
niteice Gator Since: 08-15-06 From: Connecticut Last post: 6312 days Last view: 6312 days |
| ||
Does this hint at a hack of KSS?
Because I kinda wanted to do one |
Pages: 1 2 3 |
Acmlm's Board - I3 Archive - - Posts by niteice |