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

Vector icon (attached) #7

Closed
humdingerb opened this issue Oct 13, 2016 · 7 comments
Closed

Vector icon (attached) #7

humdingerb opened this issue Oct 13, 2016 · 7 comments

Comments

@humdingerb
Copy link
Member

Attached is an I-O-M file of a vector version of the app icon.
I'm unsure how to apply it to the .rsrc file...

Sequitur-iom.zip

@scottmc
Copy link
Member

scottmc commented Oct 13, 2016

Try to open it in I-O-M, then export as an href file. Convert the .rsrc to an .rdef. This should be done anyways as it's better to have the text version in the repo instead of the binary .rsrc file. See https://www.haiku-os.org/documents/dev/compile_them_resources

@humdingerb
Copy link
Member Author

Sequitur.rdef.txt

I just removed the mini and large icon from the rsrc and put in the vector icon instead. Unfortunately I get lost in the makefile jungle. Where do I replace the rsrc with the rdef...?

@scottmc
Copy link
Member

scottmc commented Oct 13, 2016

You can decompile the rsrc file to turn it into an .rdef file. From there you can use a text editor to modify and/or remove sections.

Snipette from the above linked article:
To decompile, type the following from a Terminal window:
rc -d -o outputfile.rdef inputfile.rsrc

@humdingerb
Copy link
Member Author

yes. that's exactly how I did arrive at the attached rdef. :)
The thing is that I don't know how to get the rdef used instead of the rsrc. It all does work if I compile my rdef back to rsrc...

@scottmc
Copy link
Member

scottmc commented Oct 13, 2016

It's easy if using the makefile engine, but this one doesn't seem to be. Anyone else know how to handle this?

@humdingerb
Copy link
Member Author

Yeah. i tried putting a RDEF entry with "Sequitur" into MakeApp, but that isn't picked up...

@waddlesplash
Copy link
Member

Fixed in PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants