<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.quasar-rce.com/index.php?action=history&amp;feed=atom&amp;title=Vendetta%2FAPI%2Fresolve_file</id>
	<title>Vendetta/API/resolve file - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.quasar-rce.com/index.php?action=history&amp;feed=atom&amp;title=Vendetta%2FAPI%2Fresolve_file"/>
	<link rel="alternate" type="text/html" href="https://wiki.quasar-rce.com/index.php?title=Vendetta/API/resolve_file&amp;action=history"/>
	<updated>2026-04-07T09:30:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.quasar-rce.com/index.php?title=Vendetta/API/resolve_file&amp;diff=56&amp;oldid=prev</id>
		<title>Wikiadmin: created resolve_file</title>
		<link rel="alternate" type="text/html" href="https://wiki.quasar-rce.com/index.php?title=Vendetta/API/resolve_file&amp;diff=56&amp;oldid=prev"/>
		<updated>2025-03-03T15:37:50Z</updated>

		<summary type="html">&lt;p&gt;created resolve_file&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Definition ===&lt;br /&gt;
lib.resolve_file (path, ...) :: nil&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
Attempts to load and execute a file using a variety of path options. This function attempts to make file loading behavior consistant across the game&amp;#039;s state.&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
# string filepath: path to the file to be accessed&lt;br /&gt;
# string ...: alternate path(s) to check&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
# boolean status: true if the file loaded successfully&lt;br /&gt;
# ...: results of the file, or a string error message&lt;br /&gt;
&lt;br /&gt;
=== Other notes ===&lt;br /&gt;
* Added in LME 2.x (Neoloader indev)&lt;br /&gt;
* This function uses lib.find_file to verify the file exists, and will always execute the first found path.&lt;br /&gt;
* The file being executed will likely be loaded with pcall(), depending on the LME&amp;#039;s &amp;quot;protectResolveFile&amp;quot; flag&lt;/div&gt;</summary>
		<author><name>Wikiadmin</name></author>
	</entry>
</feed>