olvie
Potporucnik
Posts: 104
|
Post by olvie on Nov 17, 2020 0:46:18 GMT 1
Right, thanks for your input. I do remember the Heimatfront tiles, if you mean the old mod. Those were pretty neat indeed. Are those the same as in CFCS? I'm personally not too worried about using Stalingrad tiles, since they are already included in GZM. Seeing how every mod under the sun is using the buildings and objects from Stalingrad, the tiles won't make any difference at this point and I'm not too worried about DTF pulling a Jimi Hendrix on me By the way, are you from Brussels by any chance? The Manneken Pis would suggest it
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,112
|
Post by kaoz on Nov 17, 2020 20:08:52 GMT 1
I really can't say, but knowing Squire's eye for detail, i guess he made his own edit or a mixture. But it wouldn't matter, i did not mean to accuse any other mod of using the HF tileset, on the contrary, i myself have used the most interesting stuff from other mods. As long as it remains free (and credited would be nice), i don't see the harm.
I grew up in the north, on the Dutch-Belgian border. Later on moved to Antwerp for more than a decade. Now, i live somewhere in between Brussels and Antwerp. In a small village... on the countryside, away from crowded cities, like 40km of Brussels ;-)
|
|
Grot
General
J-23 znowu nadaje
Posts: 4,048
|
Post by Grot on Nov 20, 2020 0:47:09 GMT 1
doctor and nurses from GZM site
|
|
olvie
Potporucnik
Posts: 104
|
Post by olvie on Dec 5, 2020 14:43:49 GMT 1
Can someone help me install a custom tile set in GZM9? I have no experience with modding I've opened the textures.pak and replaced tileset_h.dds with the new one (opened the .pak with Winrar and pasted the .dds while in Winrar). I've used the Tileset 1 folder because that's the summer one. I've also replaced the tileset.xml inside (I believe it was) data.pak The map still looks the same in the map editor. Did I do it wrong or do I need to do something else before I can see the new tiles?
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,112
|
Post by kaoz on Dec 6, 2020 1:15:04 GMT 1
Ok, now i see you want to change those of GZM mod. Not sure how gzm packed it... But i explained you in pm how to create your own 'terrain.pak'. Try putting that in data folder of gzm mod. I guess that should overwrite, but i'm not 100% sure either. Should work in theory...
|
|
|
Post by Stanenberg on Dec 6, 2020 15:12:11 GMT 1
GZM comes with 2 or 3 alternative Terrain sets. Have you tried these?
|
|
olvie
Potporucnik
Posts: 104
|
Post by olvie on Dec 6, 2020 22:51:18 GMT 1
Ok, now i see you want to change those of GZM mod. Not sure how gzm packed it... But i explained you in pm how to create your own 'terrain.pak'. Try putting that in data folder of gzm mod. I guess that should overwrite, but i'm not 100% sure either. Should work in theory...
So I start off by un-zipping the terrain.pak? And if so, do I need to repack it afterwards? Sorry, I misread your PM. My un-zipped and re-zipped textures.pak is way smaller than the original one, 1.3gb ~600mb vs ~1.7gb. Do I need to pick a particular compression when repacking the folder? And I'm making a .zip not a .rar, right? And then just rename it into .pak? I should probably add that I need these tiles to work in map that I've already started working on, not sure if that will be an issue. I've managed to swap between Stalingrad and vanilla tiles by editing the .xml so I think it will be fine. edit: So surprisingly my editor loaded the map fine even with the much smaller re-zipped terrain folder, but the tileset is still the old one...
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,112
|
Post by kaoz on Dec 9, 2020 17:33:02 GMT 1
My un-zipped and re-zipped textures.pak is way smaller than the original one, 1.3gb ~600mb vs ~1.7gb. Do I need to pick a particular compression when repacking the folder? No, you shouldn't... when i use 7zip and right-click a folder and choose 'Add to zip', i don't even get to chose any compression. Of course, all zipper-softwares will compress files because having smaller file sizes is one of the main reasons to zip, but as i never get the choice of compression, i couldn't really say which one to use. If i would have the choice, i would opt for the least compression in this case.I never tried with a rar, who knows it might work or not, but zip should work fine.It shouldn't be an issue. If you used the gzm mod in the MapEditor, it will of course use the terrain folder from the mod/data folder. In the other case (no mod selected in MapEditor) it should load your terrain.pak from the BK data folder. In theory that is because i also never tried that with a terrain, but it does work for other stuff so... (and if i remember correct, terrains don't need to be set in a modobjects.xml).
Which xml did you edit and what did you edit precisely?The old one... is that the one from gzm or BK vanilla? Are you sure it loaded the smaller re-zip? Because if you keep seeing the old one, it seems to me that nothing was loaded... I would also suggest to open the terrain .dds files in photoshop or gimp, just to verify the 'look' of them and to be sure of the difference between them.
In case you've put your own created terrain.pak in the BK/data folder and your map uses the gzm mod, you might indeed not see a change. If so, i would suggest to put your terrain.pak in the gzm/data folder. That should, again in theory, overwrite them.
|
|
olvie
Potporucnik
Posts: 104
|
Post by olvie on Dec 11, 2020 22:02:05 GMT 1
I must be doing something wrong but I don't get what.
I've done what you said - go inside the changed textures.pak and check if the new terrain is there: it is.
I tested how the Stalingrad tileset would look - it's included in GZM9 and you just need to save the map as .xml and edit it to use the Stalingrad tiles in the editor. But that's unrelated to the current issue.
But actually now that I'm typing this, I'm starting to wonder about something. To use the Stalingrad tiles, you need the following lines in your xml:
<Terrain><tileset>terrain\sets\7\tileset</tileset><crosset>terrain\sets\7\crosset</crosset><noise>terrain\sets\7\noise</noise> The thing is, inside textures.pak/terrain/sets, there are only folders 1 to 4, but no 7 (or any of the other alternative tiles used in GZM). That's making me wonder whether the tiles used by GZM are even in textures.pak/terrain?
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,112
|
Post by kaoz on Dec 12, 2020 3:39:55 GMT 1
I must admit that i really don't know how the GZM mod was organized. I don't have it. I have a version of Stalingrad somewhere on a backup disk, but i don't have it installed either. Makes it difficult to answer that question. It is also the first time that i hear of a folder named 7 in the terrain sets...
Seems you have installed GZM mod under Stalingrad, am i right? Maybe it needs to... i don't know.I've done what you said - go inside the changed textures.pak and check if the new terrain is there: it is. Wait, this is confusing: i don't think i said to check into the textures.pak, but rather your own created terrain.pak.
Stalingrad, as BK will of course load the terrain dds files as they are in the original textures.pak. When you have a mod, the terrain files of that mod will overwrite the originals. Could you check whether the textures.pak of Stalingrad (not GZM mod) has a folder named 7?The code refers to a folder named 7 so there has to be one somewhere. Again, my guess: the textures.pak from Stalingrad itself. But that is weird to me, as BK has only 4 seasons. One could of course copy an edited summer season and put it in a folder named whatever, as long as you point/refer to it in the map xml, that could work in theory and Stalingrad might have done that, but i can't say for sure.
On the other hand, you say the textures.pak of GZM has the 4 terrain sets. In your shoes, i would try the following: make a backup of the textures.pak (GZM mod) in case you mess up, then rename it to .zip. Next open it en browse to terrain/sets. Next, also open the zip or pak with the tilesets you need, copy them to the other zip (drag&drop and choose overwrite). Rename back to pak and if your map xml refers to one of these four, you should definitely see them... If not, i would be very surprised
|
|
olvie
Potporucnik
Posts: 104
|
Post by olvie on Dec 12, 2020 16:32:06 GMT 1
No, the new GZM is completely standalone. Doesn't even require a BK installation either, you just download it and it installs itself like a standalone game in its own folder.
I think that's exactly how it works. You can only select the 4 standard seasons in the editor, but by editing the xml you can use a few more, including the Stalingrad ones and some "American desert" looking ones.
Ahhh that might be the issue. I just copied and replaced it inside the textures.pak, but I didn't create my own terrain.pak.
Trying it now...
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,112
|
Post by kaoz on Dec 14, 2020 0:21:37 GMT 1
That should work even better, like i said, if you rename the pak to zip and copy from one zip to another. But in this case, you are of course overwriting the GZM ones... You should see a difference then. I hope the GZM doesn't have the same tilesets as the ones i sent you... that's why i said to check in photoshop/gimp if there really is a difference... If already overwritten, it would be too late of course...
Putting your own terrain.pak in Data folder should work in theory, but i told you i only did this with units, objects and buildings. Your terrain.pak should include the sets folder with the four seasons in it.
In this case, where GZM is standalone, i guess you don't even need a pak. You could have a terrain folder with the sets (unzipped/unpacked) in the Data folder as well.
|
|
Grot
General
J-23 znowu nadaje
Posts: 4,048
|
Post by Grot on Dec 14, 2020 21:24:21 GMT 1
|
|
olvie
Potporucnik
Posts: 104
|
Post by olvie on Dec 15, 2020 23:31:53 GMT 1
That should work even better, like i said, if you rename the pak to zip and copy from one zip to another. But in this case, you are of course overwriting the GZM ones... You should see a difference then.
I've done everything that you've said, and also experimented plenty on my own. I've reverted my entire GZM installation back to normal and re-tried everything, just in case I messed something up the first time - but with no results. No matter what I do, the original tiles always keep showing up. It definitely doesn't, GZM uses the vanilla ones, plus a couple of additional tiles. I've opened the .dds to make sure I've copy and pasted the right one and it sure enough, it's the one you've sent me, but it just won't show up ingame. My current theory is that something else is overriding whatever is in the textures/terrain/sets folder. Perhaps there's another file with the "real" tileset that overrides whatever I try to do? I've checked already a bunch of .paks inside GZM/data, including the various patches, but I haven't found any other tiles yet. What I think is supporting this theory is that some of the tiles that are available in the editor are actually absent from the tileset_l.dds (edit: sorry, I meant tileset_h) inside textures/terrain/sets. Surely they have to come from somewhere? Hm, this doesn't seem to be the case. If I unpack my textures.pak and delete the .pak, my game ends up looking like this: (weirdly enough the image looks like the tiles are desatured - that's actually not the case, something happened between taking the screenshot and uploading it that has desaturated it. Even though they have this weird black grid on them, they are still very much the original tiles in the editor) God damn, I'm starting to get frustrated by this. Don't have a lot of free time at the moment, but I've spent the last two evenings trying to figure this out and I just don't seem to be able to.
|
|
olvie
Potporucnik
Posts: 104
|
Post by olvie on Dec 16, 2020 10:56:02 GMT 1
Thanks for your reply Squire.
Sorry, I meant to say tileset_h. Fixed it in the original post. Are the other two (_L and _C) needed for anything in this particular case?
Are you saying they are inside GZM9/Data/textures.pak/terrain/sets/1? Because that's exactly where the tiles in my screenshot are from, and it doesn't look like yours.
This is getting more confusing by the minute...
I'm actually just trying to replace it, not alter it myself for now.
|
|