ใน Novel GU นั้นจะมีการทำงานอยู่ด้วยกันสองรูปแบบหลักๆ , ได้แก่ แบบปกติ และ แบบ debug(ค่าเริ่มต้น)ในแบบ debug นั้นจะมีคำสั่งผ่านปุ่มลัดหลายปุ่มที่ใช้สำหรับการทดสอบระหว่างการพัฒนาซึ่งประกอบไปด้วย
ปุ่ม F1 - เปิด/ปิด หน้าต่าง debug
ปุ่ม F2 - quick save
ปุ่ม F3 - quick load
ปุ่ม F9 - เริ่มต้น script novel file นั้นใหม่ตั้งแต่ต้น
ปุ่ม Alt + F4 - ปิดโปรแกรม
โครงสร้างของ Xml Novel Script และรูปแบบการทำงาน
ทุกครั้งที่มีการเปิดโปรแกรมผ่านทางไฟล์ Novel GU.exe โปรแกรมจะทำการเรียกหาไฟล์ชื่อว่า start.xml ซึ่งอยู่ใน folder ที่ชื่อว่า novel ก่อนเป็นไฟล์แรกเสมอๆ

ซึ่งในไฟล์นี้นั้น จะต้องมีการกำหนดค่าเริ่มต้นต่างๆ และ switch บางอย่าง(แล้วแต่กำหนด)ที่จำเป็นสำหรับการเริ่มต้นเกมใหม่ทุกครั้ง ในตัว Novel GU ที่ท่านได้ไปนั้น start.xml จะถูกกำหนดให้เรียก logo.xml ก่อนขึ้นมาเป็นไฟล์แรกเพื่อแสดงภาพ logo ของทีมงาน StudioGU ก่อนเข้าเกมทุกครั้ง ซึ่งถ้าท่านต้องการจะเอาออกหรือเปลี่ยนชื่อไฟล์เป็นอย่างอื่นท่านสามารถแก้ไขด้วยการค้นหาบรรทัดที่แสดงไว้ในภาพด้านล่างต่อไปนี้

แก้ข้อความสีม่วงจาก logo.xml เป็น ชื่ออื่น.xml ที่เป็นไฟล์ซึ่งเขียนภายในกฏของ Xml Novel Script ก็เป็นอันเรียบร้อย
โดยค่าเริ่มต้นแล้วหลังจากขึ้น logo เสร็จ, ไฟล์ต่อไปที่จะทำงานนั้นจะถูกเรียกจาก folder sample_day ซึ่งปรากฏอยู่ภายใน folder novel อีกทีหนึ่งดังภาพ

จะมีไฟล์อยู่ในนั้นด้วยกันสองไฟล์คือ day01.xml และ day02.xml ซึ่งทั้งสองไฟล์นั้นต่างก็เป็น Xml Novel File ทั้งคู่ และเป็นไฟล์ที่ถูกใช้ในการแสดงตัวอย่างเกมที่เจอเมื่อเปิด Novel GU สำหรับการเริ่มต้นอย่างง่ายๆให้ท่านเปิด day01.xml ด้วยโปรแกรมแก้ไขข้อความใดๆก็ได้ อาทิเช่น notepad , editplus หรืออื่นๆที่สะดวก(แนะนำ notepad++ ที่ sourceforge.net)

ไม่ลองไม่รู้ครั้งที่ 1 (Lab Exercise #1)
1. จงลองมั่วแก้ไขให้ Novel GU นั้นเริ่มต้นที่ day01.xml เลยโดยไม่ต้องขึ้น logo
2. จงลองมั่วแก้ไขให้หลังจากจบ day01.xml แล้ววนกลับไปเพื่อแสดง logo
เริ่มต้นก็ง่ายๆเท่านี้ล่ะครับ สำหรับการเปลี่ยนไฟล์ ลองๆดูนะครับ
=============================================
(Using Novel GU in Debugging Mode)
In Novel GU there are a number of special buttons that you could use in debugging mode that will have you check your novel. The list of special buttons are listed below:
F1 - Toggle the debug console window
F2 - Quick Save
F3 - Quick Load
F9 - Repeat the existing script novel file
Alt + F4 - Close the program
(Structure of the Xml Novel Script and its Usage)
The first script file that the Novel Gu application (Novel Gu.exe) will parse is the file called start.xml which is located in the folder called novel.

In the start.xml file, it includes important initialization values and switches that are vital when starting the Novel GU application. In the provided start.xml, you can find that near the end of the file it will call and parse the logo.xml file. This file will contain the logo of StudioGU which would be displayed before the game is loaded.
All these files are customizable, so you will find that it isn't very difficult to change the behavior of the application. A good start is to change the logo and/or files that you are going to use. In the example below, we have highlighted the code that you have to change if you are planning to load a different file for the logo.

We can easily change the highlighted values from logo.xml into a different script file that you have created that is in the Xml Novel Script format. Details of this format and how to customize it is available in future tutorials.
In the default Novel GU example, we can notice after the start.xml, the logo.xml is parsed. At the end of the logo.xml file, you can notice that it will later call the day01.xml file that is in the novel\sample_day folder.

If we open the novel\sample_day folder, we can find that there are two files, day01.xml andday02.xml respectively. Both are Xml Novel files which is used to define the behavior of your visual novel. You can easily make changes to these files by using any text editors e.g. notepad (come with windows), editplus, notepad++, etc. Try opening up day01.xml with one of these text editors and read through the scripts to get a better feel of the scripts in Novel GU and try making some basic changes to the novel.

1. Try changing the default Novel GU so that the default logo page is not shown when the novel is started.
2. Try changing the default Novel GU so that the default logo page is shown after the day01.xml script is finished.
Start by trying to make small changes to the system (e.g. change logos, etc.) to get a better feel of things before proceeding to the next lesson.
