Get icon from Resources.dat SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Get icon from Resources.dat
Hi support,
I'd like to get my hand on this icon (GoToR action command):
I've tried visually searching for it in Resources.dat (as far as I can see icons are actually PDF pages) - but was not able to find. Is it there and if it is how to get it (to specify the same for my custom command).
p.s.
I know how to hijack the icon from a command registered in CmdManager.Cmds, but the one above is dynamically added and removed for that dialog.
-ž
I'd like to get my hand on this icon (GoToR action command):
I've tried visually searching for it in Resources.dat (as far as I can see icons are actually PDF pages) - but was not able to find. Is it there and if it is how to get it (to specify the same for my custom command).
p.s.
I know how to hijack the icon from a command registered in CmdManager.Cmds, but the one above is dynamically added and removed for that dialog.
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Get icon from Resources.dat
Hello zarkogajic,
The id of that icon is ico.action.gotoR
Cheers,
Alex
The id of that icon is ico.action.gotoR
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: Get icon from Resources.dat
Alex,
Thanks.
I'm unable to find how to use that
How to go from that string to IUIX_Icon ?
-ž
Thanks.
I'm unable to find how to use that
How to go from that string to IUIX_Icon ?
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Get icon from Resources.dat
Hello zarkogajic,
You can see the methods that use the needed interface on the SDKHelp wiki: Cheers,
Alex
You can see the methods that use the needed interface on the SDKHelp wiki: Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: Get icon from Resources.dat
Hi Alex,
Thanks. Works like a charm
Btw, how/where can I get all icon id's?
-žarko
Thanks. Works like a charm
Btw, how/where can I get all icon id's?
-žarko
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Get icon from Resources.dat SOLVED
Hello žarko,
You should go to the Resources.dat file and find the Theme.xml file there. It holds all of the icon ids.
Cheers,
Alex
You should go to the Resources.dat file and find the Theme.xml file there. It holds all of the icon ids.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: Get icon from Resources.dat
Hi Alex,
Ok, thanks.
-ž
Ok, thanks.
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Get icon from Resources.dat
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Get icon from Resources.dat
Can I know how can I Open the resources.dat file?
-
- User
- Posts: 1370
- Joined: Thu Sep 05, 2019 12:35 pm
Re: Get icon from Resources.dat
Hi,
Open as zip file.
-žarko
Open as zip file.
-žarko
Re: Get icon from Resources.dat
Thank you very much žarko
- Dimitar - Tracker Supp
- Site Admin
- Posts: 1794
- Joined: Mon Jan 15, 2018 9:01 am