Skip to content

Commit

Permalink
Many fixes and modifications.
Browse files Browse the repository at this point in the history
Now work with Beta-Sixdouze Trial.
But also now work especially good with Kusarihime.
  • Loading branch information
TesterTesterov committed Aug 8, 2020
1 parent 8d6be1a commit 83317fb
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions gscScriptCompAndDecompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class GscFile:
(0x23, 'ii', ''),
(0x24, 'ii', ''),
(0x25, 'ii', ''),
(0x26, 'iiii', ''), #Возможно, где-то 'iii'?
(0x26, 'iii', ''), #Принцесса порчи: iii, остальное: iiii?
(0x27, 'iii', ''),
(0x28, 'ii', ''),
(0x29, 'ii', ''),
Expand All @@ -100,7 +100,7 @@ class GscFile:
(0x2D, 'ii', ''),
(0x2E, 'i', ''),
(0x2F, 'ii', ''),
(0x30, 'iii', ''), #Возможно, где-то 'ii'?
(0x30, 'ii', ''), #Принцесса порчи: ii, остальное: iii?
(0x31, 'ii', ''),
(0x32, '', ''),
(0x33, '', ''),
Expand Down Expand Up @@ -144,7 +144,7 @@ class GscFile:
(0x66, 'i', ''),
(0x67, 'ii', ''),
(0x68, 'iiii', ''),
(0x69, 'ii', ''),
(0x69, 'i', ''), #В остальных ii?
(0x6A, 'iiiii', ''),#TEMP!
(0x6B, 'iii', ''), #TEMP!
(0x6C, 'iii', ''), #TEMP
Expand Down Expand Up @@ -196,6 +196,7 @@ class GscFile:
(0x4400, 'hhh', ''),
(0x4810, 'hhh', ''), #!!!
(0x4900, 'hhh', ''),
(0x4A00, 'hhh', ''),
(0x5800, 'hhh', ''),
(0x6800, 'hhh', ''),
(0x7800, 'hhh', ''),
Expand Down Expand Up @@ -228,11 +229,12 @@ class GscFile:
#(n)(1) - структура;
#(n)(2) - определение (может быть пустым).

ConnectedStringsLibrary = [[0x0E, [7, 8, 9, 10, 11]],
ConnectedStringsLibrary = [[0x0E, [1, 7, 8, 9, 10, 11]], #Убрать 1?
[0x0F, [1]],
[0x20, [0]],
[0x51, [-3, -2]],
[0x52, [-2]],
[0x79, [1]]] #!!!
[0x79, [1]]]
#Библиотека связанных со строками аргументов.
#(n)(0) - команда;
#(n)(1) - список связанных аргументов.
Expand All @@ -241,6 +243,7 @@ class GscFile:

ConnectedOffsetsLibrary = [[0x03, [0]],
[0x05, [0]],
[0x0E, [2, 3, 4, 5, 6]],
[0xC8, [0]]]
Labels = []
#[0] - индекс метки, [1] - смещение метки.
Expand Down

0 comments on commit 83317fb

Please sign in to comment.