Fan made projects related to MLP

Search /collab/ threads

Password  (for post and file deletion)

File 130646834369.png - (220.91KB , 1680x1050 , Screenshot-2.png )
5377 No. 5377
Realeasing an alpha version of the Ponies on linux project I'm working on. Nothing too special yet, but it is in constant development, and wanted to give us linux ponies something to get excited about.

Download URL:

If you have absolutely no programming experience, this is probably not ready for you yet. There is a little bit of code modifying that is needed for it to compile and run.

There is a large todo list at the top of the main.c file, and I hope I commented it well enough for you to figure out what is going on even if you don't know GTK+. I am also taking recommendations on what else to add(feature creep, yay!).
Unspoiler all text  • Expand all images  • Reveal spoilers
>> No. 5406
:D I love you.
>> No. 5410
Installed libgtk2.0-dev package. A lot of failed assertions are going on.


(ponies:4025): Gtk-CRITICAL **: gtk_image_new_from_animation: assertion `GDK_IS_PIXBUF_ANIMATION (animation)' failed

(ponies:4025): GdkPixbuf-CRITICAL **: gdk_pixbuf_animation_get_iter: assertion `GDK_IS_PIXBUF_ANIMATION (animation)' failed

(ponies:4025): GdkPixbuf-CRITICAL **: gdk_pixbuf_animation_get_height: assertion `GDK_IS_PIXBUF_ANIMATION (animation)' failed

(ponies:4025): GdkPixbuf-CRITICAL **: gdk_pixbuf_animation_get_width: assertion `GDK_IS_PIXBUF_ANIMATION (animation)' failed

(ponies:4025): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed

(ponies:4025): GdkPixbuf-CRITICAL **: gdk_pixbuf_animation_iter_advance: assertion `GDK_IS_PIXBUF_ANIMATION_ITER (iter)' failed

(ponies:4025): GdkPixbuf-CRITICAL **: gdk_pixbuf_animation_iter_get_pixbuf: assertion `GDK_IS_PIXBUF_ANIMATION_ITER (iter)' failed

