Jump to content

importing a lua file in Urwigo


mijn koen

Recommended Posts

Because I have experienced some troubles importing a lua file in the Wherigo Builder I have tried the following:

I have created a cartridge with Urwigo and compiled a .gwz file also with Urwigo.

Thereafter I extracted the lua file from the .gwz file (strange enough the name of the lua file is _cartridge) and tried to import it in Urwigo, but that failed.

I had the same result in the Wherigo Builder.

Am I missing something here or is there something I do wrong?

 

Thanks for a reaction.

 

Jaco

Link to comment

and why exactly would you want to import lua files?

 

it is impossible to make a general importer for just any kind of Lua files.

in Groundspeak Builder, Lua is the primary save format, and it has a very specific syntax in order to work. (so specific, in fact, that sometimes the Builder will save the file and can't read it back)

 

in Earwigo and URWIGO, Lua import is only for compatibility with Builder, and the importers only eat Lua files in Builder's format.

so if you extract a Lua file made in URWIGO, you will never be able to import it anywhere, because it uses a different syntax, which is not designed for importing.

 

instead, URWIGO has its own save format, .urwigo, which you can use to save and load cartridges

Link to comment

and why exactly would you want to import lua files?

 

The reason was, that I couldn´t upload my Urwigo cartridge to Wherigo.com so I thought if I can load it in f.i. Wherigo or Earwigo I might be able to solve that.

But your answer makes it very clear that this will not work.

Thanks for your reply.

 

Jaco

Link to comment

... I couldn´t upload my Urwigo cartridge to Wherigo.com

 

What exactly is your problem? In Urwigo it is easy - Build -> Build package (gwz).

Then go to Wherigo.com -> your cartridge -> upload GWZ file.

 

Problem has been solved, it turned out that the file was on the site of Wherigo, but it was set to not active, so it did not show. But now it does.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...