Quantcast
Channel: Python-Hex editing specific locations in a file - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by ivan_pozdeev for Python-Hex editing specific locations in a file

To retrieve the data, operate the mmap object like in the example code;If you want to open a fragment of data in a hex editor, copy it into a temporary file, then open the file in the editor e.g. with...

View Article



Answer by Matthew Franglen for Python-Hex editing specific locations in a file

To nitpick, hex doesn't have 'lines' so you might want to think about how you will limit the location you want to edit. Perhaps edit a fixed number of bytes.The output you have seen in the console is...

View Article

Python-Hex editing specific locations in a file

I want to open up about 135 different offsets in the file in hex form. The sections of interest are the names of the characters skins in the game, so an easy way to edit these and save them would save...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images