This PR implements support for HE games up to v71 to the windex_v6 decompiler.
I've heavily tested the changes out with Steam versions of Putt-Putt Joins the Parade, Fatty Bear's Birthday Surprise and Putt-Putt Goes to the Moon, and they seem to work without any notable issues. Should work with (DOS and Windows) Demo versions of the game.
Changes made:
Pass in the game information in each of the op functions. This is done mainly to check HE versions.
Create a hacky method for determining the arguments for o70_writeINI.
Implemented regop definitions for o60_redimArray, o70_systemOps, o70_readINI, o70_writeINI, o70_createDirectory, and o60_readFilePos.
Implemented missing command implementations for roomOps ops. The output to most of them are just guesses, as I have no idea what they output as in the actual windex debugger (If one actually exist for v71 floating around, that is).
Commented out the code popping out ++var and --var definitions when handling loops, as per discussed through Discord.
I may work on getting the games using versions higher than v71 decompilable after this (hopefully) gets merged.
This PR implements support for HE games up to v71 to the windex_v6 decompiler.
I've heavily tested the changes out with Steam versions of Putt-Putt Joins the Parade, Fatty Bear's Birthday Surprise and Putt-Putt Goes to the Moon, and they seem to work without any notable issues. Should work with (DOS and Windows) Demo versions of the game.
Changes made:
o70_writeINI
.regop
definitions foro60_redimArray
,o70_systemOps
,o70_readINI
,o70_writeINI
,o70_createDirectory
, ando60_readFilePos
.roomOps
ops. The output to most of them are just guesses, as I have no idea what they output as in the actual windex debugger (If one actually exist for v71 floating around, that is).++var
and--var
definitions when handling loops, as per discussed through Discord.I may work on getting the games using versions higher than v71 decompilable after this (hopefully) gets merged.