<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Ace of Spades Game Forums &#187; Topic: config.ini and vxl folders are read-only in w7/vista</title>
<link>http://forumarchive.spadille.net/</link>
<description>Ace of Spades Game Forums &#187; Topic: config.ini and vxl folders are read-only in w7/vista</description>
<language>en</language>
<pubDate>Sat, 02 May 2026 07:00:50 +0000</pubDate>

<item>
<title>Green_Beret on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7216</link>
<pubDate>Fri, 06 May 2011 17:07:33 +0000</pubDate>
<dc:creator>Green_Beret</dc:creator>
<guid isPermaLink="false">7216@http://forumarchive.spadille.net/</guid>
<description><p>Nice! Hm...you keep continuing your fast dev-work.<br />
I think I need to donate too. :S
</p></description>
</item>
<item>
<title>maxoverdrive on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7209</link>
<pubDate>Fri, 06 May 2011 16:56:10 +0000</pubDate>
<dc:creator>maxoverdrive</dc:creator>
<guid isPermaLink="false">7209@http://forumarchive.spadille.net/</guid>
<description><p>ungh, premature post syndrome, fixed the code to make sense
</p></description>
</item>
<item>
<title>bcoolface on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7204</link>
<pubDate>Fri, 06 May 2011 16:49:20 +0000</pubDate>
<dc:creator>bcoolface</dc:creator>
<guid isPermaLink="false">7204@http://forumarchive.spadille.net/</guid>
<description><p>This is on the agenda for the next release... as well as lastsav timestamps.
</p></description>
</item>
<item>
<title>maxoverdrive on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7202</link>
<pubDate>Fri, 06 May 2011 16:45:39 +0000</pubDate>
<dc:creator>maxoverdrive</dc:creator>
<guid isPermaLink="false">7202@http://forumarchive.spadille.net/</guid>
<description><p>sorry, i didn't realize i was linking to the .net version of ExpandEnvironmentVariables...</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms724265(v=vs.85).aspx">ExpandEnvironmentStrings()</a></p>
<pre><code>pchar ini_filename = NULL;//kind of a hack, dunno how you deal with your string returns but this one is static so....
function get_ini_filename(){
   #ifdef windows
       if (ini_file_path != null) {
          char path[] = &#34;%appdata%\\Ace Of Spades\\config.ini&#34;;
          DWORD size = 0;
          DWORD length = ExpandEnvironmentStrings(path,NULL,size);
          size = length+1;
          ini_filename = malloc(sizeof(char)*size);
          length = ExpandEnvironmentStrings(path,ini_filename,size);
       }
       return ini_filename;
   #else
       return &#34;.\\config.ini&#34;;
   #endif
}</code></pre></description>
</item>
<item>
<title>maxoverdrive on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7200</link>
<pubDate>Fri, 06 May 2011 16:41:50 +0000</pubDate>
<dc:creator>maxoverdrive</dc:creator>
<guid isPermaLink="false">7200@http://forumarchive.spadille.net/</guid>
<description><p>also, you are always going to have to have some platform dependancy</p>
<p>function get_ini_dir() {<br />
#ifdef windows<br />
   return ExpandEnvironmentVariables("%appdata%\\aos\\config.ini");<br />
#else<br />
   return ".\config.ini"<br />
#endif<br />
}
</p></description>
</item>
<item>
<title>maxoverdrive on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7197</link>
<pubDate>Fri, 06 May 2011 16:36:17 +0000</pubDate>
<dc:creator>maxoverdrive</dc:creator>
<guid isPermaLink="false">7197@http://forumarchive.spadille.net/</guid>
<description><p>ungh, that's horrible, at least use the ProgramData folder (also known as CommonAppDataFolder) as suggested <a href='http://ace-spades.com/forums/topic.php?id=705'>here</a> by green_beret</p>
<p>(getting out my paypal wallet now ;)
</p></description>
</item>
<item>
<title>bcoolface on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7195</link>
<pubDate>Fri, 06 May 2011 16:34:44 +0000</pubDate>
<dc:creator>bcoolface</dc:creator>
<guid isPermaLink="false">7195@http://forumarchive.spadille.net/</guid>
<description><p>I want to avoid solutions that are heavily dependant on the Windows environment, just to make porting to other OS's easier in the future.</p>
<p>I think I will just make the future default installation path something like C:/Ace of Spades to avoid the Program Files UAC issues.
</p></description>
</item>
<item>
<title>maxoverdrive on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7190</link>
<pubDate>Fri, 06 May 2011 16:31:07 +0000</pubDate>
<dc:creator>maxoverdrive</dc:creator>
<guid isPermaLink="false">7190@http://forumarchive.spadille.net/</guid>
<description><p>Green: he has to read MY thread :p (or fix the problem ;)
</p></description>
</item>
<item>
<title>maxoverdrive on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7187</link>
<pubDate>Fri, 06 May 2011 16:28:08 +0000</pubDate>
<dc:creator>maxoverdrive</dc:creator>
<guid isPermaLink="false">7187@http://forumarchive.spadille.net/</guid>
<description><p>akimbow: this thread is not to support users in working around the broken way this program handles the files, this thread is for the developer to fix the problem so we don't have to work around it.</p>
<p>think of it as the 'one less deuce' thread
</p></description>
</item>
<item>
<title>Akimbow on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7185</link>
<pubDate>Fri, 06 May 2011 16:24:16 +0000</pubDate>
<dc:creator>Akimbow</dc:creator>
<guid isPermaLink="false">7185@http://forumarchive.spadille.net/</guid>
<description><p>I just changed the security settings on them to allow me to edit them. I have mine under program files and I have changed my name.
</p></description>
</item>
<item>
<title>Green_Beret on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7181</link>
<pubDate>Fri, 06 May 2011 16:17:51 +0000</pubDate>
<dc:creator>Green_Beret</dc:creator>
<guid isPermaLink="false">7181@http://forumarchive.spadille.net/</guid>
<description><p>Then you have to buy him a lunch because he already read my suggestion (which is exactly the same, I just didn't notice your earlier posts about it) <a href="http://ace-spades.com/forums/topic.php?id=705">at this thread</a>. :P<br />
And now pls continue discussing this topic over there.
</p></description>
</item>
<item>
<title>maxoverdrive on "config.ini and vxl folders are read-only in w7/vista"</title>
<link>http://forumarchive.spadille.net/topic.php?id=727#post-7167</link>
<pubDate>Fri, 06 May 2011 15:58:24 +0000</pubDate>
<dc:creator>maxoverdrive</dc:creator>
<guid isPermaLink="false">7167@http://forumarchive.spadille.net/</guid>
<description><p>please please please move these folders to %appdata%</p>
<p><a href='http://msdn.microsoft.com/en-us/library/system.environment.expandenvironmentvariables.aspx'><br />
ExpandEnvironmentVariables("%appdata%\\aos\\config.ini")</a></p>
<p>ALSO: if you confirm that you have read this Ben, I will buy you lunch (donate $10) :D
</p></description>
</item>

</channel>
</rss>
