This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
GravityScore's profile picture

Lightshot 1.5 - Pause Your Recording

Started by GravityScore, 12 January 2013 - 05:24 AM
GravityScore #1
Posted 12 January 2013 - 06:24 AM
Lightshot Screen Recorder

Version 1.5


Hey all, got a bit bored this afternoon, so I gave Lightshot a GUI, and it now runs the startup file instead of the shell (if it exists).

Lightshot is a screen recording program that allows you to capture a video of your screen, and store it in a single file. It includes a limitless frame rate, built-in updater, and the ability to record .nfa animations into runnable movie files.

Once you run the program, it runs the shell - allowing you to run programs, edit files, and do anything you want, while it records everything you do :)/>

Change Log
- Added a pause feature! :D/> Just press F3 to pause, then F3 again to unpause
- Removed the run startup feature, it was a bit annoying (if you want to run startup, just run it :P/>)
- New system to save recordings to files
- UI improvements to make actions of buttons more clear
- Return to Lightshot after a recording, instead of back to shell

To update, just hit the Update Lightshot button from within the program, or just redownload it from Pastebin.

SpoilerVersion 1.4
- Added a GUI similar to Thunderbird's
- No more command line arguments used to record videos
- Runs the startup file instead of the shell (if it exists)

Version 1.3
- 750 lines less :D/>
- Fixed all bugs relating to Lightshot not recording some text
- No more annoying "File already exists" message

Version 1.2
- Added compression (thanks to 1lann), which reduces file size by over 75%!
- Fixed the cd command not working (also thanks to 1lann)

Version 1.1
- Adds ability to turn your .nfa animations into movies! :D/> (somebody now just has to create YouTube)
- Adds measures to reduce the created movie's file size
- Put –skip as the last argument of any command to skip the countdown
You'll need to either re-download Lightshot, or run lightshot update to update to the latest version.

Version 1.0.1
- Fixes a minor bug which stopped Lightshot from recording background colors on normal computers
- Fixes a slight graphical issue when exiting some programs, then ending the recording.

Features
- Beautiful, interactive GUI
- Record a video of your screen over an unlimited amount of time
- Turn your NPaintPro .nfa animations into movies!
- Save your video into a single file
- Play your video by simply running the file
- Limitless frame rate
- Built-in updater
- Run and record programs
- Control-T and termination handling
- File compression
- It should work on Tekkit (I haven't tested it)

Screenshots
Main Menu:


Choosing a Location to Save the Recording:
Spoiler

While recording:
Spoiler

Known Bugs
The very first implementation of this had many bugs. I think I squashed them all, but I'm not entirely sure.
Please post any bugs you find in the comments below, or in the GitHub bugs list!

Download
Lightshot can be downloaded from Pastebin or Hastebin, using the Pastebin ID: g0nVKvgr or the Hastebin ID: nasasarafo.lua
Or type into your computer:

pastebin get g0nVKvgr lightshot

Credits
- 1lann for his compression system (a major feature)
- 1lann for his original concept of this. He first came up with the method used in this to capture the screen, but never released his code as it was too buggy :P/>
- nitrogenfingers for his fantastic NPaintPro program
Cranium #2
Posted 12 January 2013 - 06:27 AM
I love this idea! This might be really helpful to those on ComputerCraft University.
GravityScore #3
Posted 12 January 2013 - 06:33 AM
I love this idea! This might be really helpful to those on ComputerCraft University.

Thanks! Exactly as I was thinking!

The only problem is that long recordings can have a really big file size… Any ideas on how I could reduce it?
Cranium #4
Posted 12 January 2013 - 06:42 AM
Hey, you're the creator. I would have no idea.
From the brief glance I had of the code, I assume you enter new information for each event on the terminal?
Would you be able to serialize those into a table, and then save that serialized table? It might save some whitespace.
InputUsername #5
Posted 12 January 2013 - 07:10 AM
Cool creation! Though it's not completely original, it is the best implementation I've seen. I used it to record 'worm' and it worked like a charm, almost lagless! Really cool!
GravityScore #6
Posted 12 January 2013 - 07:45 AM
Cool creation! Though it's not completely original, it is the best implementation I've seen. I used it to record 'worm' and it worked like a charm, almost lagless! Really cool!

Thanks! I thought it was pretty good for about 2 of hours work. After completing it I did find one other screen recorder, but it used a frame rate and took a snapshot of the screen at specified intervals - not how this works at all :P/>
anonimo182 #7
Posted 12 January 2013 - 08:00 AM
Haven't tried i, but it seems good! Might find it usefull
GravityScore #8
Posted 12 January 2013 - 08:52 AM
Just updateded to 1.0.1 to fix a few minor bugs detailed in the OP. (bugs that were silly of me to miss :P/>)

To update, just run

lightshot update
pielover88888 #9
Posted 12 January 2013 - 09:23 AM
This will be incredibly useful for getting tutorials out there, lol! :D/>
GravityScore #10
Posted 12 January 2013 - 09:44 AM
This will be incredibly useful for getting tutorials out there, lol! :D/>

Hey yeah! I never thought about that!

I could write a tutorial set with this…. (or someone else could. I suck at teaching :P/>)

Meh. I'm going to try this!
pielover88888 #11
Posted 12 January 2013 - 10:08 AM
Cool, :D/>

EDIT: another idea, cctube/youtube (god knows it exists already, but this one would just run through an nPaint animation and record it, and somehow display it on a "page")..
GravityScore #12
Posted 12 January 2013 - 10:12 AM
My god yes… This would be epic…

I could add a convert to movie function, where you just supply your .nfa animation, frame rate, and it would display it as a movie!

Thanks so much for the ideas. I actually want to work on this animation creator now instead of the tutorial. I'll leave that up to someone else.
remiX #13
Posted 12 January 2013 - 11:12 AM
I love this idea! This might be really helpful to those on ComputerCraft University.

Thanks! Exactly as I was thinking!

The only problem is that long recordings can have a really big file size… Any ideas on how I could reduce it?
I love this idea! This might be really helpful to those on ComputerCraft University.

Thanks! Exactly as I was thinking!

The only problem is that long recordings can have a really big file size… Any ideas on how I could reduce it?

How about separating the code every 1000 lines or so. I started it and 5 seconds later the file had 3000 lines XD I did, of course, run a program while it was on :P/>

Pretty cool, btw
GravityScore #14
Posted 12 January 2013 - 11:20 AM
How about separating the code every 1000 lines or so. I started it and 5 seconds later the file had 3000 lines XD I did, of course, run a program while it was on :P/>

Pretty cool, btw

Thanks :D/>

What do you mean by separating it? Like, into different files? Or just add some new lines?
Into different files is a bit hard if you want to view an entire video.

One way I was thinking was to only record a new background and text color if they were different to the previously recorded background/text color. This should (hopefully) significantly reduce the file size. After looking through much of the code it generates, I think it should help.
remiX #15
Posted 12 January 2013 - 11:27 AM
How about separating the code every 1000 lines or so. I started it and 5 seconds later the file had 3000 lines XD I did, of course, run a program while it was on :P/>/>

Pretty cool, btw

Thanks :D/>/>

What do you mean by separating it? Like, into different files? Or just add some new lines?
Into different files is a bit hard if you want to view an entire video.

One way I was thinking was to only record a new background and text color if they were different to the previously recorded background/text color. This should (hopefully) significantly reduce the file size. After looking through much of the code it generates, I think it should help.

Yeah it would be hard, but like it creates a folder and within that folder all the files can be saved there (yeah, i meant into different files).

Then when loading the video, combine all the files into one?
GravityScore #16
Posted 12 January 2013 - 12:28 PM
Just released version 1.1! :D/>

It can now record your NPaintPro animations (the .nfa files), and turn them into movies! It also has new measures in place to lower the recorded movie's file size, and you can also add the argument –skip at the end of any command to skip the countdown into the recording.
theoriginalbit #17
Posted 12 January 2013 - 12:30 PM
This is a really cool idea! :)/>
1lann #18
Posted 12 January 2013 - 02:28 PM
Kssk, you should probably tell people that you press F1 to end the recording
theoriginalbit #19
Posted 12 January 2013 - 02:29 PM
Kssk, you should probably tell people that you press F1 to end the recording
That would be quite handy… I was wondering how you did that… :P/>
Shnupbups #20
Posted 12 January 2013 - 03:10 PM
This is truly freaking AMAZING! Now to make a YouTube where we can upload these and people can upload lets plays of adventure and mineception! Lol, but that would be absolutely amazing. This… this is awesome!
theoriginalbit #21
Posted 12 January 2013 - 03:12 PM
This is truly freaking AMAZING! Now to make a YouTube where we can upload these and people can upload lets plays of adventure and mineception! Lol, but that would be absolutely amazing. This… this is awesome!
Maybe using *cough*Firewolf*cough*……………………………………………… ;)/> ;)/>
Shnupbups #22
Posted 12 January 2013 - 03:13 PM
Maybe using *cough*Firewolf*cough*……………………………………………… ;)/> ;)/>
Exactly what I was thinking.
brett122798 #23
Posted 12 January 2013 - 03:14 PM
This is truly freaking AMAZING! Now to make a YouTube where we can upload these and people can upload lets plays of adventure and mineception! Lol, but that would be absolutely amazing. This… this is awesome!
Maybe using *cough*Firewolf*cough*……………………………………………… ;)/> ;)/>
Oh damn, I'm right on that.. that will be my replacement project.
theoriginalbit #24
Posted 12 January 2013 - 03:18 PM
Maybe using *cough*Firewolf*cough*……………………………………………… ;)/> ;)/>
Exactly what I was thinking.
Should be easy since he developed Firewolf.
Skullblade #25
Posted 12 January 2013 - 03:52 PM
Wow this is GREAT! i didn't expect it to look EXACTLY like how you recorded it. spot on perfect work… :rolleyes:/>
Shnupbups #26
Posted 12 January 2013 - 04:07 PM
Suggestion: Instead of the shell showing up when you start recording, it could play the startup file?
brett122798 #27
Posted 12 January 2013 - 04:13 PM
Nevermind about making YT.. I was thinking the save file would be an image, but it's actually code!
remiX #28
Posted 12 January 2013 - 11:31 PM
I opened lightshot… within lightshot xD
Cranium #29
Posted 13 January 2013 - 06:30 AM
I opened lightshot… within lightshot xD

