C++博客-1CM http://598club.com/nenlong/  zh-cnFri, 21 Feb 2020 10:20:57 GMTFri, 21 Feb 2020 10:20:57 GMT60C++博客-1CM http://598club.com/nenlong/archive/2019/09/13/216817.html1CM1CMFri, 13 Sep 2019 00:42:00 GMThttp://598club.com/nenlong/archive/2019/09/13/216817.htmlhttp://598club.com/nenlong/comments/216817.htmlhttp://598club.com/nenlong/archive/2019/09/13/216817.html#Feedback0http://598club.com/nenlong/comments/commentRss/216817.htmlhttp://598club.com/nenlong/services/trackbacks/216817.htmlOpenCamera-1.47.2 download

1CM 2019-09-13 08:42 ???????o
]]>
C++博客-1CM http://598club.com/nenlong/archive/2014/12/22/209268.html1CM
??1?3?1.NppExec??????

npp_save
cd   $(CURRENT_DIRECTORY)
python $(NAME_PART).py

??1?3?2.Notepad++????????"????"(?????NppExec??????)
cmd /k cd "$(CURRENT_DIRECTORY)" & python.exe "$(FILE_NAME)" & ECHO. & PAUSE & EXIT;


1CM 2014-12-22 00:48 ???????o
]]>
C++博客-1CM http://598club.com/nenlong/archive/2014/06/28/207447.html1CM1CMSat, 28 Jun 2014 04:12:00 GMThttp://598club.com/nenlong/archive/2014/06/28/207447.htmlhttp://598club.com/nenlong/comments/207447.htmlhttp://598club.com/nenlong/archive/2014/06/28/207447.html#Feedback0http://598club.com/nenlong/comments/commentRss/207447.htmlhttp://598club.com/nenlong/services/trackbacks/207447.html?????

1CM 2014-06-28 12:12 ???????o
]]>
C++博客-1CM http://598club.com/nenlong/archive/2014/02/06/205642.html1CM1CMThu, 06 Feb 2014 05:18:00 GMThttp://598club.com/nenlong/archive/2014/02/06/205642.htmlhttp://598club.com/nenlong/comments/205642.htmlhttp://598club.com/nenlong/archive/2014/02/06/205642.html#Feedback0http://598club.com/nenlong/comments/commentRss/205642.htmlhttp://598club.com/nenlong/services/trackbacks/205642.html
?'????????? ????????????oa??????


????????????oa?????? 2012.10 ?????o


???????'?????????? ?????'?????o ???????'???-|???


???????1|?????? ?'??????? ?????o??????????? ???????????...


????1???-????????? ????2???????????????


????1?????????????????????????? ????????? ?????????3??'?????



1CM 2014-02-06 13:18 ???????o
]]>
C++博客-1CM http://598club.com/nenlong/archive/2013/09/12/203197.html1CM1CMThu, 12 Sep 2013 12:35:00 GMThttp://598club.com/nenlong/archive/2013/09/12/203197.htmlhttp://598club.com/nenlong/comments/203197.htmlhttp://598club.com/nenlong/archive/2013/09/12/203197.html#Feedback0http://598club.com/nenlong/comments/commentRss/203197.htmlhttp://598club.com/nenlong/services/trackbacks/203197.html
http://cnblogs.com/nlsoft

