|
@@ -5,19 +5,19 @@ import java.io.RandomAccessFile;
|
|
public class GEXWPatternMasseuse
|
|
public class GEXWPatternMasseuse
|
|
{
|
|
{
|
|
public static void main(String[] args) throws Exception{
|
|
public static void main(String[] args) throws Exception{
|
|
- RandomAccessFile base = new RandomAccessFile("/home/lh/code/LOA-23/HAXXZ0r_TESTS/GEXWING.BIN","r");
|
|
|
|
|
|
+ RandomAccessFile base = new RandomAccessFile("/mnt/d/LOA/000023/HAXXZ0r_TESTS/gplus_tests/GEXWING.BIN","r");
|
|
|
|
|
|
- RandomAccessFile frq = new RandomAccessFile("/home/lh/code/LOA-23/HAXXZ0r_TESTS/GEXWING.BIN.freq.unified","rw");
|
|
|
|
|
|
+ RandomAccessFile frq = new RandomAccessFile("/mnt/d/LOA/000023/HAXXZ0r_TESTS/gplus_tests/GEXWING.BIN.f3.freq.unified","rw");
|
|
|
|
|
|
for(int f=0;f<40;f++)
|
|
for(int f=0;f<40;f++)
|
|
{
|
|
{
|
|
|
|
|
|
- base.seek(0);
|
|
|
|
|
|
+ base.seek(0xFA);
|
|
byte[] freqmap = new byte[256];
|
|
byte[] freqmap = new byte[256];
|
|
|
|
|
|
- int fcnt = Integer.reverseBytes(base.readInt());
|
|
|
|
|
|
+ int fcnt = 1;//Integer.reverseBytes(base.readInt());
|
|
|
|
|
|
- base.seek(0x200);
|
|
|
|
|
|
+ base.seek(0x322c);
|
|
for(int i=0;i<fcnt;i++)
|
|
for(int i=0;i<fcnt;i++)
|
|
{
|
|
{
|
|
int len = Integer.reverseBytes(base.readInt())-2;
|
|
int len = Integer.reverseBytes(base.readInt())-2;
|