Hi. this is simple and awesome mod. but I want to add colored ui XBOX button icons in this mod, How can I find their OffsetHex code?
I used Blacksmith and found FileID. for example I wanna replace XBOX X button UI image, so I found UI_BTN_XBox1_X_Map and file ID 585318769123. but I couldn't find OffsetHex code for this button image. help please 😥
I use HxD for that and my instructions are based on the terminology of that software.
1) Export from Blacksmith the packed file (.acor). In order to do it, right-click on the texture in Blacksmith and choose "Show in explorer" 2) Open ....acor with a Hex editor 3) Find the FIRST(!) result of this line - "10 B5 52 86" 4) Click on the first byte ("10"). You need to move forward for 112 bytes (70 bytes in hex value). To do that go to the search menu, choose "search - Go to". Select "from the current offset" and enter "70" hex value. The cursor will move forward and stop on the offset you need. Right-click on that position and select "Copy Offset" from the context menu.
Thank you so much for description. but I have another issue 😅 I had an error when I re-checked the mod at Forger Mod manger after I modified Bettericon.forger2 files by Notepad++
This error message means that either the compression format of the dds file is wrong or that the OffsetHex is wrong or both. I check the file you mentioned and the OffsetHex i got is D2. Your DataFileOffsexHex is correct.
You can easily create your own forger2 file. Notepad+ is the way to go for that. It may be easier for you to create a separate forger2 file for your project since it's your first time working with it. An extensive overview of its terminology can be found here and a tutorial for dds file replacement with a template script can be downloaded here ("Modder's pack").
It worked perfectly! Finally I changed that icon. I made DDS file again. DDS file size and OffsetHex were the problem. Thank you for the detailed explanation!
Hello, I really like the icons you made. May I ask if you have any ideas for updating or completing them recently?And can you make a red version by New Animus Pulse Icon?
Thank you for your feedback. Which other icons could need to be made more visible? Changing all of them could make some parts of the map look cluttered and messy. A red version of the New Animus Pulse Icon can certainly be done. I'm not sure if red would be very visible in the game world of Origins.
Thank you for your reply. Better icons no longer need to be changed. At this stage, I believe it is sufficient. I suggest trying the value # ff0000 for the red icon, as I have noticed that white patterns can sometimes be faded out by buildings in the game, making them less prominent. Thank you again for creating the icon module
I understand why this is happening. Have you only changed the color of the image instead of remaking it? I have tried this before, but I found that only changing the color of the image is not feasible. That's why I request you to create a red version because I don't know how to use this module making software. Of course, it's okay if you don't want to spend time remaking it
I'm sorry for that. There's no need for drawing the icon again. The result would be the same as if you'd just change the color. I took a closer look at this. I don't think the game uses color the way our eyes perceive it. I turned the icon blue but it was rendered black in the game. Colors work differently here. Any idea why red turns to white and blue turns to black?
The game should have a set of colors set, with ordinary things being white and those important things being blue. We may be able to try more colors to see the matching color combinations. But there's no need anymore. For now, white is enough. Forget about the red version. I'm sorry to bother you
It may be set by the game code, something we cannot touch, or we don't know how to change it. That's it, the current version is already very good. Once again, let me thank you for making the module.
21 comments
I used Blacksmith and found FileID. for example I wanna replace XBOX X button UI image, so I found UI_BTN_XBox1_X_Map and file ID 585318769123. but I couldn't find OffsetHex code for this button image. help please 😥
I use HxD for that and my instructions are based on the terminology of that software.
1) Export from Blacksmith the packed file (.acor). In order to do it, right-click on the texture in Blacksmith and choose "Show in explorer"
2) Open ....acor with a Hex editor
3) Find the FIRST(!) result of this line - "10 B5 52 86"
4) Click on the first byte ("10"). You need to move forward for 112 bytes (70 bytes in hex value). To do that go to the search menu, choose "search - Go to". Select "from the current offset" and enter "70" hex value.
The cursor will move forward and stop on the offset you need. Right-click on that position and select "Copy Offset" from the context menu.
I had an error when I re-checked the mod at Forger Mod manger after I modified Bettericon.forger2 files by Notepad++
{
"File": "DataPC_extra.forge",
"FileID": 585318769123,
Edits":[
{
"OffsetHex": "E2",
"DataFile": "BetterIcons\\btnx.dds",
"DataFileOffsetHex": "80"
},
]
}
I added those code, dds file. And I rescaned, re checked the mod list at Forger Mod manager, then Patch error occured.
"Memory stream is not expandable" error occured.
How do I modify forger2 file? Is there any way to make new forger2 file?
I check the file you mentioned and the OffsetHex i got is D2. Your DataFileOffsexHex is correct.
You can easily create your own forger2 file. Notepad+ is the way to go for that. It may be easier for you to create a separate forger2 file for your project since it's your first time working with it. An extensive overview of its terminology can be found here and a tutorial for dds file replacement with a template script can be downloaded here ("Modder's pack").
It worked perfectly! Finally I changed that icon. I made DDS file again. DDS file size and OffsetHex were the problem.
Thank you for the detailed explanation!
Which other icons could need to be made more visible? Changing all of them could make some parts of the map look cluttered and messy.
A red version of the New Animus Pulse Icon can certainly be done. I'm not sure if red would be very visible in the game world of Origins.
Better icons no longer need to be changed. At this stage, I believe it is sufficient.
I suggest trying the value # ff0000 for the red icon, as I have noticed that white patterns can sometimes be faded out by buildings in the game, making them less prominent.
Thank you again for creating the icon module
There's no need for drawing the icon again. The result would be the same as if you'd just change the color. I took a closer look at this. I don't think the game uses color the way our eyes perceive it. I turned the icon blue but it was rendered black in the game. Colors work differently here. Any idea why red turns to white and blue turns to black?
We may be able to try more colors to see the matching color combinations. But there's no need anymore. For now, white is enough.
Forget about the red version. I'm sorry to bother you
That's it, the current version is already very good.
Once again, let me thank you for making the module.
Edit:
Nvm, it works