1CM 2013-09-12 20:35 ???????o
]]>
C++博客-1CM http://598club.com/nenlong/archive/2013/04/22/199635.html1CM1CMMon, 22 Apr 2013 07:14:00 GMThttp://598club.com/nenlong/archive/2013/04/22/199635.htmlhttp://598club.com/nenlong/comments/199635.htmlhttp://598club.com/nenlong/archive/2013/04/22/199635.html#Feedback0http://598club.com/nenlong/comments/commentRss/199635.htmlhttp://598club.com/nenlong/services/trackbacks/199635.htmlpre{ color:#203040; background-color:#EBF3FC; border:1px dashed #2f6fab; font-family:??????; font-size:9pt; line-height:1.2em; overflow:auto; padding:0.2em; white-space:pre; }
include \masm32\include\masm32rt.inc
comment * -----------------------------------------------------
          FIX Tool -> Find and Replace New
          ^   ^       ^        ^       ^
          Name : FTFRN
          Data : 2013-04-20
           Ver : 2.0
            By : Dragon
           Mem : Advantage of fast Find
                 Does not support batch modify
                 build environment requirements masm32v11
                 makeit.bat   compile
                 run_this.bat execute the tool
        ----------------------------------------------------- *
    .data
        fname    db "infile",0          ;<-- Input the file name
        fbakname db "infile.bak",0      ;<-- Input the backup file name
        
        findData db "findData",0        ;<-- Input Find bytes content
        findLen  dd 8                   ;<-- Input length
        
        fixData  db 90H,90H,90H         ;<-- Input replacement bytes content
        fixLen   dd 3                   ;<-- Input length
        
        findPOS  dd 0
    .code

start:
        call main
        exit

main proc
        call openGPCore
        ret
main endp

openGPCore proc
        LOCAL hFile     :DWORD
        LOCAL hBakFile  :DWORD
        LOCAL dSize     :DWORD
        LOCAL hMem      :DWORD
        .if rv(exist,offset fname) != 0
                mov hFile, fopen(offset fname)
        .else
                print "not find "
                print offset fname
                ret
        .endif
        mov dSize, fseek(hFile,0,FILE_END)
        mov hMem, alloc(dSize)

        mov eax , fseek(hFile,0,FILE_BEGIN)
        mov eax , fread(hFile,hMem,dSize)
        mov     dword ptr [findPOS] , 0
        
        ;----find----
        mov     ecx, dSize
        push    ecx
        mov     edx, hMem
        push    edx 
        mov     eax, dword ptr [findLen] 
        push    eax
        mov     ecx, offset findData
        push    ecx
        ;pat patlen textt texttlen
        call qs
        ;printf  ("%d",dword ptr [findPOS])
        
        .if dword ptr [findPOS] == 0
                print "Not find "
                print offset findData,13,10
        .else
                ;----backup file----
                mov hBakFile, fcreate( offset fbakname )
                mov eax , fwrite( hBakFile, hMem, dSize)
                fclose hBakFile

                ;----fix----
                mov eax , fseek(hFile,dword ptr [findPOS],FILE_BEGIN)
                mov eax , fwrite( hFile, offset fixData, dword ptr [fixLen])
                print "Fix "
                print offset fname
                print " success.",13,10
        .endif

        fclose hFile
        free hMem
        ret
openGPCore endp

OUTPUT proc
        mov     eax,dword ptr [esp+4]
        mov     dword ptr [findPOS] , eax
        ret
OUTPUT endp

preQsBc proc
        push    ebp
        mov     ebp,dword ptr [esp+10h]
        push    esi
        mov     esi,dword ptr [esp+10h]
        push    edi
        mov     ecx,100h
        lea     eax,[esi+1]
        mov     edi,ebp
        rep stos dword ptr es:[edi]
        xor     eax,eax
        test    esi,esi
        jle     preQsBc1

        mov     edi,dword ptr [esp+10h]
        mov     ecx,esi
preQsBc2:
        xor     edx,edx
        mov     dl,byte ptr [eax+edi]
        inc     eax
        mov     dword ptr [ebp+edx*4],ecx
        dec     ecx
        cmp     eax,esi
        jl      preQsBc2
preQsBc1:
        pop     edi
        pop     esi
        pop     ebp
        ret

preQsBc endp

qs proc
        sub     esp,404h
        mov     ecx,dword ptr [esp+408h]
        push    ebx
        push    ebp
        mov     ebp,dword ptr [esp+414h]
        lea     eax,[esp+0Ch]
        push    eax
        push    ebp
        push    ecx
        call    preQsBc
        mov     eax,dword ptr [esp+428h]
        add     esp,0Ch
        xor     ebx,ebx
        sub     eax,ebp
        mov     dword ptr [esp+8],eax
        js      qs1

        mov     edx,dword ptr [esp+418h]
        push    esi
        push    edi
