Anacondaqq

[wip] portable *athena compiler bundle for windows (~189MB)

Recommended Posts

Posted (edited)

 

Idea

Create a package of code compiler for the emulator, which took up little space, and will as portable as possible, it will not require installation, and which can be stored on a USB flash drive.
Current Status: semi-done (works with almost emulator, except rAthena for reasons inside CMakeList.txt and other broken parts in code)

Download Link: MEGA or Google Drive (189MB)

How to use?

Like on Linux, but on windows (thx to Cygwin)

  1.  Download, extract, run start_console.cmd
  2.  cd D:\path\to\your\emulator
  3. make clean && ./configure && make server
  4. wait when compilation will finish
  5. ./run-server.bat
  6. make sure that your SQL server is working fine (if you don't have any install, or take OpenServer from RO offline pack)

If you wish to run a server outside the Cygwin environment, you need a lot of dlls copy-paste from /bin/ folder to emulator
I give up to finish it and fix rAthena compiler issue (because the issue with CMake files, they are weird), because I have no time and it's out of my interest.

Extra Notes
Request: please, someone who can fix the rAthena to make work with this release.
189MB compiler is very helpful, because not need to download 1.9GB for lite MSBuild, and ~8-9GB for Visual Studio. Feel the difference.

 

  • Note: cygwin always slower than original native code.
  • Note: rAhena can't compile with -stl=c++11, use -stl=gnu++11
  • Note: even with this -stl=gnu+11 you will get a crash a char-server, if you are a developer, try to debug it by yourself and fix, this is rAthena issue, not a package issue.
  • Note: tested: hercules, eathena, brathena, 3ceam -> works fine without any issues, even in gdb mode.

 

Edited by Anacondaqq
  • Upvote 4
  • Love 3
  • MVP 1

Share this post


Link to post
Share on other sites
On 10/6/2018 at 6:20 AM, OmarAcero said:

@Anacondaqq  Friend, will you have this application for 32-bit systems?....  😥

Doesn't work on windows 32 bits...

Hi, sorry, but the package will not work for x86 systems (32bit) due to many factors and reasons...

  • Like 1

Share this post


Link to post
Share on other sites
9 hours ago, OmarAcero said:

I do not know how to add it here. It's laggy as I dunno what (I tried to include it, but dunno how to run it properly and it's really slow). So I have left the package as is just for lightweight compilation.

Share this post


Link to post
Share on other sites
On 4/21/2018 at 2:53 PM, Anacondaqq said:

 

Idea

Create a package of code compiler for the emulator, which took up little space, and will as portable as possible, it will not require installation, and which can be stored on a USB flash drive.
Current Status: semi-done (works with almost emulator, except rAthena for reasons inside CMakeList.txt and other broken parts in code)

Download Link: MEGA or Google Drive (189MB)

How to use?

Like on Linux, but on windows (thx to Cygwin)

  1.  Download, extract, run start_console.cmd
  2.  cd D:\path\to\your\emulator
  3. make clean && ./configure && make server
  4. wait when compilation will finish
  5. ./run-server.bat
  6. make sure that your SQL server is working fine (if you don't have any install, or take OpenServer from RO offline pack)

If you wish to run a server outside the Cygwin environment, you need a lot of dlls copy-paste from /bin/ folder to emulator
I give up to finish it and fix rAthena compiler issue (because the issue with CMake files, they are weird), because I have no time and it's out of my interest.

Extra Notes
Request: please, someone who can fix the rAthena to make work with this release.
189MB compiler is very helpful, because not need to download 1.9GB for lite MSBuild, and ~8-9GB for Visual Studio. Feel the difference.

 

  • Note: cygwin always slower than original native code.
  • Note: rAhena can't compile with -stl=c++11, use -stl=gnu++11
  • Note: even with this -stl=gnu+11 you will get a crash a char-server, if you are a developer, try to debug it by yourself and fix, this is rAthena issue, not a package issue.
  • Note: tested: hercules, eathena, brathena, 3ceam -> works fine without any issues, even in gdb mode.

 

i already download, but when i start start_console.cmd it's not showing any windows.

i'm using windows 10 X64 bit version

edit: found the problem, can't run inside another folder.

but got error like this, please help

image.png.ac5ee1bcddde262ae6e8b6b37aab11ae.png

Edited by hendra814

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now