It handles it 'reasonably' well. though as well as can be expected without any debugging symbols or source code. Ghidra allows you to create your own structs, and i think import header files.
Whilst not explicitly decompiling to a try..catch it does handle stack unwiding. I've included a...
Are you looking at the MGE executable?
I went through quite a few including IDA and I think retdec though they pretty much do a similar jobs and both have their advantages in the stuff they output (ghidra seems to output the best pseudo c code though imho). However when I tried retdec I think...
SDL gives you the ability to do nice things with the renderer, and do it quite fast. SDL does not implement any sort of GUI out of the box, in a CPP environment I would use something like QT to handle the windows etc (QT is also cross platform).
Having a quick look at your code; the library I...
Hey have you thought about using SDL? It's pretty powerful and well documented.. I've also found ways to use it in winforms and the ways to handle events and the renderer stuff. It supports the accelerated stuff too and is fast.
In terms of GUI layout stuff I wrote a library to implement the...
Can confirm I just loaded an old game I had somewhere and it appears to work quite well ( I did fork it and made a few changes to get it to build, not sure if it was my clone from git).
I really like the coastline and road stuff! I know that can't have been easy to do. nice
Not sure if you'd...
Wow I am genuinely amazed at how far you have got in recreating this!
I've been trying to tie up a wrapper to SDL and other cpp functions to get a clone of this going. Almost seems like you've done all of the work already!
I also find it easier to write in c# as almost a prototype language...
I agree, that would probably be easier. Civ4's modding capabilities are quite incredible, I play the StarTrek mod quite a bit still to this day. I think for me it's a nostalgia thing and the prospect of porting it to other systems, however I do understand that freeciv is already out there...
I really like the screenshot!
Oddly I just joined this forum as I was heading in this direction. I've started disassembling and looking at how various things work in ghidra/x64dbg. The isometric grid issue was a right pain in the backside for me too as it doesn't use the normal algorithm for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.