Coder Social home page Coder Social logo

Can't build properly on OSX about raftools HOT 2 CLOSED

Rested avatar Rested commented on June 14, 2024
Can't build properly on OSX

from raftools.

Comments (2)

Rested avatar Rested commented on June 14, 2024

and when i try to click on a dds file after running from bin/lib/ i get

Exception in thread "AWT-EventQueue-0" java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:506)
at java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:361)
at net.vs49688.rafview.dds.DDSImage$Header.read(DDSImage.java:610)
at net.vs49688.rafview.dds.DDSImage.readFromBuffer(DDSImage.java:714)
at net.vs49688.rafview.dds.DDSImage.read(DDSImage.java:195)
at net.vs49688.rafview.gui.DDSViewer.setDDS(DDSViewer.java:68)
at net.vs49688.rafview.gui.Controller$DDSDelayedLoader.lambda$load$0(Controller.java:394)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

screen shot 2017-03-22 at 22 11 13

from raftools.

vs49688 avatar vs49688 commented on June 14, 2024

Right, so in regards to the first one, it's not actually possible to run it directly via Gradle. I usually just run gradle jar and use the JAR file.

As for the DDS issue, it's possible that it's in a format that's not supported by the loader. Does this problem occur with all DDS files, or just that one? Try loading one of the champion splashes that appear on the loading screen - they should work.

from raftools.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.