ROM Hack Compile Source Code of Noexs Client

merlin555

Master
OP
Member
Joined
Oct 27, 2014
Messages
1,578
Trophies
1
XP
5,592
Country
Germany
Hello,

I want to recompile the Noexs Client 1.12 FIX for Linux.
Does anyone have a clue?

First I go to the folder:
server\source\noexs

Here it has a makefile.

Hat's where i'm doing:
Make

If the message comes:
Makefile:6: *** "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>/devkitpro".

So how do I set the environment?

I edited the makefile and skipped this step,
he demands the "noexs.elf".

But it's nowhere in DEVKITPRO (v3.03)

Now i know it's JAVA.
But i just don't get the original JAR file to run in Linux with Open JAVA 10.02 64Bit.

Do I also compile Client ?

Thanks !

Merlin
 

merlin555

Master
OP
Member
Joined
Oct 27, 2014
Messages
1,578
Trophies
1
XP
5,592
Country
Germany
Receive the following error message from make:

$ make
net.cpp
aarch64-none-elf-g++ -MMD -MP -MF /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build/net.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -DDISABLE_IPC -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build -D__SWITCH__ -fno-rtti -fno-exceptions -std=gnu++17 -c /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/source/net.cpp -o net.o
main.cpp
aarch64-none-elf-g++ -MMD -MP -MF /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build/main.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -DDISABLE_IPC -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build -D__SWITCH__ -fno-rtti -fno-exceptions -std=gnu++17 -c /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/source/main.cpp -o main.o
context.cpp
aarch64-none-elf-g++ -MMD -MP -MF /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build/context.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -DDISABLE_IPC -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build -D__SWITCH__ -fno-rtti -fno-exceptions -std=gnu++17 -c /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/source/context.cpp -o context.o
commands.cpp
aarch64-none-elf-g++ -MMD -MP -MF /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build/commands.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -DDISABLE_IPC -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build -D__SWITCH__ -fno-rtti -fno-exceptions -std=gnu++17 -c /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/source/commands.cpp -o commands.o
debug.cpp
aarch64-none-elf-g++ -MMD -MP -MF /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build/debug.d -g -Wall -O2 -ffunction-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -DDISABLE_IPC -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/build -D__SWITCH__ -fno-rtti -fno-exceptions -std=gnu++17 -c /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/source/debug.cpp -o debug.o
/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/source/debug.cpp: In member function 'Result Gecko::Debugger::resume()':
/media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/source/debug.cpp:74:54: error: too few arguments to function 'Result svcContinueDebugEvent(Handle, u32, u64*, u32)'
return svcContinueDebugEvent(handle, 4 | 2 | 1, 0);
^
In file included from /opt/devkitpro/libnx/include/switch.h:23,
from /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/include/debug.h:3,
from /media/merlin/Games/_Downloads/Noexes-1.1.2-hotfix/server/source/noexs/source/debug.cpp:1:
/opt/devkitpro/libnx/include/switch/kernel/svc.h:933:8: note: declared here
Result svcContinueDebugEvent(Handle debug, u32 flags, u64* tid_list, u32 num_tids);
^~~~~~~~~~~~~~~~~~~~~
/opt/devkitpro/devkitA64/base_rules:13: recipe for target 'debug.o' failed
make[1]: *** [debug.o] Error 1
Makefile:142: recipe for target 'build' failed
make: *** [build] Error 2
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,613
Country
Germany
Your source code is outdated or modified, just downloaded it and build it with newest libnx without any problem on windows.

Your error:
Code:
error: too few arguments to function 'Result svcContinueDebugEvent(Handle, u32, u64*, u32)'
return svcContinueDebugEvent(handle, 4 | 2 | 1, 0);

And on github:
Code:
return svcContinueDebugEvent(handle, 4 | 2 | 1, 0, 0);

The Client is written in Java, it should run on any platform.
 

merlin555

Master
OP
Member
Joined
Oct 27, 2014
Messages
1,578
Trophies
1
XP
5,592
Country
Germany
Doesn't know how to do it anymore.
With the Sudo apt-get install and JAVA 10,
says what the packages are missing.
I have OpenJava 10.0.2 64Bit,
but how do I install this under Ubuntu ?
 

merlin555

Master
OP
Member
Joined
Oct 27, 2014
Messages
1,578
Trophies
1
XP
5,592
Country
Germany
The NoxexsClient now runs on Linux. :lol:
With a trick you can install the JAVA 10.0.2.

But the whole thing doesn't work as I thought.
Just as lame and freeze that. :cry:
 
General chit-chat
Help Users
    SylverReZ @ SylverReZ: @DinohScene, *raises a glass* :D