Skip to content

Commit 1e20614

Browse files
committedFeb 23, 2024·
extend index encoding table
allows for more than 26 libraries to be imported, these extended values have been determined and verified by looking at games with large import tables by multiple parties (kiwi can vouch for the correctness)
1 parent 3dce117 commit 1e20614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎pkg/oelf/OELFGenDynlibData.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const (
3737
_nidSuffixKey = "518D64A635DED8C1E6B039B1C3E55230"
3838

3939
// _indexEncodingTable provides the encoding table for module indices that are appended to the end of NIDs.
40-
_indexEncodingTable = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
40+
_indexEncodingTable = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-"
4141
)
4242

4343
// _moduleToLibDictionary contains a mapping of module names to library (prx) paths

0 commit comments

Comments
 (0)
Please sign in to comment.