Git Product home page Git Product logo

pobfrontend's Introduction

PoBFrontend

A cross-platform Path of Building driver.

Building

Dependencies:

  • Qt5
  • luajit
  • zlib
  • opengl
  • lua-curl (see below)
  • Bitstream-Vera and Liberation TTF fonts. Will work without these but most likely look terrible.

Build dependencies:

  • meson
  • pkg-config
  • ninja (optional, can tell meson to generate makefiles if you prefer)

Build Lua-Curl:

You need to build Lua-Curl for luajit.

Edit the Lua-Curl Makefile:

@@ -7,7 +7,7 @@ DESTDIR          ?= /
 PKG_CONFIG       ?= pkg-config
 INSTALL          ?= install
 RM               ?= rm
-LUA_IMPL         ?= lua
+LUA_IMPL         ?= luajit
 CC               ?= $(MAC_ENV) gcc
 
 LUA_VERSION       = $(shell $(PKG_CONFIG) --print-provides --silence-errors $(LUA_IMPL))

Run make. You should get lcurl.so.

Get the PoBFrontend sources:

git clone https://github.com/philroberts/pobfrontend.git

Build:

meson -Dbuildtype=release pobfrontend build
cd build
ninja

Run the thing:

cd /path/to/PathOfBuilding # <- a pathofbuilding git clone
for f in tree*.zip; do unzip $f;done # <- use the provided tree data because reasons
unzip runtime-win32.zip lua/xml.lua lua/base64.lua lua/sha1.lua
mv lua/*.lua .
rmdir lua
cp /path/to/lcurl.so . # our lcurl.so from earlier
/path/to/build/pobfrontend

You can adjust the font size up or down with a command line argument:

pobfrontend -2

Notes:

I have the following edit in my PathOfBuilding clone, stops it from saving builds even when I tell it not to:

--- a/Modules/Build.lua
+++ b/Modules/Build.lua
@@ -599,7 +599,7 @@ function buildMode:CanExit(mode)
 end
 
 function buildMode:Shutdown()
-       if launch.devMode and self.targetVersion and not self.abortSave then
+       if false then --launch.devMode and self.targetVersion and not self.abortSave then
                if self.dbFileName then
                        self:SaveDBFile()
                        elseif self.unsaved then
OS X

On mac you need to invoke meson with some extra flags, per the luajit documentation:

LDFLAGS="-pagezero_size 10000 -image_base 100000000" meson pobfrontend build

pobfrontend's People

Contributors

aspel avatar philroberts avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

aspel

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.