论坛风格切换切换到宽版
  • 60774阅读
  • 298回复

Athena-A 3.69 Build 20180925 [复制链接]

上一主题 下一主题
离线陈静
发帖
40
金钱
0
威望
0
只看该作者 10 发表于: 2007-06-06
楼上的 readme 里说要装.net 2.0
离线wuliyen

发帖
41
金钱
0
威望
0
只看该作者 11 发表于: 2007-06-08
谢谢楼主分享
离线Snoopy

发帖
2128
金钱
10
威望
1
只看该作者 12 发表于: 2007-06-08
请问LZ源代码能不能共享?
我觉得C#没那么简单吧,比VB还简单?
看到帖子标题,偶万里迢迢、赤身裸体、挥刀自宫、头扎红布、跪碎玻璃、磕头到出血、胸口碎大石、喉头顶钢枪、无视艰难险阻、全身插刀抽搐、求助喝氰化钾、看央视笑傲江湖、欣赏脑白金广告、十里长街卖身跪地、倒立 3600 度后空翻、肩抗 150 公斤杠铃、专程赶过来支持一下子!
图像加密帖
离线小鬼怪怪
发帖
3
金钱
0
威望
0
只看该作者 13 发表于: 2007-06-13
谢谢楼主分享
QUOTE
谢谢楼主分享

离线海子

发帖
350
金钱
300
威望
30
只看该作者 14 发表于: 2007-06-17
又稍作更新,见一楼。看看在以后的版本中是否能增强挪移功能。
宇宙经过120亿年的漫长进化才有一个独一无二的你存在这个世界上,其概率如此之小,已无法用数字来描述...
离线海子

发帖
350
金钱
300
威望
30
只看该作者 15 发表于: 2007-06-21
QUOTE(Snoopy @ 2007年 06月 08日 14时 11分) [snapback]334190[/snapback]

请问LZ源代码能不能共享?
我觉得C#没那么简单吧,比VB还简单?


下面的代码是提取字符串中核心代码的一部分,这些有 160 多行,提取字符串核心代码有近 400 行。我也不知道你认为难还是不难,那你参考一下吧。

