Jump to content

manpaint55

Member
  • Content count

    51
  • Joined

  • Last visited

About manpaint55

  • Rank
    Iron Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have noticed they are nothing source are perfect (exept maybe rsc ones) I think the game code is send in server to the game so exept if its a source code leak the base are a recreation of the code but yasteryear i have found this thread on gbatemp (warning no rs linked) [URL="https://gbatemp.net/threads/save-nintendo-wifi-a-project-to-save-online-servers-for-wii-and-ds-games.362716/"]https://gbatemp.net/threads/save-nintendo-wifi-a-project-to-save-online-servers-for-wii-and-ds-games.362716/[/URL] in this thread they capture packet from online server i think if is possible with rs is can be useful right?
  2. in the original post i found this but i think is only for repack login music you should be able to pack it like this using openrs [CODE]public static void main(String[] args) throws IOException { Cache cache = new Cache(FileStore.open("cachedir")); File f = new File("time"); ByteBuffer buffer = ByteBuffer.allocate((int) f.length()); new FileInputStream(f).getChannel().read(buffer); cache.write(6, 0, new Container(0, buffer, 1)); //replaces login music cache.close(); }[/CODE]
  3. [quote name='So Clear']Post your erorr:confused:[/QUOTE] unable to load com.rs.tools.MidiDumper
  4. I have tried to dump 667 midis with this code but is dont work... the code [CODE]import java.io.*; import java.util.zip.GZIPInputStream; public class MidiDumper { private static final String folder = "C:\\Users\\admin\\Desktop\\Autres Dosiers (1 2 3)\\autre 2\\runescape private server\\runeremake\\Pure 667 Feather Server\\data\\cache"; private static final String savefolder = "C:\\save\\"; private static DataInputStream cache; public static void main(String args[]) throws Exception { File f = new File(folder + "main_file_cache.dat2"); byte bytes[] = new byte[(int) f.length()]; new FileInputStream(f).read(bytes); BufferedInputStream cache2 = new BufferedInputStream(new ByteArrayInputStream(bytes)); cache = new DataInputStream(cache2); cache.mark(bytes.length); DataInputStream midi = new DataInputStream(new FileInputStream(folder + "main_file_cache.idx11")); int count = 0; while (midi.available() > 0) { int length = (midi.readUnsignedByte() << 16) + (midi.readUnsignedByte() << 8) + midi.readUnsignedByte(); int offset = (midi.readUnsignedByte() << 16) + (midi.readUnsignedByte() << 8) + midi.readUnsignedByte(); byte[] b = readFile(length, offset); if(b == null) continue; File file = new File(savefolder + "midi" + (++count) + ".mid"); if(!file.exists()) if(!file.createNewFile()) continue; RandomAccessFile raf = new RandomAccessFile(file, "rw"); raf.write(b); raf.close(); } } public static byte[] getParody(int index) throws Exception { cache.reset(); byte buffer[] = new byte[520]; int jump = index * 520; cache.skipBytes(jump); cache.readFully(buffer); return buffer; } public static byte[] readFile(int size, int offset) throws Exception { byte b[] = getFile(size, offset); int length = ((b[5] & 0xff) << 24) + ((b[6] & 0xff) << 16) + ((b[7] & 0xff) << 8) + b[8]; if(length > 0) { if(b[0] == 2) { GZIPInputStream d = new GZIPInputStream(new ByteArrayInputStream(b, 9, length)); byte z[] = new byte[b.length]; int i = d.read(z); byte x[] = new byte[i]; System.arraycopy(z, 0, x, 0, i); return x; } else if(b[0] == 1) { System.out.println("Fu**in' sh**, it's not a midi!!!"); return null; } return b; } return null; } public static byte[] getFile(int size, int offset) throws Exception { if(offset <= 0) return null; byte outfile[] = new byte[size]; int bits = offset; int length = 0; while(true) { byte buffer[] = getParody(bits); if(buffer == null) return null; bits = ((buffer[4] & 0xff) << 16) + ((buffer[5] & 0xff) << 8) + (buffer[6] & 0xff); if(size - length - 8 > 512) { System.arraycopy(buffer, 8, outfile, length, 512); } else { System.arraycopy(buffer, 8, outfile, length, size - length - 8); return outfile; } length += 512; } } }[/CODE] Any idea to fix/get this class?
  5. [quote name='Chronicscape']I sent it to u man in the package.... If you dont know how to place it in a folder and change the directory inside the bat then you shouldnt be doing this.[/QUOTE] if is the mididumper.java a you talking yes i have but is still say this class is missing.
  6. [quote name='Chronicscape']change "com.rs.tool.MidiDumper" to ur location [MENTION=258406]manpaint55[/MENTION][/QUOTE] I dont have this class.
  7. [quote name='Chronicscape']Here you go... [URL="http://www.mediafire.com/download/8o93zurlvd93uh4/Music+Dumper+BAT+and+Jfile.rar"]Music Dumper BAT and Jfile ~ Baki[/URL] Just change the directory inside the bat to wherever you place the java file at.[/QUOTE] I have a error it says : Unable to load com.rs.tool.Midi.Dumper Where i find this class???
  8. [quote name='Chronicscape']Here you go... [URL="http://www.mediafire.com/download/8o93zurlvd93uh4/Music+Dumper+BAT+and+Jfile.rar"]Music Dumper BAT and Jfile ~ Baki[/URL] Just change the directory inside the bat to wherever you place the java file at.[/QUOTE] thank!
  9. Edit: i tun graphic in very low and its work.
  10. I need to compile or run this code to dump music [CODE]import java.io.*; import java.util.zip.GZIPInputStream; public class MidiDumper { private static final String folder = "C:\\WINDOWS\\.file_store_32\\runescape\\"; private static final String savefolder = "C:\\save\\"; private static DataInputStream cache; public static void main(String args[]) throws Exception { File f = new File(folder + "main_file_cache.dat2"); byte bytes[] = new byte[(int) f.length()]; new FileInputStream(f).read(bytes); BufferedInputStream cache2 = new BufferedInputStream(new ByteArrayInputStream(bytes)); cache = new DataInputStream(cache2); cache.mark(bytes.length); DataInputStream midi = new DataInputStream(new FileInputStream(folder + "main_file_cache.idx11")); int count = 0; while (midi.available() > 0) { int length = (midi.readUnsignedByte() << 16) + (midi.readUnsignedByte() << 8) + midi.readUnsignedByte(); int offset = (midi.readUnsignedByte() << 16) + (midi.readUnsignedByte() << 8) + midi.readUnsignedByte(); byte[] b = readFile(length, offset); if(b == null) continue; File file = new File(savefolder + "midi" + (++count) + ".mid"); if(!file.exists()) if(!file.createNewFile()) continue; RandomAccessFile raf = new RandomAccessFile(file, "rw"); raf.write(b); raf.close(); } } public static byte[] getParody(int index) throws Exception { cache.reset(); byte buffer[] = new byte[520]; int jump = index * 520; cache.skipBytes(jump); cache.readFully(buffer); return buffer; } public static byte[] readFile(int size, int offset) throws Exception { byte b[] = getFile(size, offset); int length = ((b[5] & 0xff) << 24) + ((b[6] & 0xff) << 16) + ((b[7] & 0xff) << 8) + b[8]; if(length > 0) { if(b[0] == 2) { GZIPInputStream d = new GZIPInputStream(new ByteArrayInputStream(b, 9, length)); byte z[] = new byte[b.length]; int i = d.read(z); byte x[] = new byte[i]; System.arraycopy(z, 0, x, 0, i); return x; } else if(b[0] == 1) { System.out.println("Fu**in' sh**, it's not a midi!!!"); return null; } return b; } return null; } public static byte[] getFile(int size, int offset) throws Exception { if(offset <= 0) return null; byte outfile[] = new byte[size]; int bits = offset; int length = 0; while(true) { byte buffer[] = getParody(bits); if(buffer == null) return null; bits = ((buffer[4] & 0xff) << 16) + ((buffer[5] & 0xff) << 8) + (buffer[6] & 0xff); if(size - length - 8 > 512) { System.arraycopy(buffer, 8, outfile, length, 512); } else { System.arraycopy(buffer, 8, outfile, length, size - length - 8); return outfile; } length += 512; } } }[/CODE] But i dont know how.
  11. First google matrix 838 download cache/server/deob create a folder in your desktop called 838cache (place the cache here obviously) in the 838 folder (in base) create a text document paste this code (fix the java path if you need) @echo off "C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" -Xmx256m -Xss2m -Dsun.java2d.noddraw=true -XX:+CreateMinidumpOnCrash -XX:CompileThreshold=1500 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -cp bin;./clientlibs.jar; RS3Applet pause click save as run.bat (save in the 839 folder) WARNING YOU NEED TO DO THIS EVERY TIME YOU WANT TO PLAY YOU SERVER run the ~run.bat WARNING FOR NEW JAVA VERSION go to program file and the jre folder go in bin create a new folder called server and in the .bin folder copy classes.jva and jvm.dll and Xusage.txt and paste in the server folder. (NOTE: is able to supporting 823 cache but is crash at 99%)
  12. I have dumped this to my 580 cache in my grandmother computer DL Link:[URL="https://mega.co.nz/#!MpEDHb7b!Il6wSE0LVXYS5lpVl75uofFdwijUI4HoM6Xd69gCGEQ"]https://mega.co.nz/#!MpEDHb7b!Il6wSE0LVXYS5lpVl75uofFdwijUI4HoM6Xd69gCGEQ[/URL]
×