Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow loading custom logos at startup #623

Closed
carstene1ns opened this issue Oct 6, 2015 · 10 comments
Closed

Allow loading custom logos at startup #623

carstene1ns opened this issue Oct 6, 2015 · 10 comments
Milestone

Comments

@carstene1ns
Copy link
Member

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
Copy link
Contributor

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

@carstene1ns
Copy link
Member Author

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

@Ghabry Ghabry added this to the 0.4.1 milestone Dec 14, 2015
@carstene1ns
Copy link
Member Author

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
Copy link
Contributor

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
Copy link
Contributor

Relevant discussion about this subject:

image

@jetrotal
Copy link
Contributor

jetrotal commented Sep 26, 2023

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 Ghabry modified the milestones: 0.9.0, 0.8.1 Oct 22, 2023
@Ghabry
Copy link
Member

Ghabry commented Oct 22, 2023

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
Copy link
Contributor

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

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

@Ghabry
Copy link
Member

Ghabry commented Oct 24, 2023

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
Copy link
Contributor

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

Ghabry added a commit to Ghabry/easyrpg-player that referenced this issue Nov 19, 2023
Ghabry added a commit to Ghabry/easyrpg-player that referenced this issue Nov 19, 2023
Ghabry added a commit to Ghabry/easyrpg-player that referenced this issue Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants