I'm not even sure if there's anyone left on epvp that might have attempted this kind of stuff in the past but I officially hit a roadblock and could really use some help.
A few days ago I started working on a map editor - well, it's still mostly a viewer since it's still under development and I can't really do much except for changing coordinates acessibility and moving some stuff around and all was going well until I got to the point of loading .scene files and consequently some city bridges (such as twin city, for example).
I noticed that while some cities have their bridges loaded as 'cover' layers and they already have the coordinate acessibility for them set on the .dmap file, others (like TC and PC) don't. They apparently load their bridges as 'scene' layers from .scene files which contain data for the files these are supposed to use and which also set new cell's acessibility data.
The problem I'm facing is, looking at TwinCity's bridges example, the map\Scene\bridgeB-L.scene file points to ani/MapScene.ani where it's supposed to load 8 scene parts. These files seem to point to "data/map/mapobj/plain/plain/bridge05.msk", "bridge06.msk" and "bridge07.msk" and there's where I'm currently stuck at.
After taking a glimpse at the client code, when loading .MSK files, the client supposedly replaces the '.msk' for '.dds' and tries to load the file as a .dds image and if that fails then it'll try to load it as a .tga. According to the public documentation and the leaked client's code .msk files contain an alpha layer of transparecy that defines transparecy of the texture.
However, it seems that there's no .dds or .tga files for these (bridge05.msk, bridge06.msk, bridge07.msk) and there's where I'm currently at.
At this point I can already load the maps (with cover layers to simulate movement like waterfalls and such), edit cells data, place new portals or edit existing ones and most importantly export everything back so theoretically I really wouldn't need this at all to make new maps since I could simply draw all this stuff as cover layers. I guess it's just my curiosity that is piqued and is taking the best of me :\
I'll add some images/videos of what I currently got just to make this thread a tiny bit more interesting. Please ignore the ugly UI, I'm just trying to get things to work at this point and will leave embellishment for when I'm done or give up making some things work
Did you extract all of the resources? It has been a while since I've touched my cruddy map viewer but Mine appears to load them just fine (until I try to apply the msk file, but that's for another time). And I do exactly as you described, I check for a .dds file, if that doesn't exist I then look for the .tga file. Bridge05-07 are dds files
What are you using for loading and drawing the assets? I ended up going with MonoGame at the time but it really started out as just a generic asset viewer for me.
Did you extract all of the resources? It has been a while since I've touched my cruddy map viewer but Mine appears to load them just fine (until I try to apply the msk file, but that's for another time). And I do exactly as you described, I check for a .dds file, if that doesn't exist I then look for the .tga file. Bridge05-07 are dds files
What are you using for loading and drawing the assets? I ended up going with MonoGame at the time but it really started out as just a generic asset viewer for me.
I'm currently using MonoGame as well. However, for some odd reason I don't seem to have the Bridge05-07 textures (.dds) that you mentioned (yes, I have extracted the wdf packages, both data.wdf and c3.wdf).
What are you using to extract the wdfs? I'm using CptSky's Package Manager and it seems to extract it for a 5017 client and the 5165 client (you using 5165?).
What are you using to extract the wdfs? I'm using CptSky's Package Manager and it seems to extract it for a 5017 client and the 5165 client (you using 5165?).
It was indeed the extractor I was using that was not getting everything out of the package. After using CptSky's I managed to figure it out. Thanks for the tip
It was indeed the extractor I was using that was not getting everything out of the package. After using CptSky's I managed to figure it out. Thanks for the tip
Phew Pretty sure when I repackaged all the .WDF files within a modified file format for COPS v6, I had properly extracted everything, including files linked to .msk ones. Glad to hear it worked.
Phew Pretty sure when I repackaged all the .WDF files within a modified file format for COPS v6, I had properly extracted everything, including files linked to .msk ones. Glad to hear it worked.
it is because there is no direct link in any ini or string reference in the executable. it is simply the same filename with a .dds extension.
[Request] DB Editor / Client Editor / PK2 Editor. 08/30/2013 - SRO Private Server - 3 Replies Would like to make some Updates on the Server and need some peoples to make em. - Add me on Skype : Saint.sinner8 ( will be rewarded )
Map Editor [needed] 07/05/2008 - RF Online - 0 Replies Is there any one which can help me on map editor in rf i need it to remove some effect to minimize lag in ether thx in advance :p
Map Editor needed or explain how to 12/13/2007 - Eudemons Online - 2 Replies how to edit maps...? anyone knows?
there is my idea... edit any map and put lotto chests on it, so you dont have to pay for them but thet NPC/box will be solid TQ code, only in wrong place.
PS...want unlimited trys at loto....duel somebody strong... when you loose your hp will be o/7000 or whatever
when go OfflineTG, sigh back on and do lotto with your hp l ike that
....i hope it works for you
map editor needed 04/28/2007 - General Coding - 0 Replies the maps for CO are locked and i need a program to open them to edit the maps... what program is that??