VVVVVV External Scripting Toolkit

Started by kylemsguy, June 16, 2013, 06:35:17 AM

Previous topic - Next topic

kylemsguy

EDIT: I will no longer be updating this thread. Please see http://tolp.net16.net/forum/index.php?topic=166.0, or check out the github repo (see below) for further updates

I hope that I'm posting this in the right place... though I don't see where else I could post this because the rest of the forums have been archived...  :victoria:

After taking a look at Dav999's VVVVVV script dumping tool (see http://distractionware.com/forum/index.php?topic=1269.msg12887) and trying my own hand at scripting in a level, I've decided to create a cross-platform toolkit that would allow anyone to use an external text editor to edit VVVVVV scripts, instead of using the (awful) internal script editor. As of right now, I've only completed the tool that can extract the scripts from a .vvvvvv level file (EDIT: both exporter and importer are complete!). The next thing I'm going to make is a tool that can re-encode the scripts and put it back into the level file. Done.

I've written this tool in Python, which means that it will run on Windows, Mac OS X, and Linux. For Windows, I've used py2exe to create an .exe file so that you don't have to install a Python interpreter to run the program. Otherwise, the .py source file should run out-of-the-box on both Linux and OSX.

If you find any bugs please let me know.

DISCLAMER: Even though I've taken precautions against destroying data, I am not responsible if this program causes your level or other data to be destroyed. Please backup your data.

Requirements
Windows, Mac OS X, Linux
VVVVVV v2.0+ (to edit/test the level)

This is not needed for the use of the Windows binary
Python 2.7 (older versions may or may not work; Python 3 will definitely not work unless you put the .py files through 2to3)

Downloads:
Windows (exe):
https://mega.co.nz/#!cYczFYIZ!enEKbg2b9iG-eVoH75RNLUP6dIAmHcTyxeLZzKZy2po

All others (Incl. Windows, Mac OS X, Linux):
https://mega.co.nz/#!cQVnCZpL!JMLAznJnBqXbtReTgec1y0HQc9hioVNUzip6VrXzU3A

Otherwise, if you wish to get the latest code (this means the entire toolset, which has two complete tools: the script importer and the script extractor), you may download the latest version from my git repo:
https://github.com/kylemsguy/vvvvvv-scripting-toolkit

Also, there are no viruses in this program. All the source code is available on github. If you don't trust my coding, feel free to take a look at the code. Furthermore, the cross-platform (i.e. the non-windows-specific version) IS the source code file.

Anyhow, thanks for taking a look at my tool  :viridian:

allison

Quote from: kylemsguy on June 16, 2013, 06:35:17 AM
I hope that I'm posting this in the right place... though I don't see where else I could post this because the rest of the forums have been archived...  :victoria:
You could post here, since it's basically replaced the other sections of Distractionware.


Anyways: It's pretty cool, but it's not going to be really useful until it's possible to save scripts back into a .vvvvvv file.

kylemsguy

#2
Quote from: crazyal02 on June 16, 2013, 02:51:10 PM
Anyways: It's pretty cool, but it's not going to be really useful until it's possible to save scripts back into a .vvvvvv file.

I've just finished writing the importer script :viridian:. I've also moved everything to github.

If you would like to check out the entire toolkit (only consisting of the script importer and exporter), you may download it here: https://github.com/kylemsguy/vvvvvv-scripting-toolkit

I'll be building binaries for windows users soon. Done. You can get it either in the OP or below:
https://mega.co.nz/#!cYczFYIZ!enEKbg2b9iG-eVoH75RNLUP6dIAmHcTyxeLZzKZy2po

Fussmatte

As crazyal02 said, you'd be best off posting here, because let's face it, this place is dead.

kylemsguy

Quote from: Doormat on June 17, 2013, 02:07:14 AM
As crazyal02 said, you'd be best off posting here, because let's face it, this place is dead.

Okay then. Will do.