Page 4 of 4

Re: How to Compile Supermodel for Windows from Latest SVN Co

PostPosted: Mon Sep 14, 2020 1:52 am
by zuppa_di_pesce
Bart wrote:L.A. Machineguns runs at 160-175FPS during game play for me when the frame rate is uncapped.

Hey Bart, you mean "-no-throttle" or ALT+T while playing? Or are they both the same?

Re: How to Compile Supermodel for Windows from Latest SVN Co

PostPosted: Thu Oct 29, 2020 2:30 pm
by grabisoft
Hi guys, so i followed the guide and i was able to compile a "normal" version just fine.

The thing is i want to make the NET_BOARD = 1 so that it works in multiplayer in my local LAN. i modified and saved the Options.inc inside makefiles folder

Code: Select all
NET_BOARD = 1
ifneq ($(filter $(strip $(NET_BOARD)),0 1),$(strip $(NET_BOARD)))
   override NET_BOARD =
endif


Unfortunately, once i compile, the net board doesnt seem to be working, the exe works as if the net board function is not present.
Its not a problem of my config ini because i tried another exe compiled by other people and the net board connection works fine.
I just want to learn what am i doing wrong.

can somebody shed some light here? thank you

Re: How to Compile Supermodel for Windows from Latest SVN Co

PostPosted: Fri Oct 30, 2020 1:14 pm
by Bart
This looks correct. Did you clean the build before making again?

Re: How to Compile Supermodel for Windows from Latest SVN Co

PostPosted: Sat Oct 31, 2020 2:09 am
by Spindizzi
to grabisoft
as I told you on discord, the correct way to build Supermodel with netboad will be to use this command line
make -f Makefiles\makefile.win32 NET_BOARD=1
rather than editing options.inc (but this is another way)

by the way, this is strange this command line works on my side and not on yours

anyway, as Bart said, and as I told you on discord, if you have first built Supermodel without netboard and if you want, after, rebuild Supermodel with netboard, you had to make a clean build. Otherwise you only build object code (.o) of all netboard files but all the calls to the functions inside these obj files will not be rebuilt (ie in model3.cpp) even if the linker "concatenate" all the new objs. This is due to the use of the C preprocessor directive (no physically code change ie in model3.cpp and the compiler do not rebuilt it).
And worst, if you don't do a clean build between the 2 versions, this could lead to crash.

clean build means it deletes all obj files and exe file, to allow a new rebuild (you can do it manually)

Re: How to Compile Supermodel for Windows from Latest SVN Co

PostPosted: Wed Dec 16, 2020 2:35 pm
by Aztha
Hi guys, i've juste compiled my build.
Add saves, nvram folder with new xxxx.nv files.
But After changing some options, like Master to single in test mode, nothing are save in xxx.nv.
In log everything is ok, no error.
Games are fine but enter test mode each Time .
Windows 10 latest build svn 834.

Re: How to Compile Supermodel for Windows from Latest SVN Co

PostPosted: Sat Dec 19, 2020 12:15 pm
by Bart
Aztha wrote:Hi guys, i've juste compiled my build.
Add saves, nvram folder with new xxxx.nv files.
But After changing some options, like Master to single in test mode, nothing are save in xxx.nv.
In log everything is ok, no error.
Games are fine but enter test mode each Time .
Windows 10 latest build svn 834.


Are you running Supermodel from the right directory? Can you show us your directory structure?

Re: How to Compile Supermodel for Windows from Latest SVN Co

PostPosted: Sat Dec 19, 2020 12:24 pm
by Aztha
Bart wrote:
Aztha wrote:Hi guys, i've juste compiled my build.
Add saves, nvram folder with new xxxx.nv files.
But After changing some options, like Master to single in test mode, nothing are save in xxx.nv.
In log everything is ok, no error.
Games are fine but enter test mode each Time .
Windows 10 latest build svn 834.


Are you running Supermodel from the right directory? Can you show us your directory structure?

It's fine Bart, juste because i use joytokey to bind "escape" with bartop stick's button, saving fail...

Re: How to Compile Supermodel for Windows from Latest SVN Co

PostPosted: Tue Jan 19, 2021 9:11 am
by nuexzz..
surely with the joytokey escape key you are killing the process ..
I would use autohotkey for it then just close the window and save the nvram

Code: Select all
esc::
Winclose, Supermodel
sleep, 1000
return