lequietriot / old-school-runescape-cache-tools Goto Github PK
View Code? Open in Web Editor NEWThe ultimate suite of Old School RuneScape Cache editing tools. Also supports most RS2, RSHD, & RS3 caches.
The ultimate suite of Old School RuneScape Cache editing tools. Also supports most RS2, RSHD, & RS3 caches.
When you load a 700+ revision cache, like the 727 cache downloaded from here, the application freezes and you will be unable to click or open anything. When looking in Terminal, there seem to be no Exception messages...or anything at all for that matter.
Program version: v.0.3.0-beta (jar version)
OS: Windows 10 Education 21H2
Java version:
java version "1.8.0_333"
Java(TM) SE Runtime Environment (build 1.8.0_333-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.333-b02, mixed mode)
When trying to render a MIDI file using a custom soundfont (both using a custom soundfont and the decoded soundfont created using this program), it doesn't let me and puts out this error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at osrs.MusicPatch.mapSoundFontSamples(MusicPatch.java:1207)
at osrs.MidiPcmStream.loadSoundFont(MidiPcmStream.java:869)
at application.GUI.renderSong(GUI.java:519)
at application.GUI.lambda$chooseMusicTrack$18(GUI.java:204)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Program version: v.0.3.1-beta (jar version)
OS: Windows 10 Education 21H2
Java version:
java version "1.8.0_333"
Java(TM) SE Runtime Environment (build 1.8.0_333-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.333-b02, mixed mode)
When not loading a custom MIDI file, i expect that the music player is loading a track from cache. Especially when you enable "Shuffle Music".
Instead, you get this error message:
Exception in thread "Thread-2" java.lang.NullPointerException
at java.util.Objects.requireNonNull(Unknown Source)
at osrs.MusicTrack.readTrackFromString(MusicTrack.java:453)
at application.GUI.lambda$initSoundEngine$29(GUI.java:576)
at java.lang.Thread.run(Unknown Source)
Selecting Index 6 or any file under the archives doesn't work either. Switching the index in the music player to 11 only plays a track similar to the cutscene after you completed the starter quest of 'Receipe for Disaster'. It doesn't shuffle to any other track after playing that track, it will only loop to that track.
This issue is perceived on any cache (Old School RuneScape and RSHD).
The only workaround for playing RuneScape tracks after each other or playing in shuffle mode is loading the custom MIDI files and load an another one. But it's not how it should work i think.
Version: 0.2.0 (Jar file)
If you change a value like the volume or sample rate value, the setting doesn't apply when pressing Enter or leaving the input field.
I tested this by changing these values and then rendering a MIDI to a file. The sample rate is still the original and the volume has been unchanged.
It also seems the Music Player doesn't work sometimes after loading the cache with playing or exporting MIDI files to file, if iexport a MIDI file from the cache afterwards from example, then it will play the MIDI file and you can export it, although if you change a value, the changed value don't apply to the exported file when exporting again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.