Results 1 to 17 of 17

Topic: Compiled GPC BIN Decompiler

  1. #1
    Community Boss

    User Info Menu

    Thumbs up Compiled GPC BIN Decompiler

    We see folks from other places sharing gbc/bin files to "protect" their source from prying eyes. This came to our attention when one of these "amazing" scripts was 1:1 the exact same as one of [MENTION=280711]LEX LOST[/MENTION] 's. After looking at others I discovered that pretty much all the code was stolen from our lovely Cronus community members, without any credits.

    So.....

    Have fun

    https://github.com/apmorton/gpcdis

    Code:
    python gpctoc.py
    It should spit out totally valid GPC code with constants labeled.

    Buttons are always labeled with the PS4 set, because the controllers all share the same values.

    Enjoy

  2. The Following 2 Users Say Thank You to MaxADMIN For This Useful Post:


  3. #2
    Community Boss

    User Info Menu

    Re: Gamepack Decompiler


  4. #3
    Bulgaria's foremost expert on everything CM related!



    User Info Menu

    Re: Gamepack Decompiler

    Many thanks for the honor!

    My script is first converted


  5. #4
    Bulgaria's foremost expert on everything CM related!



    User Info Menu


  6. The Following User Says Thank You to Excalibur For This Useful Post:


  7. #5
    Community Boss

    User Info Menu

    Re: Gamepack Decompiler

    Updated

    * fix opcode 0x4F and init segment recognition

  8. #6
    SILVER I

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Removed

  9. #7
    Support Staff



    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Just came across this, neat tool thanks! Originally did not work (latest version of python was installed) then after switching to 2.7 everything worked as expected

  10. #8
    SILVER I

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Trying to figure run the program, but it’s saying it doesn’t know what syntax I’m using python 3.7.


    can someone please help me?

  11. #9
    SILVER I

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    What version of python can I use to run this? Please and thank you!

  12. #10
    SILVER IV

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Glad I saw this... So there's no way to protect any original work you've created while still sharing the end "product"?

  13. #11
    SILVER I

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Quote Originally Posted by Joker1551 View Post
    What version of python can I use to run this? Please and thank you!
    Python 3 support was just merged in, so you should be able to run it with 3.7. Let me know if you still get any errors.

    Quote Originally Posted by stimpson View Post
    Glad I saw this... So there's no way to protect any original work you've created while still sharing the end "product"?
    While an official decompiler does make things easier to reverse engineer, it's impossible to release code, including a compiled program, while hiding what it does. That said, if you "protect" a GPC script by sharing the binary but not the source, all you're doing is preventing people from potentially learning from the source and making improvements and/or tweaks to make it a better fit for them/others. What do you gain by preventing that?

  14. The Following User Says Thank You to dririan For This Useful Post:


  15. #12
    SILVER IV

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    I believe you misinterpreted my post, and jumped to a conclusion... I'm not trying to gain anything.


    I enjoy contributing, educating, and helping others, as I hope I have in a not-yet-moderator-approved thread I started a few minutes ago in addition to bug reports... Happens to be my full time (not compensated) "job" to help others these days.


    Would this decompiler apply to the gamepacks too?

  16. #13
    Script Support


    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Quote Originally Posted by stimpson View Post
    Would this decompiler apply to the gamepacks too?
    If that was so, I think this thread would not exist.

  17. #14
    Community Boss

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Quote Originally Posted by stimpson View Post
    Glad I saw this... So there's no way to protect any original work you've created while still sharing the end "product"?
    No, nor will there ever be a way to do that - not in the Cronus Community anyway.

    Our principal belief is that the community shares everything with everyone that wants to work with this language. All we're decrypting is OUR language. GPC is ours - so as far as we're concerned if you want to write something with this either share it or enjoy it by yourself.

    The simple answer is this, if you want to protect GPC from others to enjoy it - then simply do not share it, because there's only two types of user who wants to encrypt their GPC code, and that's script sellers or folks that don't want to be part of an open-source scripting community, which is what Cronus is

    FYI yes we protect our gamepacks because they involve many internal opcodes that when used incorrectly could damage your device. There aren't any actual mods that you won't find in the GPC library. Well, not many

  18. The Following User Says Thank You to MaxADMIN For This Useful Post:


  19. #15
    GOLD NOVA II

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Hi, i have create (Not finish) program for protect our scripts GPC.




    PS : Encryption : Xor with private key and Base64.

  20. #16
    Community Boss

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Quote Originally Posted by johan View Post
    Hi, i have create (Not finish) program for protect our scripts GPC.




    PS : Encryption : Xor with private key and Base64.
    Pro Tip; Read the post immediately before yours and try again

  21. #17
    GOLD NOVA II

    User Info Menu

    Re: Compiled GPC BIN Decompiler

    Oki delete my post and sorry ^^

Posting Permissions

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