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 - keilmillerjr

Pages: [1] 2 3 ... 78
Scripting / Re: Log File
« on: November 18, 2020, 09:55:44 AM »
The same exact method I mentioned applies to linux as well as windows.

The "issue" I was referring to is related to your original question "Is there a way to see the log file from a running plugin?" It is not an issue. You can view the log as previously mentioned. You should inquire further about that.

Your attitude is the exact reason why I have recently distanced myself. I have already created a multi platform and multi brand joystick plugin. I find no reason to merge with main branch when I receive crap.

Scripting / Re: Log File
« on: November 17, 2020, 10:08:20 AM »
Redirect standard output and error to file. Read file with plugin.

- or - switch to your terminal like muhati suggested. Your creating an issue where there isn't.

Scripting / Re: Calling an external nut
« on: October 17, 2020, 05:02:07 AM »
do_nut() is not a method. It's a function. Do not daisy chain it to an object.

General / Re: Randomize Intro Videos
« on: October 05, 2020, 03:45:53 PM »
I created a replacement for intro that does such.

Going to work on preparing it as well as others to be merged in official master repo.

Scripting / Re: Joystick button to choose and launch a random game?
« on: September 26, 2020, 07:42:59 PM »
You don't need autohotkey. I'm on Linux too! :) Send random_game signal and then select signal. Try to work with a plug-in and post here. I'll help you along the way.

Scripting / Re: Joystick button to choose and launch a random game?
« on: September 26, 2020, 05:57:21 AM »
Look at Create a plugin. Create a signal handler that polls for your input and issues random_game signal.

Scripting / Re: Possible to put an icon next to game name in rom list?
« on: September 26, 2020, 05:55:08 AM »
Few ideas:
  • Custom font. font-awesome is a good example. Then figure out how to add the icon to the font you are using.
  • Add Image next to list item.
  • Create text objects instead of list. Get length of text. Show visibility for image and place it next to text.

Scripting / Re: Need help (please) with magic token data comparison
« on: August 25, 2020, 03:06:47 AM »
You need to review programming basics. Quick youtube course. Most languages are somewhat similar. JavaScript is a good one close to squirrel. This link might help. Practice declaring variables and functions. Print result to console.

Declared get_memory function.
Comparison block if a variable get_memory is not equal to a string of "blah", then create a text object with a magic function pointing to get_memory function.

Functions and variables are not the same. Your code will never work. Make sure you look at your log in the terminal! AttractMode should not have a windows version suppressing the console, but that is my opinion. Create your object with a magic string function. Within that function, return text.

Code: [Select]
// Here is an example, written from my phone untested.
magic <- function()
    return fe.game_info( Info.DisplayCount, 0 , 0 )

local text = fe.add_text( [!magic], 0, 0, fe.layout.width, fe.layout.height / 25 )

Scripting / Good conventions
« on: August 21, 2020, 08:12:23 PM »
Starting to slowly have some of my work merged into the official attract repo. Conventions will be the death of me. I would like opinions on good conventions we could adhere to. Feel free to read the issue and make a comment on it. Once settled, I can revise a lot of my work and shoot pr's quicker. I tend to fall down a hole for hours over formatting. Could also be a help to others and create uniform code across the repo.

General / Re: Pi4 Attract Mode display menu for themes?
« on: August 20, 2020, 09:45:32 PM »
I would concentrate on getting the bin compiled correctly first.

Tab will not bring up the display menu based on the config you posted prior. It brings up the config GUI menu. This is the default action. You can remap all these controls from the config GUI menu.

General / Re: Pi4 Attract Mode display menu for themes?
« on: August 20, 2020, 05:31:38 PM »
Try launching attract without use of that script.

Code: [Select]
$ attract
If it yields the same result, I would recompile attract.

General / Re: Pi4 Attract Mode display menu for themes?
« on: August 20, 2020, 03:32:50 PM »
Support and understanding some one else's config is the issue with using "images".

You have a seg fault. nano that file and tell me what line 7 says.

Code: [Select]
$ nano /opt/retropie/configs/all/

General / Re: Pi4 Attract Mode display menu for themes?
« on: August 20, 2020, 01:28:43 PM »
Any errors in the log? Because retropie has additional scrips that modifies default install locations as well as other things, you might want to ask the question on retropie forum.

Contains binary utilities that are part of operating system:
Code: [Select]
Contains bin installed by user admin:
Code: [Select]
Installed bin can be launched by it's filename.

Launch any bin:
Code: [Select]
$ cd <dir>
$ ./<bin name>

I meant Debian, not fedora.

It looks like you could possibly be missing dependency packages. First step is to see if you actually have the files on your computer. If not, try to install the package. Do it one at a time to make it easy to look at the log.

Pages: [1] 2 3 ... 78