What have you DONE????
Shnupbups #30
Posted 13 January 2013 - 11:09 AM
Bug: You can't place it in folders or it wont work and result in 'No such program'.

I opened lightshot… within lightshot xD
-snip-
What have you DONE????
He has done…


RECURSION!
remiX #31
Posted 13 January 2013 - 11:15 AM
program recursion… or is it inception? :{}
pielover88888 #32
Posted 13 January 2013 - 02:59 PM
speaking of youtube, I kinda want the Appstore developer, to make, essentially, a youtube-store. lol, it'd probably work using pastebin to download the video's, that'd be pretty cool..
Seeing annotations and putting them in, now that'd be interesting.. xD
annotation("che \n w on this pie, does \n it taste funny?","green")
MudkipTheEpic #33
Posted 14 January 2013 - 04:22 AM
Now all someone needs to make is a video editor… Maybe on a monitor(since CPUs are too small).
GravityScore #34
Posted 14 January 2013 - 07:04 AM
Ok, bug update!

- I fixed a minor bug that caused ]s to not display if they were at the end of a string
- There is a massive bug that lieudusty has brought to my attention that does not allow you to cd into folders D: Not sure how to fix yet…
pielover88888 #35
Posted 14 January 2013 - 10:26 AM
Didn't notice that bug, but, perhaps a "lightshot help" command, so you can see the f1 shortcut? I always did ctrl t, thank goodness it worked :P/>

EDIT: didn't update, now it says it.. :<

EDIT2: found bug! can't open lua prompt with it open! (sorry about long beginning of the shell, I was on the forums at the time.) also another bug when i say o-o.. http://pastebin.com/XmaHRAvC
Edited on 14 January 2013 - 09:30 AM
GravityScore #36
Posted 14 January 2013 - 10:30 AM
Didn't notice that bug, but, perhaps a "lightshot help" command, so you can see the f1 shortcut? I always did ctrl t, thank goodness it worked :P/>

EDIT: didn't update, now it says.. :<

I like the idea of lightshot help! I'll add it in 1.2 coming soon! (sooooo many bugs to fix, sooo little time).
pielover88888 #37
Posted 14 January 2013 - 10:33 AM
oh just so you know the opening Lua Prompt bug only happens if you tried to change the directory, probably because it attempts to load the file "lua" FROM that directory.

possible proof: http://pastebin.com/gwUkeyKk
It also shows a bug I had when I made my own, messing-around-alternative-shell.
theoriginalbit #38
Posted 14 January 2013 - 06:51 PM
Btw I never said this before but I love how they auto play from the save files! +1 to you my friend. Wish it could be more, but it can only be 1…. :)/>
anonimo182 #39
Posted 16 January 2013 - 10:46 AM
Just seeing the code, you define two times term.isColor
GravityScore #40
Posted 16 January 2013 - 11:17 AM
Just seeing the code, you define two times term.isColor

Not quite :P/>

One is term.isColor, the other is term.isColour.
theoriginalbit #41
Posted 16 January 2013 - 11:36 AM
One is term.isColor, the other is term.isColour.
Which might I say is awesome for us Australians and British and anyone else who uses Standard English, not American English…. Also did you get my PM?
billysback #42
Posted 21 January 2013 - 01:19 AM
The only problem is that long recordings can have a really big file size… Any ideas on how I could reduce it?

