How to Compile Supermodel for Windows from Latest SVN Code

Discuss Supermodel and your favorite Model 3 games. Show off your latest threads, this is the place to see and be seen.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

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

Postby zuppa_di_pesce » Mon Sep 14, 2020 1:52 am

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?
"Did you surfcast that fish?" - "Kinda... But... That wasn't a fish... It was a GNU!"
User avatar
zuppa_di_pesce
 
Posts: 120
Joined: Fri Jun 12, 2020 1:51 pm
Location: surfCASTING on a beach

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

Postby grabisoft » Thu Oct 29, 2020 2:30 pm

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
User avatar
grabisoft
 
Posts: 1
Joined: Tue Oct 27, 2020 3:31 pm

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

Postby Bart » Fri Oct 30, 2020 1:14 pm

This looks correct. Did you clean the build before making again?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

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

Postby Spindizzi » Sat Oct 31, 2020 2:09 am

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)
Spindizzi
 
Posts: 196
Joined: Thu Nov 17, 2016 8:55 am
Location: France

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

Postby Aztha » Wed Dec 16, 2020 2:35 pm

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.
Aztha
 
Posts: 3
Joined: Tue Apr 09, 2019 1:03 pm

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

Postby Bart » Sat Dec 19, 2020 12:15 pm

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?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

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

Postby Aztha » Sat Dec 19, 2020 12:24 pm

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...
Aztha
 
Posts: 3
Joined: Tue Apr 09, 2019 1:03 pm

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

Postby nuexzz.. » Tue Jan 19, 2021 9:11 am

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
User avatar
nuexzz..
 
Posts: 374
Joined: Sun Sep 25, 2011 3:10 pm
Location: Argentina

Previous

Return to The Catwalk

Who is online

Users browsing this forum: No registered users and 1 guest