View Full Version : C2 Geodata
Domzelan
17.05.2005, 07:16
We all need c2 geodata, lets do it...
Anybody can do it? :)
damienstone
17.05.2005, 07:34
what a stupid post.
Titling your thread C2 Geodata then with a smiley like that made it look like c2 geodata link in here.
Here is few geodata files made from heightmaps found in Textures/*.utx. But there is some problems with bridges and buildings. Sometimes you can fall through them on the ground. I'm searching where to get info about them (somewhere in maps folder) and in which format to write it to geodata.
Domzelan
17.05.2005, 11:34
Remezen thx
Ofcause it has issues, the header is fucked up - L2Server asumes it works and moves on - with that header you cannot make height maps..
This looks also alot like the header of a chinese program to do .bmp->.dat
Fact is adding "RebuildGeoData=1" in l2server's ini works just aswell as this..
//post from my dev working on this - not me
Can u tell us what location contains this geodata? thx
yes plx :) what localizaions?
gamedeveloper
22.05.2005, 21:41
Here are all new C2 locations:
22_23 Field of Silence
22_24 Field of Whispers
22_25 Eva's Underwater Garden
23_23 Alligator Island
23_24 Heine the Floating City
23_25 Heine
20_24?Pirate Tunnel
21_24 Devil's Isle
23_18 Tower of Insolence (Василий не обманул )
25_17 Devastated Castle
24_19 Narsell Lake
24_17 Blazing Swamp
20_23 The monster derby track
gamedeveloper
22.05.2005, 21:42
Ofcause it has issues, the header is fucked up - L2Server asumes it works and moves on - with that header you cannot make height maps..
This looks also alot like the header of a chinese program to do .bmp->.dat
Fact is adding "RebuildGeoData=1" in l2server's ini works just aswell as this..
//post from my dev working on this - not meCould you please explain detaily, what exactly data are rebuilded by server and what is using as source for rebuilding?
M-@-t-R-i-X
22.05.2005, 22:33
i think it uses clients data but, dunno, never tried...
maybe i should :)
Nothing is used since that command is fake, my point was that so are those files - they dont do anything... they make the server act like l2j.. :)
hmm so what is the point? We have geodata which can't be used? :)
edit: I try it and nothing changed.. or I didn't noticed.. I try to get to Heinn.. nothing.. but dont see screwed c1 place too = imho its standard files
:(
They work to some extend, just like l2j does - but they dont work well enough, id have to say if i wanted l2j performance and features id go for l2j... not official
come on guys! we can do better ffs!
oh well... i could come out with the interface for it (in java)
since most of the people seems to be well versed in it...
but i wun be providing the processing code for it... since i'll be busy with other stuff.
aka, marriage mod, casino mod, and observation crystals
Theres no need for a java interface for geodata - just need to figure out the headers instead of inserting 00 and other fucked ones as values.
Currently I'm missing 1 header on 4 bytes (possibly 2 x 2 byte :/) after that i will have working Geodata 1 layer (make no mistake, those posted here or used by splendor.ru are not correct headers)
After that it wont take long to figure out the following 4-5 blocks of data..
Wish me luck ^^
well.. i just wanted to save u guys time n point ya in the right direction..
since u think it's not needed, it's fine with me. :)
saved my time to do it
Digital, help is always appreciated - but unless that java app can tell me wtf that 4byte header is, then its no real help at the moment :-)
Domzelan
23.05.2005, 12:30
any body know how we can generate client geodata to server geodata
well.. all i could say is geodata isnt difficult at all...
difficult part is finding information to feed it.
and good luck at ur attempt at it... :)
most of us dev have already broken down most parts of geodata already.
Digital, if you have any info related to the real headers (not those 1 layer fake files as posted here), please let me know.
As i said im missing the 4bytes, the info to feed it is not a problem for me, just figureing out the actual formats etc.
The first dword is the size of all the cell data counted in 16bit words. The second dword is the number of zone record+fixed size data blocks, which is subtracted from 65536 to get the number of variable length data blocks. The third dword is the zone record count.
Zone records have the format 00 00 ?? ?? ?? ??.
Fixed size data blocks have the format 40 00 followed by 64 16bit words.
Variable length data blocks have the format ?? 00 followed by 64 16bit-length/data pairs where the length specifies the number of data words. For example, 01 00 ?? ?? 02 00 ?? ?? ?? ?? 03 00 ?? ?? ?? ?? ?? ?? etc.
gamedeveloper
27.05.2005, 11:06
Don't get you :( Let's look at 17_24_conv.dat:
11 18 80 00 10 00 80 A1 00 00 00 00 01 00 7A FD
00 00 00 00 E8 ED E8 ED 00 00 E8 ED E8 ED 00 00
11h -> 17
18h -> 24
80 00 10 00 is ... header of all the map?
80 A1 -> A180 = 41344 words of cell data? What is cell data?
tontor has already gotten it.
and i've made a post regarding complete breakdown on headers b4.. use search
Using 17_24_conv.dat as an example:
11h -> 17
18h -> 24
80 00 -> read but not used
10 00 -> read but not used
80 A1 00 00 -> A180 -> 41344 words of data -> 82688 bytes of data
00 00 01 00 -> 010000h -> 65536-10000h = 0 variable length data blocks
7A FD 00 00 -> FD7A -> 64890 zone records
Domzelan
07.06.2005, 12:17
someone did it? maybe 1 level map?
k guys - we have full teh info on geodata structure and converting formulas
but need someone known to Unreal Engine and 3D graphics programming at all
only thing before we will be able to create fully working and correct geodatas is get the info from client.
so - it would be great if someone known with mech-strusture, .UNR package formats or so helped me.
DarkCyber
11.06.2005, 01:08
:( same problem
not one map ut editor doesnt work
hm.... ppl, so not only in T_XX_XX.utx are stored geodata on client-side ?
what are the files have to work on ?