<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>Archives des https://twitter.com/gdljjrod/status/676867152012439553 - Custom Protocol</title>
	<atom:link href="https://www.customprotocol.com/sources/httpstwitter-comgdljjrodstatus676867152012439553/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.customprotocol.com/sources/httpstwitter-comgdljjrodstatus676867152012439553/</link>
	<description>Site d&#039;hack-tualité et de tutoriels sur la customisation de consoles et appareils (homebrews, plugins, émulation...)</description>
	<lastBuildDate>Thu, 17 Dec 2015 11:22:33 +0000</lastBuildDate>
	<language>fr-CA</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>[PSP] [Vita] Une quatrième version pour le ONELua</title>
		<link>https://www.customprotocol.com/psp-vita-quatrieme-version-onelua/</link>
					<comments>https://www.customprotocol.com/psp-vita-quatrieme-version-onelua/#comments</comments>
		
		<dc:creator><![CDATA[Applelo]]></dc:creator>
		<pubDate>Thu, 17 Dec 2015 11:22:33 +0000</pubDate>
				<category><![CDATA[News]]></category>
		<category><![CDATA[News Programmation]]></category>
		<category><![CDATA[News Underground]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Underground]]></category>
		<category><![CDATA[OneLua]]></category>
		<guid isPermaLink="false">https://www.customprotocol.com/?p=7973</guid>
					<description><![CDATA[<p>Le célèbre interpréteur Lua pour PSP passe une nouvelle étape&#8239;!</p>
<p>L’article <a rel="nofollow" href="https://www.customprotocol.com/psp-vita-quatrieme-version-onelua/">[PSP] [Vita] Une quatrième version pour le ONELua</a> est apparu en premier sur <a rel="nofollow" href="https://www.customprotocol.com">Custom Protocol</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Après 3 versions du <strong>ONELua</strong>, <em>gdljjrod</em> et <em>Rober Gallarga</em> ont décidé de délivrer encore une nouvelle version de l'<strong>interpréteur Lua</strong> le plus abouti pour PSP se démarquant par le nombre de fonctionnalités disponibles et sa compatibilité depuis l'émulateur PSP de la PSVita.</p>
<div align="center">
<blockquote class="twitter-tweet" lang="fr">
<p dir="ltr" lang="en">ONELua v4ever <a href="https://t.co/UN9mWAc9DO">https://t.co/UN9mWAc9DO</a>&#8239;!!! <a href="https://twitter.com/Applelo1">@Applelo1</a> <a href="https://twitter.com/CustomProtocol">@CustomProtocol</a> <a href="https://twitter.com/HackinformerES">@HackinformerES</a> <a href="https://twitter.com/HackInformer">@HackInformer</a> <a href="https://twitter.com/frwololo">@frwololo</a> <a href="https://twitter.com/NEKERAFALimit">@NEKERAFALimit</a></p>
<p>— gdljjrod (@gdljjrod) <a href="https://twitter.com/gdljjrod/status/676867152012439553">15 Décembre 2015</a></p></blockquote>
<p><script src="//platform.twitter.com/widgets.js" async="" charset="utf-8"></script></div>
<hr />
<p><script src="//platform.twitter.com/widgets.js" async="" charset="utf-8"></script></p>
<p style="text-align: justify;">En effet, c'est par un simple message sur <em>Twitter</em> que le développeur mexicain, <em>gdljjrod</em>, a annoncé la publication de la quatrième version du <strong>ONELua</strong>&nbsp;: au programme, encore de nouvelles fonctions mais aussi des corrections de bugs et une amélioration de la stabilité de l'interpréteur.</p>
<p style="text-align: justify;">La première fonction qu'on voit au lancement d'un <em>homebrew</em>, <em>splash.show()</em> a été modifiée avec un effet de rebond sur l'image puis un éparpillement en morceau de celle ci. On dirait un vieux effet <em>power point</em>... ça plait ou pas car on ne peut pas remettre le simple effet d'apparition/disparition de l'image. Cependant on peut maintenant passer un <em>splash</em> en appuyant simplement avec la touche croix et le <em>splash screen</em> du <strong>ONELua</strong> a également changé.</p>
<a class="gridlove-popup" href='https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_3.png'><img fetchpriority="high" decoding="async" width="480" height="272" src="https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_3.png" class="attachment-gridlove-single size-gridlove-single" alt="" srcset="https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_3.png 480w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_3-300x170.png 300w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_3-370x210.png 370w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_3-270x153.png 270w" sizes="(max-width: 480px) 100vw, 480px" /></a>
<a class="gridlove-popup" href='https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_1.png'><img decoding="async" width="480" height="272" src="https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_1.png" class="attachment-gridlove-single size-gridlove-single" alt="" srcset="https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_1.png 480w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_1-300x170.png 300w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_1-370x210.png 370w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_1-270x153.png 270w" sizes="(max-width: 480px) 100vw, 480px" /></a>
<a class="gridlove-popup" href='https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_2.png'><img decoding="async" width="480" height="272" src="https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_2.png" class="attachment-gridlove-single size-gridlove-single" alt="" srcset="https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_2.png 480w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_2-300x170.png 300w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_2-370x210.png 370w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_splash.show_2-270x153.png 270w" sizes="(max-width: 480px) 100vw, 480px" /></a>
<pre class="lang:lua decode:true" title="splash.show()">splash.show()
----Affiche le splash du ONELua
----Ne retourne rien
splash.show("STRING")
----Affiche en splash le l'image sélectionnée
------STRING&nbsp;: Chemin où se trouve l'image 
----Ne retourne rien
splash.show({TABLE})
----Affiche les splashs des images sélectionnées un par un
------TABLE&nbsp;: Table contenant les chemins où se trouvent les images
----Ne retourne rien</pre>
<p>On retrouve également plein de nouvelles fonctions pour pouvoir créer une connexion entre un ordinateur et la console (PSP/PSVita) en sans fil via le <del>custom</del> protocol<del>e</del> FTP.</p>
<pre class="lang:lua decode:true" title="ftp">ftp.init()
----Initialise le module FTP
----Retourne TRUE si réussie sinon FALSE
ftp.term()
----Met fin le module FTP
----Retourne TRUE si réussie sinon FALSE
ftp.state()
----Retourne le statut du module FTP
----Retourne TRUE si actif sinon FALSE</pre>
<p style="text-align: justify;">Suite aux nouveautés du <em>ONEMenu</em>, l'interpréteur <strong>ONELua</strong> se voit doté officiellement de la lecture et l'affichage des fichiers <em>.PMF</em>, ces fichiers vidéos utilisés comme <em>Gameboots</em> de la PSP. On peut aussi lancer, stopper ou mettre en pause une vidéo en pleine exécution avec la fonction de <em>callbacks</em> <em>onPmfPlay().</em></p>
<a class="gridlove-popup" href='https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf.png'><img decoding="async" width="480" height="272" src="https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf.png" class="attachment-gridlove-single size-gridlove-single" alt="" srcset="https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf.png 480w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf-300x170.png 300w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf-370x210.png 370w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf-270x153.png 270w" sizes="(max-width: 480px) 100vw, 480px" /></a>
<a class="gridlove-popup" href='https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf_2.png'><img decoding="async" width="480" height="272" src="https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf_2.png" class="attachment-gridlove-single size-gridlove-single" alt="" srcset="https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf_2.png 480w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf_2-300x170.png 300w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf_2-370x210.png 370w, https://www.customprotocol.com/medias/2015/12/ONELuaV4_pmf_2-270x153.png 270w" sizes="(max-width: 480px) 100vw, 480px" /></a>
<pre class="lang:lua decode:true" title="paf">pmf.run("STRING")
----Lance le fichier PMF
------STRING&nbsp;: Chemin où se trouve le fichier PMF
----Ne retourne rien
pmf.run("STRING",NUMBER x,NUMBER y)
----Lance le fichier PMF
------STRING&nbsp;: Chemin où se trouve le fichier PMF
------POS x&nbsp;: Position X où afficher le fichier PMF
------POS y&nbsp;: Position y où afficher le fichier PMF
----Ne retourne rien
pmf.play()
----Met en position "Jouer" le fichier PMF
----Note&nbsp;: À utiliser avec la fonction callbacks onPmfPlay()
----Ne retourne rien
pmf.pause()
----Met en position "Pause" le fichier PMF
----Note&nbsp;: A utilisé avec la fonction callbacks onPmfPlay()
----Ne retourne rien
pmf.stop()
----Met en position "Stop" le fichier PMF
----Note&nbsp;: A utilisé avec la fonction callbacks onPmfPlay()
----Ne retourne rien</pre>
<p style="text-align: justify;">De nouvelles fonctions dans la catégorie <em>maps </em>font également leur apparition, en effet depuis la version 3 du <strong>ONELua</strong> il est possible de créer des <em>maps</em> avec un simple fichier texte et un fichier texture. Les deux développeurs ont ajouté 3 nouvelles fonctions qui seront bien pratiques pour les développeurs. Les deux premières permettent de retourner la largeur et la hauteur de la <em>map</em> générée, ce qui peut paraître intéressant pour gérer l'espace entre deux cartes de tailles différentes. La dernière permet quant à elle d'insérer une texture de l'image directement dans la <em>map</em> à une position donnée pour faire des animations par exemple.</p>
<pre class="lang:lua decode:true" title="map">map.sizex(MAP)
------MAP&nbsp;: variable contenant la map
----Retourne la largeur de la map
map.sizey(MAP)
------MAP&nbsp;: variable contenant la map
----Retourne la longueur de la map
map.set(MAP,NUMBER Tile_x,NUMBER Tile_y,NUMBER valeur)
----Permet d'insérer une texture dans la map
------MAP&nbsp;: variable contenant la map
------NUMBER Tile_x&nbsp;: la position x de la texture
------NUMBER Tile_y&nbsp;: la position y de la texture
------NUMBER Valeur&nbsp;: la texture à placer
----Ne retourne rien</pre>
<p style="text-align: justify;">D'autres fonctions ont été également ajoutées, comme celle permettant de convertir des couleurs en gris ou bien d'inverser la couleur sélectionnée.</p>
<pre class="lang:lua decode:true" title="color">color.fxinvert(COULEUR)
------COULEUR&nbsp;: variable contenant la couleur
----Retourne la couleur inversée
color.fxgray(COULEUR)
------COULEUR&nbsp;: variable contenant la couleur
----Retourne la couleur passée par le filtre gris</pre>
<p style="text-align: justify;">Ces fonctions se retrouvent aussi dans les nouvelles fonctions pour les images. On retrouve aussi avec celles-ci la possibilité d'appliquer un filtre sépia sur l'image choisie et de pouvoir récupérer une image avec un ancien effet appliqué.</p>
<pre class="lang:lua decode:true" title="image">image.fxinvert(IMAGE)
------COULEUR&nbsp;: variable contenant l'image
----Retourne l'image avec la couleur inversée
color.fxgray(IMAGE)
------IMAGE&nbsp;: variable contenant l'image
----Retourne l'image passée par le filtre gris
color.fxsepia(IMAGE)
------IMAGE&nbsp;: variable contenant l'image
----Retourne l'image avec un filtre sépia
color.fxold(IMAGE)
------IMAGE&nbsp;: variable contenant l'image
----Retourne l'image avec l'ancien effet
color.fxold(IMAGE,NOMBRE pourcent)
------IMAGE&nbsp;: variable contenant l'image
------NOMBRE&nbsp;: pourcentage de
----Retourne l'image avec l'ancien effet selon un certain pourcentage d'application</pre>
<p style="text-align: justify;">Pour finir, on retrouve des améliorations au niveau des performances mais également des corrections de <em>bugs</em>. Voilà, il est temps de vous fournir l'archive du <strong>ONELua V4</strong> ainsi que la documentation complète en anglais (en <em>.CHM</em> ou en ligne) et de vous dire au revoir pour une prochaine news.&nbsp;<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f61b.png" alt="😛" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p style="text-align: justify;"><div class="one_half">
<figure id="attachment_5235" aria-describedby="caption-attachment-5235" style="width: 528px" class="wp-caption aligncenter"><a href="https://mega.nz/#!LIsRQRzD!LKkw0b66Qxxzf4sJgv4FPOfQloOHWP6641UahFW58KE" target="_blank" rel="noopener noreferrer"><img decoding="async" class="wp-image-5235 size-full" src="https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2.png" alt="Bouton télécharger" width="528" height="160" srcset="https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2.png 528w, https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2-300x91.png 300w, https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2-370x112.png 370w, https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2-270x82.png 270w" sizes="(max-width: 528px) 100vw, 528px" /></a><figcaption id="caption-attachment-5235" class="wp-caption-text"><b>ONELua</b> version 4, par <em>gdljjrod</em></figcaption></figure>
</div> <div class="one_half last">
<figure id="attachment_5235" aria-describedby="caption-attachment-5235" style="width: 528px" class="wp-caption aligncenter"><a href="https://mega.nz/#!mc83RSwD!3BFEpevhq3S1c7ZVoj5KQarNMgTHadnnkqdCGLXK8qU" target="_blank" rel="noopener noreferrer"><img decoding="async" class="wp-image-5235 size-full" src="https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2.png" alt="Bouton télécharger" width="528" height="160" srcset="https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2.png 528w, https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2-300x91.png 300w, https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2-370x112.png 370w, https://www.customprotocol.com/medias/2015/06/bouton-telecharger-v2-270x82.png 270w" sizes="(max-width: 528px) 100vw, 528px" /></a><figcaption id="caption-attachment-5235" class="wp-caption-text">Documentation du <b>ONELua</b> V4 (en anglais)</figcaption></figure>
</div><div class="clearboth"></div>
<p>L’article <a rel="nofollow" href="https://www.customprotocol.com/psp-vita-quatrieme-version-onelua/">[PSP] [Vita] Une quatrième version pour le ONELua</a> est apparu en premier sur <a rel="nofollow" href="https://www.customprotocol.com">Custom Protocol</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.customprotocol.com/psp-vita-quatrieme-version-onelua/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>

