Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - atrfate

Pages: 1 ... 4 5 [6]
76
Scripting / Re: little help/advice needed
« on: May 18, 2015, 09:39:07 PM »
Found out how to add more variables into gridc
Code: [Select]
function update_frame2()
{
update_audio();

frame.x = width * sel_x;
frame.y = fe.layout.height / 1.50 + height * sel_y;

wbfs_t.index_offset = get_sel() - selection_index;
}
Copy the Update frame fuction, so this should be able to give me up to 5 more indexs, you also have to add update.frame2() everytime their is an updateframe 1
this works and keeps the artwork in sync, now i have to figure out how to use this method to get me the manufacture game, now that I have something that can follow the currently selected game

77
Scripting / Re: little help/advice needed
« on: May 18, 2015, 01:28:29 PM »
Cant really explain, as I am really new to coding of this type here are 2 examples of the desync I am talking about

Where the wheel is now in the mis placed thing on the left is where small poster art will go so don't mind that it looks ugly atm :p but that box keeps in sync fine, but I cannot add any more boxes like that

http://i.imgur.com/hrxHEis.png
http://i.imgur.com/WEu3LT4.png

I attached the grid with the manufacture pictures, the art you need in place is

Videos
Boxart
Wheel
Logo

78
Scripting / Re: little help/advice needed
« on: May 17, 2015, 11:30:51 PM »
That works!, well kind of it still falls out of sync to what is selected, and I cant seem to figure out why this happens

79
Scripting / Re: little help/advice needed
« on: May 17, 2015, 06:23:43 PM »
thanks liquid I got that text nice and centered now but that method for manufacture is kinda crazy easier to just use ahk to parse a mame xml and copy the correct png over and over me thinks
Updated, with some new troubles, any help or advice is welcome!

80
Scripting / little help/advice needed
« on: May 17, 2015, 11:45:43 AM »
Update and some more issues.

Still haven't figured out how to make the grid work left to right only and just cycle between top and bottom row

that being said semi new issues. and my fix that leads to a smaller issue

as stated using Grid layout as a base, and changed a fair bit inside so far within the grid layout it has calls for the name and display
iv changed these and bit and noticed something, if you link 2 things to a call
like
Code: [Select]
gridc.mfa_t = fe.add_artwork( "boxart", fe.layout.width / 1.20, fe.layout.height / 20, 175, 0);
gridc.mfa_t = fe.add_artwork( "Logo", 1, fe.layout.height / 15, 250, 100);
gridc.mfa_t.preserve_aspect_ratio = true;
These artworks get out of sync with each other

My fix was to then add another class inside the grid

Like
Code: [Select]
gridc.mfg_t = fe.add_artwork( "boxart", fe.layout.width / 1.20, fe.layout.height / 20, 175, 0);

gridc.mfa_t = fe.add_artwork( "Logo", 1, fe.layout.height / 15, 250, 100);
gridc.mfa_t.preserve_aspect_ratio = true;

gridc.name_t =  fe.add_artwork( "Video", fe.layout.width / 4.2, fe.layout.height / 20, 672, 430);
     
gridc.child_t = fe.add_text( "[Title]", 0, 0, 1280,28 );
gridc.child_t.font = "itc-bauhaus-medium-1361514162";
then to make them the same inside grid it already has this line
Code: [Select]
mfg_t.index_offset = child_t.index_offset = name_t.index_offset = num_t.index_offset = get_sel() - selection_index;
So Iv added them as = inside to give me more calls to those being child_T and mfg_T ect this works and keeps all artwork in sync to the game selected however If I add anymore it stops working
And I dont really know why, the artwork syncs to began with or why adding more is breaking it

/////////////////////////////////////////////////////////////////////////

Lastly I am trying to add a boarder outline to the game name text, and cant really find anything documented on how to do that and still am at a loss for scrolling text



Updated look at the gui with wheels and some of the artwork in place so it looks much nicer

http://i.imgur.com/29uiwLG.jpg

81
General / Re: issue displaying artwork/Video
« on: May 16, 2015, 02:35:48 PM »
OK I GOT IT JESUS !!!!!!!!!!!!!
So in the romlist it stats the system for whatever reason the hyperspin list changed the game form pc to games
so i just changed the emulator entry to games and it worked, very strange that the list emulator has to match the in menu emulator


82
General / Re: issue displaying artwork/Video
« on: May 16, 2015, 02:25:59 PM »
All of the artwork wheels and videos are comming form hyper spin where naming is key or it wont show

