Skip to content

Commit bfff3bd

Browse files
author
Tim Blume
committed
fix build
1 parent 5aa804f commit bfff3bd

File tree

18 files changed

+32
-32
lines changed

18 files changed

+32
-32
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is a collection of parsers for the gamefiles of the game "Wargame Red Drago
44

55
They may or may not work for previous / future games in the series.
66

7-
The parsers are written in Python 3.11 and use the [dingsda](https://github.com/ev1313/dingsda) library for parsing the
7+
The parsers are written in Python 3.11 and use the [conshex](https://github.com/ev1313/conshex) library for parsing the
88
gamefiles, a fork of the Construct library.
99

1010
The parsers are not complete yet, if you encounter any issues, please open an issue on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ authors = [
88
{name = "End", email = "wgrd@3nd.io"},
99
]
1010
description="Tools for working with the game files of the game Wargame: Red Dragon"
11-
version = "0.2.12"
11+
version = "0.2.2"
1212
requires-python = ">=3.10"
1313
dependencies = [
14-
"dingsda",
14+
"conshex",
1515
'pytest',
1616
]
1717

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
dingsda
1+
conshex
22
pytest

src/wgrd_cons_parsers/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import pathlib
77
import sys
88

9-
from dingsda import *
9+
from conshex import *
1010
import xml.etree.ElementTree as ET
1111

1212
import gc

src/wgrd_cons_parsers/compress_ndfbin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
import pdb
33
import sys
4-
from dingsda import *
4+
from conshex import *
55

66
from wgrd_cons_parsers.cons_utils import *
77

src/wgrd_cons_parsers/cons_utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
from io import BytesIO
33
import xml.etree.ElementTree as ET
44

5-
from dingsda import *
6-
from dingsda.lib import *
7-
from dingsda.helpers import *
8-
from dingsda.string import *
5+
from conshex import *
6+
from conshex.lib import *
7+
from conshex.helpers import *
8+
from conshex.string import *
99

1010
import zlib
1111
from functools import partial

src/wgrd_cons_parsers/decompress_ndfbin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import sys
44
import pdb
5-
from dingsda import *
5+
from conshex import *
66
from wgrd_cons_parsers.cons_utils import decompress_zlib
77

88

src/wgrd_cons_parsers/dic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from wgrd_cons_parsers.common import *
44

5-
from dingsda import *
6-
from dingsda.string import *
5+
from conshex import *
6+
from conshex.string import *
77

88
Dic = Struct(
99
"magic" / Const(b"TRAD"),

src/wgrd_cons_parsers/dictionary.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
import xml.etree.ElementTree as ET
55

6-
from dingsda import *
7-
from dingsda.string import *
8-
from dingsda.helpers import *
6+
from conshex import *
7+
from conshex.string import *
8+
from conshex.helpers import *
99

1010
import os
1111
import hashlib
@@ -274,7 +274,7 @@ def _fromET(self, parent, name, context, path, is_root=False):
274274

275275
ret.pop(f"{name}_list")
276276
ret.pop("_ignore_root")
277-
# remove _, because dingsda rebuild will fail otherwise
277+
# remove _, because conshex rebuild will fail otherwise
278278
if "_" in ret.keys():
279279
ret.pop("_")
280280

src/wgrd_cons_parsers/edat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from wgrd_cons_parsers.dictionary import *
44

5-
from dingsda import Struct, Int32ul, Padding, Bytes, Rebuild, this, Const, Magic
5+
from conshex import Struct, Int32ul, Padding, Bytes, Rebuild, this, Const, Magic
66

77
from wgrd_cons_parsers.common import CommonMain
88

0 commit comments

Comments
 (0)