Player
Player copied to clipboard
Allow loading custom logos at startup
Some games have replaced the Enterbrain logo at startup with custom ones.
It is actually a XYZ file embedded in the executable resources and therefore can be extracted.
It would be nice to show a custom logo after the EasyRPG one.
This is analogous to issue #605, scene_logo
could look for a logo2.[xyz,png,bmp]
file and load it.
Here are some custom ones:
El Libro:
Ahriman's Prophecy:
As a side note: older RPG_RT versions have 3 logos instead of 1.
Yes, but I think it is not really needed to delay the start so much.
As a sidenote:
To extract the logos almost any PE resource tool can be used, for example wrestool
from icoutils.
wrestool -xR --type='XYZ' -o logo.xyz RPG_RT.exe
Is there any common library available on distros to parse them without cmd calls?
Or copypaste source code from a lightweight implementation, e.g. https://github.com/trailofbits/pe-parse or https://github.com/r12f/libpe
Relevant discussion about this subject:
Implemented a Logo Loader at #3096.
Right now it only reads logos from a Logo/
folder near the exe.
I wonder how hard is to adapt the exfont extractor to get the embedded xyz files.
To skip default logos (as they add no value and delay the startup) I will need a copy of all the standard startup logos in original form (so XYZ, no PNG conversion etc.).
Could somebody do me a favor and help collecting them from RPG_RT.exe?
Then I can hash them and ignore them.
@Ghabry, some logo I extracted with ResourceHacker: Logo.zip
organized by 2k, 2k3 and Steam variations.
CRC32 (If I didn't mess this up xD)
2k/LOGO1.xyz 3FD74659
2k/LOGO2.xyz 4C47C4AF
2k/LOGO3.xyz C9E181F7
2k3/LOGO1.xyz 9EB932F4
Steam/LOGO1.xyz 61B31C67
While extracting the the logos I found a problematic exe, where the logo couldn't be extracted.
Ghabry asked for this file to do some extra tests: RPG_RT_from_Maker_Universe_BR.zip
It's from the game "Safira 43 - O Inicio (Melhorado)":
https://www.4shared.com/rar/8L3vzCng/safira-43_o_inicio_melhorado.html