Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Dec 2017
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Opening a .CPL file

    I have downloaded a application from the internet for a game mod and its a .cpl file I have tried a number of different programs to open it to see what its doing. I have tried changing to extension to a .dll but this open a text document with a load of characters.

    Does anyone know how I open a .cpl file?

  2. #2
    New Coder
    Join Date
    Oct 2016
    Posts
    58
    Thanks
    3
    Thanked 1 Time in 1 Post

  3. #3
    New to the CF scene
    Join Date
    Dec 2017
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by JavaCSSJunkie View Post
    Yes, I want to be able to see what the code behind it is. It loads a program which I think is then injected into the game for a mod menu.

  4. #4
    Senior Coder deathshadow's Avatar
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    2,482
    Thanks
    2
    Thanked 363 Times in 353 Posts
    If it's a mod for a game -- might help if you told us WHAT game -- it is highly likely it is NOT a windows control panel .cpl -- since those are literally JUST renamed .exe files.

    But that renaming might be what's going on here. Mods are rarely a single file unto themselves, so there may be some form of compression involved. It may simply be a renamed .zip, .rar, .7z, or .tgz, which is why I'd first try unpacking it with winrar and see if it can do anything with it.

    It may also be a binary file from a compiled language, in which case you have a machine language binary, NOT source code. To that end you'd need a disassembler... of course WHICH disassembler to use also hinges on platform (x86? arm? PPC? Mips? Arm64? Itanium?
    AMD64/EM64T/x64/PickAHuffingNameAlready?) and even then all it's going to do is give you mnemonic based assembly and not the original language source. For that you'd need to know which language and even which compiler, and even then most binaries ARE NOT reverse-engineerable to their original C/Pascal/whatever source.

    It could even be a proprietary format that has no direct correlation to the language it was written in or any commonplace language whatsoever.

    Knowing what game, what platform, and so forth could help greatly in figuring it out.

    Also, are there any instructions for MAKING mods for the game? The answer would/should be right there as to what creates those files. Once you know what makes it, you can at least have SOME idea what might be able to un-make it.
    I would rather have questions that can't be answered, than answers that can't be questioned.
    http://www.cutcodedown.com

  5. #5
    New to the CF scene
    Join Date
    Dec 2017
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by deathshadow View Post
    If it's a mod for a game -- might help if you told us WHAT game -- it is highly likely it is NOT a windows control panel .cpl -- since those are literally JUST renamed .exe files.

    But that renaming might be what's going on here. Mods are rarely a single file unto themselves, so there may be some form of compression involved. It may simply be a renamed .zip, .rar, .7z, or .tgz, which is why I'd first try unpacking it with winrar and see if it can do anything with it.

    It may also be a binary file from a compiled language, in which case you have a machine language binary, NOT source code. To that end you'd need a disassembler... of course WHICH disassembler to use also hinges on platform (x86? arm? PPC? Mips? Arm64? Itanium?
    AMD64/EM64T/x64/PickAHuffingNameAlready?) and even then all it's going to do is give you mnemonic based assembly and not the original language source. For that you'd need to know which language and even which compiler, and even then most binaries ARE NOT reverse-engineerable to their original C/Pascal/whatever source.

    It could even be a proprietary format that has no direct correlation to the language it was written in or any commonplace language whatsoever.

    Knowing what game, what platform, and so forth could help greatly in figuring it out.

    Also, are there any instructions for MAKING mods for the game? The answer would/should be right there as to what creates those files. Once you know what makes it, you can at least have SOME idea what might be able to un-make it.
    The game is Eurotruck Simulator 2 64bit I have found that the file injects into the memory and acts like a cheat table. What I would like to find is the values it changes.

    I have tried changing the extension to what you have suggested but this hasn't worked. I may need some kind of memory viewer to see which values it changes is that possible if so what program can do this?


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •