Author Topic: New Source Code Strikes Gold!  (Read 8869 times)

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
New Source Code Strikes Gold!
« on: November 04, 2016, 11:57:14 PM »
- Added customized layouts for the displays menu/system selection menu
- Added ability to set image origin in scripts (for centre rotations etc)
- [rpi] Issue #266 - Fix for keypresses being cached w/ sfml-pi build
- Added layout options configuration for 'Displays Menu' layout
- Fixed "Toggle Layout" when used on the displays menu layout

What this means... a real Displays Menu! So long to issues with a keyboard hooked up!

Great work!

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #1 on: November 05, 2016, 09:23:29 AM »
? is there any documentation on implementing start menu's
and scripting  a game console selection menu?

were does one start...is what i need to know.
help a friend....

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #2 on: November 05, 2016, 11:39:10 AM »
You probably won't see any documentation until there is a new public release. You can read about it here https://github.com/mickelson/attract/commit/4e8cc1b49d4acd340e63c4a483e520e632a9b928

Basically, compile Attract-Mode from source and you will get the new features. Once you have the new version you can go to Config-->Display-->Display Menu Options to choose your settings. Artwork for the Display Menu goes in ./attract/menu-art/.

YouBaxter

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #3 on: November 05, 2016, 07:48:57 PM »
Apologies if this is a poor question....

But, is there to update this for the PI image. . ?  Or, does this need to wait for folks like Floob to release an update...?
« Last Edit: November 05, 2016, 07:58:43 PM by YouBaxter »

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #4 on: November 05, 2016, 08:23:48 PM »
Yes, this works on the Pi (or any other system that Attract-Mode supports).
« Last Edit: November 05, 2016, 09:26:22 PM by progets »

YouBaxter

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #5 on: November 05, 2016, 08:32:20 PM »
Sorry.  Typo'd my question. 

How do you update the Pi Version to get obtain this...?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #6 on: November 05, 2016, 09:20:31 PM »
As I mention above just compile Attract-Mode.

For the Pi you can use
Code: [Select]
cd ~
mkdir develop
cd develop
git clone --depth 1 https://github.com/mickelson/attract attract
cd attract
make USE_GLES=1
sudo make install
cd ~
rm -r -f develop

Schwing

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #7 on: November 07, 2016, 04:08:04 AM »
On a side note: the buildbot that used to build nightlies for Windows & OSX seems to be down (latest build is from september), do you have plans to restore it? Just asking, if not, I'll try to cross-compile from a VM :)

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #8 on: November 07, 2016, 11:49:21 PM »
I'm not sure what is going on with the buildbot... we'll have to track down h0tw1r3 to see if he can figure out how to fix it.

My plan is to get version 2.2 with these new features and more out in the next few days...
« Last Edit: November 07, 2016, 11:52:06 PM by raygun »

bundangdon

  • Sr. Member
  • ****
  • Posts: 212
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #9 on: November 08, 2016, 04:37:11 AM »
- Added customized layouts for the displays menu/system selection menu
- Added ability to set image origin in scripts (for centre rotations etc)
- [rpi] Issue #266 - Fix for keypresses being cached w/ sfml-pi build
- Added layout options configuration for 'Displays Menu' layout
- Fixed "Toggle Layout" when used on the displays menu layout

What this means... a real Displays Menu! So long to issues with a keyboard hooked up!

Great work!

Fantastic news! Looking forward to seeing the real displays menu being implemented :)

iamscottyb

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #10 on: November 30, 2016, 01:35:02 PM »
how do you find this folder ./attract/menu-art/


progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #11 on: November 30, 2016, 04:32:07 PM »
how do you find this folder ./attract/menu-art/

That depends on your OS.

Linux (remember that any folder that starts with a "." will be hidden by default in Linux)
/home/<username>/.attract/menu-art

Windows
<path to attractmode install>\menu-art

iamscottyb

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #12 on: November 30, 2016, 05:40:14 PM »
I'm trying to access it on the rasberry pi

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: New Source Code Strikes Gold!
« Reply #13 on: November 30, 2016, 06:47:39 PM »
I'm trying to access it on the rasberry pi

It runs on Linux so the folder is hidden by default.

Here's the path
/home/pi/.attract/menu-art

To see it, exit to a command prompt (or use SSH) and type
Code: [Select]
cd ~
ls -a

P.S. If you don't know Linux and want to access Attract-Mode files from you Windows computer you can look at this thread http://forum.attractmode.org/index.php?topic=821.msg6288#msg6288
« Last Edit: November 30, 2016, 07:48:37 PM by progets »