Solved Games

Fbsdnew

Member

Reaction score: 4
Messages: 87

I read the steps to porting a new program to FreeBSD and saw that first you download the source code and get it to run on your own system and then compile it or something. How do you do this for runescape launcher?
 

Jose

Well-Known Member

Reaction score: 277
Messages: 412

 
OP
F

Fbsdnew

Member

Reaction score: 4
Messages: 87

It jumps right into the middle of instructions I don't understand. How to begin this process or even finish it, I have no idea. Please instruct me.
 

Phishfry

Son of Beastie

Reaction score: 2,011
Messages: 4,990

Many programs would have a ridiculously long compiler command line to compile so instead a makefile is used.
Why not compile hello_world.c and see what you are dealing with.

Here is an example compile command and why a makefile is preferred.
cc -w -o ../casample/unix/casample ../casample/unix/casample.c -I/usr/local/include -I../../common -L../../demo -L/usr/local/lib -lsc_da -lsc_ca -DUNIX -Wl,-rpath,../../demo

Do note that GCC is being removed from base system so use clang instead if possible.
 
OP
F

Fbsdnew

Member

Reaction score: 4
Messages: 87

Many programs would have a ridiculously long compiler command line to compile so instead a makefile is used.
Why not compile hello_world.c and see what you are dealing with.

Here is an example compile command and why a makefile is preferred.
cc -w -o ../casample/unix/casample ../casample/unix/casample.c -I/usr/local/include -I../../common -L../../demo -L/usr/local/lib -lsc_da -lsc_ca -DUNIX -Wl,-rpath,../../demo

Do note that GCC is being removed from base system so use clang instead if possible.
I'm compiling the source code right? I need the source code first from somewhere like GitHub or sourceforge. I can use svn check out and over and ssh connection if I want. Before the porting process it's compiled with cc??? Any other steps missing? Runelite has this available via the URL with svn what am I to do after that step. Also I can just download the whole pkg and get a tar.gz.
 

Phishfry

Son of Beastie

Reaction score: 2,011
Messages: 4,990

Before the porting process it's compiled with cc?
Yes. But you must determine if the Linux libraries are named the same on FreeBSD.
Part of compiling is linking(-I) and libraries(-L) as shown in my example.
For Downloading I would recommend svnlite for SVN and git-lite for Git.
They are lightweight tools to download projects.
svnlite is in base and git-lite is in ports.
 

Phishfry

Son of Beastie

Reaction score: 2,011
Messages: 4,990

It jumps right into the middle of instructions I don't understand.
Seems pretty straight forward to me.
This is a Java application and has good instructions.
Whether all those applications are available on FreeBSD is yours to research.
Start with IntelliJ IDEA and Maven plus the plugin Lombok.
www.freshports.org and their search tool is where to start.
If these programs are in ports you have a good beginning point.
Java is pretty cross platform so this might be doable.
Get it working on your machine before worrying about a port.
java/intellij
devel/maven
 
OP
F

Fbsdnew

Member

Reaction score: 4
Messages: 87

2
Yes. But you must determine if the Linux libraries are named the same on FreeBSD.
Part of compiling is linking(-I) and libraries(-L) as shown in my example.
For Downloading I would recommend svnlite for SVN and git-lite for Git.
They are lightweight tools to download projects.
svnlite is in base and git-lite is in ports.
Still confused as to how I use it once ive installed into my directory
 
OP
F

Fbsdnew

Member

Reaction score: 4
Messages: 87

Seems pretty straight forward to me.
This is a Java application and has good instructions.
Whether all those applications are available on FreeBSD is yours to research.
Start with IntelliJ IDEA and Maven plus the plugin Lombok.
www.freshports.org and their search tool is where to start.
If these programs are in ports you have a good beginning point.
Java is pretty cross platform so this might be doable.
Get it working on your machine before worrying about a port.
java/intellij
devel/maven
It does not to me :( do you know what this is?
 

Phishfry

Son of Beastie

Reaction score: 2,011
Messages: 4,990

You can lead a horse to water, but you can't make him drink

IntelliJ has the ability to download the project directly. No Git or SVN usage needed.
Study the instruction page provided for you. It contains everything you need. Including screenshots.
You will not find much clearer instructions.

If you don't know the proper place to put executables than install a port and see where it ends up.
Hint it is under /usr/local/ somewhere.
 
OP
F

Fbsdnew

Member

Reaction score: 4
Messages: 87

You can lead a horse to water, but you can't make him drink

IntelliJ has the ability to download the project directly. No Git or SVN usage needed.
Study the instruction page provided for you. It contains everything you need. Including screenshots.
You will not find much clearer instructions.

If you don't know the proper place to put executables than install a port and see where it ends up.
Hint it is under /usr/local/ somewhere.
What is meant by storing executables? I don't know what that is.
 

Alexander88207

Active Member

Reaction score: 85
Messages: 167

Its possible to play runelite using the java executable.

1. Go to https://runelite.net/ and click on "Download for all platforms"
2. Install java/openjdk11 with pkg install openjdk11 or using the ports.
3. execute java -jar RuneLite.jar
4. Have Fun :)

1603007463304.png


To uninstall the game remove /usr/home/$USER/.runelite and the downloaded RuneLite.jar file ofc.
 
Top