• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Map searching

Level 7
Joined
Sep 3, 2020
Messages
198
Hello there,

I don't know if that's me, if I am using those "filters" wrongly, but I am trying to find some custom maps for Reforged/HD, so I am ticking "HD" and it shows me a lot of maps with custom SD assets. I didn't tried them with the HD models activated yet, but I guess it might looks awful in case those models wont swap to HD reforged models from nowhere.

Isn't there an option/filter to display reforged HD models only maps ?

Thanks a lot bringing light to my brain :pgrin:
 
That sounds weird. It follows the HD flag inside the map. Is it not being used properly?
Yeah, not sure why. Look, ticked HD and only campaigns and both HD (InsaneMonster's for example) and SD stuff appears:
So I think my assumption remains :(
And yeah, probably users might not have forced a graphics mode and/or the site program doesn't read it properly (perhaps since the 2.0.4 update?).
 
The link you sent has SD and "Only campaigns" ticked.?

Also. SD = SD or mixed
HD = HD or mixed. from what I can tell. mixed being a setting as well in WE.
You're right, sorry. So for SD both SD and HD appear while when ticking HD nothing appears with the campaigns only ticked too.
Version for some is even pre-1.32. Not sure how this works.

Also. SD = SD or mixed
HD = HD or mixed. from what I can tell. mixed being a setting as well in WE.
Oh, that makes sense. Well, nothing much can be done except force the search to look through view in use resources to limit the search results further albeit some maps might have both HD and SD imports for both graphics mods compatibility.
 
Graphics mode does not work for campaigns. There it is. I will work on that.
Ugh, no, the same happens for any kind of map, campaigns only ticked or not: Warcraft 3 Custom Maps (multiplayer, campaigns, etc.)
^Here with HD ticked + Approved + Director's Cut + High Quality + Recommended. So, it's like you wrote, if HD and SD were not specifically chosen by the mappers, we get mixed results but SD only on pre-1.32+ and HD on 1.32+.
But if you're referring to a different problem, OK.
 
Jeez, I'm not sure I did understand everything from your conversation, but it looks painful searching :grin:.
What do you mean when saying mixed in "HD or mixed", it means that it will shows maps that is working on reforged but that can have SD assets ?
 
As I understood from what Ralle wrote and what I tested that:
  • HD will bring up maps on game version 1.32+ regardless if they use HD models/graphics or not while
  • SD brings up maps both on 1.32+ and pre-Reforged/1.32 (these last ones which obviously have no HD mode); to add to the confusion, InsaneMonster's HD campaign appears in the results too
 
Thanks for the summary ! I really appreciate the time you took both. :peasant-cheers-back:
Is that something that could be doable in short/long future to have a filter to show maps with reforged models into them ? I saw the "external content" filter, but then, as you said, it might also show SD external content included into maps for 1.32+. I don't realise the amount of work required to program stuff, so my question might maybe sounds delusional, and forgive me if it does. :psmile:
 
What I mean is:


This is the W3I parser. The graphics mode in Reforged maps has these options: SD, HD and "SD and HD"
PHP:
if ($this->data->version >= 31) {
	/*
	1: SD Only
	2: HD Only
	3: SD and HD
	*/
	$this->data->graphicsMode = $this->readLong();
	$this->data->unknown1 = $this->readLong();
}

Now when you are browsing here is the code:
PHP:
// Here $sd = true if you ticked SD, $hd = true if you ticked HD
// $graphicsInt is the allowed values for this search.

if ($sd && $hd) {
	$graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_SD_AND_HD;
} elseif ($sd) {
	$graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_SD_AND_HD;
	$graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_SD_ONLY;
	$graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_NONE; // None means pre-Reforged (= not HD)
} elseif ($hd) {
	$graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_SD_AND_HD;
	$graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_HD_ONLY;
}

I remember scratching my head when I made it. I still scratch my head.
 
I remember scratching my head when I made it. I still scratch my head.
Yeah, that's why I suggested the feature to also search within the map file or at least through the map thread's view in use resources if there's any HD models to further limit the "bad" results.
But that would be a really hard thing to do I guess. Also, not sure what I'm saying makes sense. Perhaps I'm misunderstanding again.
 
What I mean is:


This is the W3I parser. The graphics mode in Reforged maps has these options: SD, HD and "SD and HD"
PHP:
if ($this->data->version >= 31) {
    /*
    1: SD Only
    2: HD Only
    3: SD and HD
    */
    $this->data->graphicsMode = $this->readLong();
    $this->data->unknown1 = $this->readLong();
}

Now when you are browsing here is the code:
PHP:
// Here $sd = true if you ticked SD, $hd = true if you ticked HD
// $graphicsInt is the allowed values for this search.

if ($sd && $hd) {
    $graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_SD_AND_HD;
} elseif ($sd) {
    $graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_SD_AND_HD;
    $graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_SD_ONLY;
    $graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_NONE; // None means pre-Reforged (= not HD)
} elseif ($hd) {
    $graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_SD_AND_HD;
    $graphicsInt[] = Warcraft3Map::GRAPHICS_MODE_HD_ONLY;
}

I remember scratching my head when I made it. I still scratch my head.
Well, I'm not a dev' at all and only a beginner in lua, so my knowledge is limited, but once again thanks taking the time to explain ! I understand better what you meant with that mixed stuff hd/sd!

I can feel the pain, the database might be huge af and that mix of hd/sd assets must be something painful to manage. Also, with the amount of maps that were updated to reforged, that makes everything harder. Good luck bout the work you still have and congratz to you and the whole team behind the site, what a succes and an example ! :peasant-cheers-back:

Also, thanks Deepstrasz for the assistance, really helpfull :ogre_love:
 
Back
Top