Skip to content

Commit

Permalink
Version 0.13 27/12-20024
Browse files Browse the repository at this point in the history
```
0.13 2024-12-27
---------------
  * Fixed bug that couldn't handle "no-verb" with 0 number_of_grammar_lines
    in Inform_GV2.
  * Inform6: Support for grammar version 3.
  * Support for unicode translation table.
  * Identify old compiled files right as Zilch(old Infocom files with oddly formed serials).
  * Accept files with no abbreviation tables.
  * Accept files with no objects.
  * Print object tree, special output for InvisiClues-files.
  * Dialog: Identify memory areas for heaps, predicates and scratch area.
  * Dialog: Mark data, that fills out so static mem - global start
                 always is at least 480 bytes, as padding.
```
  • Loading branch information
heasm66 committed Dec 27, 2024
1 parent 1e53515 commit c9e2aec
Show file tree
Hide file tree
Showing 7 changed files with 2,416 additions and 2,348 deletions.
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Precompiled binariers at: https://drive.google.com/drive/folders/1jl8Ym-6GzLiJgfdY8QORERw9Krvdk_-k
```
UnZ 0.13 (2024-12-20 11:03:51) by Henrik Åsman, (c) 2021-2024
UnZ 0.13 (2024-12-27 09:30:03) by Henrik Åsman, (c) 2021-2024
Usage: unz [option] [file]
Unpack Z-machine file format information.
Expand All @@ -15,6 +15,7 @@ Unpack Z-machine file format information.
--hexdump Show raw hexdump before each section.
--hide Don't show the abbreviation insertion points in the strings.
-i Show the header section.
--invisiclues Show Object Tree in InvisiClues format.
-m Show the memory map.
-o Show the objects sections.
-s Show the strings section.
Expand All @@ -29,4 +30,39 @@ Unpack Z-machine file format information.
Report bugs/suggestions to: heasm66@gmail.com
UnZ homepage: https://github.com/heasm66/UnZ
Changelog:
0.13 2024-12-27
---------------
* Fixed bug that couldn't handle "no-verb" with 0 number_of_grammar_lines
in Inform_GV2.
* Inform6: Support for grammar version 3.
* Support for unicode translation table.
* Identify old compiled files right as Zilch(old Infocom files with oddly formed serials).
* Accept files with no abbreviation tables.
* Accept files with no objects.
* Print object tree, special output for InvisiClues-files.
* Dialog: Identify memory areas for heaps, predicates and scratch area.
* Dialog: Mark data, that fills out so static mem - global start
always is at least 480 bytes, as padding.
0.12 2024-02-24
---------------
* Call without options or file prints help (same as -h).
* Cosmetic changes to printing in the objects section.
* List calls from property, action and preaction/parsing in
z-code routine header.
* List possible startingpoint for arrays in "undentified data",
collected from opcodes loadb, loadw, storeb, storew and globals.
0.11 2024-02-18
---------------
* Minor bug fixes and error handling.
* Handle corrupt adjective table (Curses_r7) for Inform5_ver1 grammar.
0.10 2024-02-17
---------------
* Initial commit.
```
10 changes: 10 additions & 0 deletions UnZ/Helper.vb
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,13 @@ Public Class DictionaryEntries
Return Nothing
End Function
End Class

Public Class ObjectData
Public Id As Integer = -1
Public Description As String = ""
Public ParentId As Integer = 0
Public NextId As Integer = 0
Public ChildId As Integer = 0
Public Property4Strings As New List(Of String)
Public Property8Strings As New List(Of String)
End Class
4 changes: 4 additions & 0 deletions UnZ/MemoryMap.vb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ Public Enum MemoryMapType
MM_PADDING
MM_WORD_FLAGS_TABLE
MM_UNICODE_TABLE
MM_MAIN_HEAP
MM_AUX_LT_HEAP
MM_PREDICATE_DATA
MM_SCRATCH_AREA
End Enum

Public Class MemoryMapEntry
Expand Down
4,492 changes: 2,360 additions & 2,132 deletions UnZ/Program.vb

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions UnZ/PropertyAnalyser.vb
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,13 @@ Public Class PropertyAnalyser
Dim iPropSize As Integer
Dim iPropStart As Integer = iTmpProp + 1
If pZVersion <= 3 Then
iPropNum = (pStoryData(iTmpProp) And 31)
iPropNum = (pStoryData(iTmpProp) And &H1F)
iPropSize = 1 + (pStoryData(iTmpProp) And 224) \ 32
Else
iPropNum = (pStoryData(iTmpProp) And 63)
If (pStoryData(iTmpProp) And 128) = 128 Then
iPropSize = (pStoryData(iTmpProp + 1) And 63)
iPropNum = (pStoryData(iTmpProp) And &H3F)
If (pStoryData(iTmpProp) And &H80) = &H80 Then
iPropSize = (pStoryData(iTmpProp + 1) And &H3F)
If iPropSize = 0 Then iPropSize = &H40
iPropStart += 1
Else
If (pStoryData(iTmpProp) And 64) = 64 Then iPropSize = 2 Else iPropSize = 1
Expand Down
100 changes: 0 additions & 100 deletions UnZ/UnZ.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,109 +16,9 @@
</PropertyGroup>

<ItemGroup>
<None Update="games\AMFV.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Balances.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Beyond Zork.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\craverlyheights_dg.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Inform5_ver1\Jigsaw.z8">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Inform6_ver2\craverlyheights_puny.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Inform6_ver2\hibernated1.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\zilch_ver2\ARTHUR.ZIP">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\zilch_ver2\shogun.z6">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\zilch_ver2\ZORK0.ZIP">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\zilf_ver1\craverlyheights_zil.z3">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\zilf_ver1\craverlyheights_zil.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Inform5_ver1\Curses!.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Dorm Game.z3">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Enchanter.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\INFIDEL.DAT">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\minster.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Nord and Bert.Dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Planetfall.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Seastalker.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\sherbet.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\starcross-r15-s820901.z3">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\starcross-r17-s821021.z3">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\starcross-r18-s830114.z3">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Starcross.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\the_job_R5.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Wishbringer.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\zilch_ver2\SHOGUN.ZIP">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\zilf_ver1\craverlyheights_zil_ver_0_10.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\zilf_ver1\craverlyheights_zil_ver_0_9.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\ZORK1.DAT">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="the_job_R5.z5">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="games\Trinity.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<Folder Include="games\zilch_ver2\" />
</ItemGroup>

</Project>
111 changes: 0 additions & 111 deletions changelog.txt

This file was deleted.

0 comments on commit c9e2aec

Please sign in to comment.