Register Forum Rules Recent Forum Posts View Members Advanced Search
Current Time in Taiwan (GMT+8): (Scheduled Events)
Current Taiwanese Game Version: 1.57.49 (Released: May 15)
Download
Character List
Guild List

December 8th, 2012
#11
in korea, we can't write "dr. gero" -> dr. g***. "class" -> cl***.

It becus it contains the words ero and ass my noob lol. But for this translation stuff better have 1 person that do it in a download link
December 8th, 2012
#12
Well after patch only The Upper part and down part of the File is changing.
Means you can Copy Translated stuff, and paste it in the New File.
I made yesterday a test and translated much Effect strings, but i dont find any good words which are same length.
I will test today if it works to shorten an other String, so i can use more strings on that part.
December 8th, 2012
#13
If citrinate has time, he could write a program that would patch it...
I dnt remember how to program anymore, get file and if **** a- or something....find and write...shouldnt be very hard, only thing is that theres alot of text....
December 8th, 2012
#14
If citrinate has time, he could write a program that would patch it...
I dnt remember how to program anymore, get file and if **** a- or something....find and write...shouldnt be very hard, only thing is that theres alot of text....

you mean like the current patch can just changes the same lines when you activate it
December 8th, 2012
#15
December 8th, 2012
#16
Like Cit said be careful.
@Malu in each version there is different censored words.
On HK there are many including com & many other dirty words. On TW however its a bit different.
December 8th, 2012
#17
On KR we can't say stuff like Including, Hero, sentence endings like: Ses, and other random censored words. However, certain naughty words I won't say here can be said, un-beeped.
December 8th, 2012
#18
Hmm trojan horse in desktop backround as wallpaper love it...all this is great idea but to hard for me,maybe im to old invest time on such decryption,i thoughted it would be more easier :/,anyways its heck of a job,grats and keep going on mate
December 8th, 2012
#19
My Wallpaper is Sign of a Forum, which works with Reverse Engineering and more.
December 9th, 2012
#20
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.util.Scanner;
public class FileIOTest {
static StringBuffer stringBufferOfData = new StringBuffer();
static String filename = null;
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
boolean fileRead = readFile();
if (fileRead) {
replacement();
writeToFile();
}
System.exit(0);
}
private static boolean readFile() {
System.out.println("Please enter your files name and path i.e C:\\test.txt: ");
filename = sc.nextLine();
Scanner fileToRead = null;
try {
fileToRead = new Scanner(new File(filename));
for (String line; fileToRead.hasNextLine() && (line = fileToRead.nextLine()) != null; ) {
System.out.println(line);
stringBufferOfData.append(line).append("\r\n");
}
fileToRead.close();
return true;
} catch (FileNotFoundException ex) {
System.out.println("The file " + filename + " could not be found! " + ex.getMessage());
return false;
} finally {
fileToRead.close();
return true;
}

}
private static void writeToFile() {
try {
BufferedWriter bufwriter = new BufferedWriter(new FileWriter(filename));
bufwriter.write(stringBufferOfData.toString());
bufwriter.close();
} catch (Exception e) {
System.out.println("Error occured while attempting to write to file: " + e.getMessage());
}
}
private static void replacement() {
System.out.println("That **** is in your file");
String lineToEdit1 = "憲法";
String lineToEdit2 = "實力";

System.out.println("We have started replacing ");

String replacementText1 = "DEX";
String replacementText2 = "STR";
int startIndex1 = stringBufferOfData.indexOf(lineToEdit1);
int endIndex1 = startIndex1 + lineToEdit1.length();

int startIndex2 = stringBufferOfData.indexOf(lineToEdit2);
int endIndex2 = startIndex2 + lineToEdit2.length();

stringBufferOfData.replace(startIndex1, endIndex1, replacementText1);
stringBufferOfData.replace(startIndex2, endIndex2, replacementText2);

System.out.println("Done...:\n" + stringBufferOfData);
}
}

My extremely ****ty programming skills...
But something like this should be written...I quess chinese and translation files should be read and compared by array or something and that would replace in DBO...also string lenght check and so so...
This is basic code, finds string and replaces it with what its defined in code...