Jump to content

VDI FreeBSD 12.1 / Compilable Sources


Recommended Posts

M2 Download Center

Download Here ( Internal )

Heys guys,

 

I just realized that so many of you still using that vdi from 2014 with an old bsd and an old gcc that was not even c++11 compatible. So that I just created a new image with a fresh FreeBSD (12.1) having gcc 9 and without an Extern directory (all externals are installed from pkg repo). I put on some (I think) unmodified sources that can be compiled on it but you can upload your own files there.

I hope it will make many of yours life easier!

 

Download: https://mega.nz/file/PNgW1DjJ#g_FUHsjGUfyqcfXcnRbk8wluWJsaPYR3LR64nlLDy8s

 

Spoiler

 

username: root

password: admin

 

 

  • Metin2 Dev 1
  • Love 15
  • Good 1

AxgtRfG.png
C++ programmer at Gameloft

Link to comment

A question was deleted: someone had problems with compiling the game because he didn't compile the libs before. For that simply run gmake in /usr/src.

Edited by Distraught

AxgtRfG.png
C++ programmer at Gameloft

Link to comment

For those who need it I uploaded some (I think) unmodified basic sources for client binary that will definitely work with the server binary on the vdi: https://distraught.hu/download/m2dev/client_binary.rar

You will need to have boost somewhere on your PC and adjust the path of that in Properties (img below to help).

I compiled it with VS2019 (msvc142) so you should have no problem if you do so.

how_to_change_boost_path.png

(I made this screenshot after deleting the project and opening one of my current projects so you won't find the Tracking there)

Edited by Distraught

AxgtRfG.png
C++ programmer at Gameloft

Link to comment
  • 3 weeks later...
  • 1 month later...
  • VIP
Posted (edited)

Good sharing

 

@dylanbab22

If you use compatible files you will not have learned anything.
There are many guides explaining how to bring any file to the next gcc, why don't you give it a try? if you have problems open a post I try to help you

Edited by Mitachi
  • Good 1

The best theory is practice

Link to comment
  • 4 months later...
Posted (edited)

Hi @Distraught i tried this VM. I did not modified anything just removed #define ENABLE_LIMIT_TIME, nothing else since you already fixed the 192.168 adresses. The game & db not starting when i try a ./db & and ./game &. There is no message in the console, and a game.core is generated. However I can't use them for debugging because pkg's gdb is not compatible with 12.1, message: ld-elf.so.1: /usr/local/bin/gdb: Undefined symbol "[email protected]_1.6" 1.6 means FreeBSD 13 so something got wrong in the ports because it is 12.1.

Can you try to start your vm, compile the game and just try to run it even in /usr/src/game folder? It should generate at least a syserr/version.txt or should give some error like missing CONFIG if it works, or give nothing like me. But once again i really just removed limit time so i don't think i screwed anything, also i did not even touched the db and that's not starting too.

Edited by TMP4
Link to comment
  • VIP
Posted (edited)

 

@TMP4 I can't tell you why you don't start the game without a gdb, but I can tell you that the gdb problem you encountered does not come from the compilation the game file has undergone, but your jail is "badly updateds or not updates" as it is missing that flag required by gdb, probably in the latest versions

You could try updating your freebsd

Edited by Mitachi

The best theory is practice

Link to comment
Posted (edited)
8 hours ago, Mitachi said:

 

@TMP4 I can't tell you why you don't start the game without a gdb, but I can tell you that the gdb problem you encountered does not come from the compilation the game file has undergone, but your jail is "badly updateds or not updates" as it is missing that flag required by gdb, probably in the latest versions

You could try updating your freebsd

Bruh i just wanted to say gdb fcked up on this 12.1 vm so i can't provide a gdb (bt full) log. 

Of course i start the game and db by ./game and ./db.

Edited by TMP4
Link to comment
  • 3 weeks later...
On 11/8/2020 at 1:55 PM, Distraught said:

M2 Download Center

Download Here ( Internal )

Heys guys,

 

I just realized that so many of you still using that vdi from 2014 with an old bsd and an old gcc that was not even c++11 compatible. So that I just created a new image with a fresh FreeBSD (12.1) having gcc 9 and without an Extern directory (all externals are installed from pkg repo). I put on some (I think) unmodified sources that can be compiled on it but you can upload your own files there.

I hope it will make many of yours life easier!

 

Download: https://mega.nz/file/PNgW1DjJ#g_FUHsjGUfyqcfXcnRbk8wluWJsaPYR3LR64nlLDy8s

 

  Hide contents

 

username: root

password: admin

 

 

Thanks for sharing it, is it a 32-bit version? Can gcc7 be installed in this version?

  • Metin2 Dev 1
Link to comment

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


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.