New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to link media files to Media objects #2

Closed
Sholofly opened this Issue Feb 4, 2018 · 6 comments

Comments

Projects
None yet
2 participants
@Sholofly

Sholofly commented Feb 4, 2018

Hi,
I love your script.
Is it possible for you to rename the extracted media files having their id (Guid) in the file name?
For now it's not possibe to link the extracted media files to the objects in the generated lua file.

@Krevo

This comment has been minimized.

Owner

Krevo commented Feb 5, 2018

Hi,
Thanks for your interest.

In the lua source code, for each media I can see some lines like this =>

_TGu = Wherigo.ZMedia(_V2tgY)
_TGu.Id = "c74e000a-bb02-4088-8788-96263f8d8c47"
-- happyhalloween
_TGu.Name = _oII("u\fbbeu\f==\027Q\v\vC")
_TGu.Description = ""
_TGu.AltText = ""
_TGu.Resources = {
  {
    Type = "mp3",
    Filename = "happyhalloween.mp3",
    Directives = {}
  }
}

I think, that I can rename the media file with the original filename (in this example it will be "happyhalloween.mp3" instead of "cartridge_name_n.ext")

@Sholofly

This comment has been minimized.

Sholofly commented Feb 5, 2018

Thanks for the reply. That would be nice!

@Sholofly

This comment has been minimized.

Sholofly commented Feb 6, 2018

Is there a way to help you develop? I'm a developer so maybe there is a way to assist?

@Krevo

This comment has been minimized.

Owner

Krevo commented Feb 6, 2018

Don't worry. I've done something yesterday. Will commit soon.

@Krevo Krevo closed this in 1d299f1 Feb 6, 2018

@Krevo

This comment has been minimized.

Owner

Krevo commented Feb 6, 2018

Please try with the last commit.

@Sholofly

This comment has been minimized.

Sholofly commented Feb 6, 2018

Simply brilliant! Thank you for acting so quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment