Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: h0tw1r3 on July 07, 2015, 03:32:47 PM

Title: Added to my Buildbot
Post by: h0tw1r3 on July 07, 2015, 03:32:47 PM
Attractmode is a really nice frontend, but I like testing all the latest goodies before an official release is rolled.

Builders:
* https://build.btolab.com/bot/builders/
Binaries:
* https://build.btolab.com/project/attractmode/

Hopefully someone will find it useful.
Title: Re: Added to my Buildbot
Post by: verion on July 08, 2015, 12:25:14 AM
This is great - it would even better if you could add OS X (and maybe linux?) builds to the pipeline. Is it possible?
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on July 08, 2015, 07:47:51 AM
This is great - it would even better if you could add OS X (and maybe linux?) builds to the pipeline. Is it possible?

OSX, yes. I'm actually testing a cross compiler today.

Linux, probably not. Library issues are hit and miss, and static builds are not fun.
Title: Re: Added to my Buildbot
Post by: verion on July 08, 2015, 09:24:04 AM
Great! I'm using OS X so this is a good news to me :)
Title: Re: Added to my Buildbot
Post by: raygun on July 14, 2015, 06:08:38 PM
this is very cool!  thanks h0tw1r3.  I haven't actually had a chance to try one of these builds, but there are some cool new features for the next version that this should allow people to test easily:  an intro mode (for playing verion's cool AM vid), swf file support (which definitely needs some testing!), loading plugins and layout direct from zip files, and improved "magic tags" (see layout.md for an explanation of these things).  In the next day or so there will also be mame videos added to the scraper....
Title: Re: Added to my Buildbot
Post by: verion on July 15, 2015, 01:37:13 AM
How is your OS X compiler? Is it working now?
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on July 15, 2015, 04:15:35 PM
How is your OS X compiler? Is it working now?

Took me longer than expected as I haven't built anything on OSX in a long time.

I manually built from the latest source as of a few hours ago and uploaded to my build website.

http://build.btolab.com/bot/attractmode/attract64-osx-v1.5.3-26-gceda543.zip

Before I get into adding a build slave for it, could someone test it out please? Should be compatible with 10.6+. It's a 64bit binary.

It would be nice if there was an official icon :)
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on July 15, 2015, 04:48:51 PM
I fat fingered some things in the plist file. Also changed the file name to match the others on the web site (link updated in previous post).

Also managed to build my mame fork (uxme) for OSX. If you wouldn't mind test it out :)
http://build.zaplabs.com/bot/uxme/uxmearcade64-osx-v0.6.3b1-140-gf0e8e8f.zip
Title: Re: Added to my Buildbot
Post by: omegaman on July 15, 2015, 07:02:09 PM
h0tw1r3-

What a great idea and contribution.  Thanks...
Title: Re: Added to my Buildbot
Post by: verion on July 16, 2015, 12:33:20 AM
Thanks for that OS X effort - I'll try it today and let you know.

---

It would be nice if there was an official icon :)

I'm already working on it :)
But I'm swamped with work lately.
It must be related to hot weather or something - because suddenly I have an abundance of paying customers :D

---

BTW you are using an old logo in your buildbot page header.
New logo is here (downloadable transparent .png):
http://forum.attractmode.org/index.php?topic=208.msg1576#msg1576

I can't blame you - since old logo is still on AM main webpage ;)

---

But your site got me thinking about making nice banner that will look good in rather small sizes - I have to whip up something.
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on July 28, 2015, 12:38:34 AM
Thanks for that OS X effort - I'll try it today and let you know.

---

It would be nice if there was an official icon :)

I'm already working on it :)
But I'm swamped with work lately.
It must be related to hot weather or something - because suddenly I have an abundance of paying customers :D

---

BTW you are using an old logo in your buildbot page header.
New logo is here (downloadable transparent .png):
http://forum.attractmode.org/index.php?topic=208.msg1576#msg1576

I can't blame you - since old logo is still on AM main webpage ;)

---

But your site got me thinking about making nice banner that will look good in rather small sizes - I have to whip up something.

That OSX build was a little broken. Just uploaded a new one.  Please test!  Latest git linked to SFML 2.3.1.

http://build.zaplabs.com/bot/attractmode/attract64-osx-v1.5.3-29-8f49b528.zip


