12534 Members
237 Forums
7811 Topics
24004 Posts
Max Online: 9115 @ 08/24/24 07:30 PM
|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
|
|
|
#10504 - 12/16/16 04:37 AM
I have compile DM800se HD image but it doesnt work
|
stranger
Registered: 12/16/16
Posts: 4
|
I have a chinses dm800se HD clone machine which called dm800se HD SR4 i download offical opendreambox sourece code on Ubuntu 10.04 and then compile it after about two weeks i resolved all errors and get a new image. this image we can called it official image. i have flash it into my machine,but my SR4 machine doesn't work,it show "no ca" in the front small LCD screen. at this time somebody tell me that you must flash 84d.nif file after flash official image, i do this. after this my SR4 machine can work. i can see the first logo picture on TV, but after a while, it becomes black, can you help me?(somebody tells me you must have to replace driver file, he send me drive file,how can i replace drive file)
|
Top
|
|
|
|
|
#10509 - 12/16/16 05:46 AM
Re: I have compile DM800se HD image but it doesnt work
[Re: Admin]
|
stranger
Registered: 12/16/16
Posts: 4
|
wow wow, thank you so much! i am so glad you can tell me so much.
i have try to replace my drive file into /lib/modules ,but I only have a short time after i open the machine ,the time is so short ,it is not enough for me to open ftp software,input password send drive file ,the machine quickly doesn't work and be black. can you help me?
i am a fun of your BlackHole image, i flash it on my machine, it works well,but it have one small problem. the EPG is wrong when i use China Cable TV, it have Chinese character gash problem ,a lot of wrong text when it's not english or number,because our country EPG text code is GB2312 or GBK code, but your image use UTF8,i have to chagne our text from GBK to UTF8.
the first i try to compile offical orginal image, and make it work on my machine ,
the second i try to compile your BlackHole image then try to reslove our country cable TV wrong Text,would you like to help me to do this? thank you so much!
|
Top
|
|
|
|
|
#10522 - 12/16/16 08:54 PM
Re: I have compile DM800se HD image but it doesnt work
[Re: Admin]
|
stranger
Registered: 12/16/16
Posts: 4
|
Thank you very much,Admin!
It seems difficult for me to replace drive file at now,i don't have a J8P sim card at this moment.
what i want to do is resolve Chinese character gash problem BlackHole image when I use CHINA cable TV(DVB_C). I want to make BlackHole image more easy,helpful,useful for China peopel. Most Chinese people use openPli other than BlackHole,because openPli can reslove Chinese character gash problem automatic. As a fun of BlackHole, i want to make a little contribution to BlackHole image and let more people use BlackHole image.
As what you say,your code is "close",Can i replace some file or edit some file to make our machine show right Chinese text when i use cable TV(DVB_C). I am a programme and have some programming experience . As we know when use GBK or GB2312 to show a Chinese word, it just need two bytes, if we use UTF8 to show a Chinese word ,it need three or four bytes.So our country just choose GBK ro GB2323 code to show EPG text other than UTF8. Although UTF8 is more generic for every country language show, but it will take more memory to transmit or show our Chinese Text. so what can i do ,would you like to help me? Thanks a lot!
|
Top
|
|
|
|
|
#10525 - 12/17/16 03:43 AM
Re: I have compile DM800se HD image but it doesnt work
[Re: Admin]
|
stranger
Registered: 12/16/16
Posts: 4
|
I am so sorry.
I don't know where to modify the code that make DM800se can show right Chinese text EPG, but I know how to make GBK to UTF8 or UTF8 to GBK on Windows PC system. here is the example!
#include <iostream> #include <string> #include <fstream> #include <windows.h> using namespace std; string GBKToUTF8(const std::string& strGBK) { string strOutUTF8 = ""; WCHAR * str1; int n = MultiByteToWideChar(CP_ACP, 0, strGBK.c_str(), -1, NULL, 0); str1 = new WCHAR[n]; MultiByteToWideChar(CP_ACP, 0, strGBK.c_str(), -1, str1, n); n = WideCharToMultiByte(CP_UTF8, 0, str1, -1, NULL, 0, NULL, NULL); char * str2 = new char[n]; WideCharToMultiByte(CP_UTF8, 0, str1, -1, str2, n, NULL, NULL); strOutUTF8 = str2; delete[]str1; str1 = NULL; delete[]str2; str2 = NULL; return strOutUTF8; } string UTF8ToGBK(const std::string& strUTF8) { int len = MultiByteToWideChar(CP_UTF8, 0, strUTF8.c_str(), -1, NULL, 0); unsigned short * wszGBK = new unsigned short[len + 1]; memset(wszGBK, 0, len * 2 + 2); MultiByteToWideChar(CP_UTF8, 0, (LPCTSTR)strUTF8.c_str(), -1, wszGBK, len); len = WideCharToMultiByte(CP_ACP, 0, wszGBK, -1, NULL, 0, NULL, NULL); char *szGBK = new char[len + 1]; memset(szGBK, 0, len + 1); WideCharToMultiByte(CP_ACP,0, wszGBK, -1, szGBK, len, NULL, NULL); std::string strTemp(szGBK); delete[]szGBK; delete[]wszGBK; return strTemp; }
Thank you very much!
|
Top
|
|
|
|
|
|
|