I know you said this a while ago, but have you tried only saving the changes made between each save, so that you only have to save and draw changes to the screen instead of saving and drawing the whole screen each time?
GravityScore #43
Posted 21 January 2013 - 01:38 AM
The only problem is that long recordings can have a really big file size… Any ideas on how I could reduce it?

I know you said this a while ago, but have you tried only saving the changes made between each save, so that you only have to save and draw changes to the screen instead of saving and drawing the whole screen each time?

The program works by literally recording every term function call to a file - not by saving the screen into a buffer, then saving the buffer to a file. So whenever you call term.write, or print, or term.setCursorPos, or term.setBackgroundColor, etc… it adds it to a recording string, then saves that string to a file when the recording ends (no file spam that way). One measure that's really minimised the file size is only recording the background color if it has changed since the last call to it. So technically it already does that :P/>
ardera #44
Posted 21 January 2013 - 06:18 AM
Jep, was my Screen Capture Prg ^^ Im already working with BigShinyToys to update this, and we only need to fix one bug and then we are ready ^^ Now we have competition ^^
GravityScore #45
Posted 21 January 2013 - 06:26 AM
Jep, was my Screen Capture Prg ^^ Im already working with BigShinyToys to update this, and we only need to fix one bug and then we are ready ^^ Now we have competition ^^

Damn… better prioritize this a little higher then…

Currently I was working on pong and pacman instead of fixing a major bug in this :P/>
ardera #46
Posted 21 January 2013 - 06:30 AM
Ok but there is a massively Security problem (if I read your code right ^^): If you save all term actions in a file that can be executed, someone could edit the file and make a hidden trojan or spyware or malware etc in it. Thats like executing files from random people.
GravityScore #47
Posted 21 January 2013 - 06:36 AM
Ok but there is a massively Security problem (if I read your code right ^^): If you save all term actions in a file that can be executed, someone could edit the file and make a hidden trojan or spyware or malware etc in it. Thats like executing files from random people.

I don't fully understand what you mean. Do you mean like when I start recording, how I am able to run programs like it were the real shell? Or after I've recorded a video, and you run that video file to play it?

The only time I'd worry about security risks are if I'm the one supplying the downloaded file (other than the program file). For example, I'd worry about the integrity and security of a file if it was a downloaded website in Firewolf, or if it was a downloaded video in LightTube, because I am responsible for any damage (sort of…).

In this program, I only supply the method to create the movie, not the distribution platform.
Skullblade #48
Posted 21 January 2013 - 06:56 AM
Ok but there is a massively Security problem (if I read your code right ^^): If you save all term actions in a file that can be executed, someone could edit the file and make a hidden trojan or spyware or malware etc in it. Thats like executing files from random people.
Someone could ALWAYS just modify a file and make a virus in computercraft…there is no protection.Someone could modify a anti-virus file to make it a virus…..that is not a problem specifically to this program…
ardera #49
Posted 21 January 2013 - 07:27 AM
@GravityScore: The movie is an executable lua file. You can run it. So anyone could upload a video and say its a tutorial, but its a malware and deletes all your files. Thats what I mean.

@Skullblade: Jep, but I think its camouflaged, because you can do it that the user doesn't notice anything. You can make a tutorial in maybe 30 mins (don't know, didn't make some yet), but it takes longer to make a program. And in the program maybe someone will look at the code.
theoriginalbit #50
Posted 21 January 2013 - 07:36 AM
@GravityScore: The movie is an executable lua file. You can run it. So anyone could upload a video and say its a tutorial, but its a malware and deletes all your files. Thats what I mean.
No because all the program does is capture the terminal prints, so if they use Lua to run a virus they made, then on the video end all it will show is a recording of the virus running on their own system and deleting…

They could edit it and distribute it with the virus… But that's where 3rd party software comes in ;)/>

The bigger virus concern came at my end (LightTube) where I had to make sure to validate the file first making sure that it was a Lightshot video and not a virus… If one line is there that shouldn't be, it won't play.
Skullblade #51
Posted 21 January 2013 - 07:42 AM

No because all the program does is capture the terminal prints, so if they use Lua to run a virus they made, then on the video end all it will show is a recording of the virus running on their own system and deleting…

They could edit it and distribute it with the virus… But that's where 3rd party software comes in ;)/>

The bigger virus concern came at my end (LightTube) where I had to make sure to validate the file first making sure that it was a Lightshot video and not a virus… If one line is there that shouldn't be, it won't play.

How do you do that BIT? do you check if there is only term calls and if there is something other then term calls does it not run?
theoriginalbit #52
Posted 21 January 2013 - 07:48 AM

No because all the program does is capture the terminal prints, so if they use Lua to run a virus they made, then on the video end all it will show is a recording of the virus running on their own system and deleting…

They could edit it and distribute it with the virus… But that's where 3rd party software comes in ;)/>/>

The bigger virus concern came at my end (LightTube) where I had to make sure to validate the file first making sure that it was a Lightshot video and not a virus… If one line is there that shouldn't be, it won't play.

How do you do that BIT? do you check if there is only term calls and if there is something other then term calls does it not run?
In the basics I make sure that there is the static header and footer (they never change, ever) then I loop through all the lines in the middle making sure that they only match certain conditions. It's not 100% atm, but I'm working on it… It's hard to get it 100%…
superaxander #53
Posted 23 January 2013 - 05:06 AM
WARNING BUGREPORT:
SpoilerHere is a complete how to list on how i discoverd the bug i tested it again on a clean computer and it still does it
Step 1: Start a recording
Step 2: Use command 'cd rom'
Step 3: Try Using any command
Step 4: See that it says 'No such program'
Step 5: End recording Using F1
Step 6: See that recording is just fine
Step 7: Try going to /rom without recording
Step 8: See that works just fine
What is happening there?
1lann #54
Posted 24 January 2013 - 02:14 AM
Alright, here's a pre release of lightshot 1.2. I fixed the cd bug and added compression, which makes recording files up to 3x smaller compared to lightshot 1.1 and about 20x smaller than some other screen recorders.
http://pastebin.com/fj2PSRws
MudkipTheEpic #55
Posted 24 January 2013 - 05:09 AM
Alright, here's a pre release of lightshot 1.2. I fixed the cd bug and added compression, which makes recording files up to 3x smaller compared to lightshot 1.1 and about 20x smaller than some other screen recorders.
http://pastebin.com/fj2PSRws

Nice! I found one bug though. Bug when running a program:

http://pastebin.com/Zr0uwQvp
Grim Reaper #56
Posted 24 January 2013 - 04:03 PM
@GravityScore: The movie is an executable lua file. You can run it. So anyone could upload a video and say its a tutorial, but its a malware and deletes all your files. Thats what I mean.
No because all the program does is capture the terminal prints, so if they use Lua to run a virus they made, then on the video end all it will show is a recording of the virus running on their own system and deleting…

