Port of TurboRisk to Lazarus/Free Pascal, now multiplatform (Windows/Linux/...)

76 views
Skip to first unread message

Nathan McNew

unread,
Aug 5, 2019, 9:42:42 PM8/5/19
to TurboRisk
I was a big fan of TurboRisk many years ago, and have been wanting for a long time to get the source code released previously to compile in Lazarus/Free Pascal so that it would be easier to update and run on other platforms.  

I believe that this project is finally close to complete, my code has been shared on github here: https://github.com/agreatnate/TurboRisk

So far it has been tested in Linux and Windows.  Please let me know if you encounter any bugs or issues.  (There is one issue, Frank+ won't load at the moment, I'm not sure why...)

I'm hoping that this port will make it easier to update and spark some interest in reviving TurboRisk and the development of AI players. 

Garnett Williams

unread,
Sep 30, 2019, 7:27:23 PM9/30/19
to TurboRisk
I wish I had an extra hand to give you a triple thumbs up. I also use FPC+Lazarus to do small stuff.

Brian Andrews

unread,
Oct 20, 2019, 11:21:41 AM10/20/19
to TurboRisk
Great work on this project. Do you continue to explore this?

Brian Andrews

unread,
Oct 20, 2019, 2:14:22 PM10/20/19
to TurboRisk
Hi Nate -

Thanks for doing this work! It sparked me to do some items that I have been waiting to do for quite a long time. I created a 1.2 branch for very old version of Turborisk, created 2.0.5 version branch release and merged in a lot of community type assets. (13 additional TRP files, and 2K Resolution Map), I have merged your work as main branch and added the additional community assets. I have invited you to be a collaborator to main project, also.

I compiled a Binary for testing using Lazarus, and will work on testing the 13 TRP from 2.0.5 to see what may need work. Great Job again!!

Brian Andrews

unread,
Oct 20, 2019, 3:01:09 PM10/20/19
to TurboRisk
After compiling I played a few games on default to look for errors, everything seems OK, when trying to set up a different set of TRP I receive this error. Looking forward to hearing from you.


On Monday, August 5, 2019 at 7:42:42 PM UTC-6, Nathan McNew wrote:
Program Select.PNG
Message has been deleted

Nathan McNew

unread,
Oct 21, 2019, 9:19:27 PM10/21/19
to TurboRisk
Great! Yes I'd love to keep working on this.  Glad to see that others have added maps and programs as well.

Thanks for pointing out the bug with program selection, it was a bug that only appears on Windows, which apparently I didn't fully test.  I believe that it is corrected now. (i merged in a fix to the main project, please test and see if it fixes it for you.)

Brian Andrews

unread,
Oct 24, 2019, 9:38:35 PM10/24/19
to TurboRisk
Yes, Program select works great now. It also resolved a bug with it only reading the first trp file in the programs folder. Updated the global.pas to mark it as a different version from Marios to assist with versioning.

Was able to get ihelp and TurboRisk.exe to compile sub 3mb, but TRSIM is still quite large. Any ideas on compiler options I should be selecting?

Link to a win32 compiled version for those of you who want to test.

Garnett Williams

unread,
Oct 25, 2019, 6:26:38 PM10/25/19
to TurboRisk
Lazarus EXEs are inherently large. Just be sure you're not including debugging information and using smart linking, but there's not much else you can do. There is a FAQ in the wiki, but most things they mention are common sense:
Reply all
Reply to author
Forward
0 new messages