Author Topic: [TOOL] FB Neo compile script for Windows 10 x64  (Read 15974 times)

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
[TOOL] FB Neo compile script for Windows 10 x64
« on: July 12, 2020, 08:13:28 AM »
I have created with the help from JacKc an easy to use compile script for FB Neo.

Script, readme and needed stuff can be found here: https://mega.nz/folder/OY0zTDxS#AVybq4bmBdhjw_ewIQ25Pw

If you find bugs, having input for improvement feel free to post it here.

For devs: if you have already a working Mingw environment -> please comment out line 21 in the script (temporary added path environment)

Please do not post the download link outside -> link it to this topic here
« Last Edit: April 06, 2021, 03:29:23 PM by JacKc »

Offline Kev

  • FBNeo Dev
  • ******
  • Posts: 318
  • Karma: +2000/-0
  • Definitely the best Kev
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #1 on: July 14, 2020, 05:06:35 AM »
Thats pretty cool.

The makefile makefile.mamemingw should work with a default install of the 32bit (and maybe the 64bit) version of http://www.winlibs.com/ So if you wanted to use an up to date compilier without needing the whole of mingw installed.
« Last Edit: April 06, 2021, 03:29:40 PM by JacKc »

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #2 on: July 15, 2020, 02:04:28 AM »
Thanks Kev, "my" compile environment was given by JacKC as I was "not able" to build it up myself ;-) My plan was to use the MAME compile environment msys2 with everything inside (also git.exe that I must install it now) and the ability to update the tool with the script. I will check your website, maybe it is better to have an up-to-date GCC. Are you using it? Sometime newer builds break the compile process .....
« Last Edit: April 06, 2021, 03:29:53 PM by JacKc »

Offline Kev

  • FBNeo Dev
  • ******
  • Posts: 318
  • Karma: +2000/-0
  • Definitely the best Kev
Re: [TOOL] FBneo compile script for Windows 10 x64
« Reply #3 on: July 15, 2020, 09:14:48 AM »
Yeah, I have been using winlibs but primarily I use visual studio. I have several installs of gcc environments as well mostly for helping me fix appveyor but also for building the sdl2 version of FBNeo on windows. It works well with gcc10 though.

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #4 on: August 22, 2020, 01:30:28 PM »
a small change in the script -> new fbneo.chm will be added to the output folder :-)
« Last Edit: April 06, 2021, 03:30:03 PM by JacKc »

Offline littlebear

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +1/-0
Re: [TOOL] FBneo compile script for Windows 10 x64
« Reply #5 on: September 12, 2020, 10:53:23 AM »
please, can you tell me how to turn the beeping sound off in the script ? thank you.

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #6 on: September 15, 2020, 12:57:53 PM »
Hmmm I can only hear a "beep" when I choose a not existing option in the menu. What Windows-version are you using? (We have only tested it on Windows 10 x64)

I think only "pause" or "choice" commands in my script could generate a "beep". I have not found for both commands an option for disabling "beep"

btw the annoying "beep" is not a problem from my script itself, it is a windows default behavior:
https://www.thewindowsclub.com/disable-system-beep-windows-7-8
« Last Edit: April 06, 2021, 03:30:13 PM by JacKc »

Offline littlebear

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +1/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #7 on: September 15, 2020, 05:01:39 PM »
I am using win10 64 . it is when you press U for update. After it updated and press any key to go back to menu.
« Last Edit: April 06, 2021, 03:30:22 PM by JacKc »

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #8 on: September 16, 2020, 07:44:44 AM »
sorry cant help you in that case. I have also played around and some of those "tip" has not worked for me. As it is a system-sound I can not disable it in my script....

You can disable it for a current cmd-line -> set it to mute and don't close this cmd-line windows anymore ;-)


And for the "go back to the menu" -> read the docu -> change line 24 "set batchpause=on" to "set batchpause=off" -> yeah 1 beep less :-)
« Last Edit: April 06, 2021, 03:30:33 PM by JacKc »

Offline littlebear

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +1/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #9 on: September 16, 2020, 07:41:57 PM »
Thank you . I turn off speaker when compile.
« Last Edit: April 06, 2021, 03:30:50 PM by JacKc »

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #10 on: October 06, 2020, 01:57:50 AM »
Keep in mind that when V1.0.0.0 is released I have to check my compile script if it still work correct, regarding the "numbers"
« Last Edit: April 06, 2021, 03:31:14 PM by JacKc »

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #11 on: November 01, 2020, 09:48:01 AM »
Script runs ok:

Version    :  1.0.0.0
Build      :  253e21869d546406eb1f51680d87e262c78c570b
Revision   :  9277
« Last Edit: April 06, 2021, 03:30:58 PM by JacKc »

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #12 on: May 06, 2021, 05:09:22 AM »
I will post soon a new script for compiling windows exe for official builds. It will download the required source direct from github, based on the tags and compiles it. So you can create your own official builds for 1.0.0.0 or 1.0.0.0.2 (of course more to follow ;-))

In the meantime I post a screenshot of my compile environment. I have also created scripts for generate dat-files, full automated, including copy it to my ROMManager (sorry those are private and too complicate to handle) ;-)
« Last Edit: May 06, 2021, 05:59:18 AM by Mucci »

Offline Mucci

  • Newbies
  • *
  • Posts: 15
  • Karma: +2/-0
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #13 on: May 09, 2021, 04:42:00 AM »
I have released my script for compiling official releases. At the moment is 1.0.0.0 and 1.0.0.2 available, but it grows in the future ;-) Be sure that if you want to use it you have installed the compile environment -> see my entry post. Download link is also posted there.

Offline DarkFulgore

  • New Member
  • *
  • Posts: 2
  • Karma: +0/-2
Re: [TOOL] FB Neo compile script for Windows 10 x64
« Reply #14 on: May 19, 2021, 05:39:09 PM »
Guys, is it possible to build the Fightcade version of FBNeo? (https://github.com/JordiRos/fightcade-fbneo)
I tried several ways but the same error happens. I have experience with other languages, but no C++. I'm feeling this is so trivial for you guys but I'm having a hard time.



The fba_kaillera.cpp is the same file on both official and Fightcade versions, exactly the same. I can build the official FBNeo, but not this one. Could you guys give me some advice?

Thanks!