so there are tools out there which help to look into specific other programs?
Mr.Rubinshtein
or you make it literally from scratch?
PegPeregoGaucho
no
PegPeregoGaucho
you decompile it
PegPeregoGaucho
there are decompilers out there that will translate the machine code to various languages but they are not really perfect yet and often produce bad code
Mr.Rubinshtein
i see
Mr.Rubinshtein
converter for code
PegPeregoGaucho
anyways even if a decompiler gives you something, you will need to edit it to proper C for example
Mr.Rubinshtein
mhm
PegPeregoGaucho
otherwise you will have casts everywhere
AdrienTD
Decompilers can sometimes do a good job decompiling stuff, but it can still do mistakes, so you still have to assist/help the decompiler to get it right.
Mr.Rubinshtein
seems interesting stuff you guys do there
Mr.Rubinshtein
even tho its searching and basically recreating the code of game
Mr.Rubinshtein
sounds like fun
AdrienTD
not necessarily recreating from scratch, but understanding the code and describe it in another language
AdrienTD
Here's an example of Ghidra decompiling code for collecting helmets