named memory-mapped file

Andrew Eikum aeikum at
Thu Mar 26 09:27:01 CDT 2015

Hey Leon, sorry I missed your earlier emails.

I'm the primary developer of the official iRacing Linux port by
CodeWeavers, and I actually play it myself. I don't have the time to
dig into this right now, but I'm definitely interested in what you
find out and could maybe help with some questions. Depending on what
you end up with, we could maybe integrate your work back into the
official port.

I think what you want to do, at a high level, is find out how Wine
implements those methods on Linux. Then figure out how a Linux-native
application could hook into that implementation. Wine is, after all,
just a program running on Linux like any other.

Alternatively, you could write a win32 application and use those Wine
APIs to access the memory and do what you want, like you said.


On Wed, Mar 25, 2015 at 01:18:40PM +0100, Leon Bogaert wrote:
> The syscalls I need translated to linux are:
> - OpenFileMappingW
> - MapViewOfFile
> Today I found out about winelib. I guess I could give that a go.
> On Sat, Mar 21, 2015 at 6:49 PM, Leon Bogaert <leonbogaert at> wrote:
> > Just to clarify: the game runs under wine (crossover) on my Linux box.
> >
> >
> > On Saturday, March 21, 2015, Leon Bogaert <leonbogaert at> wrote:
> >
> >> Hi all,
> >>
> >> I don't know if this is the correct list. If it's not I'm sorry.
> >>
> >> I have kind of a weird question. I'm playing this game iRacing which
> >> exposed it's api via named memory map (
> >>
> >> ).
> >>
> >> Is there a way I can access that named memory-mapped file via Linux? I
> >> did some Googling and I don't think it's possible but I thought I made sure
> >> to ask around here. If that isn't possible I think I'll write a simple
> >> program that would run under wine and expose that data in a Linux-friendly
> >> manner.
> >>
> >> Leon

More information about the wine-devel mailing list