EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
965 stars 183 forks source link

Allow loading custom logos at startup #623

Closed carstene1ns closed 7 months ago

carstene1ns commented 8 years ago

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

fdelapena commented 8 years ago

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

carstene1ns commented 8 years ago

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

carstene1ns commented 8 years ago

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
fdelapena commented 8 years ago

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

jetrotal commented 1 year ago

Relevant discussion about this subject:

image

jetrotal commented 9 months ago

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.

Ghabry commented 8 months ago

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.

jetrotal commented 8 months ago

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

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

Ghabry commented 8 months ago

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
jetrotal commented 8 months ago

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