I think I found the solution: When generating an ascii-file in Notepad, it seems that by default Notepad saves the ascii file with CRLF-Returns, while a standard Linux Ascii-file has different line escapes. This ultimatly leeds to problems in my tools.
I usually work under Linux when generating ASCII-files - so I never noticed how notepad might screw up things.
To solve, please install a tool called "dos2unix" (it's usually in the Linux repositories) on you linux box and then use it to transform the line escapes from Windows to Linux-format.
The scripts will then work afterwards :)
Oh, I also noticed, that you need to change your "end"-command to a captial "E":
← Return to game
Comments
Log in with itch.io to leave a comment.
Hi, I'm having trouble creating new adventures.. I've defined a txt file with the text from a gamebook, like this (to test it out)..
[1]
text....
<G|2>
[]
[2]
more text...
<e|0>
[]
When I try and run it through checker I get
*** Search for double defined pages:
is defined more than once !
is defined more than once !
is defined more than once !
is defined more than once !
is defined more than once !
is defined more than once !
is defined more than once !
is defined more than once !
Error found - exiting
all text lines have a maximum of 47 chrs and a carriage return at the end of the line, plain text file done in Windows notepad.
If I run in framer.sh I get a blank box with no text!
Any ideas?
Thanks .
Hi ayster,
I think I found the solution:
When generating an ascii-file in Notepad, it seems that by default Notepad saves the ascii file with CRLF-Returns, while a standard Linux Ascii-file has different line escapes. This ultimatly leeds to problems in my tools.
I usually work under Linux when generating ASCII-files - so I never noticed how notepad might screw up things.
To solve, please install a tool called "dos2unix" (it's usually in the Linux repositories) on you linux box and then use it to transform the line escapes from Windows to Linux-format.
The scripts will then work afterwards :)
Oh, I also noticed, that you need to change your "end"-command to a captial "E":
<e|0> should be <E|0>
Thanks, I'll give that a go :)