CODE

                        if (i1 != 0 && i2 != 0)
                        {
                            do
                            {
                                fs1.Seek(-2, SeekOrigin.Current);
                                fs2.Seek(-2, SeekOrigin.Current);
                                i1 = br1.ReadByte();
                                i2 = br2.ReadByte();
                            } while (i1 != 0 && i2 != 0);
                            l1 = fs1.Position;
                            l2 = fs2.Position;
                            bool b1 = true;
                            bool b2 = true;
                            do
                            {
                                i1 = br1.ReadByte();
                                i2 = br2.ReadByte();
                                z++;
                                if (i1 == 0)
                                {
                                    b1 = false;
                                }
                                if (i1 > 0 && b1 == false)
                                {
                                    x++;
                                }
                                if (i1 > 0)
                                {
                                    b1 = true;
                                }
                                if (i2 == 0)
                                {
                                    b2 = false;
                                }
                                if (i2 > 0 && b2 == false)
                                {
                                    y++;
                                }
                                if (i2 > 0)
                                {
                                    b2 = true;
                                }
                            } while (i1 != 0 || i2 != 0);
                            fs1.Seek(l1, SeekOrigin.Begin);
                            fs2.Seek(l2, SeekOrigin.Begin);
                            i1 = br1.ReadByte();
                            i2 = br2.ReadByte();
                            fs1.Seek(l1, SeekOrigin.Begin);
                            fs2.Seek(l2, SeekOrigin.Begin);
                            if (x == 0 && y == 0)
                            {
                                i3 = i4 = 0;
                                do
                                {
                                    i1 = br1.ReadByte();
                                    bt1[i3] = (byte)i1;
                                    i3++;
                                } while (i1 != 0);
                                do
                                {
                                    i2 = br2.ReadByte();
                                    bt2[i4] = (byte)i2;
                                    i4++;
                                } while (i2 != 0);
                                fs1.Seek(-i3, SeekOrigin.Current);
                                u1 = br1.ReadUInt32();
                                if (u1 != 4294967295)
                                {
                                    s1 = System.Text.Encoding.Default.GetString(bt1, 0, i3 - 1);
                                    if (radioButton3.Checked == true)
                                    {
                                        if (i3 - 1 == s1.Length && i4 - 1 > 1)
                                        {
                                            list1.Add(s1);
                                            list2.Add(System.Text.Encoding.Default.GetString(bt2, 0, i4 - 1));
                                        }
                                    }
                                    else if (radioButton4.Checked == true)
                                    {
                                        if (i3 - 1 == s1.Length && i4 - 1 > 1)
                                        {
                                            list1.Add(s1);
                                            list2.Add(System.Text.Encoding.UTF8.GetString(bt2, 0, i4 - 1));
                                        }
                                    }
                                }
                            }
                            else
                            {
                                for (int ix = 0; ix <= x; ix++)
                                {
                                    if (i1 > 0)
                                    {
                                        i3 = 0;
                                        do
                                        {
                                            i1 = br1.ReadByte();
                                            bt1[i3] = (byte)i1;
                                            i3++;
                                        } while (i1 != 0);
                                        fs1.Seek(-i3, SeekOrigin.Current);
                                        u1 = br1.ReadUInt32();
                                        if (u1 != 4294967295)
                                        {
                                            s1 = System.Text.Encoding.Default.GetString(bt1, 0, i3 - 1);
                                            if (i3 - 1 == s1.Length)
                                            {
                                                if (i3 - 1 > 1)
                                                {
                                                    list3.Add(s1);
                                                }
                                            }
                                        }
                                        fs1.Seek(i3 - 4, SeekOrigin.Current);
                                    }
                                    if (ix < x)
                                    {
                                        do
                                        {
                                            i1 = br1.ReadByte();
                                        } while (i1 == 0);
                                        fs1.Seek(-1, SeekOrigin.Current);
                                    }
                                }
                                for (int ix = 0; ix <= y; ix++)
                                {
                                    if (i2 > 0)
                                    {
                                        i4 = 0;
                                        do
                                        {
                                            i2 = br2.ReadByte();
                                            bt2[i4] = (byte)i2;
                                            i4++;
                                        } while (i2 != 0);
                                        fs2.Seek(-i4, SeekOrigin.Current);
                                        u2 = br2.ReadUInt32();
                                        if (u2 != 4294967295)
                                        {
                                            if (i4 - 1 > 1)
                                            {
                                                if (radioButton3.Checked == true)
                                                {
                                                    list4.Add(System.Text.Encoding.Default.GetString(bt2, 0, i4 - 1));
                                                }
                                                else if (radioButton4.Checked == true)
                                                {
                                                    list4.Add(System.Text.Encoding.UTF8.GetString(bt2, 0, i4 - 1));
                                                }
                                            }
                                        }
                                        fs2.Seek(i4 - 4, SeekOrigin.Current);
                                    }
                                    if (ix < y)
                                    {
                                        do
                                        {
                                            i2 = br2.ReadByte();
                                        } while (i2 == 0);
                                        fs2.Seek(-1, SeekOrigin.Current);
                                    }
                                }
                            }
                            fs1.Seek(l1 + z, SeekOrigin.Begin);
                            fs2.Seek(l2 + z, SeekOrigin.Begin);
                        }
宇宙经过120亿年的漫长进化才有一个独一无二的你存在这个世界上,其概率如此之小,已无法用数字来描述...
离线刘波

发帖
2998
金钱
200
威望
20
只看该作者 16 发表于: 2007-06-23
唉,世纪这么多人才,为什么就没人愿意建立一个开源的工具呢,从以前的STA,一直到今天的这个Athena-A,如果是开源的还用得着这么多的重复开发吗,恐怕早就已经诞生一个很顺手很好用(不说完美)的工具了。可惜啊
离线lbscyb

发帖
12
金钱
0
威望
0
只看该作者 17 发表于: 2007-11-01
老实说,还是觉得CXA好用,因为这个工具有些字符还是提取不出来,上手不容易
离线softpro

发帖
28
金钱
40
威望
4
只看该作者 18 发表于: 2007-11-02
如果能够支持非英文字符的提取就好了
感觉这个软件有些功能比点睛要方便一些
有才而性缓定属大才,有智而气和斯为大智。
离线Dreamby

发帖
265
金钱
340
威望
34
只看该作者 19 发表于: 2007-11-02
可能是太蠢了,不知道有没有比较好的示例教程!