qs3:
        mov     esi,dword ptr [esp+418h]
        mov     ecx,ebp
        lea     edi,[ebx+edx]
        xor     eax,eax
        repe cmps byte ptr [esi],byte ptr es:[edi]
        jne     qs2

        push    ebx
        call    OUTPUT
        mov     edx,dword ptr [esp+424h]
        add     esp,4
qs2:
        lea     eax,[edx+ebp]
        xor     ecx,ecx
        mov     cl,byte ptr [eax+ebx]
        mov     eax,dword ptr [esp+10h]
        add     ebx,dword ptr [esp+ecx*4+14h]
        cmp     ebx,eax
        jle     qs3

        pop     edi
        pop     esi
qs1:
        pop     ebp
        pop     ebx
        add     esp,404h
        ret
qs endp
end start
download src

1CM 2013-04-22 15:14 ???????o
]]>
C++博客-1CM http://598club.com/nenlong/archive/2013/04/18/199556.html1CM1CMThu, 18 Apr 2013 15:27:00 GMThttp://598club.com/nenlong/archive/2013/04/18/199556.htmlhttp://598club.com/nenlong/comments/199556.htmlhttp://598club.com/nenlong/archive/2013/04/18/199556.html#Feedback0http://598club.com/nenlong/comments/commentRss/199556.htmlhttp://598club.com/nenlong/services/trackbacks/199556.html

?????o?????1TV????o????????????????1???????????o????'
1.???????ESC->????o ALT????1??o?????(????????????3??)
2.??????????????? FYTV.ini ???-????????????????????a??????????????????????????????????1????????????
3.S???????????WinMenu?????????????????-???????????????1?o????????
4.???o???????????'??????? Chennel??????????????????CTRL??1??o??????????a???? SHIFT????????????????a????
5.??????????-????????????????|?????????-?????1?o????????
6.????a??????3????????o?3????????'-??o??????????????????-?????????o?????3?-?3????????'
7.?????????????<>????????3?????
8.TAB????????????????a?????|???-?????--??3???-????--?|???-?????--??3???
9.???????|??3??????????a????1px
A.T ?a?????????    N ???????a?????????
B.????????1?a???????
C.????????1????o?????????????????????4:3???16:9
D.??????????a??????-???????-???????????-????????3|??????????????????
E.??????'????????????????|????????
F.?????1?o?Win8???BUG
F.??????SHIFT???????????????'????????TV?????????1??o?1???????????????

?????  FYTV-2013_04.18_Bin.rar

1CM 2013-04-18 23:27 ???????o
]]>
C++博客-1CM http://598club.com/nenlong/archive/2013/04/17/199507.html1CM1CMWed, 17 Apr 2013 04:09:00 GMThttp://598club.com/nenlong/archive/2013/04/17/199507.htmlhttp://598club.com/nenlong/comments/199507.htmlhttp://598club.com/nenlong/archive/2013/04/17/199507.html#Feedback0http://598club.com/nenlong/comments/commentRss/199507.htmlhttp://598club.com/nenlong/services/trackbacks/199507.html textarea{ color:#203040; background-color:#EBF3FC; border:1px dashed #2f6fab; font-family:??????; font-size:9pt; padding:0.2em;} pre{ color:#203040; background-color:#EBF3FC; border:1px dashed #2f6fab; font-family:??????; font-size:9pt; line-height:1.2em; overflow:auto; padding:0.2em; white-space:pre;}
void BF (char *x, int m, char *y, int n);
void BF2(char *x, int m, char *y, int n); 
void AUT(char *x, int m, char *y, int n); 
void KR (char *x, int m, char *y, int n);
void NSN(char *x, int m, char *y, int n);
void QS (char *x, int m, char *y, int n);
void MP (char *x, int m, char *y, int n);
void SO (char *x, int m, char *y, int n);
???o|???????????
7990967 BF  [203]   1935868 BF  [ 47]
7990967 BF2 [281]   1935868 BF2 [125]
7990967 KR  [172]   1935868 KR  [ 62]
7990967 NSN [ 94]   1935868 NSN [ 32]
7990967 MP  [156]   1935868 MP  [ 46]
7990967 AUT [125]   1935868 AUT [ 47]
7990967 QS  [ 31]   1935868 QS  [ 16]
7990967 SO  [109]   1935868 SO  [ 47]
???o|?o?o? QS NSN SO AUT MP KR BF BF2
??????o????

