The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
[SDL2]-SDL_GetPrefPath() Location On Linux?
JeZ-l-Lee


Joined: 20 Sep 2009
Posts: 572
Location: Long Island, New York, United States, Earth
[SDL2]-SDL_GetPrefPath() Location On Linux?

Hi,

I just started using the great new "SDL_GetPrefPath()" function on both Windows(R) and Linux.
I have found the location on Windows(R) but can't seem to find the location on Linux?

On Linux, where is the file saved when using "SDL_GetPrefPath()"?
(I am on Xubuntu 14.04 L.T.S. 64Bit Linux if it matters)

Thanks!

JeZxLee
16BitSoft Inc.
Video Game Design Studio
www.16BitSoft.com
[SDL2]-SDL_GetPrefPath() Location On Linux?
Melker Narikka
Guest

It's under ~/.local/share/<gamename>.

--
Melker Narikka

On Sun, Nov 16, 2014 at 12:57 AM, JeZ-l-Lee
wrote:
Quote:
[SDL2]-SDL_GetPrefPath() Location On Linux?

Hi,

I just started using the great new "SDL_GetPrefPath()" function on both
Windows(R) and Linux.
I have found the location on Windows(R) but can't seem to find the location
on Linux?

On Linux, where is the file saved when using "SDL_GetPrefPath()"?
(I am on Xubuntu 14.04 L.T.S. 64Bit Linux if it matters)

Thanks!

JeZxLee
16BitSoft Inc.
Video Game Design Studio
www.16BitSoft.com

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
[SDL2]-SDL_GetPrefPath() Location On Linux?
Sik


Joined: 26 Nov 2011
Posts: 905
To be more correct (there are two fields):
~/.local/share/<company>/<game>

2014-11-15 20:04 GMT-03:00, Melker Narikka:
Quote:
It's under ~/.local/share/<gamename>.

--
Melker Narikka

On Sun, Nov 16, 2014 at 12:57 AM, JeZ-l-Lee
wrote:
Quote:
[SDL2]-SDL_GetPrefPath() Location On Linux?

Hi,

I just started using the great new "SDL_GetPrefPath()" function on both
Windows(R) and Linux.
I have found the location on Windows(R) but can't seem to find the
location
on Linux?

On Linux, where is the file saved when using "SDL_GetPrefPath()"?
(I am on Xubuntu 14.04 L.T.S. 64Bit Linux if it matters)

Thanks!

JeZxLee
16BitSoft Inc.
Video Game Design Studio
www.16BitSoft.com

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Re: [SDL2]-SDL_GetPrefPath() Location On Linux?
JeZ-l-Lee


Joined: 20 Sep 2009
Posts: 572
Location: Long Island, New York, United States, Earth
Melker Narikka wrote:
It's under ~/.local/share/<gamename>.

--
Melker Narikka
Hi,

Thanks, I found it!

JeZxLee