Welcome!

Final Burn Neo => FBN Development => Topic started by: Mucci on July 12, 2020, 08:13:28 AM

Title: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci 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
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Kev 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.
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci 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 .....
Title: Re: [TOOL] FBneo compile script for Windows 10 x64
Post by: Kev 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.
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci on August 22, 2020, 01:30:28 PM
a small change in the script -> new fbneo.chm will be added to the output folder :-)
Title: Re: [TOOL] FBneo compile script for Windows 10 x64
Post by: littlebear 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.
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci 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
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: littlebear 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.
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci 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 ;-)
(https://www.mameguide.info/beep.jpg)

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 :-)
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: littlebear on September 16, 2020, 07:41:57 PM
Thank you . I turn off speaker when compile.
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci 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"
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci on November 01, 2020, 09:48:01 AM
Script runs ok:

Version    :  1.0.0.0
Build      :  253e21869d546406eb1f51680d87e262c78c570b
Revision   :  9277
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci 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) ;-)
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci 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.
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: DarkFulgore 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.

(https://i.imgur.com/BofTY0K.png)

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!
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: geese howard on May 19, 2021, 06:32:36 PM
Fightcade isnt supported here....
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: DarkFulgore on May 19, 2021, 07:25:56 PM
Fightcade isnt supported here....

I see, sorry about that...  :redface:

But if you are more experienced and can help me anyway, it would be much appreciated. But thanks noneless.
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: barbudreadmon on May 20, 2021, 10:38:09 AM
I see, sorry about that...  :redface:

But if you are more experienced and can help me anyway, it would be much appreciated. But thanks noneless.

Don't use FightCade, they are illegally using our work, thanks.
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci on May 20, 2021, 02:08:53 PM
Keep in mind that my scripts are only for official FB Neo, and for nothing else.
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: jjkkyu on September 09, 2021, 04:00:16 AM
Keep in mind that my scripts are only for official FB Neo, and for nothing else.

Hi, Mucci
I see 1.0.0.3 in the forum, but there is still 1.0.0.2 in the github tag.
Is 1.0.0.3 official?
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: dink on September 09, 2021, 09:46:56 AM
the release version (even numbers) are usually old as they're released once a year.
latest development version (odd numbers.. .3) is up-to-date
use the 64bit versions at your own risk, there's a reason we don't provide 64bit binaries - they're buggy...
Maybe some day I'll upgrade my dev tools and try to fix that, but its not something I look forward to doing..

best regards,
- dink
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: gegecom83 on January 12, 2024, 03:43:03 PM
Hello,
Is it possible to update gcc for the script.
Thank you
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: Mucci on January 23, 2024, 06:59:02 AM
why? Does you have a problem with the script?
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: gegecom83 on January 23, 2024, 09:24:23 AM
Hello, The script works very well, but I was wondering since the script uses an old version of gcc (4.9.1) if this had an impact on performance.
Thanks
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: dink on January 23, 2024, 09:34:12 AM
IMO to get the best performance, you'll want gcc 6 or higher - especially with Cave CV-1000

If you don't care about Cave CV-1000 games, 4.91 is fine!

best regards,
- dink
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: gegecom83 on January 23, 2024, 09:43:47 AM
Thanks Dink
So I will try to update gcc for the script.
Thank you
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: dink on January 23, 2024, 09:52:08 AM
I use the compiler with Strawberry Perl to make 64bit exe's on my pc:
https://strawberryperl.com/

it's gcc 13.1.0!

I set it to use Strawberry perls path first, then the mingw second, because it still needs some support files from the mingw installation to compile.  This way it overrides the mingw compiler with 13.1.0.

best regards,
- dink
Title: Re: [TOOL] FB Neo compile script for Windows 10 x64
Post by: gegecom83 on January 23, 2024, 09:58:04 AM
Thanks Dink for this solution.