Python Forum
creating hex dump modifying program
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
creating hex dump modifying program
#1
I'm a noob to coding.
But I've been using a simple hex editor to manually modify hex .bin dumps for past 3 years.
I work with .bin hex files which need overwriting of bytes or values (not sure about correct term) in certain areas of the dump.

Example: dumps "HCA" always need bytes from position 00AF to position 10A4 overwritten with bytes "0000".

dumps "TLC" always need bytes from position 20AA to position 40AF overwritten with bytes "0000".

Instead of me constantly doing this manually in the hex editor I thought of creating a python hex editor program that does is automatically somehow like this:

1) Open python program.
2) Select hex overwriting template ( according to dump type that will need to be modified.)
3) Browse and Select dump file thru window.
4) python creates a backup copy of dump and loads dump into memory / buffer.
5) Dump gets modified according to the selected dump type in step 2.
6) window pops up asking where to save the modified dump
7) user selects the directory and new name for the modified dump and clicks "save"
8) modified dump gets saved in chosen directory under the newly selected name
Reply
#2
Is there a question here?
Reply
#3
(Oct-13-2019, 06:17 PM)Larz60+ Wrote: Is there a question here?

Sorry I'm such a noob, don't even where to start with this project
Reply
#4
start by writing pseudo code
then make an attempt at python code.
post your code and ask specific questions about problem areas.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Modifying code cheburashka 1 1,254 Dec-13-2021, 01:01 PM
Last Post: Kebap
  creating simplex tableau pivot program easy or difficult for a beginner in Python? alex_0 2 2,535 Mar-31-2021, 03:39 AM
Last Post: Larz60+
  Song Modifying Program Starting Point BadenJaden 1 1,830 Mar-27-2020, 11:36 AM
Last Post: pyzyx3qwerty
  how json dump Japanese yunkai 2 8,000 Mar-17-2020, 07:06 AM
Last Post: vishalhule
  Python html herf to json dump help paulfearn100 0 1,995 Mar-03-2020, 09:16 PM
Last Post: paulfearn100
  print python json dump onto multiple lines lhailey 2 19,650 Mar-02-2020, 12:47 PM
Last Post: vishalhule
  Creating Vector from a Program ericvrocha 3 1,852 Oct-08-2019, 07:43 AM
Last Post: newbieAuggie2019
  Type error: dump() missing 1 required positional argument: fp jaycuff13 2 21,676 Jul-13-2019, 10:21 AM
Last Post: jaycuff13
  Creating a Mindmap program J_Miller 3 6,292 Apr-06-2019, 05:21 PM
Last Post: ichabod801
  Using pickle.dump Friend 1 2,899 Feb-15-2019, 04:39 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020