Results 1 to 13 of 13

Thread: CM0102 Modding Tool

  1. #1
    Join Date
    26-05-14
    Posts
    6
    vCash
    500

    CM0102 Modding Tool

    Hi, i'm developing a modding tool for cm.
    If someone wants to try it, download from

    https://drive.google.com/file/d/1Qr0...ew?usp=sharing

    Requirements:
    .Net Framework 4.5 or higher.
    Run as administrator if your cm0102 install dir is under C:\Program Files(x86)\

    In folder "Mods" you can find a mod for original game (3.9.68).

    *** WARNING!!! ALPHA VERSION, BACKUP YOUR CM DATA FOLDER AND CM0102.EXE BEFORE USING IT. ***

    **** UPDATE ****

    New version released : 0.2.0.0

    - Disassemble\assemble cm0102.exe
    - Create "exe patch" entry ("offset oldvalue newvalue") by changing cm0102.exe's instruction (nothing is changed in your cm0102.exe, generate only "exe patch" entry).
    - Very quick start guide (work in progress)

    Happy modding,
    Gianni.
    Last edited by gianni; 15-12-18 at 10:22 PM.

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


  3. #2
    Join Date
    31-10-11
    Posts
    25,710
    vCash
    576

  4. #3
    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    29,479
    vCash
    648000
    It's a very awesome modding tool Mark

    It allows the user to select what to apply to an exe before loading their game by using the different changes made in the saturn and Tapani patches over the years



  5. The Following 6 Users Say Thank You to Dermotron For This Useful Post:


  6. #4
    Join Date
    26-05-14
    Posts
    6
    vCash
    500
    Quote Originally Posted by Mark View Post
    Sounds good, but what exactly does it do?
    Hi Mark!
    It's a very early version, basically you can create a mod file that contains:

    - Exe patch from Flex patch creator
    - Database update (club and nation in this version)

    For example if i want a mod for "Italian Serie A + B restructure":

    - Create a new mod
    - Add a patch group
    - Add exe patch which contains offsets from "Italian Serie A + B restructure.patch"
    - Add Club patch and configure clubs new division using built-in editor
    - Save Mod.

    Now you can apply the mod to target cm installation and try it.
    If something is wrong, you can revert the mod.

    Gianni.

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


  8. #5
    Join Date
    31-10-11
    Posts
    25,710
    vCash
    576
    Hi Gianni,

    That sounds amazing! I'll have to give it a whirl sometime

  9. The Following User Says Thank You to Mark For This Useful Post:


  10. #6
    Join Date
    04-03-12
    Location
    Serbia,Belgrade,Zemun
    Posts
    962
    vCash
    900
    This sounds very interesting. As i can understand,al .exe changes you want to apply can be saved in one mod,right?
    Just tried tool,under option open the mod you have all set of changes from various patches,very nice.
    So adding the patch file is clear,just load .patch file.What about exe patch,how to add it?
    And i see club patch and nation patch?
    It would be very handy if you can write tutorial with detaild explanation in pictures,step by step,because,this tool already for me have a great deal of potential for patching leagues.
    Once created Mods can be used on every new update,and no more changes line by line through Olly.

    Thanks!
    Last edited by djole2mcloud; 12-12-18 at 10:08 PM.

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


  12. #7
    Join Date
    26-09-18
    Location
    Brazil
    Posts
    198
    vCash
    500
    Very nice tool, thanks for sharing

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


  14. #8
    Join Date
    09-03-12
    Location
    London
    Posts
    873
    vCash
    2400
    I'll have a look and give it a go. However, does it have all the functionality right now?

  15. #9
    Join Date
    26-05-14
    Posts
    6
    vCash
    500
    It's a very early version with few features, however my first mod (under folder mod, cm0102Enhanced.cmmod) seems to work fine.
    I'm working on next version

  16. The Following 3 Users Say Thank You to gianni For This Useful Post:


  17. #10
    Join Date
    26-05-14
    Posts
    6
    vCash
    500
    New version released : 0.2.0.0

    - Disassemble\assemble cm0102.exe
    - Create "exe patch" entry ("offset oldvalue newvalue") by changing cm0102.exe's instruction (nothing is changed in your cm0102.exe, generate only "exe patch" entry).
    - Very quick start guide (work in progress)

    Gianni.

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


  19. #11
    Join Date
    26-09-18
    Location
    Brazil
    Posts
    198
    vCash
    500
    Quote Originally Posted by gianni View Post
    New version released : 0.2.0.0

    - Disassemble\assemble cm0102.exe
    - Create "exe patch" entry ("offset oldvalue newvalue") by changing cm0102.exe's instruction (nothing is changed in your cm0102.exe, generate only "exe patch" entry).
    - Very quick start guide (work in progress)

    Gianni.
    Thanks, nice work.

    What is the 'Disassemble\assemble cm0102.exe'? I tried the new version but didnt find this option and curious what it does

  20. The Following User Says Thank You to MadScientist For This Useful Post:


  21. #12
    Join Date
    26-05-14
    Posts
    6
    vCash
    500
    Quote Originally Posted by MadScientist View Post
    Thanks, nice work.

    What is the 'Disassemble\assemble cm0102.exe'? I tried the new version but didnt find this option and curious what it does
    Disassemble\assemble are used to create exe patch.
    Disassemble means translates machine language into assembly language, assemble is the inverse operation.
    An instruction like "mov ah, 0x9" is assembly language, a low-level programming language human-readability. In executable is assembled as "b4 09" (Hexadecimal Representation).

    So the flow in CM0102ModTools is: cm0102.exe is disassembled to assembly language, an instruction in assembly language is modified then assembled and finally differences are calculated

  22. The Following User Says Thank You to gianni For This Useful Post:


  23. #13
    Join Date
    26-05-14
    Posts
    6
    vCash
    500
    Disassemble\assemble are used to create exe patch.
    Disassemble means translates machine language into assembly language, assemble is the inverse operation.
    An instruction like "mov ah, 0x9" is assembly language, a low-level programming language human-readability. In executable is assembled as "b4 09" (Hexadecimal Representation).

    So the flow in CM0102ModTools is: cm0102.exe is disassembled to assembly language, an instruction in assembly language is modified then assembled and finally differences are calculated

  24. The Following User Says Thank You to gianni For This Useful Post:


Posting Permissions

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