Convert 0.9.2 conf.lua files to 0.10.0

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
Posts: 14
Joined: Mon Jul 27, 2015 9:01 am
Location: Bucharest, Romania

Convert 0.9.2 conf.lua files to 0.10.0

Post by FlattenedTesseract » Tue Dec 22, 2015 4:27 pm

This is a simple fix for broken .love files made for 0.9.2.
You might need to tweak your code a little bit if you used any of the changed functions (if there are any). Also, if you have windows, use cygwin (sed, zip and unzip).

Anyway, you need to do this for each .love file:

Code: Select all

unzip -d some_folder/
cd some_folder
sed -i 's/0.9.2/0.10.0/g' conf.lua
zip -9 -r ../ .
cd ..
rm -r some_folder/
If your game is not archived, you can just run the sed command.

Replace with your .love name and you can change some_folder/ with any folder name you want as long as it doesn't currently exist.

Hopefully it helped ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests