by Orpe » Sep 15, 2001 @ 8:52am
Hi,<br><br>I recognise this problem, the misalignment is due to the polygon model data which is processed in interp.c and read in, in bm.c. <br><br>One solution is to change the code that reads this data so that it always reads it byte by byte.<br>The other, and better solution is to re-align the data. I've written some code that does this, you can find the changes in . With these changes (and some other minor ones) I managed to get into the game on my Casio E-115. Although there are quite a few problems left =)<br><br>The reason I know what I know about this is that I started porting descent myself back when PocketQuake was released. I got it running at 8fps on my E-115. I also based the port on the original Mac sources. However, I never finished the port as I lost interest when the fun part was over + had to focus on other things.<br><br>If anyone is interested I could release that source code and perhaps some of the parts could be integrated into your descent port. If nothing else it gives some clues as to which fonts should be used and things like that... (Basically, the existing Macintosh code must be converted back to use a 320x200 screen size here and there).<br><br>An executable for Casio E-115:s built from my source code can be found here (in case someone wants to know what it's like to play descent on a <br>PocketPC. (The controls are quite a big problem...))<br><br>.<br><br>NOTE: Because of the well-known lag problem in the Casio keyboard driver this executable bypasses that driver and reads the key status directly from memory. Therefore this executable will only work on Casio E-115 and VERY similar Casio devices. It has only been tested on a E-115.<br>The descent files must be placed in <br>\descent\<br>The files required are:<br>DESCENT.HOG and DESCENT.PIG from the 1.5 PC version of Descent.<br><br>To play:<br>Start the game, it takes about 20 seconds for the data to load so be patient. (Due to naive<br>implementation of fread).<br><br>In the menu, select things using the "recorder-button".<br>NOTE: be careful, the full menu system is not implemented so you might not be able to get back if you go into the wrong menu...<br>Just do New Game->Rookie and the game will start.<br><br>/Roland