Oscam Launcher is an application that will make life easier if you use Oscam on windows.
To install the launcher, just extract the contents of the zip file to the same folder of oscam.exe and oscam configuration files.
The main features are :
- Run Oscam hidden. The application will run in background with an icon on the systray.
- Allows you to update Oscam to the latest version with only one click.
This will download the latest Oscam from the tekreaders website, extract it and replace the existing
“oscam.exe”. A backup will be created before overwriting the file.
- Allows to start Oscam with a defined debug level.
- Allows to restart Oscam automatically on crashes.
- Allows to restart Oscam every X hours.
- Allows to install Oscam as a Windows service.
This option uses nssm (Non Sucking Service Manager – http://nssm.cc/) which will monitor the oscam process and restart it automatically when it crashes.
If you like my free work, please consider making a donation and help me pay for the hosting and all the coffee and beer I drink developing this free software.
For suggestions or bug reports please make a comment below.
Download Oscam Launcher (469.1 kB)
Version 1.1
- Fixed bug in Oscam updater algorithm.
- Add option to start Oscam automatically when OscamLauncher is executed.
- Add option to install Oscam as a Windows service using nssm (Non Sucking Service Manager).
- Configuration is now saved to OscamLauncher.ini.
- Some minor GUI changes.

OscamLauncher


G’day,
I compile my own oscam and noticed that the configs have to be in the same Directory as the launcher when using windows oscam & windows launcher. would be nice if maybe the Oscam launcher would force the config directory to match windows oscam directories.
Maybe utilising the -c ./conf/ command. Or allow some extra setting within Oscam launcher to set locations of… /bin /conf /tmp etc.
Also I can not code but would like to maybe see if your interested in making an all round Oscam Launcher Program with Extra’s
Something TAB based.
Tab 1 = Oscam Launcher
Tab 2 = Oscam Config Editor (with option to specify the conf directory and open all files in it)
Tab 3 = Oscam Monitor – like the existing one around displays similar to WEBIF. (with ability to stop/start as not to use all system resources) Saves having to open a webpage each time to see everything is going, simply all housed in the one program, by all means link to open the webif on a button for thoses who prefer it.
Tab 4 = Oscam Utilitys – more can be added later…
Tab 4
——–
Utilitys – EMM/ECM sender – connects to oscam as a user with AU ability (set in oscam.user) allowing user to manually send emm & ecms to oscam thats they may have missed or for playing purposes. Obviously with a WARNING this should only be used by the proffessional. LOL
I have another request but above is oscam based utility/program I would like you to undertake.
i am availble on MSN – disisdavo@hotmail.com if you wish to talk further.
I am more that happy to create a form based example of what i mean – with no code behind obviously lol. it will give you a visual of what i mean.
Davo
I will take those suggestions under consideration for the next version.
Thank you for the feedback.
program is perfect , thx !!
Hi Guys,
Can not get it to work…
[11/03/2012 12:59:51] – ERROR – Unable to check latest version.
[11/03/2012 12:59:53] – Starting “oscam.exe”…
[11/03/2012 12:59:53] – Oscam is running!
[11/03/2012 12:59:53] – Next restart at 12/03/2012 06:00:00
[11/03/2012 12:59:53] – Cannot open config file ‘./oscam.conf’ (errno=2 No such file or directory)
[11/03/2012 12:59:53] – Oscam is stopped!
[11/03/2012 12:59:53] – Oscam has crashed!
[11/03/2012 12:59:53] – Restarting Oscam!
[11/03/2012 12:59:53] – Starting “oscam.exe”…
[11/03/2012 12:59:53] – Oscam is running!
[11/03/2012 12:59:53] – Next restart at 12/03/2012 06:00:00
[11/03/2012 12:59:54] – Cannot open config file ‘./oscam.conf’ (errno=2 No such file or directory)
[11/03/2012 12:59:54] – Oscam is stopped!
[11/03/2012 12:59:54] – Oscam has crashed!
[11/03/2012 12:59:54] – Restarting Oscam!
[11/03/2012 12:59:54] – Starting “oscam.exe”…
[11/03/2012 12:59:54] – Oscam is running!
[11/03/2012 12:59:54] – Next restart at 12/03/2012 06:00:00
[11/03/2012 12:59:54] – Cannot open config file ‘./oscam.conf’ (errno=2 No such file or directory)
[11/03/2012 12:59:54] – Oscam is stopped!
[11/03/2012 12:59:54] – Oscam has crashed!
[11/03/2012 12:59:54] – Restarting Oscam!
[11/03/2012 12:59:54] – Starting “oscam.exe”…
[11/03/2012 12:59:54] – Oscam is running!
[11/03/2012 12:59:54] – Next restart at 12/03/2012 06:00:00
[11/03/2012 12:59:54] – Cannot open config file ‘./oscam.conf’ (errno=2 No such file or directory)
[11/03/2012 12:59:54] – Oscam is stopped!
[11/03/2012 12:59:54] – Oscam has crashed!
[11/03/2012 12:59:54] – Restarting Oscam!
[11/03/2012 12:59:54] – Starting “oscam.exe”…
[11/03/2012 12:59:54] – Oscam is running!
[11/03/2012 12:59:54] – Next restart at 12/03/2012 06:00:00
[11/03/2012 12:59:54] – Cannot open config file ‘./oscam.conf’ (errno=2 No such file or directory)
[11/03/2012 12:59:55] – Oscam is stopped!
[11/03/2012 12:59:55] – Oscam has crashed!
[11/03/2012 12:59:55] – Restart on crash was disabled because oscam was very unstable, it crashed 5 times in the last minute.
any ideas?
The config files must be in the same folder of oscam.exe and OscamLauncher.exe.
In the next version I will be allowing the user to select the location of the config files.
@Xewonder
My files are in the following Directory.
C:\Program Files\OScam\conf\ <– in here
I get the same error using my own compiled version if i try and place files in any other directory.
So place lanucher.exe, oscam.* (all conf files) & oscam.exe in the CONF dir and run it from there. works fine for me.
I get…
[18/03/2012 5:45:33 PM] – New build #6540 is now available for update!
[18/03/2012 5:45:35 PM] – Starting "oscam.exe"…
[18/03/2012 5:45:35 PM] – Oscam is running!
[18/03/2012 5:45:35 PM] – Next restart at 19/03/2012 6:00:00 AM
[18/03/2012 5:45:45 PM] – Stoping "oscam.exe"…
[18/03/2012 5:45:45 PM] – Oscam is stopped!
[18/03/2012 5:45:46 PM] – Starting "oscam.exe"…
[18/03/2012 5:45:46 PM] – Oscam is running!
[18/03/2012 5:45:46 PM] – Next restart at 19/03/2012 6:00:00 AM
Davo
Nice utility. Couple of comments. I’d really like this to have the option of running as a service to avoid a user having to log on to start the oscam launcher. I have been using the launcher by Rhys Goodwin but the one problem I have with this is that oscam can randomly drop out and the service wrapper doesn’t always pick this up, so the windows service keeps running but the oscam process can fail (which then causes issues with WAF!).
if your launcher could have the option of creating a bomb-proof service wrapper around oscam, but keeping all your debugging options etc, that would be perfect.
thanks again for the windows builds of oscam – they are a lifesaver!
Ola vocês estão de parabéns
Programa show de bola
Só um pergunta!
Gostaria de saber se a oscam fechar do nada se ele reinicia ela automaticamente?
Greetings. Launcher works great. When would be a new version?
thanks
Hi.
Would be possible that new Oscam Launcher version can works without to pulse “Start” button?
This option would be very good to start Oscam Launcher automatically at Windows startup.
Greetings
Hi, Is it possible to make it as a service in windows 7 so the launcher can starting Oscam without the need to login?
Keep up the good work
great app but would be nice if it could tell when a reader has changed to status off and restart so say if its not actually sending a valid ecm it would restart itself. For the issue that if it crashes it keeps restarting until its good instead of giving up after x amount of times
Other than these 2 minor issues keep up the great work much apreciated
Like Micoo says running the launcher as a service would be nice.
In fact it seems already possible:
http://blog.rhysgoodwin.com/windows-desktop/service-wrapper-for-oscam/
Perhaps you can take a look at that solution to find a way to implement this in OscamLauncher as well.
I run service-wrapper today in win 7 but the problem is that Oscam sometimes shutting down and service-wrapper can’t restart the Oscam and I have tried to change the service settings in win7 for oscam above services to restart if it is any problem but it seem to work.
With this launcher that can be restarted so would it be perfect if the launcher could be installed as a service.
I have a small computer today that is dedicated to Oscam and in bios I have choose that if the power fails should the computer restarting when the power is availible again and in this case Oscam need to starting without to login.
Great stuff!!
For a server, this is not a good solution though. Any smart card reader will drop out when logging in over RDP (even though if you disable smart cards on RDP settings). Running it as a service (oscamsvc) is a good solution. You should consider trying the same; A service with the launcher as a GUI controlling the service.
(Of course VNC etc. will avoid the RDP-based problems)
All works well, but I have an error message where the update button is and it can’t check if its the newest version any ideas?
Also as everyone has said auto start would be a good default option.
great app though
My Oscam Launcher unable to check the version of oscam.exe and not able to update latest version by clicking “Update Now” button on the Oscam Launcher.
Any advice?
Thanks.
This will be fixed in version 1.1.
Project dead?
No, the project is not dead.
I am working on a new version that will implement most of the features requested.
Version 1.1 development progress :
– Fixed bug in Oscam updater algorithm. – DONE
– Add option to start Oscam automatically when OscamLauncher is executed. – DONE
– Add option to install Oscam as a Windows service using nssm (Non Sucking Service Manager). – DONE
– Configuration is now saved to OscamLauncher.ini. – DONE
– Some minor GUI changes. – DONE
There is still some features that I am implementing :
– Change oscam.conf and set the output to a textfile when we are in service mode.
– Edit configuration files through GUI.
Great news!!
Thanks.
Hey Hugo Rosário
First, thanks for your good job
Second: is that there’s a possibility that you post source code for your “Oscam Launcher”
I want to learn to program like you
Thanks
Hallo Hugo,
super Programm. Wie fragst du einen Crash von Oscam ab?
Hi!
Any news as to when we can expect v1.1?
Thanks!
I am working on it right now.
Should be out before the weekend.
Version 1.1 is available for download.
Please test and leave your feedback here.
Hello Hugo
First of all thanks for the excellent work.
I have 4 lines running in windows OSCAM:
1st line Newcamd 100%
2nd row 100% cccam 2.0.11
3rd line cccam 2.1.1 100%
4th row cccam 2.2.1 0%
The 4th line runs one minute and then loses the connection, returning the past 3 to 4 minutes.
I’ve tried several builds but it’s all the same, except this line (2.2.1) works without problem in the program qulquer Hdvb or Faust.
And what emerges is this:
p tcp_conn_close (): fd = 4, cl-> typ == ‘p’ 0 is_udp
‘
p tcp_conn_close (): fd = 0, cl-> typ == ‘p’ 0 is_udp
I have used this new version but without success, anyway thanks
p tcp_conn_close (): fd = 4, cl-> typ == ‘p’ 0 is_udp
‘
p tcp_conn_close (): fd = 0, cl-> typ == ‘p’ 0 is_udp
Rgds
And what emerges is this:Anular ediçõesDicionárioGoogle Tradutor para Empresas:Ferramentas do Google TradutorTradutor de Web sitesGlobal Market FinderDesactivar tradução instantâneaAcerca do Google TradutorTelemóvelPrivacidadeAjudaEnviar comentários e opiniões
Make sure that line is not being used by any other client.
When you have multiple clients connecting with the same user account you get that error.
Hello Hugo
For yes for not, I spoke with my friend who gave up me the line (cccam 2.2.1) what he tells me, which user, and pass that it is completely ok nothing has repeated.
I have also a friend with several lines, being that 2 of them to the end of some time also lose the connection.
Is what I know, that this line in the programs Hdvb and Luxury works without any problem?
I already read in several forums this problem, tcp conn_close ‘p’ is udp 0!, but I did not come to any conclusion.
Thanks because of answering
Rgds
Hi Hugo
I had a crash and did not restart the program for it
I am not sure what you are talking about but I will assume it is something about the feature that automatically restarts oscam on crashes. If that is the problem then you need to give me more information.
Thanks for the such good program..
May I know where to find the .ini file for the configuration?
The ini is created on the same folder of OscamLauncher.exe and it´s called OscamLauncher.ini.
It will be automatically created when you change any of the options.
Install service dosent seem to be working for me. I klick the button, the program restarts but I cant find any indication of a new service running.
I’m running win7 64bit.
//Simon
Hello Simon, after clicking “Install Service” the program will restart and the button name should now be called “Uninstall Service”.
You will also view this message on the log text box : “[08-08-2012 03:06:45] – Oscam is installed as a service and logging to file : C:\oscam\\oscam.log”
After installing as service it should look like this picture here.
You can also open the windows service manager (services.msc) and check the status of “OscamSVC”.
Install service is not working for me either on Windows 8 (x64 release preview).
Clicking Install Service only restarts Oscam (button doesn’t change).
Hopefully an easy fix because this is a great addition to Oscam!
I have not tested this on Windows 8 yet. Make sure you execute Oscam with administrator rights because you will probably need that to install a service.
I promise I will install Windows 8 on a virtual machine and test Oscam and OscamLauncher on it soon.
I was sure I’d tried running as admin with no luck but I tried again and it installed!
Thanks
Hi again Mark.
I am glad to ear that you have accomplished your objective.
Can I assume that Oscam Launcher is working 100% on Windows 8?
Hugo,
Yes, its working on Windows 8 but since installing as a service there is no icon in the systray (behaviour set to show icon and notifications).
When using OscamLauncher there are two instances of Oscam running in task manager, is this normal? I don’t recall seeing it before (if running Oscam directly there is only one process).
Regards
Ps I’ll be sending a coffee your way soon (hope you like the cheap stuff
I recently had issues where Oscam launcher suddenly stopped working with a cygusb-1.0.dll missing error but the latest Cygwin dll’s solved this and now Oscam launcher appears in the windows 8 systray.
Pingback: OscamLauncher v1.1 has been released. « General « tek.readers
Hello,
my problem with v1.1 is that it doesnt start because of “cygusb-1.0.dll is missing”. I never had this system error before with v1.0, but now, even if I switch back to v1.0, the error stays. What can I do? Please help. Many thanks.
Problem solved. Fixed in Oscam 7270.
Hi, im new to using your build, and to be honest its just waht i was looking for….is it possilbe to still see the active logging in the launcher window , whilst it has been installed as a service….i would like the benifit of the crash monitoring as a service but also be able to view whats going on in active window of the launcher…rather than openning a log file.txt…..is this possible?
and thankyou again for your hard work…
Hello, this is a feature that I will try to implement on the next version.
The crash monitoring embedded in OscamLauncher only works if running as a normal windows process.
If you are running as a service, the service manager (NSSM) will be responsible for restarting Oscam automatically when it crashes.
I dont know why, but my OScam is unstable, my peers are allways connecting and disconecting and others cannot connect, but in Ubuntu it works fine…i dont know whats the problem…i allready deactivated the firewall and the problem continues..PLEASE HELP!!!
Hi, great program but for some reason oscam crashes after 3-5 minutes the maximum i have had it working is 15 minutes i guess. Any idea why this is ?
Thanks again
Can you add a commnd-line option to start it minimized to tray?
Suggestion accepted for the next release.
Hi Hugo,
I have a little bug report for you – on Windows 7 64-bit, when running oscam as a service, it takes a long time to start and stop the service. It’s like the launcher is waiting for the service to start/stop, but fails to discover that the service has done so and just times out. When I monitor the service, it’s actually quite fast to start and stop, but the launcher doesn’t detect it properly.
Otherwise great tool
Hi,
When I try to update oscam to the latest build, I get below error message, how can i fix this?
[11-11-2012 7:59:16] – Downloading latest build…
[11-11-2012 7:59:17] – Creating backup of oscam to “oscam.exe_5691″
[11-11-2012 7:59:17] – Extracting new build…
[11-11-2012 7:59:17] – ERROR – unable to extract new build!
[11-11-2012 7:59:17] – New build #7891 is now available for update!
Thanks for any help.
Have you checked that oscam is not running? In that case, it won’t be able to replace the .exe file, because it is in use.
Good job first of all… This is just what i am looking for!!
I can’t seem to make it restart on the time i have set… I set it to restart every 12th hour starting at 15:00 but nothing happens, any ideas why? It’s not even trying… Do i need to save theese settings somehow?
Also i get “error locating latest version”… The update function works great but it can’t figure out what version i’m currently running… This is no problem off course, just asking if you have any idea why?
Thank’s again and I promise à donation if you can help set the auto restart!!
Also here after update to r8241 “Error checking current version”
Rgrds
Compufun
Will be fixed in version 1.2
The program will not install as a service for me and it’s not restarting on chrash.
When I press “install service” the text doesn’t change to “uninstall service” but the program starts anyway….
Has anyone had this problem and figured out a solution? I am running Win 7… Do I have to allow anything in Windows?
Solved my own problem by running Launcher as admin…. Sometimes you should read previous threads before posting a new one…