Post

Compile OScam with SimpleBuild Script (2020 Edition)

Simplebuild script simplifies compiling OScam for different platforms. It is made by user “Gorgone” from StreamBoard forum. Now you can easily make OScam binaries for popular ARM, MIPSel (Vu+, Dreambox, Xtrend, Gigablue, Clarke-Tech) or SH4 receivers. There are also toolchains for other platforms like routers, RaspberryPi, x64/x86, etc. I decided to test this script and test-compiled two binaries, one for my OMV (Debian) server and one for my Vu+ Duo4 satellite receiver with latest OpenPLi 7.2. Installing SimpleBuild script is pretty straightforward and does not demand a lot of knowledge. Here are steps for Linux users (connect to your server using Putty and SSH):

git clone https://github.com/gorgone/s3_releases.git

After entering this command, you get this:

Now continue with (in my case I have folder “s3_releases” under “root”):

cd s3_releases

 

 

 

then type:

./s3 menu

There are additional options beside “menu”. Short list:

./s3 update_me #online update (with this one, you update the whole script)
./s3 fix_me #repair script

These two are more interesting. They enable you to add emu functionality into OScam. By default emu is not available because it is not part of official OScam git. It is available on different git.

./s3 update_emu #get latest oscam-emu
./s3 enable_emu #patch actual svn with emu

After some initial checking and downloading of latest SVN, you should get something like this:

You can move around with UP and DOWN arrows on your keyboard. Select “Continue – continue with local SVN rxxxx”. You get:

There are two most important options: “ADD” and “NATIVE” if you want to compile OScam for your PC (if you are running this script on Linux server). I first added toolchain for my Vu+ Duo4k ARM receiver (select solo4k toolchain) and then I selected option “NATIVE” which built OScam for my Debian (OMV 5.x) server where I am currently running OScam.

You can see that are quite a few toolchains to select from. You will be probably most interested in mipsoe20 or solo4k toolchains, maybe even arm_dream if you have 4k Dreambox receiver. Select desired toolchaind and press Enter. After some “loading”, you should be thrown back to previous menu with one addition. You will be able to select “solo4k” toolchain. Check out picture below:

Now select “solo4k” toolchain and press Enter. You should get:

Three important options here. First one is obviously “Build”. 2nd one is “Configure” and 3rd one is “Edit_conf_dir”. Lets select “Configure” first:

You can leave everything as is and go back OR continue with tinkering and adding new options. For example, you can go into “Select oscam modules” and add or remove different Add-ons:

You can add for example “Cache exchange” or “CW Cycle Check” support. For new users these functions are not important but when you get advanced, you know where to get them! You select or un-select by pressing “space” bar on your keyboard. With left and right arrow on your keyboard you are switching between OK and Cancel buttons at the bottom. Press OK after satisfied and you will get thrown back to previous menu. If you add EMU support to OScam, you will also get two additional add-ons at the bottom – they are enabled by default:

Another interesting part is “Cardreaders”, especially if you have external cardreader like Smargo or Omnikey (pcsc).

After satisfied, move to “Save” and press Enter. If you have Omnikey reader, you also need to go into menu “Oscam_Extra” and select “USE_PCSC”.

Now confirm with OK and go back. There is another interesting option “Build_Extra” which comes handy if you want to add outside patches to your OScam. This is already advanced usage, so I dont think its appropriate to go into details here. Now go back to build menu.

Now select “EDIT_CONF_DIR”. Here you will add config path (location of your oscam files). If you use OScam on some linux distro, like I do, then I suggest:

/usr/local/etc

If you use OpenPLi for example, you need to enter:

/var/etc/tuxbox/config/oscam

Move to OK and press Enter. You should be done now, you can go to “Build” (build oscam now) and press Enter. Oscam binary will be created in a few seconds, it depends on the CPU power of your PC. In order to download it, find s3_releases folder and open folder “binaries”. Files should be there:

Use files which do not have “debug” at the end. You will have to rename it to “oscam”, also do not forget to change permissions to 0755 after uploading.

Conclusion

Gorgone did really great job here and compiling OScam is now easier task than ever. You can compare this process with process which is written in my other compiling tutorials. Not only that SimpleBuild is easier to use, you can also easily compile OScam for different platforms, you can select/deselect different OScam modules, etc. As you can see, this script enables you to configure many many different options. Currently there is nothing better out there!

For discussion please visit this thread here: 

http://www.satnigmo.com/forum/index.php?threads/compile-oscam-with-simplebuild.546/

  • Hi, thanks for the info!
    Do you know how to compile with SimpleBuild an Oscam version with the gbox patch included?
    http://pastebin.com/raw.php?i=bfncMi3t
    Can you explain how to do it?
    Thank you very much

    zap

    February 11, 2013

  • I do not know how, sorry.

    admin

    February 12, 2013

  • […] you need to compile OScam. I suggest you compile it using Simplebuild script. Please check my Simplebuild article here on my blog. Simplebuild will also automatically install all missing packages that are needed […]

  • really nice and simple script thanks a million

    errol cuffley

    March 7, 2013

  • hello friend
    as I can compile oscam to work with Gbox
    have you any solution

    thank….

    aitorniyo

    May 1, 2013

  • Hi brothers
    Oscam>Gbox protocol is already running. Thanks

    zap

    July 21, 2013

  • Hi, i want just to explain that after entering the last command i can’t see the home screen show up . i can see like that :

    ./simplebuild: line 2791: –stdout: command not found
    cat: /root/osvn: No such file or directory
    cat: /root/status: No such file or directory
    cat: /root/chosetext: No such file or directory
    cat: /root/REVISION: No such file or directory
    ./simplebuild: line 2821: –no-cancel: command not found
    root@ubuntuserver:/opt/simplebuild#

    Thank’s for your help

    franckluke

    July 30, 2013

  • ./simplebuild menu

    This is the right command!

    admin

    August 1, 2013

  • Same Problem when call ./simplebuild menu

    ./simplebuild: Zeile 2791: –stdout: Kommando nicht gefunden.
    cat: /root/osvn: Datei oder Verzeichnis nicht gefunden
    cat: /root/status: Datei oder Verzeichnis nicht gefunden
    cat: /root/chosetext: Datei oder Verzeichnis nicht gefunden
    cat: /root/REVISION: Datei oder Verzeichnis nicht gefunden
    ./simplebuild: Zeile 2821: –no-cancel: Kommando nicht gefunden.

    Dennis

    August 22, 2013

  • not all packages installed
    try again & run first ./simplebuild debinstall as root

    Gorgone

    September 20, 2013

  • When you install Simplebuild comes a Message with Changelog. This Screen must you leave with :q
    Then finish the install script the process. When you press CTRL & C the installer aborted. And then see you the Error Message when you start simple build. Sorry for my bad english.
    – – –
    Während des Installationsprozesses erscheint ein Changelog Fenster. Dieses musst Du mit :q verlassen. Dann installiert das Script weiter. Wenn Du das Fenster mit CTRL & C beendest, wird der Installationsprozess abgebrochen. Dann kommt die oben geschilderte Fehlermeldung, weil nicht alle Pakete installiert sind. Hoffe, dem ein oder anderen konnte ich damit helfen…

    Kai

    April 8, 2014

  • simplebuild 3 ist in der beta + osemu plugin

    Gorgone

    June 13, 2016

  • […] Gorgone from Streamboard released Simplebuild 3 beta as replacement for v2.0. You can still use my old tutorial which is here: http://www.satnigmo.com/2264/compile-oscam-with-simplebuild-script/ […]

  • Yes the old tutorial works. I used it with raspberry pi 3.

    Charles

    January 2, 2018

  • possible server down for download fail of oscam simple build

    bib

    January 20, 2019

  • Right now like really doesnt work.

    admin

    January 20, 2019

  • I added new link.
    wget -O – http://s3.is-by.us/now.sh | bash

    admin

    January 20, 2019

  • […] demux-patch selber mit einbauen dazu braucht er halt einen server und am besten diese anleitung Compile OScam with SimpleBuild Script – Satnigmo.com Ja, Auch ich mache Fehler !!! Das Leben kam leider ohne Bedienungsanleitung […]

Leave a comment  

name*

email*

website

Submit comment

Powered by moviekillers.com.com