diff options
| author | Julgodis <> | 2021-01-29 23:01:11 +0100 |
|---|---|---|
| committer | Julgodis <> | 2021-01-29 23:01:11 +0100 |
| commit | 77adc39ffe9ff8719608186f7d89e1b6abaacf2c (patch) | |
| tree | 447d7bb481b36d28b284f3b5755c1cac1a80683f /tools/section2cpp.py | |
| parent | e5fe91a75ea02a28528d73fba8a9199a621c7df0 (diff) | |
removed dependencies and fixed usage text
Diffstat (limited to 'tools/section2cpp.py')
| -rw-r--r-- | tools/section2cpp.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/section2cpp.py b/tools/section2cpp.py index eb8415c26f..0d1086fce8 100644 --- a/tools/section2cpp.py +++ b/tools/section2cpp.py @@ -3,12 +3,11 @@ """ -This script will extract literal and strings data -from secific section located in the baserom.dol. -Useful when trying to match .rodata and .sdata2 -in translation units. +This script will extract literals and strings data +from sections located in the baserom.dol. +Useful when trying to match .rodata and .sdata2. -usage: +Usage: ./tools/section2cpp.py --section .rodata --string --object JKRSolidHeap.o """ @@ -17,7 +16,6 @@ import argparse import sys import os import struct -import shlex from decimal import getcontext, Decimal from pathlib import Path, PurePath, PureWindowsPath from typing import ( |