As for the logo, it's sourced from the attractmode homepage. When that changes, the build page will change automatically.
Title: Re: Added to my Buildbot
Post by: verion on July 28, 2015, 05:29:34 AM
Thanks for the update - sorry I didn't test the previous version. I just didn't dowloaded it before SF crash :(
But with this version everything seems to work perfectly - I was only testing it for about 30min, but it was working flawlessly.

---

One thing (not exactly build related) was not working out-of-the-box
I couldn't change layout in MENU > DISPLAY > LAYOUT until I delete
"org.attractmode.attract.savedState" folder under ~/Library/Saved Application State
After that - everything works ok.

---

How to:

SOLUTION #1
open FINDER
from menubar select GO > GO TO FOLDER
paste:
~/Library/Saved Application State

and then delete folder
org.attractmode.attract.savedState

SOLUTION #2
open terminal
paste the code below and press RETURN/ENTER

Code: [Select]
rm -r ~/Library/Saved\ Application\ State/org.attractmode.attract.savedState
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on September 12, 2015, 08:51:03 PM
I believe I finally have my OS X cross-compile environment fully working.
Current release, 1.5.3-50 is packaged and ready for testing.

* Packaged as a dmg
* Linked to SFML 2.3.2
* Universal binary (intel 32 & 64bit)
* Should be compatible with 10.6+

Still need a slight change to the Makefile (pull request submitted) for automatic builds to start working.
For now I'm building manually.

https://build.btolab.com/project/attractmode/
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on September 12, 2015, 08:55:23 PM
I've been working on a windows installer for my mame fork. Wondering if there might be interest in one for AM also.
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on September 13, 2015, 10:04:33 AM
One thing (not exactly build related) was not working out-of-the-box
I couldn't change layout in MENU > DISPLAY > LAYOUT until I delete
"org.attractmode.attract.savedState" folder under ~/Library/Saved Application State
After that - everything works ok.

Perhaps because I'm building with a newer version of SDL? Not sure where the savedState comes from.
Title: Re: Added to my Buildbot
Post by: verion on September 13, 2015, 10:09:17 AM
It's not really related to the build (I think).

savedState is OSX specific - it is system generated file that can help to "resume" apps after restart or crash.
I'v just downloaded your latest OSX build and I'll test if I have to delete that file again.
Title: Re: Added to my Buildbot
Post by: verion on September 16, 2015, 07:19:13 AM
Bad news... AM crashes with this build.
It crashes on layout change.

deleting SavedState file doesn't help
crash log fragment below.

---

everything was perfect with attract-v1.5.3-50 build

---


Code: [Select]
Process:               attract [3847]
Path:                  /Applications/MAME/Attract.app/Contents/MacOS/./attract
Identifier:            org.attractmode.attract
Version:               v1.5.3.54 (1000500030054)
Code Type:             X86-64 (Native)
Parent Process:        bash [3846]
Responsible:           bash [3846]
User ID:               501

Date/Time:             2015-09-16 16:13:21.980 +0200
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        1DF7BF8A-5C7D-29A6-1781-080DD8057727


Time Awake Since Boot: 28000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
terminating with uncaught exception of type std::logic_error: basic_string::_S_construct NULL not valid
abort() called
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on September 18, 2015, 03:25:13 AM
Bad news... AM crashes with this build.
It crashes on layout change.

deleting SavedState file doesn't help
crash log fragment below.

---

everything was perfect with attract-v1.5.3-50 build

---

Should be fixed with 1.5.3-67. Thanks for testing!
Title: Re: Added to my Buildbot
Post by: verion on September 18, 2015, 08:10:30 AM
It doesn't even start - crashes right away.
I can upload a whole crash log if it helps.

Code: [Select]
Process:               attract [786]
Path:                  /Applications/MAME/Attract.app/Contents/MacOS/./attract
Identifier:            org.attractmode.attract
Version:               1.5.3 (1.5.3.67)
Code Type:             X86-64 (Native)
Parent Process:        bash [784]
Responsible:           bash [784]
User ID:               501

Date/Time:             2015-09-18 17:04:23.923 +0200
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        55DA4E51-9DE5-373A-E541-1CCBC93DC116

Sleep/Wake UUID:       4B13906E-CED3-4C5D-830C-840A0B47B13E

Time Awake Since Boot: 2900 seconds
Time Since Wake:       1000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
Assertion failed: (len != std::string::npos), function load_module, file src/fe_vm.cpp, line 1773.
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on September 18, 2015, 09:56:01 AM
It doesn't even start - crashes right away.
I can upload a whole crash log if it helps.

Maybe, it looks like a general bug.

Would you mind temporarily moving your .attract folder out of the way and testing again? It works perfectly here on a fresh run.
Title: Re: Added to my Buildbot
Post by: verion on September 18, 2015, 03:29:26 PM
With .attract moved it is working. So far so good.
I've copied just layouts folder (from my old .attract) - and it crashed.

EDIT:
I've copied just one layout from .attract folder - and it is still crashing.
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on February 29, 2016, 09:20:21 AM
Build bot slave (server that actually does the "nightly" builds) is temporarily offline.

Internet was disconnected at my house while I was on vacation last week. AT&T says it will take a week to reconnect the service.... Thanks Uverse.
Title: Re: Added to my Buildbot
Post by: h0tw1r3 on March 01, 2016, 02:14:37 PM
Wife got a nice tech out today and they not only hooked me up, but doubled my bandwidth.... builds should be uploaded and current! #happycamper