rocky1138 Posted May 20, 2017 Share Posted May 20, 2017 ...and the source code wasn't used to rebuild that. So all in all, that zipfile was as much of a complete waste of time as the actual game Wait, what??? Where is the final source submitted for gold and how far back is the source dump we have? Quote Link to comment Share on other sites More sharing options...
JagChris Posted May 20, 2017 Share Posted May 20, 2017 (edited) Wait, what??? Where is the final source submitted for gold and how far back is the source dump we have? Here are the latest sources I have. http://www.3do.cdinteractive.co.uk/viewtopic.php?f=35&t=3430 Edited May 20, 2017 by JagChris Quote Link to comment Share on other sites More sharing options...
VladR Posted May 20, 2017 Share Posted May 20, 2017 The following is a necrobump meant to clear up several commonly expressed misconceptions about CF, based on my experience with writing a flathshading engine for a racing game on jaguar. I'm kind of surprised that no one has really done much of anything with this source outside of the control patch some 8-years later. Easy for me to say though, I'm not a coder. Checkered Flag is probably a fine example as to why I'm not one actually.. because this is how it would probably turn out.. awful. I can't seem to find it but I definitely remember a reference to the game only being 16-colors (or was it 256?). Obviously not the gradient sky part but definitely the main polygon parts of the game while racing around the track. Has anyone managed to compile this game at all from the source? Also, are the sounds all 8-bit? I suppose it doesn't matter. Maybe a few things to start with to help remove the laundry list of things the Jaguar has to calculate: Interesting notes pulled from the source code, even dated as late as October, so you know they had no time to optimize much of anything: =========================================================================================================== Noted within AI:...Noted within MAPROT:...Noted in OUTER.GAS...Noted in PDRAW.GAS:...Noted in SCRNSHOT.S:...Noted in SHADOWS.S:...Noted in SKYFILLS.S:...Noted in STRIP.S:...Noted in ZCLIP.GAS:... Noted in REDSOUND.INC:... =========================================================================================================== So just by judging from the source code notes with files dated just prior to being submitted for production, there seems to be a lot of crucial details needing and hoping to be optimized but most likely didn't due to time constraints. What other things can be modified to help increase overall processing speed of this game? ad src: It's not exactly a popular game, though I personally love its visuals for their cleanness. ad 16 colors: No, the 3D world is definitely at least 256 colors. Did you miss the fog ? You can't do such fog on an arbitrary 3D mesh in 16 colors. Unlike sky in many games, you can't interrupt GPU to adjust CLUT for the polygons, as they occupy different scanlines each frame and in the end it would be more work than just letting Blitter transfer double amount of pixels (and would still look like crap). ad optimization time: You don't know that. If you looked at my sources, you'd find similar comments everywhere, even though some of those methods are 5th generation and run with whole scene at 60 fps (or take just small fraction of a vblank). My point - you don't know the history of those routines, so those comments are taken completely out of the context. I can, however, assure you that their renderer has undergone few optimizations. It wouldn't run so well (and this is not a sarcasm!), if they didn't. In short, we don't know how many iterations they already went through. If you actually watch the game closely, you will notice that the performance drops significantly, when the big hills cover the screen -> hence the combination of triangle's edge traversal & scanline fillrate is killing the framerate. This is something I've encountered myself too in my engine. My engine however did not touch Blitter on GPU, so it follows that if I used the GPU<->Blitter experience from the last few weeks, this edge case would improve a lot. But it's still going to be a performance hog, no matter how you slice it, so best to avoid those hill data in the first place (hence why best looking games are always designed around the HW limitations). In our case - have the hills, but please in the distance, not 2 meters from the camera... Also, if we want to talk about optimization, we must first profile it and have full benchmark data: you know those 123/1000 numbers I talk about all the time. Without that information you don't know how much each routine takes. And we don't have that information. Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted May 20, 2017 Share Posted May 20, 2017 And we don't have that information. You do have to give them one thing tho. They actually finished something. Quote Link to comment Share on other sites More sharing options...
VladR Posted May 20, 2017 Share Posted May 20, 2017 You do have to give them one thing tho. They actually finished something. Of course they did. It was their business model and their daily job. They didn't code it just for fun and thrill of exploration (like I do on jag, as it's just in my free time). You're barking up the wrong tree, though. I never bitched about CF. I'm probably one of the very few (or quite possibly the only one here) who actually appreciates their technical effort. And I only recently found out that one of my Top 3 favourite racing game on PC : Redline Racer was actually done by them. Silky smooth framerate, exhilirating sense of speed, brutal diificulty and immense replayability. I've played for about 5 years, regularly. So, I actually really appreciate the team ! 1 Quote Link to comment Share on other sites More sharing options...
rocky1138 Posted May 21, 2017 Share Posted May 21, 2017 Here are the latest sources I have. http://www.3do.cdinteractive.co.uk/viewtopic.php?f=35&t=3430 Are these the sources used to make the game? It seems there was some doubt as to whether or not these were the ones sent to gold master. Quote Link to comment Share on other sites More sharing options...
JagChris Posted May 21, 2017 Share Posted May 21, 2017 I really don't know. I believe it's reasonable to assume if it isn't it's probably close. Master the study of this release then worry about what's beyond after that. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.