Age of Empires II (2013)

Age of Empires II (2013)

Ozhara's Remastered Resource Icons
40 Comments
Balam Ajaw 9 Feb, 2020 @ 6:17pm 
@Ozhara Don't worry, I already figured out by myself, but thank you anyways XD.
Ozhara  [author] 9 Feb, 2020 @ 2:03pm 
@Balam Ajaw
Long time since I worked on those. Not sure I'll have time in the next few weeks, but I'll try to write something together if you still need/want some info. :)
Balam Ajaw 26 Nov, 2019 @ 5:14pm 
Hey Ozhara, can you make a guide of how to mod the resource icons? I was trying to do something, but it didn't worked. At least can you help me?
Taichi 23 Feb, 2017 @ 6:07am 
also seems that palette index "07" of the frame stands for 32 bit, but it wont work in-game anyways
Ozhara  [author] 22 Feb, 2017 @ 11:27pm 
That would be great! :D:
Taichi 22 Feb, 2017 @ 2:48pm 
so, if all goes right, my the making of mod will be probably the first one ever with 32 bit slps :)
Taichi 22 Feb, 2017 @ 2:45pm 
I have an expert friend who works on this and the 32 bit slps show up with transparency, its interesting
Ozhara  [author] 22 Feb, 2017 @ 12:59am 
Alpha channel is for transparency, right.

I'm not sure about real 32bit and transparency ingame though - this is for AoE uses a special 256 color palette that also includes specific values used for the player colors (so if a pixel is identified to be in one of the 8 values of a player color, it is automatically replaced by the corresponding value of the player color an actual player uses ingame).
The terrain system was build from scratch to support png images instead of the old slp solution and 32bit though. So I don't think the slp files - that still use the old routines - are actually able to use such enhanced 32bit frames - you can see this from using a frame not converted to AoEs color palette before importing it into the slp container - colors are messed up then.
Transparency is also something beeing applied ingame. If a slp frame is considered to be transparent (n0 layer for most units) it is shown transparent ingame although the color of the bmp image is gray/black).
Taichi 21 Feb, 2017 @ 4:02pm 
so, I uncovered the 32 bit slp frame by copying the frame section to a 32 bit bmp made by the freeware editor called pixelformer and manually remove all "800F" data with an hex editor and the picture showed up
Hopefully this information can be utilized to make our first 32 bit mods!!! btw alpha channel means transparency if im right? so we could even make stuff transparent :)
Taichi 21 Feb, 2017 @ 4:00pm 
Format: 32 Bit Bitmap Picture
Channels: RGBA (Red Green Blue Alpha Channel)
4 Bytes per pixel
But here is the catch:
At the very start of the 32 bit slp frame, you got a byte in heximal value "80"
Then the first row of pixels start consisting of bytes each color, my example image has 32x32 pixels, so it was followed by 128 bytes of RGBA data
But attention! at the end of the row you get another hex value "80 0F" and then the next row of pixeldata starts and each row ends with a "80 0F" heximal value and the final row of pixels only ends with "0F" like the pic started with "80" so you see its both 80 and 0F
Seems 80 0F is used for spacing!
Taichi 21 Feb, 2017 @ 3:48pm 
I DECODED THE 32 BIT SLP MANUALLY!!!!
Ozhara  [author] 21 Feb, 2017 @ 10:28am 
Open them up in Turtle Pack, export the bmp frames, edit them, convert them back to the AoE color palette using Turtle Pack again and then replace the frames with the edited bmp files. :)

It's also described in more detail in my modding guide.
Taichi 21 Feb, 2017 @ 4:14am 
Ozhara any info on how to edit 32 bit slps? its urgently needed for a great mod of mine!
GLHF 10 Feb, 2017 @ 7:48pm 
Looking forward to your update.
Ozhara  [author] 20 Dec, 2016 @ 11:00am 
Sure, I'll take a look at it, but compared to my other mods right now it has a lower priority for me. So it will take some time until I update it.
[LSSAH]Canzah 20 Dec, 2016 @ 10:56am 
Can we get an update for this for Rajas?
Ozhara  [author] 18 Nov, 2015 @ 10:43pm 
I'm planning on doing so! :)
varo190485 18 Nov, 2015 @ 4:05pm 
And thanks to storm_andy for this add. My bad.
varo190485 18 Nov, 2015 @ 4:04pm 
Any chance to upgrate this mod for the 4.4 update or even the Africans civs? Thanks and congrats for your work it's awesome.
OS | harooooo 21 Jun, 2015 @ 8:17am 
hah my bad :P
Ozhara  [author] 21 Jun, 2015 @ 8:16am 
Additionally - for the bugs I can't continue upgrading the mods right now - have to wait for some fixes. :(
Ozhara  [author] 21 Jun, 2015 @ 8:15am 
Read the posts below. :)
OS | harooooo 21 Jun, 2015 @ 8:14am 
someone should update this for 4.0
SlyAceZeta 18 Jun, 2015 @ 11:34pm 
Haha, understandably, you are the one with all of the content packs after all. :P Good luck!!
Ozhara  [author] 18 Jun, 2015 @ 10:31pm 
Sure!

Just needs a little time - I have to upgrade 240 mods and the upgrading itself is still buggy.
I hope to get all mods upgraded until the weekend.

Then I'll start to update them content wise. :)
SlyAceZeta 18 Jun, 2015 @ 1:53pm 
Could this be updated for the new version of the game's mod support?
KillerKeegan 11 Apr, 2015 @ 6:42pm 
the wood looks good when it is logs tho as well
Ozhara  [author] 11 Apr, 2015 @ 7:19am 
Glad you like it. :)
Wolf 11 Apr, 2015 @ 6:58am 
looks good (Y)
KillerKeegan 11 Apr, 2015 @ 6:19am 
k thanx and they look great man..big dif
Ozhara  [author] 11 Apr, 2015 @ 5:20am 
it's just the icons.
KillerKeegan 11 Apr, 2015 @ 5:19am 
is it just the icons that change or is everything hd? could be a dumb question but bear with me lol i am quite a noob
Ozhara  [author] 11 Apr, 2015 @ 4:02am 
Great to hear so. :)
iVictorisisimo 11 Apr, 2015 @ 3:59am 
I like it. Very well done and IT WORKS. Now I got rid of confusion by wood and food.
Ozhara  [author] 10 Apr, 2015 @ 5:12pm 
Experimented with gold bars. Looked good so far. Just working on the wood and food, gold and stone are done.
Andrezhera 10 Apr, 2015 @ 4:34pm 
Maybe a golden ring, like in Civ V wound do better? Dunno. But thanks!
Alacazain 9 Apr, 2015 @ 10:49am 
I agree with julianbaba4 for your upcoming icons
Ozhara  [author] 8 Apr, 2015 @ 10:39pm 
I'm already planning on creating some new icons my own in the near future, I'll take this into account, thanks for the feedback! :)
julianbaba4 8 Apr, 2015 @ 7:37pm 
It's nice, but I don't like the gold, it looks like a yellow cabbage.
Alacazain 8 Apr, 2015 @ 10:44am 
Great thank you for this!