Player icon indicating copy to clipboard operation
Player copied to clipboard

Allow loading custom logos at startup

Open carstene1ns opened this issue 9 years ago • 4 comments

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: logo1

Ahriman's Prophecy: logo2

carstene1ns avatar Oct 06 '15 12:10 carstene1ns

As a side note: older RPG_RT versions have 3 logos instead of 1.

fdelapena avatar Oct 06 '15 21:10 fdelapena

Yes, but I think it is not really needed to delay the start so much.

carstene1ns avatar Oct 07 '15 04:10 carstene1ns

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

carstene1ns avatar Jan 05 '16 01:01 carstene1ns

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

fdelapena avatar Jan 05 '16 01:01 fdelapena

Relevant discussion about this subject:

image

jetrotal avatar May 25 '23 16:05 jetrotal

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.

jetrotal avatar Sep 26 '23 22:09 jetrotal

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 avatar Oct 22 '23 19:10 Ghabry

@Ghabry, some logo I extracted with ResourceHacker: Logo.zip

image organized by 2k, 2k3 and Steam variations.

jetrotal avatar Oct 24 '23 16:10 jetrotal

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

Ghabry avatar Oct 24 '23 17:10 Ghabry

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

jetrotal avatar Oct 24 '23 17:10 jetrotal