fedepede04 Posted May 27, 2019 Share Posted May 27, 2019 (edited) Hi i have been / being playing around with Outrun, trying to optimizing the game, i have been posting about it on AF and on Facebook. forgot to post it here so i better have to do it if some of you don't use AF or Facebook the idea behind it. was/is to see how the US gold version of outrun could have run on the ST, if it had got some more love. but in the middle of the process i started using the Blitter, so now plane ST i out of the pictures original version with a frame counter here is a picture of the modded version. right now you would need a ST running about 15 mhz to run about the same as the optimized version, but there should probably still be some more speed gain in it. download link for the modded version https://www.dropbox.com/s/zsodbzwgbmkhzm9/Outrun.zip?dl=0 here is a link to the original version / and source code, i have add a frame counter to it https://www.dropbox.com/s/4dkyffceuckuhvy/FrameST.zip?dl=0 Edited May 27, 2019 by fedepede04 2 Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted May 27, 2019 Author Share Posted May 27, 2019 (edited) here is a video that showing the modded version in action, its a little older version, that last version is about one frame faster in the beginning. https://www.youtube.com/watch?v=4L3RPJu_vug here is a video that show the original version against the modded version, in this version the modded version is even older. https://www.youtube.com/watch?v=IL6CVxdZPN8 Edited May 27, 2019 by fedepede04 1 Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted May 27, 2019 Author Share Posted May 27, 2019 (edited) i have Just uploaded a new video. of the latest version vs the original version..... https://www.youtube.com/watch?v=6TBS3rHyCmc Edited May 27, 2019 by fedepede04 Quote Link to comment Share on other sites More sharing options...
Umberto Posted May 27, 2019 Share Posted May 27, 2019 Interesting, I'll try it out Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted May 28, 2019 Author Share Posted May 28, 2019 hi i hope that it will work on a 60hz machine Quote Link to comment Share on other sites More sharing options...
ParanoidLittleMan Posted May 28, 2019 Share Posted May 28, 2019 Tested little with Steem Debugger. At 60 Hz . Great improvement. Framerate is about 12-15 fps, vs. some 6-8 with original code. Will test later on Mega STE - at 50 and 60 Hz, and at 16 MHz CPU too, although that should not boost much, since blitter runs not faster then. Permission to add this in HAGA hard disk adaptations ? 1 Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted May 28, 2019 Author Share Posted May 28, 2019 Tested little with Steem Debugger. At 60 Hz . Great improvement. Framerate is about 12-15 fps, vs. some 6-8 with original code. Will test later on Mega STE - at 50 and 60 Hz, and at 16 MHz CPU too, although that should not boost much, since blitter runs not faster then. Permission to add this in HAGA hard disk adaptations ? Thanks if i set steem to 16mhz.it do a lot. i don't think the blitter is the major factor here, the game engine is very bad made, it use a tons of mulu,muls, divu, divs, lsr8,lsl8 so its not optimized for game. i have manage to reduce some of them, but the code still have a lot to slow it down, but i think it need to have some of the code replace with new routine to make it rune even faster you have my full Permission to share it and also a big thanks to you, i have replaces the random routines in the game with the one you posted here at Atariage Quote Link to comment Share on other sites More sharing options...
CD-i Posted June 2, 2019 Share Posted June 2, 2019 Love the video with the midi music. Any chance to get these in the game using a Roland mt32? 1 Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted June 2, 2019 Author Share Posted June 2, 2019 Love the video with the midi music. Any chance to get these in the game using a Roland mt32? many thx, ill probably stop working on this project soon, the road routine its simply to bad coded, i have analyzed how the road is made and printed, but i can't see how i can replaced with a more optimal one. i will soon release my optimized code, so other can take over. but i do think the midi music part is a cool idea, so hope full other can add this. / Peter Quote Link to comment Share on other sites More sharing options...
Wally1 Posted June 3, 2019 Share Posted June 3, 2019 good work Pete 1 Quote Link to comment Share on other sites More sharing options...
ParanoidLittleMan Posted June 3, 2019 Share Posted June 3, 2019 Love the video with the midi music. Any chance to get these in the game using a Roland mt32? So, this game has midi music option ? Didn't see it. Or it is in some other version, not for ST ? Honestly, I don't know is here someone with good knowledge about MIDI programming, and especially to make something for specific module ? 1 Quote Link to comment Share on other sites More sharing options...
CD-i Posted June 3, 2019 Share Posted June 3, 2019 No the game don't support it natively. The video linked above was overlayed with midi music. So the ife came to mind it would be cool these tracks could be used in game when using a Roland midi device like some Sierra games did (latty3, kq4, sq3) 1 Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted June 3, 2019 Author Share Posted June 3, 2019 (edited) like CD-i said there are no native midi music in the game. but i do have all the music as SMF midi files, so i don't think is impossible to add the score, maybe one have to convert them to some native format.that is more simple and light then SMF format. btw Peter did you had the chance to test it on you mega STE? Edited June 3, 2019 by fedepede04 Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted June 3, 2019 Author Share Posted June 3, 2019 good work Pete thanks wally1 Quote Link to comment Share on other sites More sharing options...
ParanoidLittleMan Posted June 3, 2019 Share Posted June 3, 2019 Works very well on Mega STE at 16 MHz, at 60 Hz refresh rate. Made some videos. Will process them and up on YouTube ... Stay Tubed Quote Link to comment Share on other sites More sharing options...
ParanoidLittleMan Posted June 3, 2019 Share Posted June 3, 2019 (edited) Here are videos: Edited June 3, 2019 by ParanoidLittleMan 1 Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted June 3, 2019 Author Share Posted June 3, 2019 Many thanks. funny if you set STeem to 16mhz it go up to over 30 fps, but here there are no different. do you know if STeem also speed up the blitter? but i definitely thought it would give a couple of fps more special in the beginning Quote Link to comment Share on other sites More sharing options...
ParanoidLittleMan Posted June 3, 2019 Share Posted June 3, 2019 Everything goes 2x faster when Steem is set to 16 MHz - RAM, blitter. In Mega STE RAM speed remains same, CPU works faster mostly because cache, and RAM intensive operations are not much faster. Blitter works very tight with RAM, and to make it faster should use faster RAM too. Quote Link to comment Share on other sites More sharing options...
Wally1 Posted June 3, 2019 Share Posted June 3, 2019 did you guys know that with the PC game 'Quake' if you push the " ~ " (tilde i believe it's called) and type 'TIMEREFRESH" the 'puter will give you the FPS (frames per second) of your system? i have about 2000 laptops and i do this all the time 1 Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted June 3, 2019 Author Share Posted June 3, 2019 did you guys know that with the PC game 'Quake' if you push the " ~ " (tilde i believe it's called) and type 'TIMEREFRESH" the 'puter will give you the FPS (frames per second) of your system? i have about 2000 laptops and i do this all the time i use to loved the PC, when it was using DOS, it was a great time, nearly as great as the Atari i would not know about the "~" i have not played a old PC game for ages, last i think i played was Master of the Orion. Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted June 3, 2019 Author Share Posted June 3, 2019 Everything goes 2x faster when Steem is set to 16 MHz - RAM, blitter. In Mega STE RAM speed remains same, CPU works faster mostly because cache, and RAM intensive operations are not much faster. Blitter works very tight with RAM, and to make it faster should use faster RAM too. Thanks Peter that makes good sense, but i had still hope it would help more on the average FPS... Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted June 8, 2019 Author Share Posted June 8, 2019 (edited) fast update text copy from Atari-Forum Been working on the object code the last couple of days, to make it ready for the arcade car.not finish yet, but there have been some good progress (not all car sprite have been change yet).so i thought that i would share with you guys Edited June 8, 2019 by fedepede04 2 Quote Link to comment Share on other sites More sharing options...
Zogging Hell Posted June 9, 2019 Share Posted June 9, 2019 Looks really good compared to the original - well done, one thing I did notice is the new car seems to be scaled a little large compared to the other traffic (and maybe the screen play area?). As the other cars and lorries go past you they look about half the size of the players car, but I can't remember whether the original game was the same - perhaps you are planning to replace them as well though? As for the silver fox riding shotgun,to paraphrase the words on the Chequered Flag Jaguar box, this is a drive to Grandmas Quote Link to comment Share on other sites More sharing options...
fedepede04 Posted June 9, 2019 Author Share Posted June 9, 2019 It the same with the original ST farrari. The new one is about the same width as the old one, but it's a little higher. The problem is that all the objects are missing the full size sprite, so when you are closest to an object, it's only around 66% of the sprite original size. I don't know if they did this for saving spaces of power, maybe both. 1 Quote Link to comment Share on other sites More sharing options...
calimero Posted June 9, 2019 Share Posted June 9, 2019 Wow! On MegaSTe it looks like almost like arcade 2 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.