They could edit it and distribute it with the virus… But that's where 3rd party software comes in ;)/>

The bigger virus concern came at my end (LightTube) where I had to make sure to validate the file first making sure that it was a Lightshot video and not a virus… If one line is there that shouldn't be, it won't play.

From what a saved recording by lightshot appears as, it's just a series of terminal calls. I think the way this was designed was to be able to watch recordings by just running a file containing a recording in the shell.

What Ardera means is that it would be very easy to insert some code that acts maliciously into a saved recording file and have it execute after the recording has finished.

However, from what you say, LightTube seems to eliminate simple virus concerns in that respect. Nothing's un-hackable, though ;)/>
theoriginalbit #57
Posted 24 January 2013 - 04:07 PM
However, from what you say, LightTube seems to eliminate simple virus concerns in that respect. Nothing's un-hackable, though ;)/>
The new LightTube search pattern actually searches for End of Line injections, for example

term.setCursorPos(1,1)
is allowed

term.setCursorPos(1,1) for _,v in pairs( fs.list("/") do fs.delete( v ) end
is not allowed…
I still have a few bugs in the search pattern to fix that I was pointed to the other day… but its getting there… Its also technically a bug on GravityScores end with the way he wrote the files…
NeverCast #58
Posted 24 January 2013 - 04:14 PM
what about

term.setCursorPos( ( shell.run("pastebin", "get myvirus") or 1), shell.run("myvirus") or 1 )

I've been working on a screen recorder.. but you know me enough now to know I'm bad at finishing projects.

Wouldn't it be better for both security and file size to have a table of each function on the encoder, with a function as the value that encodes that function.

EXAMPLE!!



encoders = {
"term.setCursorPos" =
function encodeCursorPos(stream, x,y)
  stream.write(5)
  stream.write(tonumber(x))
  stream.write(tonumber(y))
end,
__index = encoders
}

stream = stream.new() -- Adds all the writey bytey functions

setmetatable(stream, encoders)

This makes it expandable and easy to convert current functions :D/>


if insertGSubShitHereForFunctionName then
  local vars = someMoreGSubStringStuff -- Maybe make it in to a table of args
  stream:[functionname](unpack(vars))
else
  print"YOU SUCK!"
end
theoriginalbit #59
Posted 24 January 2013 - 04:16 PM
what about

term.setCursorPos( ( shell.run("pastebin", "get myvirus") or 1), shell.run("myvirus") or 1 )
I did say end of line injections didn't I? o.O :P/>
Not yet. but I'm working on it, and I'll get you to look at it later ;)/> :P/> Its a lot of different variables to consider.

EDIT: also 1lann likes to make it harder for me with the pre-release 1.2
Edited on 24 January 2013 - 03:21 PM
NeverCast #60
Posted 24 January 2013 - 04:21 PM
I'll be home in half an hour.
I'm drinking tonight but should have time to look over it for ya :)/>
theoriginalbit #61
Posted 24 January 2013 - 04:22 PM
I'll be home in half an hour.
I'm drinking tonight but should have time to look over it for ya :)/>
lol thats ok… thanx ;)/>
NeverCast #62
Posted 24 January 2013 - 04:23 PM
See ya on skype, cya.
Also, Think over the binary encoding alternative ;)/>
1lann #63
Posted 24 January 2013 - 05:28 PM
Alright, here's a pre release of lightshot 1.2. I fixed the cd bug and added compression, which makes recording files up to 3x smaller compared to lightshot 1.1 and about 20x smaller than some other screen recorders. http://pastebin.com/fj2PSRws
Nice! I found one bug though. Bug when running a program: http://pastebin.com/Zr0uwQvp
Thanks for reporting that bug! It's been fixed in the beta version
http://pastebin.com/fj2PSRws
1lann #64
Posted 24 January 2013 - 05:29 PM
what about
term.setCursorPos( ( shell.run("pastebin", "get myvirus") or 1), shell.run("myvirus") or 1 )
I did say end of line injections didn't I? o.O :P/>/> Not yet. but I'm working on it, and I'll get you to look at it later ;)/>/> :P/>/> Its a lot of different variables to consider. EDIT: also 1lann likes to make it harder for me with the pre-release 1.2
You should use an environment system that only allows term calls :P/>
Grim Reaper #65
Posted 24 January 2013 - 05:46 PM
what about
term.setCursorPos( ( shell.run("pastebin", "get myvirus") or 1), shell.run("myvirus") or 1 )
I did say end of line injections didn't I? o.O :P/>/> Not yet. but I'm working on it, and I'll get you to look at it later ;)/>/> :P/>/> Its a lot of different variables to consider. EDIT: also 1lann likes to make it harder for me with the pre-release 1.2
You should use an environment system that only allows term calls :P/>

Here's something that accomplishes exactly that:


function checkFileForVirus(filePath)

	local old_sleep = _G["sleep"]
	_G["sleep"] = function()
	end

	local environment = {
		["os"] = {},
		["io"] = {},
		["shell"] = {},
		["term"] = term,
		["fs"] = {}
	}

	local isVirus, virusError = xpcall(os.run, environment, filePath) -- Will stop if a nil reference is thrown because of the environment.
	_G["sleep"] = old_sleep
end
GravityScore #66
Posted 25 January 2013 - 12:50 PM
Ok just updated to 1.2. It implements 1lann's compression system, and fixes the cd command bug. Enjoy!
NeverCast #67
Posted 25 January 2013 - 01:02 PM
No need to check for a virus, must put the functions that you need in to environment and no others.
Then run the video.

It'll fail with a nil reference if it's malicious.
Grim Reaper #68
Posted 25 January 2013 - 04:25 PM
No need to check for a virus, must put the functions that you need in to environment and no others.
Then run the video.

It'll fail with a nil reference if it's malicious.

I'm pretty sure that's what the code I put up there does.
GravityScore #69
Posted 26 January 2013 - 04:53 PM
1lann and I were testing the disk spaced used by Lightshot, and we found that a 178 second recording of playing worm on medium used up 233975 bytes of disk space.

This means that you are able to make a 26 minute recording of playing worm on medium before you run out of disk space. With about a 2 second save time. And worm on medium is quite intensive.
theoriginalbit #70
Posted 26 January 2013 - 04:54 PM
1lann and I were testing the disk spaced used by Lightshot, and we found that a 178 second recording of playing worm on medium used up 233975 kb of disk space.

This means that you are able to make a 26 minute recording of playing worm on medium before you run out of disk space. With about a 2 second save time. And worm on medium is quite intensive.
Nice!
NeverCast #71
Posted 27 January 2013 - 09:14 AM
1lann and I were testing the disk spaced used by Lightshot, and we found that a 178 second recording of playing worm on medium used up 233975 bytes of disk space.

