summaryrefslogtreecommitdiff
path: root/Dev/resnametable.TXT
diff options
context:
space:
mode:
authorwizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-27 19:32:30 +0000
committerwizputer <wizputer@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-27 19:32:30 +0000
commit486b4f2a12b41507b67a1a93ae5871b3be447914 (patch)
tree8196d22d0fce973ac6e53b24735776ba9dcaf77f /Dev/resnametable.TXT
parentecb15e6101bc1912bb2520151c45ed69af80feb8 (diff)
parentf0da8da932031212f34aa97eff882f72cb69cc2a (diff)
downloadhercules-486b4f2a12b41507b67a1a93ae5871b3be447914.tar.gz
hercules-486b4f2a12b41507b67a1a93ae5871b3be447914.tar.bz2
hercules-486b4f2a12b41507b67a1a93ae5871b3be447914.tar.xz
hercules-486b4f2a12b41507b67a1a93ae5871b3be447914.zip
correct directory structure
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@387 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'Dev/resnametable.TXT')
-rw-r--r--Dev/resnametable.TXT64
1 files changed, 64 insertions, 0 deletions
diff --git a/Dev/resnametable.TXT b/Dev/resnametable.TXT
new file mode 100644
index 000000000..6c62e2a1b
--- /dev/null
+++ b/Dev/resnametable.TXT
@@ -0,0 +1,64 @@
+Resnametable reading problem, testcases and description
+by Akaru
+------------------------------------------------------------------
+EDITED Resnametable, add at the end:
+aaa.gnd#valkyrie.gnd#
+aaa.gat#valkyrie.gat#
+aaa.rsw#valkyrie.rsw#
+À¯ÀúÀÎÅÍÆäÀ̽º\map\aaa.bmp#À¯ÀúÀÎÅÍÆäÀ̽º\map\valkyrie.bmp#
+
+At map_athena.conf, add:
+map: aaa.gat
+
+Case 1:
+In data.grf there's the base resnametable without reference of aaa.gat
+In sdata.grf there's no resnametable
+In data folder there's an edited resnametable with aaa.gat reference
+Results: Athena gives aaa.gat not found error
+What this proves: Athena doesn't even use the values in the datafolder resnametable
+
+Case 2:
+In data.grf there's the base resnametable without reference of aaa.gat
+In sdata.grf there's the edited resnametable aaa.gat reference
+In data folder there's an edited resnametable with aaa.gat reference
+Results: Athena loads aaa.gat
+What this proves: Athena only checks for the existance of the datafolder resnametable, but uses value from sdata.grf resnametable
+
+Case 3:
+In data.grf there's the base resnametable without reference of aaa.gat
+In sdata.grf there's the edited resnametable aaa.gat reference
+In data folder there's no resnametable
+BEFORE MY CHANGE: Athena exits, "data/resnametable.txt not found"
+AFTER MY CHANGE: Athena loads aaa.gat
+What this proves: Athena do not need the datafolder resnametable at all and it still runs from the resnametable in the GRFs
+
+Case 4:
+In data.grf there's no resnametable
+In sdata.grf there's no resnametable
+In data folder there's no resnametable
+BEFORE MY CHANGE: Athena exits, "data/resnametable.txt not found"
+AFTER MY CHANGE: Athena exits, "data/resnametable.txt not found"
+
+How it is now:
+- It searches for the datafolder resnametable:
+ - If it exist, it continues but only use the resnametable from the GRF
+ - If it does not exist,
+ - If resnametable isn't found in data.grf/sdata.grf/adata.grf, it errors "resnametable not found" and exits
+ - If resnametable is found in data.grf/sdata.grf/adata.grf, it errors "resnametable not found" and exits
+
+What is should do:
+- Check if data_folder in grf-files is enabled:
+ - If it is, search for the datafolder resnametable:
+ - If it exist:
+ - If resnametable isn't found in data.grf/sdata.grf/adata.grf, it continues and uses this resnametable
+ - If resnametable is found in data.grf/sdata.grf/adata.grf, it continues and overwrites the GRF resnametable with this one from the datafolder
+ - If it does not exist:
+ - If resnametable isn't found in data.grf/sdata.grf/adata.grf, it errors "resnametable not found" and exits
+ - If resnametable is found in data.grf/sdata.grf/adata.grf, it continues and use the GRF resnametable
+ - If it isn't, then:
+ - If resnametable isn't found in data.grf/sdata.grf/adata.grf, it errors "resnametable not found" and exits
+ - If resnametable is found in data.grf/sdata.grf/adata.grf, it continues and use the GRF resnametable
+
+------------------------------------------------------------------
+Fixes, comments, discussions, etc goes below here:
+------------------------------------------------------------------ \ No newline at end of file