English
Search
Main Menu
Forums

MapGEN v0.9.1.1

Started by Plutonic, July 25, 2015, 09:28 PM

Previous topic - Next topic

0 Members and 5 Guests are viewing this topic.

TheKomodo

The universe makes sense again!

Thanks for the explanation, I like to have folders by author so i'll just make a Plutonic folder instead.  8)

Kradie

Hi, is there a portable version of mapgen?
Global Wormin' - A Friendly Discord Worms Server
https://discord.gg/zvFwZuAKQB

Someone is using my name on WormNET. If you are under suspicion if you aren't with the real Kradie, then pelase confirm my real ID here on TUS or discord @Kradie.

Schemes I mostly play: Big RRz and Roperz.

https://worms2d.info/People/Kradie

Plutonic

Not currently, though if the machine you want to run it on has the correct VC Redist installed already, there is no reason you can't just copy the files across from another machine. I stopped uploading plain zip files when I stopped statically linking the libraries as people were having issues with not having the redists installed already.

Kradie

Quote from: Plutonic on August 29, 2021, 12:23 PM
Not currently, though if the machine you want to run it on has the correct VC Redist installed already, there is no reason you can't just copy the files across from another machine. I stopped uploading plain zip files when I stopped statically linking the libraries as people were having issues with not having the redists installed already.
Why does Window defender stops and warn me about this software though?
Global Wormin' - A Friendly Discord Worms Server
https://discord.gg/zvFwZuAKQB

Someone is using my name on WormNET. If you are under suspicion if you aren't with the real Kradie, then pelase confirm my real ID here on TUS or discord @Kradie.

Schemes I mostly play: Big RRz and Roperz.

https://worms2d.info/People/Kradie

Plutonic

It shouldn't warn about MapGEN itself, but it is probably unhappy about the wkMapGEN module which uses MadCHook to hook into WA (and is included along with MapGEN). Lots of things false-positive MadCHook because it *could* be used in a dangerous manner.

Kradie

Quote from: Plutonic on August 29, 2021, 01:06 PM
It shouldn't warn about MapGEN itself, but it is probably unhappy about the wkMapGEN module which uses MadCHook to hook into WA (and is included along with MapGEN). Lots of things false-positive MadCHook because it *could* be used in a dangerous manner.
Thanks.
Global Wormin' - A Friendly Discord Worms Server
https://discord.gg/zvFwZuAKQB

Someone is using my name on WormNET. If you are under suspicion if you aren't with the real Kradie, then pelase confirm my real ID here on TUS or discord @Kradie.

Schemes I mostly play: Big RRz and Roperz.

https://worms2d.info/People/Kradie

Sensei

Is there a possibility all community made terrains get imported in MapGEN (standalone version)? We now have 60-70 custom terrains. Would be quite cool having an option to generate them with MapGEN!

Plutonic

MapGen will pick up and use any themes found in it's Themes folder. So if people have the art assets and want to set up some folders it should be possible without updating MapGen itself.

Sensei

Thanks for the response. I'll give it a shot!

Plutonic

Quote from: h3oCharles on December 20, 2020, 02:42 PM!mapgen scheme=rr width=2000 height=2000 path=400 starttopleft=1

that's a nope, maybe you could check what path size is getting generated, perhaps that'll lead to something[?]


Sorry for the.... 4 year wait. But I have actually found the issue causing this (and am surprised it hasn't caused issues with other schemes to be honest).
It is a bug that is probably only affecting HostingBuddy, so there is not much point pushing out a new windows version just for this fix, and I would need to get hold of DC or CS to get the HB version updated, which I have been trying to do with little luck for ages. But I have found it at least!


Sensei

Hey @Plutonic, nice to hear from you!
I did try to get in touch with you months ago, probably via discord, can't remember. But you weren't around.

Anyway, about last messages in this thread (getting community terrains in MapGEN), you said it should be easily done.. And apparently it was. Although, one of the community terrain makers said to me that there's some kind of a bug with the way how MapGEN calculates output palette. Here are some screenshots of his research if you want to check it out:


Plutonic

Ooooh, that's annoying. From memory (its been a while) MapGEN works with full colour images while generating, and then works out a palette of the desired size at the end. It is using the GD library, but I think I may have ended up swapping to a different colour selection algorithm because it was doing very bad things it didn't need too. I will see if I can find that code and see what it is doing. I go on Discord occasionally, but mentioning my on #worms should poke me directly if I am in the channel, and I check here sometimes :D

Plutonic

I am not able to reproduce the issue he is seeing. It is calculating its own colours, but for me I only get the colours I would expect, no random reds or anything.

Plutonic

I have now fixed the HB integration so that passing in settings works again, and the RR pathsize is fixed along with it. That should now be live.