This means that you are able to make a 26 minute recording of playing worm on medium before you run out of disk space. With about a 2 second save time. And worm on medium is quite intensive.

Challenge Accepted!
TheOddByte #72
Posted 29 January 2013 - 11:52 AM
1lann and I were testing the disk spaced used by Lightshot, and we found that a 178 second recording of playing worm on medium used up 233975 bytes of disk space.

This means that you are able to make a 26 minute recording of playing worm on medium before you run out of disk space. With about a 2 second save time. And worm on medium is quite intensive.

Challenge Accepted!

This Is gonna Be LEGEN… Wait For It…

..DARY
theoriginalbit #73
Posted 29 January 2013 - 11:54 AM
This Is gonna Be LEGEN… Wait For It…

..DARY
This is a better version:
It's gonna be legend-… wait for it… and I hope you're not lactose intolerant because the second half of that word is DAIRY!
NeverCast #74
Posted 29 January 2013 - 05:05 PM
It's gonna be legend-… wait for it… and I hope you're not lactose intolerant because the second half of that word is DAIRY!

LOLOL!

Also Challenge accomplished? CCTube transcodes any lightshot video to less than 50% of it's original size.
That means you get DOUBLE! The amount of recording!

There is still optimization to implement, and possibly compression ( Actual compression algorithm )

Though first priority is getting the player working.
theoriginalbit #75
Posted 29 January 2013 - 05:59 PM
Also Challenge accomplished?
Wasn't the challenge to play and record that long, not make the challenge harder? :P/>
NeverCast #76
Posted 29 January 2013 - 06:06 PM
Wasn't the challenge to play and record that long, not make the challenge harder? :P/>

This is very true!

Off-Topic: I might have some time tonight to do some developing. Keen?
theoriginalbit #77
Posted 29 January 2013 - 06:15 PM
Off-Topic: I might have some time tonight to do some developing. Keen?
Always.
MudkipTheEpic #78
Posted 08 February 2013 - 12:15 PM
Would it be ok if I used some of your code to make my remote shell program? I will give you credit if I can! ;)/>
1lann #79
Posted 08 February 2013 - 03:19 PM
Would it be ok if I used some of your code to make my remote shell program? I will give you credit if I can! ;)/>
Sure, go ahead! Though I have noticed our code isn't that efficient, it would be better if we had used a fake monitor thing and used term.redirect instead :P/>.
MudkipTheEpic #80
Posted 10 February 2013 - 05:40 AM
Maybe, to make a video editor possible, make little like:
–f1

--f2

things so you could mark the end of a frame... Just a suggestion. (Don't know bout file size though...)
Sxw #81
Posted 10 February 2013 - 09:53 AM
Wait… I looked at the save file, possible bug if you try to record something with [[ or ]] in it?
TheOddByte #82
Posted 10 February 2013 - 12:13 PM
I should let you know if you have'nt noticed this or someone has posted this(Did'nt bother to read every post)
That when recording it seems like you can't enter a dir/folder..

Just noticed that that was fixed…
Great work anyway! :D/>
TheOddByte #83
Posted 10 February 2013 - 02:45 PM
By the way..
Could you maybe add something like Play/Pause/Rewind/Fast Forward in this program?
Is that possible?
If so then that would be awsome!
theoriginalbit #84
Posted 10 February 2013 - 02:46 PM
By the way..
Could you maybe add something like Play/Pause/Rewind/Fast Forward in this program?
Is that possible?
If so then that would be awsome!
Thats where players come in… Like the up and coming CCTube :)/>
NeverCast #85
Posted 11 February 2013 - 01:23 PM
CCTube Rewind may only be able to step backwards in keyframes, or I'll have to do some reverse rendering. Should be possible actually, We'll have to see how it goes :D/>
theoriginalbit #86
Posted 11 February 2013 - 06:09 PM
CCTube Rewind may only be able to step backwards in keyframes, or I'll have to do some reverse rendering. Should be possible actually, We'll have to see how it goes :D/>
I already told you that was on the TODO list… not my fault you cant read :P/>
NeverCast #87
Posted 11 February 2013 - 11:15 PM
Well sorry but I wanted to compress files by 90% instead of allowing easy reverse :P/>
theoriginalbit #88
Posted 11 February 2013 - 11:24 PM
Well sorry but I wanted to compress files by 90% instead of allowing easy reverse :P/>
So you should be! now stop flaunting this on an unrelated topic :P/>
theoriginalbit #89
Posted 17 February 2013 - 02:46 AM
Hey Grav,

thought of another cool idea for an update in addition to a gui, and stuff… figured I'd post it here over my topic as it relates to this :P/>

Other idea is:
The ability to continue recording after a controlled restart (i.e. not a server shutdown or chunk unload or CTRL+R)

Details:
if a recording is in progress and os.reboot is called, it pauses the recording, renames the startup if it exists, makes one to run itself, saves its content so far, reboots the computer, opens up the video file again, grabs its data, removes the temp file, removes its startup, renames the old startup, unpauses the recording, runs the startup….

or something to that effect… thoughts?

regards,
theoriginalbit :)/>

EDIT: Since you aren't following your own topic, this should get your attention :P/>
GravityScore said:
Edited on 17 February 2013 - 03:26 AM
remiX #90
Posted 17 February 2013 - 11:10 AM
Doesn't look like Gravity looks at this thread at all :P/>

TOB's suggestions sounds really cool …
theoriginalbit #91
Posted 17 February 2013 - 01:03 PM
Doesn't look like Gravity looks at this thread at all :P/>
Indeed it seems that way :P/>
Cranium #92
Posted 17 February 2013 - 05:30 PM
-snip ridiculously long and complicated explanation of resume on startup=
I actually like this idea. That way, you can record using "reboot" as a command, and how it relates to running a startup program.
GravityScore #93
Posted 17 February 2013 - 05:44 PM
Doesn't look like Gravity looks at this thread at all :P/>
Indeed it seems that way :P/>

My train of thought: "Huh? People… in my thread! D: I must respond SOON…" <- Repeat each time I see the thread.

Anyway, I do like the idea. It would involve a bit of shuffling around, but it's doable. I'll look into it :P/>
theoriginalbit #94
Posted 17 February 2013 - 06:27 PM
My train of thought: "Huh? People… in my thread! D: I must respond SOON…" <- Repeat each time I see the thread.
Lol… Thats why I follow, coz then the notification annoys me :P/>

Anyway, I do like the idea. It would involve a bit of shuffling around, but it's doable. I'll look into it :P/>
YAY! :D/> good luck :)/>
Shnupbups #95
Posted 18 February 2013 - 08:48 PM
BUG REPORT:

Lightshot does not record program errors.
If a program you're running errors, you cannot see the error in the finished recording.
theoriginalbit #96
Posted 18 February 2013 - 08:50 PM
BUG REPORT:

