RSRC, or a file with the .rsrc extension, is a Macintosh resource file. Rsrc files are used by Mac OS to store system-related data in a compressed format that requires less memory usage.
Questions tagged [rsrc]
11 questions
12
votes
4 answers
Editing resource forks on the command line on Mac OS X
Mac OS X stores some files with resource forks. I need to create a file with a resource fork. The trouble is, I need to create this file on the command line. Is anyone aware of how you can create a file with a resource fork on the command line in…
Jesse Michaels
6
votes
1 answer
Store Images in MySQL Database
I want to know how to store images and files in a MySQL Database.
I want to get images and files like that www.example/rsrc.php/example-image.jpg
example on Facebook: facebook-example.com/rsrc.php/v2/yw/r/svhh826BLKd.png

Zuckerberg MFSN
- 101
- 1
- 1
- 6
5
votes
2 answers
Using the akavel rsrc tool
Basically I am following this tutorial:
https://gowalker.org/github.com/lxn/walk
But when it comes to building the manifest file into a .syso file using the akavel rsrc tool I am running into the following error:
rsrc : The term 'rsrc' is not…

JackFrost
- 255
- 1
- 12
4
votes
2 answers
Add resources to ELF object, grouped in one section
A small program I made contains a lot of small bitmaps and sound clips that I would prefer to include into the binary itself (they need to be memory mapped anyway). In the MS PE/COFF standard, there is a specific description on how to include…

billybob
- 127
- 5
2
votes
4 answers
Creating cursor rsrc files on Mac from png
I want to create cursor rsrc files on the Mac from png files. The application that uses the cursors requires it to be in a .rsrc format and I cannot change that. Does anybody know of any way I can create the cursor .rsrc files from png images.
jbsp72
2
votes
5 answers
Getting the path of a running JAR file returns "rsrc:./"
My code runs inside a JAR file and I need to get the full path of that file.
For example, my JAR is called example.jar and is located at D:\example\
So I need to get "D:\example\example.jar" by some code inside that jar.
I have tried many methods to…

Doenerstyle
- 21
- 2
- 5
1
vote
2 answers
Suggestions other than an AppleScript OSAX to create a resource bound file
I need a create a specific type of file in OS X. It needs resources in a specific way. Currently, the only way I can find to do this is in AppleScript with an OSAX. This is slow, about 1 second round trip to run, since the OSAX must open, load,…
nepotism
1
vote
1 answer
Why does WinDBG show mismatched FileVersion in dump?
TL;DR
Why does WinDBG lmvdisplay two version info fields (when no other tool I know of does this) and under which circumstances can these fields differ?
Background: I have a live dump (from a deadlock) of our application. Symbols are loaded…

Martin Ba
- 37,187
- 33
- 183
- 337
0
votes
2 answers
Reading and writing hex data from file with Perl
I have a Perl script that creates files, and I want to write into their resource forks, in order to specify the default application they should be opened with (I can't just change it using get information in Finder, it keeps reverting).
I could find…

stib
- 3,346
- 2
- 30
- 38
0
votes
0 answers
Writing icons to PE File Formats in Java
I'm in the process of writing a read/write library for Windows PE files using Java (and eventually hope to release it as OpenSource). For now though this is for cross platform compatibility and will allow me to modify strings/version…

Tim Johnson
- 287
- 2
- 13
-1
votes
1 answer
How to install rsrc.exe on Windows
I'm trying to set up a GUI for my golang app, using this:
https://github.com/lxn/walk
but I'm stuck on the step to compile the manifest:
go get github.com/akavel/rsrc
rsrc -manifest test.manifest -o rsrc.syso
On the second command, I get this…

user3162266
- 77
- 8