Skip to content

ChonkPC/Makex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation


MakeX

Make executables for ChonkPC

Downloads Contributors Issues License

Table Of Contents

About The Project

This is a WIP executable maker following the .exe format from the ChonkPC documentation.

Built With 🐍 Python

Getting Started

To get started, download the main.py file and place it into an empty directory. Create a new directory within with the name "executable". Place the binary generated by C-honky in there, and rename it to "CODE". Create a "CONF" file containing addresses for the CODE and DATA segments. Here's an example:

# file structure
╠ CODE
╠ CONF
╙ DATA
    ╙ image.out # filenames can only be up to 10 bytes long 

CONF example:

CODE_AD=10000000
DATA_AD=100F0000

Prerequisites

Makex depends on the rich library to show pretty output. You can install it using:

pip3 install rich

Usage

To use Makex, just run the following command

python3 main.py executable/

Example output:

-----------------------
Found entity -> "image2.out"
Loaded entity ["image2.out"] - Size: 0x17e1 Addr: 0x100f0000
-----------------------
Found entity -> "image.out"
Loaded entity ["image.out"] - Size: 0x17e1 Addr: 0x100f17e1
-----------------------
Table size: 0x23
CODE_AD: 0x10000000
CODE_SZ: 0x74ed8
DATA_AD: 0x100f0000
DATA_SZ: 0x2fc2

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Authors

  • Artur Z - Comp Sci Student - HUSKI3 - Makex
  • Liuk707 - Student - Liuk707 - ChonkPC

About

Make executable for ChonkPC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages