Works now ! Thank you !
Oscam-Emu patches (For people building their own Oscam)
- speedy005
- Thread is marked as Resolved.
There are 100 replies in this Thread which was already clicked 39,975 times. The last Post () by ahmed gazye.
-
-
What does the log file say? I had it with conig.h. Are you building with S3? There's a log file there that shows what's wrong.
This:
In the patch, line 433:
#define CS_VERSION "2.25.10-11901"
From globals.h, line 375:
#define CS_VERSION "2.25.10-11901"
Otherwise, you get a fuzzy error.
-
The patch has a bug when patching with globals.h.
I haven't figured out how to fix it yet—if anyone knows how, I'd appreciate a solution.
The patch with a small modification works fine without any errors.
-
this ist the error
atching-Datei globals.h
Hunk #1 SCHEITERTE BEI 368.
1 von 11 Hunks FEHLGESCHLAGEN – Ablehnungen speichern, um globals.h.rej zu speichern
Patching File module-cacheex.c
also line 368
globals.h code is
/* ===========================
* constants
* =========================== */
#define SCM_URL "https://git.streamboard.tv/common/oscam"
#define WIKI_URL "https://git.streamboard.tv/common/oscam/-/wikis"
#define BOARD_URL "https://board.streamboard.tv"
#ifndef CS_VERSION
#define CS_VERSION "2.26.01-11918"
#endif
#ifndef CS_GIT_COMMIT
#define CS_GIT_COMMIT "a2b4c6d8"
emu code
/* ===========================
* constants
* =========================== */
-#define SCM_URL "https://git.streamboard.tv/common/oscam"
+#define SCM_URL "https://github.com/oscam-mirror/oscam-emu"
#define WIKI_URL "https://git.streamboard.tv/common/oscam/-/wikis"
-#define BOARD_URL "https://board.streamboard.tv"
+#define BOARD_URL "https://github.com/oscam-mirror/oscam-emu/discussions"
#ifndef CS_VERSION
-#define CS_VERSION "2.26.01-11918"
+#define CS_VERSION "2.26.01-11918"
#endif
#ifndef CS_GIT_COMMIT
#define CS_GIT_COMMIT "a2b4c6d8"
this code is ok
you code ??? from oscam emu patch
-
patch version: 2.26.01-11918-802 (eaab5437)
Fix pages gen prid64 warning introduced in 11906
all done
oscam-emu.patch
patching file .github/workflows/build-oscam.yml
patching file .github/workflows/create-patch.yml
patching file .github/workflows/lockdown-repo.yml
patching file .github/workflows/merge-gitlab.yml
patching file .github/workflows/sync-gitlab.yml
patching file CMakeLists.txt
patching file Distribution/doc/html/oscam.server.5.html
patching file Distribution/doc/man/oscam.server.5
patching file Distribution/doc/txt/oscam.server.txt
patching file Makefile
patching file README.config
patching file README.md
patching file config.h
patching file config.sh
patching file csctapi/cardreaders.h
patching file csctapi/ifd_amsmc.c
patching file globals.h
patching file module-cacheex.c
patching file module-camd35-cacheex.c
patching file module-cccam-cacheex.c
patching file module-cccam.c
patching file module-cw-cycle-check.c
patching file module-dvbapi-azbox.c
patching file module-dvbapi-mca.c
patching file module-dvbapi-stapi.c
patching file module-dvbapi-stapi5.c
patching file module-dvbapi.c
patching file module-dvbapi.h
patching file module-emulator-biss.c
patching file module-emulator-biss.h
patching file module-emulator-cryptoworks.c
patching file module-emulator-cryptoworks.h
patching file module-emulator-director.c
patching file module-emulator-director.h
patching file module-emulator-irdeto.c
patching file module-emulator-irdeto.h
patching file module-emulator-nagravision.c
patching file module-emulator-nagravision.h
patching file module-emulator-omnicrypt.c
patching file module-emulator-omnicrypt.h
patching file module-emulator-osemu.c
patching file module-emulator-osemu.h
patching file module-emulator-powervu.c
patching file module-emulator-powervu.h
patching file module-emulator-viaccess.c
patching file module-emulator-viaccess.h
patching file module-emulator.c
patching file module-newcamd.c
patching file module-stat.c
patching file module-streamrelay.c
patching file module-streamrelay.h
patching file module-webif-tpl.c
patching file module-webif.c
patching file oscam-chk.c
patching file oscam-conf-chk.c
patching file oscam-config-account.c
patching file oscam-config-global.c
patching file oscam-config-reader.c
patching file oscam-config.h
patching file oscam-ecm.c
patching file oscam-emm.c
patching file oscam-simples.c
patching file oscam.c
patching file reader-common.c
patching file readers.h
patching file webif/config/streamrelay.html
patching file webif/config/streamrelay_emusettings.html
patching file webif/files/menu.html
patching file webif/files/menu_softcamkey.html
patching file webif/pages_gen.c
patching file webif/pages_index.txt
patching file webif/readerconfig/readerconfig_cccambit.html
patching file webif/readerconfig/readerconfig_emubit.html
-
-
Now I am obtaining the oscam-emu.patch file with these commands:
Codecd ~ git clone https://git.streamboard.tv/common/oscam.git oscam-patching cd oscam-patching git remote add emu-repo https://github.com/oscam-mirror/oscam-emu.git git fetch emu-repo git diff master..emu-repo/master > oscam-emu.patchfor the following occasions:
-
-
11920-803
FIX Emu : ensures the mutex is always initialized before any use
Added TVCAS3
-
-
-
smale cosmetic gui build oscam-emu.patch
It works great, thank you very much. I am checking globals.h, if the version number is not correct, I manually enter the new version. Thanks again. Sorry for my poor English.
-
The first version gave errors *hunk, and I corrected the script. Thank you very much for everything!
-
Hello,
the last version working for me is 11914,
after that I am getting segfault if I add some reader.
Someone has the same issues?
-
-
Hello,
for who doesn't use the desktop can use the script in attachment.
-
Patch version 2.26.01-11922-802 (738e4605)
Code*skip download-secure-files install if already present - [ci skip] Prevents 'text file busy' error when concurrent jobs attempt to overwrite the binary while it's in use by another process. *fix: improvement to sleep Simplify implementation of sleep; also fix invalid sleep time when sleep was interrupted by EINTR thx to @lpm11 -
-
Patch version 2.26.01-11924-802 (ea61ff66)
Code
Display MoreRemove dead code, simplify functions, drop libm dependency - eliminate dead code: ifd_azbox.c while(ret), ifd_sci.c sh4_stb, reader-dre-st20.c verbose, module-cccam.c is_dcw_corrupted - remove constant parameters: chk_is_null_nodeid len (always 8), CAK7do_cmd len (always 0x10) - simplify: NULLFREE macro (free(NULL) is safe), cs_strlen, tolower/toupper without isupper/islower check, ifd_stinger.c mhz assignment, ifd_sci.c tries++ refactoring - use MIN/MAX macros in module-cccam.c rating clamping - refactor reader-conax.c CWPK_CNX with memcpy - replace fmod with pure C in reader-nagracak7.c, drop libm dependency - Makefile/CMakeLists.txt: remove libm, keep $(LIB_PTHREAD), $(LIB_DL), $(LIB_RT) variables for toolchain flexibility thx to @lpm11 Co-authored-by: default avatarWXbet <4-WXbet@users.noreply.git.streamboard.tv> -
Patch version 2.26.01-11925-802 (731e29ea)
cleanup deadcode clocktypes
* Remove librt dependency
clock_gettime no longer used after cleanup deadcode clocktypes patch.
CLOCKFIX now only uses gettimeofday() which doesn't require librt.
* cleanup deadcode clocktypes
thx to @lpm11
Co-authored-by: default avatarWXbet <4-WXbet@users.noreply.git.streamboard.tv>
Your resource for OSCam-EMU softcam
![]()
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!
