Jump to content

Make.SH for commented Locale_List


Recommended Posts

M2 Download Center

This is the hidden content, please
( Internal )

With this modifications to the original make.sh you can comment your locale_list.

Prerequisites

  • bash

How to use?

bash make.sh

Source code

#!/usr/local/bin/bash

LIST_FILE='locale_list'
BIN="./qc"

if [ -r $LIST_FILE ]; then
	rm -rdf object
	mkdir object
	while read line;
		do
			firstChar="${line:0:1}"
			if [ "$firstChar" != "#" ] && [ -n "$firstChar" ]; then
				quest=${line%#*}
				$BIN $quest
			fi
		done < $LIST_FILE
else
	echo $LIST_FILE' is missing'
fi

Example locale_list

# First quest
quest1.quest

quest2.quest # Second quest

quest3.quest
quest4.quest

Hope you like it.

  • Metin2 Dev 6
  • Confused 1
  • Good 4
  • Love 11
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.