Jump to content


Photo

reserve ENG for comm2.exe


  • Please log in to reply
3 replies to this topic

#1 BAMGOES

BAMGOES
  • Members
  • 37 posts
  • Location:Egypt

Posted 22 October 2026 - 01:31 PM

hi everyone , a new tool on githup that makes reserve engineering to anything

https://github.com/morluto/rea

im wondering if someone try to make reserve engineering for commandos 2 using this tool it is only 8Mb

i tried to reserve engineering for the game but failed because token limits for using ai

if anyone can reserve engineering the game he will make a favour for commandos community.



#2 wyel2000

wyel2000
  • Members
  • 234 posts

Posted 23 October 2026 - 05:18 AM

Hi,
Thanks for looking into Commandos 2.  If you want to continue, I’d suggest focusing on two Commandos 2 executables rather than trying to reverse the full retail binary directly. This should be much lighter on tokens and more realistic for a bounded analysis.
 
1. The Demo build (c2demo.exe)
 
The demo uses macro files for scripting instead of the full script code used in retail. That means part of the game logic is externalized into a more readable, parameterized form. For REA, parsing these macros is much cheaper and more reliable than interpreting raw machine code. It can serve as a kind of readable “spec” for how entities/events are spawned.
 
2. The Debug build (Comm2Debug.exe)
Extraction code: wy2k
 
Comm2Debug.exe is a debug build with runtime overlays and quick save/load hooks. It has stability issues—some missions may crash—but it is useful as a runtime probe: you can trigger an in-game behavior and observe whether it matches a hypothesis from static analysis.
 
Existing tools worth using as a map
 
These already contain parsers/editors for Commandos 2 formats such as SEC, PAK, PCK, and BSM scripts. Their source can act as documentation of known structures, so REA does not have to rediscover everything from scratch.
 
Suggested workflow
 
Use REA to parse the demo’s macro system and extract the interface contract: what parameters a macro takes and what entity/event it produces.
Use cmdt and existing format knowledge as a map of known structures.
Locate the corresponding implementation in Comm2Debug.exe using the macro contract as a spec.
Verify the behavior in the debug build as a black-box probe.
This is a bounded differential analysis, not a full reverse-engineering of the whole engine. It should be far more token-efficient and could produce useful behavioral specifications for the Commandos community.
Would you be willing to try these two directions—demo first, then debug build for verification? The links are above.
 
Thanks.


#3 BAMGOES

BAMGOES
  • Members
  • 37 posts
  • Location:Egypt

Posted 23 October 2026 - 12:20 PM

thanks these info will be useful for the ai , i will try to do my best



#4 BAMGOES

BAMGOES
  • Members
  • 37 posts
  • Location:Egypt

Posted 23 October 2026 - 12:42 PM

hey comm2.exe no longer works after i installed comm2demo

edited : i fixed


Edited by BAMGOES, 23 October 2026 - 04:06 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users