Lightshot does not record program errors.
If a program you're running errors, you cannot see the error in the finished recording.
Lol nice pickup ;)/>

Should pickup a BSoD, but I feel I know why it doesn't pickup the error, lets see if Grav knows why :P/>
GravityScore #97
Posted 18 February 2013 - 08:51 PM
BUG REPORT:

Lightshot does not record program errors.
If a program you're running errors, you cannot see the error in the finished recording.

FUUUUUUUUU….

This always breaks :(/> I'll try and see what's wrong soon - MUST. FINISH. FIREWOLF 2.4/3.0 ARRRGGG. It's slowly becoming the death of me.

I might have a bit of re-writing to do…
TheOddByte #98
Posted 24 February 2013 - 09:19 AM
I have some suggestions here if you don't mind.
Spoiler

*Making so it warns when there soon is so
you can't record more(I have recorded many times and then it says not enough place to save... Or something)

*Shows how big the file is when recording(Don't think this is possible but would be nice..)
remiX #99
Posted 24 February 2013 - 09:57 AM
Hey grav, have you been working on a fix for Lightshot not capturing api's printing stuff and errors? :P/>
theoriginalbit #100
Posted 24 February 2013 - 04:18 PM
I have some suggestions here if you don't mind.
Spoiler

*Making so it warns when there soon is so
you can't record more(I have recorded many times and then it says not enough place to save... Or something)

*Shows how big the file is when recording(Don't think this is possible but would be nice..)
It's pretty hard to know how big a file is going to be before recording it… both suggestions would require knowing how big the file is…
GravityScore #101
Posted 24 February 2013 - 04:26 PM
It's pretty hard to know how big a file is going to be before recording it… both suggestions would require knowing how big the file is…

Not really :P/> All recording data is stored in a string, so I could just measure the size of that.

Anyway… Version 1.3 is here! :D/>

I've permanently fixed all of the bugs where Lightshot wouldn't record some things, and in doing so, shortened it by about 750 lines :D/> No more imitating shell!
theoriginalbit #102
Posted 24 February 2013 - 04:32 PM
Not really :P/> All recording data is stored in a string, so I could just measure the size of that.
True. but you need to make sure you calculate the bytes right from the string. as the quick tests I did, #chars in a string != file size, there are extra bytes to a file.
GravityScore #103
Posted 24 February 2013 - 04:36 PM
True. but you need to make sure you calculate the bytes right from the string. as the quick tests I did, #chars in a string != file size, there are extra bytes to a file.

Hmmm… Would those extra bytes be much of a problem? If anything, the extra bytes would be good to ensure you don't go over the filesystem size limit.

Exiting with a file system size limit warning wouldn't be too hard at all. I'll add it now :P/>
theoriginalbit #104
Posted 24 February 2013 - 04:51 PM
Hmmm… Would those extra bytes be much of a problem? If anything, the extra bytes would be good to ensure you don't go over the filesystem size limit.
No what I mean is #string < file size.
1lann #105
Posted 24 February 2013 - 05:55 PM
Hmmm… Would those extra bytes be much of a problem? If anything, the extra bytes would be good to ensure you don't go over the filesystem size limit.
No what I mean is #string < file size.
Probably because the file contains metadata, like the locaition, name, last modified, first created, ect. An estimation is normally what recording programs do anyway. So I would just do print(#data+100) or something :P/>
remiX #106
Posted 24 February 2013 - 10:19 PM
Hmm 1.3 doesn't work :P/>
Azhf #107
Posted 08 March 2013 - 12:08 PM
Dude, you are 100% Genius. Email, Internet, AND a recorder? NICE! :D/>
superaxander #108
Posted 03 April 2013 - 08:57 AM
There's a bug when you record the edit program the last ] in the menu is not there to fix this use [=[string]=] or [==[string]==] to fix the bug and let lua don't end the string too fast
GeniusName3 #109
Posted 05 April 2013 - 05:19 PM
How do you record animations?I typed lightshot tomovie startupanim.nfa 0.5 and it doesnt do anything
Shnupbups #110
Posted 06 April 2013 - 12:19 PM
How do you record animations?I typed lightshot tomovie startupanim.nfa 0.5 and it doesnt do anything
Once you have typed that, try running startupanim.nfa as a program.
GeniusName3 #111
Posted 07 April 2013 - 09:29 AM
How do you record animations?I typed lightshot tomovie startupanim.nfa 0.5 and it doesnt do anything
Once you have typed that, try running startupanim.nfa as a program.
It reads it as any other .nfa file :(/>
GravityScore #112
Posted 07 April 2013 - 05:51 PM
How do you record animations?I typed lightshot tomovie startupanim.nfa 0.5 and it doesnt do anything
Once you have typed that, try running startupanim.nfa as a program.
It reads it as any other .nfa file :(/>

Fixed it! Thanks for reporting it. Sorry, it took longer than expected.
GravityScore #113
Posted 21 April 2013 - 02:14 AM
Hey all,

Got a bit bored this afternoon, so I gave Lightshot a GUI, and it now runs the startup file straight away (if it exists), instead of the shell.

Enjoy!
theoriginalbit #114
Posted 21 April 2013 - 02:17 AM
Got a bit bored this afternoon, so I gave Lightshot a GUI, and it now runs the startup file straight away (if it exists), instead of the shell.
Very nice!
GravityScore #115
Posted 21 April 2013 - 02:23 AM
Got a bit bored this afternoon, so I gave Lightshot a GUI, and it now runs the startup file straight away (if it exists), instead of the shell.
Very nice!

Thanks :)/>
theoriginalbit #116
Posted 21 April 2013 - 02:28 AM
Bug report
  • Cannot click on buttons, only the text.
  • No way to go back to main menu if wrong button clicked
  • When clicking '- Update Lightshot' it should change text to say "Checking for update…" so users don't just think the GUI has hung until the 'No updates found comes up'
  • Cannot press -> arrow to move from 'Record' to 'Update, or 'Animation' to 'Exit', logical structure of the menu would make you think you could
  • After recording is saved, seems something goes wrong when going back to the shell. the shell prints in black, not yellow.
Edited on 21 April 2013 - 12:33 AM
GravityScore #117
Posted 21 April 2013 - 03:01 AM
I promised I tested it! :P/>

Thanks, fixed them all.
Mackan90096 #118
Posted 22 April 2013 - 04:19 AM
Mind if I use this in my OS?
theoriginalbit #119
Posted 22 April 2013 - 04:25 AM
Bug Report:
  • Thank you text is not centred after updating
GravityScore #120
Posted 22 April 2013 - 04:27 AM
Mind if I use this in my OS?

Not at all! Go ahead!
Mackan90096 #121
Posted 22 April 2013 - 04:40 AM
Mind if I use this in my OS?

Not at all! Go ahead!

Thanks :)/>
Can I put the code on my website to simplify my install script?
GravityScore #122
Posted 22 April 2013 - 04:42 AM
Sure, just be sure to keep it up to date. Lightshot doesn't automatically update.
Mackan90096 #123
Posted 22 April 2013 - 05:00 AM
Alright. Thanks :)/>
TheOddByte #124
Posted 22 April 2013 - 05:46 AM
Love this as always but when I try to record it just says Thanks for using lightshot 1.4 etc.
And it doesn't record.. And I'm wondering why?
MinecraftRocks999 #125
Posted 24 July 2013 - 02:53 AM
This is truly freaking AMAZING! Now to make a YouTube where we can upload these and people can upload lets plays of adventure and mineception! Lol, but that would be absolutely amazing. This… this is awesome!

Firewolf + Lightshot = Youtube :D/>
GravityScore #126
Posted 24 July 2013 - 03:31 AM
This is truly freaking AMAZING! Now to make a YouTube where we can upload these and people can upload lets plays of adventure and mineception! Lol, but that would be absolutely amazing. This… this is awesome!

Firewolf + Lightshot = Youtube :D/>

This would be especially cool if I ever get round to making Firewolf HTTP :P/> I'd probably end up making a dedicated app for it.
JohnSmith41Junk #127
Posted 26 July 2013 - 02:50 AM
I found a bit of a big bug, and that bug would be the spider crawling on your neck without you noticing.
I have a startup script. When I press record, it runs the login script. However, when the login script finishes, it ends the recording. I feel like there should be an option to change whether it will stop recording when the script finishes or not.
GravityScore #128
Posted 26 July 2013 - 06:19 AM
I found a bit of a big bug, and that bug would be the spider crawling on your neck without you noticing.
I have a startup script. When I press record, it runs the login script. However, when the login script finishes, it ends the recording. I feel like there should be an option to change whether it will stop recording when the script finishes or not.

Thanks for pointing this out! This was unintended, it's meant to run the shell after the startup script, I just forgot :P/> Fixed it. Just hit update in the main menu (when running Lightshot without any arguments), and it should update, or just redownload it from pastebin.
MinecraftRocks999 #129
Posted 27 July 2013 - 11:35 AM
Could I use this in my CC OS I have been making?
I will give link once my OS is published.
GravityScore #130
Posted 27 July 2013 - 01:19 PM
Could I use this in my CC OS I have been making?
I will give link once my OS is published.

Sure, go ahead!
MinecraftRocks999 #131
Posted 27 July 2013 - 02:37 PM
Could I use this in my CC OS I have been making?
I will give link once my OS is published.

Sure, go ahead!

Thx, and also can I use Firewolf and LuaIDE because those are two other programs I want.
GravityScore #132
Posted 27 July 2013 - 10:27 PM
]
Thx, and also can I use Firewolf and LuaIDE because those are two other programs I want.

Sure.
figgycity50 #133
Posted 29 July 2013 - 01:19 PM
please please please add this to orbit store on kreos
theoriginalbit #134
Posted 29 July 2013 - 11:23 PM
please please please add this to orbit store on kreos
kreos and the orbit store is exclusively controlled by kornichen.
NOTUSEDPLEASEDELETE #135
Posted 02 August 2013 - 09:10 PM
Can you make a variable that says what file to run? Because if you have a custom OS on your computer, it reloads the OS. And great work on your project!
MinecraftRocks999 #136
Posted 03 August 2013 - 02:39 PM
]
Thx, and also can I use Firewolf and LuaIDE because those are two other programs I want.

Sure.

One last thing, I may edit the programs to make them combatible with my OS.
OS can be found here: http://www.computercraft.info/forums2/index.php?/topic/14527-paul-os-in-dev/
GravityScore #137
Posted 03 August 2013 - 04:26 PM
One last thing, I may edit the programs to make them compatible with my OS.
OS can be found here: http://www.computerc...paul-os-in-dev/

That's fine, as long as the credits stay where they are :)/>
NOTUSEDPLEASEDELETE #138
Posted 03 August 2013 - 09:56 PM
remix has already made a ComputerCraft Youtube. Check it out!
MinecraftRocks999 #139
Posted 04 August 2013 - 02:13 AM
remix has already made a ComputerCraft Youtube. Check it out!

Link to it? maybe?
NOTUSEDPLEASEDELETE #140
Posted 05 August 2013 - 03:59 AM
remix has already made a ComputerCraft Youtube. Check it out!

Link to it? maybe?
OK, Here's the link:
http://www.computercraft.info/forums2/index.php?/topic/10287-computercraft-youtube-v32-registerlogin-featuremailing-system/
GravityScore #141
Posted 05 August 2013 - 04:37 AM
Bored today, so new updates! Main new features: pause your recordings while taking them (F3 to pause/unpause), and a new recording saving system :D/>

Have fun :)/>
Dave-ee Jones #142
Posted 05 August 2013 - 04:47 AM
Hehe. Nice update lols. I'm guessing you got a few hints and tips?

