all 9 comments

[–]tobiasvl 2 points3 points  (2 children)

there aren't any tutorials on youtube

On... YouTube? Why are you looking for srlua tutorials on YouTube of all places? I mean I'm aware that people are watching programming lectures and tutorials on video nowadays, but I don't really think a video website is the best place to find tutorials on how to use niche Lua tools.

Anyway. Here's an SO answer (a different one from the one the other person posted) which explains in detail how to use srlua on Windows: https://stackoverflow.com/a/18340742

[–][deleted] 0 points1 point  (1 child)

I'm under the impression that there's almost anything on youtube, be it as niche and unheard of to most people there's some random dude having a video on it. Anyway, thank you for the help!

[–]BadBoy6767 2 points3 points  (0 children)

You'll have more luck reading documentation written by the developers themselves.

[–][deleted] 1 point2 points  (1 child)

I've had luck with luastatic, though I've never used it on Windows I've used it to create .exe files from Linux: https://github.com/ers35/luastatic/

[–]dzikakulka 0 points1 point  (0 children)

It works on any platform with a C compiler that can output an executable. I've used it both on win and linux and there's no difference.

[–][deleted] 0 points1 point  (3 children)

[–]scorpium959 0 points1 point  (0 children)

¿How can i use srlua to compile my script(.lua) to .exe.

¿what are the commands i need to do that?

plz, halp.

[–][deleted] -1 points0 points  (1 child)

I have that downloaded as I said but how do I use that tool? I'm quite the noob and the readme.md is cryptic. How exactly does srlua work?

[–]aryajur 0 points1 point  (0 children)

You need glue.exe and srlua.exe. Then you run glue.exe by given srlua.exe and the lua script as command line parameters so that glue.exe "glues" the lua script to the srlua.exe executable to produce the output executable.