mirror of https://github.com/zeldaret/tp.git
removed dependencies and fixed usage text
This commit is contained in:
parent
e5fe91a75e
commit
77adc39ffe
|
@ -3,12 +3,11 @@
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
This script will extract literal and strings data
|
This script will extract literals and strings data
|
||||||
from secific section located in the baserom.dol.
|
from sections located in the baserom.dol.
|
||||||
Useful when trying to match .rodata and .sdata2
|
Useful when trying to match .rodata and .sdata2.
|
||||||
in translation units.
|
|
||||||
|
|
||||||
usage:
|
Usage:
|
||||||
./tools/section2cpp.py --section .rodata --string --object JKRSolidHeap.o
|
./tools/section2cpp.py --section .rodata --string --object JKRSolidHeap.o
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@ -17,7 +16,6 @@ import argparse
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import struct
|
import struct
|
||||||
import shlex
|
|
||||||
from decimal import getcontext, Decimal
|
from decimal import getcontext, Decimal
|
||||||
from pathlib import Path, PurePath, PureWindowsPath
|
from pathlib import Path, PurePath, PureWindowsPath
|
||||||
from typing import (
|
from typing import (
|
||||||
|
|
Loading…
Reference in New Issue