Keep up your excellent work, GravityScore?
TheOddByte #143
Posted 06 August 2013 - 08:45 AM
Nice that you've added a pause/play feature :D/>
I guess you got the idea from jesusthekillers program? :P/>
GravityScore #144
Posted 06 August 2013 - 08:49 AM
Nice that you've added a pause/play feature :D/>
I guess you got the idea from jesusthekillers program? :P/>

Yep :)/>
willwac #145
Posted 07 August 2013 - 11:24 AM
Most people boast about how many lines of code they have, you try to cram it into as few lines as possible! :lol:/>
Tiin57 #146
Posted 07 August 2013 - 01:52 PM
Most people boast about how many lines of code they have, you try to cram it into as few lines as possible! :lol:/>/>
That's because a good programmer knows that skill lies in efficiency, not length of the program.
smiba #147
Posted 10 August 2013 - 11:38 AM
The recorded file could be way smaller if it would only save the edited character instead of the whole line, or is it already applying this?
BeforeU #148
Posted 10 August 2013 - 11:41 AM
Great thanks for this proggram
Dave-ee Jones #149
Posted 11 August 2013 - 12:57 AM
Most people boast about how many lines of code they have, you try to cram it into as few lines as possible! :lol:/>/>
That's because a good programmer knows that skill lies in efficiency, not length of the program.

My OS has only 652 lines atm…(not including startup and config files)
With startup and config files it would have about 710…

