<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Ren%27Py</id>
	<title>Ren&#039;Py - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Ren%27Py"/>
	<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Ren%27Py&amp;action=history"/>
	<updated>2026-04-21T04:26:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Ren%27Py&amp;diff=1256&amp;oldid=prev</id>
		<title>Qrow: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Ren%27Py&amp;diff=1256&amp;oldid=prev"/>
		<updated>2026-02-24T05:59:05Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:59, 23 February 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Qrow</name></author>
	</entry>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Ren%27Py&amp;diff=1255&amp;oldid=prev</id>
		<title>intermisc/gamedev&gt;Kingraptor: Moved to Github</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Ren%27Py&amp;diff=1255&amp;oldid=prev"/>
		<updated>2015-03-28T08:28:33Z</updated>

		<summary type="html">&lt;p&gt;Moved to Github&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Ren&amp;#039;Py&amp;#039;&amp;#039;&amp;#039; is an open source visual novel engine, available [http://www.renpy.org/ here]. It can be used in conjunction with Spring to provide a singleplayer experience with narrative, dialogue, images and videos.&lt;br /&gt;
&lt;br /&gt;
== Using Ren&amp;#039;Py with Spring ==&lt;br /&gt;
Without the use of sockets, Ren&amp;#039;Py and Spring can best communicate in the following way:&lt;br /&gt;
&lt;br /&gt;
=== Ren&amp;#039;Py to Spring ===&lt;br /&gt;
Python can read a Spring startscript and modify it, say using [http://docs.python.org/2/library/string.html#formatstrings str.format] or the older [http://docs.python.org/2/library/stdtypes.html#string-formatting % (modulo) operator]. In this way, any arbitrary game, per-player or per-team information can be made available to Spring at runtime. It is also theoretically possible for Python to modify the contents of an .sdz or .sdd archive directly, but this is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Spring to Ren&amp;#039;Py ===&lt;br /&gt;
A widget or gadget can write a Python file with any information to be communicated to Ren&amp;#039;Py, which it can then import using the [http://docs.python.org/2/library/functions.html#execfile execfile] function. Bear in mind that because Spring is limited in which directories its Lua can write files to, Ren&amp;#039;Py will need to know where the Spring datadir is.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
[https://github.com/KingRaptor/springpy SpringPy] is a code example for Spring-Ren&amp;#039;Py communication. You can check out the whole repo and open/run the Ren&amp;#039;Py project with the Ren&amp;#039;Py SDK.&lt;br /&gt;
* [https://github.com/KingRaptor/springpy/blob/master/game/script.rpy Example script.rpy]&lt;br /&gt;
* [https://github.com/KingRaptor/springpy/blob/master/spring/script_pytest.txt Example startscript]&lt;br /&gt;
* [https://github.com/KingRaptor/springpy/blob/master/spring/LuaUI/Widgets/api_shared_functions.lua Widget to write Python dictionaries and module files]&lt;br /&gt;
* [https://github.com/KingRaptor/springpy/blob/master/spring/LuaUI/Widgets/dbg_test.lua Test widget]: writes data required by sample code on widget:Initialize()&lt;br /&gt;
&lt;br /&gt;
[[Category:Game Dev]]&lt;/div&gt;</summary>
		<author><name>intermisc/gamedev&gt;Kingraptor</name></author>
	</entry>
</feed>