1CM 2013-04-17 12:09 ???????o
]]>
C++博客-1CM http://598club.com/nenlong/archive/2013/04/16/199485.html1CM1CMTue, 16 Apr 2013 07:43:00 GMThttp://598club.com/nenlong/archive/2013/04/16/199485.htmlhttp://598club.com/nenlong/comments/199485.htmlhttp://598club.com/nenlong/archive/2013/04/16/199485.html#Feedback0http://598club.com/nenlong/comments/commentRss/199485.htmlhttp://598club.com/nenlong/services/trackbacks/199485.html textarea{ color:#203040; background-color:#EBF3FC; border:1px dashed #2f6fab; font-family:??????; font-size:9pt; padding:0.2em;} pre{ color:#203040; background-color:#EBF3FC; border:1px dashed #2f6fab; font-family:??????; font-size:9pt; line-height:1.2em; overflow:auto; padding:0.2em; white-space:pre;} ???????Guitar Pro 6??????????????????GPCore_To_GBK.exe???????   ????????? ?????2.0?????????o|??'???
include \masm32\include\masm32rt.inc
comment * -----------------------------------------------------
                GPCore.dll->49 53 4F 2D 38 38 35 39 2D 31 
                            47 42 4B 00 00 00 00 00 00 00
                ISO-8859-1->GBK
        ----------------------------------------------------- *
        .data
        fname    db "GPCore.dll",0
        fbakname db "GPCore.dll.bak",0
        findStr  db "ISO-8859-1",0
        fixData  db 47H,42H,4BH,00,00,00,00,00,00,00 ;10
        .code
start:
        call main
        exit
main proc
        LOCAL hFile     :DWORD
        LOCAL hBakFile  :DWORD
        LOCAL dSize     :DWORD
        LOCAL hMem      :DWORD
        LOCAL hMemBase  :DWORD
        .if rv(exist,offset fname) != 0
                mov hFile, fopen(offset fname)
        .else
                print "not find "
                print offset fname
                ret
        .endif
        mov dSize, fseek(hFile,0,FILE_END)
        mov hMem, alloc(dSize)

        mov eax , fseek(hFile,0,FILE_BEGIN)
        mov eax , fread(hFile,hMem,dSize)
  
        mov ebx,0
        mov eax , hMem
        mov hMemBase , eax
        .while ebx < dSize
            invoke lstrcmp, offset findStr , hMem
            .if eax == 0
                ;backup file to GPCore.dll.bak
                mov hBakFile, fcreate( offset fbakname )
                mov eax , fwrite( hBakFile, hMemBase, dSize)
                fclose hBakFile
                ;fix to GBK
                mov eax , fseek(hFile,ebx,FILE_BEGIN)
                mov eax , fwrite( hFile, offset fixData, 10)
                print "Guitar Pro 6 ???????????-???????????????",13,10
                jmp pos1
            .endif
            add hMem,1
            inc ebx
        .endw
        pos1:
        fclose hFile
        free hMem
        ret
main endp

end start

??????o????

1CM 2013-04-16 15:43 ???????o
]]>
C++博客-1CM http://598club.com/nenlong/archive/2013/04/09/199275.html1CM     APE???????a?|?????'???????????


??????1??????????a|???????cue???????????????-???

1CM 2013-04-09 17:08 ???????o
]]>