RemedyBG » Forums » BUG: Don't place imgui.ini in current working dir (where I launched the remedybg exe from)
datgame
Niklas Lundberg
4 posts

Full-game developer.

#17298 BUG: Don't place imgui.ini in current working dir (where I launched the remedybg exe from)
3 weeks ago Edited by Niklas Lundberg on Feb. 1, 2019, 8:32 p.m. Reason: Initial post

It will litter the filesystem, and also affect other programs with that default behaviour of "dear, imgui".

Is this the place for bug reports? :-)

x13pixels
71 posts / 1 project

None

#17306 BUG: Don't place imgui.ini in current working dir (where I launched the remedybg exe from)
3 weeks ago

Niklas,

Bug reports are fine here.

I'll get the imgui.ini issue fixed. Will probably have the user explicitly save/restore window layouts and stop Dear ImGui from writing anything out.

Thanks much.

--
George
omar
Omar
3 posts
#17315 BUG: Don't place imgui.ini in current working dir (where I launched the remedybg exe from)
3 weeks ago

I think what datgame is suggesting (and I agree) is that imgui.ini should be in the remedybg/ .exe folder and never in the user's exe-being-debugged folder.

You can redirect the filename to an absolute path if needed.
You can also use the memory functions to read/save .ini data from memory and read/write it back however way to want, but using imgui.ini should be good enough in this case.
x13pixels
71 posts / 1 project

None

#17316 BUG: Don't place imgui.ini in current working dir (where I launched the remedybg exe from)
3 weeks ago

That makes sense. Thank you Omar!