-
Install docker (see https://docs.docker.com/install/linux/docker-ce/ubuntu/ or find instructions for your distribution)
-
Build the package:
git clone https://github.com/Budabot/ItemsExtractor.git
cd ItemsExtractor
docker run -it --rm --name items-extractor-package -v "$(pwd)":/app -v ~/.m2:/root/.m2 -w /app maven:3.3-jdk-8 mvn -e clean package
-
Release will be located at:
~/ItemsExtractor/target/release/ItemsExtractor-<version>
itemsextractor's Introduction
itemsextractor's People
itemsextractor's Issues
ItemsExtractor doesn't work on Linux
When using release 1.4 on Linux, I get the following stacktrace:
# java -cp ".:lib/*" com.jkbff.ao.itemsextractor.Program -d /home/mark/Games/AOClassic/drive_c/Funcom/Anarchy\ Online/
2018-10-18 23:34:49,287 DEBUG [main] (Runner.scala:30) - reading index file entries
2018-10-18 23:34:58,226 ERROR [main] (Program.scala:24) -
java.io.EOFException
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:438)
at java.io.RandomAccessFile.readFully(RandomAccessFile.java:416)
at com.jkbff.ao.itemsextractor.rdb.RDBFunctions$.readLittleEndianInt(RDBFunctions.scala:13)
at com.jkbff.ao.itemsextractor.rdb.RDBExtractor.parseAttribute(RDBExtractor.scala:45)
at com.jkbff.ao.itemsextractor.rdb.RDBExtractor$$anonfun$1.apply(RDBExtractor.scala:20)
at com.jkbff.ao.itemsextractor.rdb.RDBExtractor$$anonfun$1.apply(RDBExtractor.scala:20)
at scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:142)
at scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:142)
at scala.collection.immutable.NumericRange.foreach(NumericRange.scala:73)
at scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:142)
at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:104)
at com.jkbff.ao.itemsextractor.rdb.RDBExtractor.readItem(RDBExtractor.scala:20)
at com.jkbff.ao.itemsextractor.Runner$$anonfun$1.apply(Runner.scala:31)
at com.jkbff.ao.itemsextractor.Runner$$anonfun$1.apply(Runner.scala:31)
at scala.collection.immutable.List.map(List.scala:277)
at com.jkbff.ao.itemsextractor.Runner.getEntries(Runner.scala:31)
at com.jkbff.ao.itemsextractor.Runner.run(Runner.scala:26)
at com.jkbff.ao.itemsextractor.Program$.delayedEndpoint$com$jkbff$ao$itemsextractor$Program$1(Program.scala:27)
at com.jkbff.ao.itemsextractor.Program$delayedInit$body.apply(Program.scala:9)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
at scala.App$class.main(App.scala:76)
at com.jkbff.ao.itemsextractor.Program$.main(Program.scala:9)
at com.jkbff.ao.itemsextractor.Program.main(Program.scala)
As I have no clue about Scala, there isn't much debugging I can contribute.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.