user3005: I was as chess trainer with some young guys on a tournament, and wrote down some of their games. In nearly every game, there were wrong moves in it: king is in check, but does not move or react; making a move with a pawn more than one square, etc.
The strange thing now is, that I have not found any program (chessbase or other) that allows to write down the notation with wrong moves in it. Is there any program that supports that? I know, they should play only legal moves, but in a rapid chess game (of 7 year old boys), non-legal moves are common.

user25145: I am very late to this question, but I have used Chess Score Pad (for iOS only) to record my sons games for the past 7 years. Arbiters have been happy for me to stand behind my son and record the game with this software because it has no engine (and if you try and change to something else the PGN is closed - no more entry possible). The best part is it allows illegal moves to be entered. It's perfect for recording young peoples games!

user3456: Go to http://www.apronus.com/chess/wbeditor.php and switch to "position setup". On the chessboard act out the full game including illegal moves, it doesn't matter to this interface, and click "animated diagram" and then save the gif file as a record of the complete game. It can be converted later to a video file that can be viewed more conveniently than an animated gif.

user-1: I'm very late to this question, but I think I have something to add:
PGN was not designed for games that are played according to FIDE rules, which do allow
illegal moves in game scores under certain conditions. PGN was designed for games that are worth recording.
(Read that again. It may sound insulting -- but it's actually in the specification of PGN)
The PGN specification, section 8.2 (which describes movetext section: the section of
the PGN files where moves are placed) says:

Because illegal moves are not real chess moves, they are not permitted
in PGN movetext.  They may appear in commentary, however.  One would
hope that illegal moves are relatively rare in games worthy of
recording.

While you are able to add illegal moves to a PGN file, you can't be certain
that any PGN-reading tool will accept the resulting files, and display it any more.
There used to be a chess database program (on Windows) that allowed illegal move
entry. It was called CDB, and written by Peter Klausler. I used it more then a dozen years ago, but I've lost track of it -- so I don't know if Google-hits I get now are for the same program, or if it even works on modern Windows releases.

user9593: PGN files are normal text files. You can generate it to somepoint using the software and then save the file, open it in a text editor (notepad, notepad++, ...) and continue editing there.

3005: <p>I was as chess trainer with some young guys on a tournament, and wrote down some of their games. In nearly every game, there were wrong moves in it: king is in check, but does not move or react; making a move with a pawn more than one square, etc.</p>

<p>The strange thing now is, that I have not found any program (chessbase or other) that allows to write down the notation with wrong moves in it. Is there any program that supports that? I know, they should play only legal moves, but in a rapid chess game (of 7 year old boys), non-legal moves are common.</p>
 25145: <p>I am very late to this question, but I have used <a href="https://apps.apple.com/us/app/chess-score-pad/id518018730" rel="nofollow noreferrer">Chess Score Pad (for iOS only)</a> to record my sons games for the past 7 years. Arbiters have been happy for me to stand behind my son and record the game with this software because it has no engine (and if you try and change to something else the PGN is closed - no more entry possible). The best part is it allows illegal moves to be entered. It's perfect for recording young peoples games!</p>
 3456: <p>Go to <a href="http://www.apronus.com/chess/wbeditor.php" rel="nofollow noreferrer">http://www.apronus.com/chess/wbeditor.php</a> and switch to "position setup". On the chessboard act out the full game including illegal moves, it doesn't matter to this interface, and click "animated diagram" and then save the gif file as a record of the complete game. It can be converted later to a video file that can be viewed more conveniently than an animated gif.<a href="https://i.stack.imgur.com/sTAel.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sTAel.gif" alt="enter image description here"></a></p>
 -1: <p>I'm very late to this question, but I think I have something to add:</p>
<p>PGN was not designed for games that are played according to FIDE rules, which do allow
illegal moves in game scores under certain conditions. PGN was designed for games that are worth recording.</p>
<p>(Read that again. It may sound insulting -- but it's actually in the specification of PGN)</p>
<p>The <a href="http://tim-mann.org/Standard" rel="nofollow noreferrer">PGN specification</a>, section 8.2 (which describes movetext section: the section of
the PGN files where moves are placed) says:</p>
<blockquote>
<p>Because illegal moves are not real chess moves, they are not permitted
in PGN movetext.  They may appear in commentary, however.  One would
hope that illegal moves are relatively rare in games worthy of
recording.</p>
</blockquote>
<p>While you are able to add illegal moves to a PGN file, you can't be certain
that any PGN-reading tool will accept the resulting files, and display it any more.</p>
<p>There used to be a chess database program (on Windows) that allowed illegal move
entry. It was called CDB, and written by Peter Klausler. I used it more then a dozen years ago, but I've lost track of it -- so I don't know if Google-hits I get now are for the same program, or if it even works on modern Windows releases.</p>
 9593: <p>PGN files are normal text files. You can generate it to somepoint using the software and then save the file, open it in a text editor (notepad, notepad++, ...) and continue editing there.</p>