1st line of romlist

Arcana Heart 2;Arcana Heart 2;Games;;2009;Examu;Fighter;;;;;;;;;


Location of Video
E:\AM Frontend\PC GAMES\Videos
File to match Video
Arcana Heart 2.mp4

Location Of Wheels
E:\AM Frontend\PC GAMES\Wheel
File to match Wheel
Arcana Heart 2.png


Current cfg for PC GAMES
artwork    flyer           $HOME/steam/boxart
artwork    marquee        e:/Am frontend\PC GAMES\wheel
artwork    snap            e:/Am frontend\PC GAMES\Videos
artwork    wheel           e:/Am frontend\PC GAMES\wheel
artwork    Video           e:/Am frontend\PC GAMES\Videos


inside the command window it gives zero information such sa cant find or display file ect

83
General / Re: issue displaying artwork/Video
« on: May 16, 2015, 12:46:06 PM »
I have still zero luck, running it form command windows gives me zero new information i am on widnows 8.1

Iv noticed that people on youtube in windows seem to have a folder called ffmpeg and i do not.

84
General / Re: issue displaying artwork/Video
« on: May 15, 2015, 11:07:11 PM »
more or less attempted to give it every single way I know how to express a path

85
General / Re: issue displaying artwork/Video
« on: May 15, 2015, 11:05:22 PM »
sure thing
I changed folder names and have been trying many different paths But this what iv got currently

its setup for use with the hyperlaunch to handle some of the tricky games and they do launch and quit all just fine, however none of the artwork assets as mentioned seem to load
E:\AM Frontend\PC GAMES\Video
E:\AM Frontend\PC GAMES\Wheel
Are the current locations of the mp4s and pngs

# Generated by Attract-Mode 1.5.2
#
executable           cmd
args                 E:\Frontend\hyperlaunch\hyperlaunch.exe "PC GAMES""[romfilename]"
rompath              $HOME/PC GAMES/roms/
romext               .zip,exe
system               PC;windows;arcade
artwork    Video           $HOME/PC GAMES/videos;$HOME/PC GAMES/snap;E:\AM Frontend\PC GAMES\Video;.\PC GAMES\Video;.././pc games/video;E:\AM Frontend\PC GAMES\Video\;.\PC GAMES\Video\;.././pc games/video/

artwork    flyer           $HOME/PC GAMES/boxart

artwork    marquee        $HOME/PC GAMES/WHEEL;$HOME/PC GAMES/snap;E:\AM Frontend\PC GAMES\WHEEL;.\PC GAMES\Video;.././pc games/WHEEL;E:\AM Frontend\PC GAMES\Video\;.\PC GAMES\WHEEL\;.././pc games/WHEEL/

artwork    snap             $HOME/PC GAMES/videos;$HOME/PC GAMES/snap;E:\AM Frontend\PC GAMES\Video;.\PC GAMES\Video;.././pc games/video;E:\AM Frontend\PC GAMES\Video\;.\PC GAMES\Video\;.././pc games/video/

artwork    wheel           $HOME/PC GAMES/WHEEL;$HOME/PC GAMES/snap;E:\M Frontend\PC GAMES\WHEEL;.\PC GAMES\Video;.././pc games/WHEEL;E:\AM Frontend\PC GAMES\Video\;.\PC GAMES\WHEEL\;.././pc games/WHEEL/


86
General / issue displaying artwork/Video
« on: May 15, 2015, 09:23:57 PM »
Hello Attract mode!
Iv Really like the ability to script and make changes to this fronted, and the detailed way you make make fully custome layouts however I am running into a small issue on the windows platform I am unable to import any artwork into the FE

Steps used Thus Far

Took my hyperspin pc game list then used attract mode command line to convert it
the 30ish games on the list do show and are selectable
then copy'd my wheel artwork folder over to the main folder of Attactmode Did the same with video files
Giving me a folder structure like this

C:/attract/PCGAMES/Video
C:/attract/PCGAMES/Wheel

iv then taken the path inside attract mode and used a few different combonations but nothing seems to work
IE
video path inside fe = ./PCGAMES/Video , C:/attract/PCGAMES/Video , ./../PCGAMES/Video
the same with Wheels
using the default built in themes, none of this results in any artwork being shown nor video

The artwork is in png formatt and the video is in mp4. So i know i must be doing something silly wrong here but any help would be greatful


Trying to get the fe to work in a default state before i work on my own menu

Pages: 1 ... 4 5 [6]