[WIP] Silkroad Map Viewer

06/23/2012 00:35 PortalDark#31
btw, why dont you make this tool work directly with pk2
it could help some may not want to extract entire data/map pk2s
06/23/2012 09:41 ÑõÑ_Ŝŧóp#32
Quote:
Originally Posted by PortalDark View Post
btw, why dont you make this tool work directly with pk2
it could help some may not want to extract entire data/map pk2s
reading PK2 in c# is a bit slow,it takes ~8 seconds to open the PK2,atleast on my stupid pc xD
06/23/2012 11:51 vorosmihaly#33
Quote:
Originally Posted by ÑõÑ_Ŝŧóp View Post
reading PK2 in c# is a bit slow,it takes ~8 seconds to open the PK2,atleast on my stupid pc xD
takes around 2 seconds here. :)
06/23/2012 11:54 ÑõÑ_Ŝŧóp#34
Quote:
Originally Posted by vorosmihaly View Post
takes around 2 seconds here. :)
my pc sucks,you know :D
06/23/2012 12:56 Th3K1nG#35
this map viewer is a big release perrytje imagine "we" could build map edtiors or something else i mean you did the first step bro ;) good job
06/23/2012 13:34 perrytje#36
Quote:
Originally Posted by Th3K1nG View Post
this map viewer is a big release perrytje imagine "we" could build map edtiors or something else i mean you did the first step bro ;) good job
I did the next steps too, already finished my own map editor.

About the reading directly from the pk2: The argument that reading from pk2 is slow isn't valid, since extracting the entire thing takes longer. I'm just too lazy to figure out how to read directly from the pk2, when this method works just as well. The other thing is that this makes it way easier to copy files for backups or stuff like that, while that's harder when reading directly from the pk2 files.
06/23/2012 13:48 CraYu#37
Amazing amazing will it be possible to delete objects or just to add new one at the moment,
Ah and would be there a way that it reads .ddj because converting to .dds takes a bit time not a big problem but would be more comfortable.
06/23/2012 14:14 perrytje#38
I can delete objects already, I'll have a look at converting the .ddj's shouldn't be that hard.
06/23/2012 15:15 vorosmihaly#39
Quote:
Originally Posted by perrytje View Post
I can delete objects already, I'll have a look at converting the .ddj's shouldn't be that hard.
well,converting a .ddj to .dds is pretty easy..
you just open the .ddj file with a hex editor,delete the first 20 bytes of the file,then you save it as .dds :)
06/23/2012 15:29 perrytje#40
Quote:
Originally Posted by vorosmihaly View Post
well,converting a .ddj to .dds is pretty easy..
you just open the .ddj file with a hex editor,delete the first 20 bytes of the file,then you save it as .dds :)
Thats why I said it wouldn't be hard.

Also the objects on the map are linked by an id that refers to a file which links the bsrs to the ID's. I was afraid that would give problems, but it turns out that it's pretty easy to just add a new id to that file and add it to the map.
[Only registered and activated users can see links. Click Here To Register...]
06/23/2012 18:21 PortalDark#41
Quote:
Originally Posted by ÑõÑ_Ŝŧóp View Post
reading PK2 in c# is a bit slow,it takes ~8 seconds to open the PK2,atleast on my stupid pc xD
2gb ram
1,89ghz intel pentium D
takes to me 2-4 seconds
06/23/2012 19:20 Th3K1nG#42
Quote:
Originally Posted by perrytje View Post
I did the next steps too, already finished my own map editor.

About the reading directly from the pk2: The argument that reading from pk2 is slow isn't valid, since extracting the entire thing takes longer. I'm just too lazy to figure out how to read directly from the pk2, when this method works just as well. The other thing is that this makes it way easier to copy files for backups or stuff like that, while that's harder when reading directly from the pk2 files.
finished..?

just askin.. you mean a real "3D Programm" where you just press a object like a "house" and you can put it at a random place on the map(x,y) and save it?
06/23/2012 19:51 perrytje#43
Quote:
Originally Posted by Th3K1nG View Post
finished..?

just askin.. you mean a real "3D Programm" where you just press a object like a "house" and you can put it at a random place on the map(x,y) and save it?
Yes.
[Only registered and activated users can see links. Click Here To Register...]
06/23/2012 20:28 theonly112#44
Very impressive. Been thinking of doing something similar.
06/23/2012 20:44 Th3K1nG#45
Quote:
Originally Posted by theonly112 View Post
Very impressive. Been thinking of doing something similar.
same here