Author Topic: Environment to Build NL  (Read 649 times)

0 Members and 1 Guest are viewing this topic.

Online Simon

  • Administrator
  • Posts: 3618
    • View Profile
    • Lix
Environment to Build NL
« on: May 01, 2023, 05:13:49 PM »
First,

git clone https://bitbucket.org/namida42/neolemmixplayer

The obvious entry point then is Readme.txt, which tells us that we need Delphi XE6, but namida wrote in 2021 that we need "10.3". I assume this is still accurate and it means Delphi 10.3 Rio. This is available as Delphi Community Edition, apparently under some proprietary gratis license, and they want me to make an account, and invent a fake address and fake phone number.

namida, do you recommend this community edition to build NL? Or are there more up-to-date build instructions that I haven't found yet?

Is there a way to compile NL with commonly available tools where we don't have to create accounts?

-- Simon

Online Simon

  • Administrator
  • Posts: 3618
    • View Profile
    • Lix
Re: Environment to Build NL
« Reply #1 on: May 10, 2023, 08:14:45 PM »
Meine Herren! Apparently, nobody wants a hand at fixing the zoom bug. :P

I don't necessarily want an IDE. I want the straightforward way to build the project. Recommending Windows stuff is fine, it will probably run in Wine.

-- Simon

Offline WillLem

  • Posts: 2845
  • Unity isn't sameness, it's togetherness
    • View Profile
Re: Environment to Build NL
« Reply #2 on: May 10, 2023, 08:58:22 PM »
Meine Herren! Apparently, nobody wants a hand at fixing the zoom bug. :P

Let's do it! I really want to get this fixed! I'd like to fix the same bug in the Editor as well - that's in C#, Visual Studio, so easier to compile.

I don't necessarily want an IDE. I want the straightforward way to build the project.

I use Embarcadero RAD Studio 10.4 Community Editon and it works fine. There is some setup with the Graphics32 library which isn't massively straightforward, but I still have the instructions namida gave me so I'm happy to walk you through it.

The SLX codebase has veered quite some way from NL by now, but all the zooming/cursor stuff is still the same, I'm sure we could work on this together no problem even if we're looking at different sources.

Online Simon

  • Administrator
  • Posts: 3618
    • View Profile
    • Lix
Re: Environment to Build NL
« Reply #3 on: May 11, 2023, 01:22:29 AM »
Thanks! Yes, please post those instructions for Graphics32. I'll look into it this weekend.

-- Simon

Offline Dullstar

  • Posts: 2077
    • View Profile
    • Leafwing Studios Website (EXTREMELY OUTDATED)
Re: Environment to Build NL
« Reply #4 on: May 11, 2023, 01:59:37 AM »
The NL build instructions are definitely not complete since they don't include how to get the graphics library set up.

Certainly the available tools (that I'm aware of anyway) are a bit of a demotivator for contributing to NL.

Offline WillLem

  • Posts: 2845
  • Unity isn't sameness, it's togetherness
    • View Profile
Re: Environment to Build NL
« Reply #5 on: May 11, 2023, 03:20:17 AM »
Graphics32 setup instructions:

1) Download Embarcardero RAD Studio 10.4.2 from here - compatibility with later versions than this cannot be guaranteed
2) Download the attached GR32 zip file and make a note of where it's saved
3) In the source/packages/XE8 folder, compile both packages; do the one with _R in the name first (open the .dproj files in Delphi, then compile them)
4) Install the compiled _D package into Delphi (this can be done by right-clicking GR32_DXE8.bpl in the Project Explorer and choosing "Install" from the context menu), and do the same with the compiled _R package
5) Add the path of the compiled _R package into Delphi's library path (point it to the folder where all the DCU files from compiling are, which should be Graphics32/Source/Packages/XE8/Win32/Release)

Other setup instruction for NL source

1) Make sure the source has been cloned rather than forked
2) In the cloned copy, run MakeSymLinks.bat



With all of the above done, NL should compile. Post here if you're having any issues.
« Last Edit: June 03, 2023, 01:20:50 AM by WillLem »