Please create an account or Login! Have fun!

Editing User:G-lander/NCCS

Jump to navigation Jump to search
You are not logged in. While you can edit without logging in, your IP address will be recorded publicly, along with the time and date, in this page's history. It is sometimes possible for others to identify you with this information. Creating an account will conceal your IP address and provide you with many other benefits. Messages sent to your IP can be viewed on your talk page.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 26: Line 26:
|NCCS
|NCCS
|Null-terminated string
|Null-terminated string
|The file's version. The latest version is "0.2".
|The file's version. The latest version is "02".
|-
|-
|FILE
|FILE
Line 44: Line 44:
|Level miscellaneous data. The format is identical to the format of the [[C2H#Save_section|SAVE section]] in [[C2H]] files.
|Level miscellaneous data. The format is identical to the format of the [[C2H#Save_section|SAVE section]] in [[C2H]] files.
|-
|-
|SLN /PSLN
|SLTN/PSLN
|See SLN section below
|Level solution
|The recorded level solution. The PSLN section is compressed, the SLN section is not.
|The recorded level solution, identical to the [[C2M#REPL_.2F_PRPL_section|REPL section]] of the C2M file, excluding the first three bytes. The PSLN section is compressed, the SLTN section is not.
|-
|-
|STAT
|STAT
Line 62: Line 62:
[[Category:Terminology]]
[[Category:Terminology]]
[[Category:File formats]]
[[Category:File formats]]
=== SLN Section ===
The SLN section stores the solution for the specified level. It is similar to the [[C2M#REPL_.2F_PRPL_section|REPL section]] of C2M files, but they are not the same.
The contents of this section are as follows:
{| class="wikitable" border="1"
!Bytes
!Content
|-
|1
|The number of the player
|-
|Varies
|A sequence of input changes
|}
Multiple SLN sections can be set for a single level for multiple players.
==== Input change ====
Specifies a change in input:
{| class="wikitable" border="1"
!Bytes
!Content
|-
|1
|An input bitmask specifying the new input
|-
|1
|Number of frames this input is held for. Last input must have length 0xff, specifying infinite length. Otherwise <= 0xfc. Larger delays are specified via multiple input changes
|}
==== Input bitmask ====
Specifies which keys are pressed, any number of bits can be combined:
{| class="wikitable" border="1"
!Bitmask
!Meaning
|-
|0x1
|Up
|-
|0x2
|Right
|-
|0x4
|Down
|-
|0x8
|Left
|-
|0x10
|Drop item
|-
|0x20
|Cycle items
|-
|0x40
|Switch player
|}


=== STAT section ===
=== STAT section ===
Please note that all contributions to Chip's Challenge Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Chip's Challenge Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)
Your changes will be visible immediately.
  • If you want to test editing, try the sandbox.
  • On talk pages, please sign your posts by typing four tildes (~~~~).