(ponies:4025): Gdk-CRITICAL **: gdk_pixbuf_render_pixmap_and_mask_for_colormap: assertion `GDK_IS_PIXBUF (pixbuf)' failed
Segmentation fault

Anypony got some insight on it?
>> No. 5413

You didn't change the file location. As it stands right now, it can only read in one gif file that is hard coded in. Line 188 in main.c is where you can find that. You can change it to the path of a gif file of your choice.

That is one of my high priority things to get coded.
>> No. 5417
XPenguins is a program for animating cute cartoons/animals in your root window.

I wanted to point out that this is themable, which means you could create a ponies theme. I've done it before for other things, i'ts fun. Not to discourage you from programming of course just pointing out it's existence.
>> No. 5522
I dunno if this is what you want, but "../trotcycle_AJ_left.gif" works for me, but then again I *am* opening the terminal and cd-ing to the directory where ./ponies is made. I guess that isn't really what you want, heh.
>> No. 5523
It looks really great, though. :D
>> No. 5556
File 130663097013.jpg - (112.92KB , 324x500 , ash can't wait.jpg )
Yes Thank you! I can't get Java ponies to work! However I think I'll just keep an eye on this thread until a more finished version comes out.
>> No. 5573

I did not know about this project, however, I will still do development on this project as I would still like to learn GTK, and who knows, maybe even add in some features that are not included in Xpenguins.


Unfortunately, that is how it works right now. In the future, I don't want that to be how it works. I will probably have it make a file in /home/username/.ponies that contains a path to where the gif files are located. But for now, the path has to be hard coded in until I create dynamic loading of file paths to the gifs.
It will probably be a command line parameter, and if it starts with a "/", then it will write to the .ponies file and change the default location for gifs, then look at that location for gifs until you change it again.

This will probably be the next thing I add, but I won't have time for a few days to add it in.
>> No. 5587
>Ash Ketchum uses Linux.
>Who the fuck is Gary Oak, anyway?
>> No. 5597
File 130667686026.png - (88.89KB , 320x240 , gary mask.png )
I am!
>dramatic chord
>> No. 6807
there's only applejack now, right?
>> No. 6813
File 130739474665.png - (118.56KB , 324x285 , Flutteryay.png )

Well, it can use any gif file you choose. I only included the one applejack gif to use as an example. This will be fixed in my next release to be able to use many more files.

In other news, I turned in 2 projects that were due today, so now I have time to work on this program again. Pic related.
>> No. 7349

Fork ponies on github :)
>> No. 7496
I'll do that as soon as version 0.2 is ready. 0.2 will contain all the file loading and file path construction code. Should be done within the week.
>> No. 7498
File 130794171536.png - (83.73KB , 387x466 , 130678081776.png )
Ubuntu is overrated. Use SUSE.
>> No. 7499
>Ubuntu is overrated. Use SUSE.

I actually swapped to Debian since the OP. Was using Ubuntu for ~4 years before then.
>> No. 7519
Ubuntu 11 has gone all weird.
>> No. 7532
Yeah, I was not a fan of the 11.04 update. I installed it over my 10.10 and hated it. I was either going to revert to 10.10 or swap to a different distro.
>> No. 7620
Jumped a few months ago from Ubuntu 10.4 to Fedora14 KDE, I'm loving it. I thinks is more for KDE than Fedora, but yea.
>> No. 7622
Also, the problems are not Ubuntu's fault, it's gnome3 fault. Try to get kubuntu (Ubuntu with kde) or some other distro without genome. I-ve hear a few good things about LXDE
>> No. 7681
Version 0.2a is out! Included is much improved file reading!
Standard html page:

Still not very user friendly, but getting closer :D
>> No. 11187
Getting problems with 0.2a. Thing is I got no idea how to set the pony files up. would it kill you to put a read me in?
Im getting no ponies in the ~/.ponies file error
>> No. 11190
Ok i think I might have it, well aj has apeared she ain't moving much... Do they move let?

Also get memory corruption if fluttershy is my only pony.
>> No. 12129
Sorry about the extremely late reply. Been really busy lately(why does everypony decide to move in June/July? And why do I always agree to help? -.-)

1. Yes, I need to update the readme file with every release. I forgot to do it with 0.2a :/

2. They currently do very little movement(1 pixel movement per update in a random direction), and they currently only do the "idle_left" animation. The movement was just there for internal testing.

3. I wasn't able to reproduce the fluttershy memory corruption bug. My version might have fixed it since 0.2a was released however. There will be a version 0.3a this week sometime, depending on when I finish coding the picture updating code.
>> No. 12152
Also getting memory corruption, though in my case, its regardless of the pony choice. Problem seems to be an off-by-one error in the amount of memory malloc-ed for "initialPicturePath". Specifically, you didn't account for the extra byte needed by the string's trailing \0.
>> No. 12163
Yep, that was it.
>> No. 14238
I edited the source a bit myself and added a version stamp in the terminal when you close the ponies, if anypony wants it just contact me on flank book i'm @techna
>> No. 20807
I'm interested in helping out with this project.
I won't have time until later tonight, so could you answer this?

- Do you have a code repository/version control system in place and/or a Bug tracker?
>> No. 20842
While I'd like to help, I haven't worked with C++ for a long time (and even then it was beginner level). I would however like to express my gratitude for your work. It's nice to see folks care about Linux.

There's a git:
>> No. 20882
File 131657828017.png - (247.93KB , 900x1260 , 131518106683.png )

I'm getting these errors too, but it might be how I'm set up.

Here's a list of things I encountered when initially playing with your code:

* You should have an example config file in the project so people know the format it's supposed to be in. I'm assuming it points to the folder ".../Ponies-for-Linux-GTK-/testimages/[ponysubfolder]", multiple entries for multiple ponies.

* I get this error when running this command:

[[email protected] src]$ ./ponies Applejack
/home/industrialbreeze/Ponies-for-Linux-GTK-/testimages/Applejack is an invalid pony name! You get Applejack instead.

It's a little confusing. Then it errors with a backtrace.

* Having a dependency list using actual package names would be nice. I notice you include cairo and gdk. Maybe since I'm currently running this on Archlinux, that's my problem.
>> No. 25186
Yo, at this stage in production is their anything I can do? I have no real coding skills, the most I have done is configure conky (if that is even programming).
>> No. 28025
I got v0.2 to run on open pandora. When its first run, the program creates a /home/[username]/.ponies file. I had to "show all files" in order to find it and then add the ponies I wanted to the file each on a separate line.

Do not confuse this text file with the /home/[username]/ponies/ folder. These are two different beasts.

The first line of the ponies file is the path where the pony directories are stored. Each other line represents one pony to create when the program loads.

My /home/megamole/.ponies file looks like this

Make sure to copy all the pony folders directly into the path as specified in the .ponies file (do not include testimages in the .ponies if its not part of the physical file structure)

Based on the example file above, fluttershy's gifs should be in this folder:

All other ponies should follow suit.

Hope that helps
>> No. 36242
Is it safe to assume that this is dead, or is the lack of a git/mercurial/subversion repo masking any progress?
>> No. 36930
rainbow dash
>> No. 45271

Last edited at Sat, Jun 29th, 2013 02:08

[Return] [Entire Thread] [Last 50 posts] [First 100 posts]

Delete post []
Report post