[BACK]Return to README-OpenBSD.md CVS log [TXT][DIR] Up to [local] / projects / libgdx-openbsd

Diff for /projects/libgdx-openbsd/README-OpenBSD.md between version 1.5 and 1.6

version 1.5, 2019/03/14 15:15:08 version 1.6, 2019/03/15 23:23:42
Line 57 
Line 57 
 Step-by-Step:  Step-by-Step:
 -------------  -------------
   
 1. Copy the files of Slay the Spire to your OpenBSD installation.  1. Copy the file desktop-*.jar from Slay the Spire to your OpenBSD installation.
   
 2. Locate desktop-1.0.jar and extract it to a separate directory:  2. Extract desktop-1.0.jar:
   
    $ mkdir unjar     $ jar xvf desktop-*.jar
    $ cd unjar  
    $ jar xvf path/to/desktop-1.0.jar  
   
 3. Replace libopenal64.so and liblwjgl64.so with the corresponding libraries  3. Replace libopenal64.so and liblwjgl64.so with the corresponding libraries
    from the packages, for example:     from the packages, for example:
   
    $ cp /usr/local/lib/libopenal.so.3.1 libopenal64.so     $ cp /usr/local/lib/libopenal.so.3.1 libopenal64.so
      $ cp /usr/local/share/lwjgl/liblwjgl64.so liblwjgl64.so
   
 4. Obtain the libgdx-openbsd code:  4. Obtain the libgdx-openbsd code:
   
Line 78 
Line 77 
   
    $ cd gdx/jni && ant -f build-openbsd64.xml && cd -     $ cd gdx/jni && ant -f build-openbsd64.xml && cd -
    $ cd extensions/gdx-freetype/jni && ant -f build-openbsd64.xml && cd -     $ cd extensions/gdx-freetype/jni && ant -f build-openbsd64.xml && cd -
    $ cd extensions/gdx-controllers/gdx-controllers-desktop/jni && \  
      ant -f build-openbsd64.xml && cd -  
   
 6. Copy these libs to the Slay the Spire directory, replacing existing files.  6. Copy these libs to the Slay the Spire directory, replacing existing files.
    After building with ant(1), the libs are located in the libs/openbsd64     After building with ant(1), the libs are located in the libs/openbsd64
    subdirectory (e.g. gdx/libs/openbsd64).     subdirectory (e.g. gdx/libs/openbsd64).
   
 7. Open the libgdx-openbsd directory in intellij(1). This will import the Maven  7. Go into the following subdirectories and run
    project.  
   
 8. Go into the following subdirectories and run  
   
    $ mvn package     $ mvn package
   
    in each of them, thereby creating the required class files:     in each of them, thereby creating the required class files:
Line 100 
Line 94 
    - extensions/gdx-controllers/gdx-controllers     - extensions/gdx-controllers/gdx-controllers
    - extensions/gdx-controllers/gdx-controllers-desktop     - extensions/gdx-controllers/gdx-controllers-desktop
   
 9. Locate the class trees in all these modules (in target/classes subdir) and  8. Locate the class trees in all these modules (in target/classes subdir) and
    put all of them together, for example with:     put all of them together, for example with:
   
    $ rsync -avh gdx/target/classes/* /tmp/     $ rsync -avh gdx/target/classes/* /tmp/
Line 108 
Line 102 
   
    etc. (gdx-jnigen may not be needed anymore in this step.)     etc. (gdx-jnigen may not be needed anymore in this step.)
   
 10.Remove the original com/badlogic subdir in Slay the Spire and replace it  9. Remove the original com/badlogic subdir in Slay the Spire and replace it
    with the one that you just built (in /tmp/com/badlogic following the     with the one that you just built (in /tmp/com/badlogic following the
    example code).     example code).
   
    $ rm -rf com/badlogic     $ rm -rf com/badlogic
    $ cp -R /tmp/com/badlogic com/     $ cp -R /tmp/com/badlogic com/
   
 11.The main java class and the arguments for the Java VM are documented in the  10.The main java class and the arguments for the Java VM are documented in the
    config.json that comes with the game. Based on that, start the game with the     config.json that comes with the game. Based on that, start the game with the
    following command:     following command:
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Contact: <mail@mail.thfr.info>