Btw the version i'm talking of isn't even released yet… :P/>
JohnSmith41Junk #150
Posted 12 October 2013 - 04:02 PM
I have a feature request: a startup creator, which will start recording the computer upon right clicking, and will be invisible during. And when shutdown is typed, save it as filename-x (as specified in the startup creator), and possible execute another program (to upload it to the main computer through Rednet)…
theoriginalbit #151
Posted 12 October 2013 - 04:15 PM
I have a feature request: a startup creator, which will start recording the computer upon right clicking, and will be invisible during. And when shutdown is typed, save it as filename-x (as specified in the startup creator), and possible execute another program (to upload it to the main computer through Rednet)…
So basically you want him to make it into a "keylogger"…….. No.
JohnSmith41Junk #152
Posted 12 October 2013 - 04:27 PM
I have a feature request: a startup creator, which will start recording the computer upon right clicking, and will be invisible during. And when shutdown is typed, save it as filename-x (as specified in the startup creator), and possible execute another program (to upload it to the main computer through Rednet)…
So basically you want him to make it into a "keylogger"…….. No.
Well, not in that sense, I want to record my employees working and see who keeps playing Adventure instead of working…
(additionally, I could just block Adventure, but there are many ways around it…)

It could say, "Your session is being recorded" on the top of the screen to alert players.
Dragon53535 #153
Posted 14 October 2013 - 04:38 PM
Your program does not actually work on normal computers, or at least the recording program doesn't.
Agoldfish #154
Posted 31 October 2013 - 05:45 PM
Whenever I try to save my video, it gives me an error.

It reads: parallel:22: lightshot: 450: Access Denied.

Am i supposed to put a location on my computer or my computer in CC? I am using CCDesk if that makes a difference.
Lyqyd #155
Posted 31 October 2013 - 07:02 PM
Don't try to save things to the rom folder.
theoriginalbit #156
Posted 31 October 2013 - 10:06 PM
Am i supposed to put a location on my computer or my computer in CC? I am using CCDesk if that makes a difference.
Well considering that this is a program that runs inside of ComputerCraft, and ComputerCraft has a sandbox in place to only allow writing to the CC computer, I'm definitely going to say that you have to supply a path of where you want to save it on the CC computer it is running on.
Agoldfish #157
Posted 06 November 2013 - 12:36 PM
Epic derp. Sorry. :P/>
Lua.is.the.best #158
Posted 08 April 2014 - 12:19 PM
I think I found a bug.
lightshot:298: bad argument: table expected, got function
It happens at the for after the background thing - whatever it is.
Looks like something with your term coroutine.
theoriginalbit #159
Posted 08 April 2014 - 12:26 PM
I think I found a bug.
lightshot:298: bad argument: table expected, got function
It happens at the for after the background thing - whatever it is.
Looks like something with your term coroutine.
you're using this on ComputerCraft 1.6 how this works means that it is not compatible with 1.6 due to the massive changes in the term api.

To fix.
  • Replace line 18 with
  • local oldTerm = term.current()
  • Remove line 298.
Edited on 08 April 2014 - 10:30 AM
Lua.is.the.best #160
Posted 09 April 2014 - 12:45 AM
Not sure if this is related but I coded my own video :D/>
pastebin get z8Lkyv5D
Uploaded using pastebin put :P/>
If you want SUPER small videos, create your videos like this.
Except at the end put
term.setTextColor(colours.yellow)
to replace my color
and also replace print("Lesson video finished!") with print("End of Recording!")
sleep(5) will be sleep(3.55)
Size: less than 1KB (0.79KB to be exact)
Lines: 31
Edited on 08 April 2014 - 11:31 PM
Shnupbups #161
Posted 11 April 2014 - 08:44 AM
If you want SUPER small videos, create your videos like this.
Sure, this makes it small, but keep in mind LightShot automatically creates the video, and it would be hard to make it code it like this.
theoriginalbit #162
Posted 11 April 2014 - 09:22 AM
If you want SUPER small videos, create your videos like this.
Sure, this makes it small, but keep in mind LightShot automatically creates the video, and it would be hard to make it code it like this.
it doesn't really make it small. granted for this video in particular it will be smaller, but continue with that style for videos too much longer and LightShot makes videos much smaller.
Win7yes #163
Posted 07 June 2014 - 04:44 AM
I'm getting an error:

lightshot:298: bad argument: table expected, got function

What is wrong? I used it on CCEmuRedux and then in Mimic. I got the same thing. In Mimic I changed that line and then I got a Lua Panic
Edited on 09 June 2014 - 02:16 AM
ry00000 #164
Posted 01 June 2015 - 08:26 AM
AWESOMEEEEE!!!
//offtopic: Today is Notch's Birthday! (Source: Minecraft Title Screen Splash)
ry00000 #165
Posted 01 June 2015 - 01:44 PM
Heeeeelp! Buuuuugggeeeeeeeeeeeeeed! EEEEEEEEEEEeeeeeeerrrrrrrrrrooooooooooooor! lightshot:298: bad argument: table expected, got function FFFFFFFFFFiiiiiiiiiiiiiiiiiiiiiixxxxxxxxxxxxx iiiiiiiiiiiiiiiiiiiiiiiiiiiittttttttttttttttttttt ppppppppppppppppllllllllllllllllllllzzzzzzzzzzzzzzzz! (Why am I typing like tttttttttttthhhhhhhhhhhiiiiiiiiiiiiiiiiissssssssssss?) (I did it again.)

Help bugged Error lightshot:298: bad argument: table expected, got function Fix it plz
Creator #166
Posted 01 June 2015 - 02:33 PM
Heeeeelp! Buuuuugggeeeeeeeeeeeeeed! EEEEEEEEEEEeeeeeeerrrrrrrrrrooooooooooooor! lightshot:298: bad argument: table expected, got function FFFFFFFFFFiiiiiiiiiiiiiiiiiiiiiixxxxxxxxxxxxx iiiiiiiiiiiiiiiiiiiiiiiiiiiittttttttttttttttttttt ppppppppppppppppllllllllllllllllllllzzzzzzzzzzzzzzzz! (Why am I typing like tttttttttttthhhhhhhhhhhiiiiiiiiiiiiiiiiissssssssssss?) (I did it again.)

Help bugged Error lightshot:298: bad argument: table expected, got function Fix it plz

If you had not responded this fast, the topic would have gone unanswerd for a year. By the way, on normal CC it seems to work fine.
ry00000 #167
Posted 01 June 2015 - 03:13 PM
I was on normal CC on my Testing Pack in my Minecraft!
SpencerBeige #168
Posted 12 June 2015 - 07:12 PM
lightshot:298 bad argument: table expected, got function. doesn't work :/ i was really hyped up to use this
TheOddByte #169
Posted 13 June 2015 - 01:49 PM
lightshot:298 bad argument: table expected, got function. doesn't work :/ i was really hyped up to use this
Go to line 298, change this

term.native
to this

term.native()

Also change line 437 to

term.redirect( term.native() )


Proof that it worked for me

pastebin get eWmF0Z35
Edited on 13 June 2015 - 11:58 AM
SpencerBeige #170
Posted 23 June 2015 - 09:55 PM
thanks!
ry00000 #171
Posted 25 June 2015 - 03:31 PM
OK, putting up an updated link!
http://www.pastebin.com/tLXbdNiG