Mah!Cade packages

A nice (keyboard based) front end for Arcade / Console game emulators.

Moderator: battlecat

Mah!Cade packages

Postby sairuk » Sun May 01, 2011 11:57 am

Tonight I have uploaded some packaged releases of Mah!Cade. As with standard Wah!Cade there is deb, rpm and tar versions provided.

These may break your system, they may not. The deb was fine on my own system.

http://www.mameau.com/index.php?d=mahcade

If you want to report bugs with Mah!Cade; ensure the bug does not also occur in Wah!Cade (launchpad version) first. Mah!Cade is based on the last launchpad version (commit 25)

Post Wah!Cade bug reports to launchpad so they can be fixed in the base code. Mah!Cade bugs will need to be reported here to separate them from the main Wah!Cade project until andy does a code merge, if he has any plans too.

If using these packages with a previous Wah!Cade configuration edit the wahcade.ini file and add the following options
Code: Select all
lock_time   2
fuzzy_artwork_search   1       
Last edited by sairuk on Sat May 07, 2011 1:02 pm, edited 5 times in total.
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Mah!Cade packages

Postby kanito8a » Mon May 02, 2011 2:37 am

Congrats for the job. I'm anger to test the new features of wahCade/mahCade.

Apparently I can't install the package because of the version number. I use Ubuntu 11.04.
User avatar
kanito8a
 
Posts: 12
Joined: Mon Oct 11, 2010 6:46 pm

Re: Mah!Cade packages

Postby sairuk » Mon May 02, 2011 3:45 am

use the terminal to install the package, using the GUI gives the version error.

Code: Select all
sudo dpkg -i <package_name>
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Mah!Cade packages

Postby Zombie » Mon May 02, 2011 6:04 am

Can I give you a more compliant RPM SPEC not made by Alien?

Code: Select all
Name:         wahcade-mahcade
Version:      1.0
%define beta      pre1
%define distsuffix   plf
Release:      %mkrel 0.%{beta}

Summary:   Front end for games and emulators
License:   GPLv2+
Group:      Emulators
URL:      http://www.anti-particle.com/wahcade.shtml
Source0:   http://www.anti-particle.com/projects/%{name}/%{name}-%{version}%{beta}.tar.gz
Patch0:      wahcade-0.99pre9-install-fixes.patch

BuildRequires:   python

Requires:   pygtk2.0-libglade
Requires:   python-chardet
Requires:   sdlmame-extra-data
Suggests:   python-imaging
suggests:   gstreamer0.10-python
Suggests:   pygame
BuildArch:   noarch
BuildRoot:   %{_tmppath}/%{name}-%{version}

%description
Wah!Cade is a GNU/Linux friendly clone of Minwah's excellent MameWAH.

It's a front end for games and emulators (e.g. the MAME arcade game emulator),
and has been designed with arcade cabinet controls and projects in mind.

It is compatible with MameWah's config files and layouts.

It features :
 - a keyboard controlled GUI, perfect for those arcade controls,
 - a history viewer,
 - a control panel viewer,
 - a layout editor,
 - a setup editor.

This package is in PLF as Mandriva Linux policy forbids emulators in contribs.


%prep
%setup -q -n %{name}
%patch0 -p0

%build
#python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

rm -f %{buildroot}%{py_platsitedir}/%{name}-%{version}*
rm -f %{buildroot}/usr/lib/python2.6/site-packages/wahcade-20101204-py2.6.egg-info
%find_lang %{name}

%clean
rm -rf %{buildroot}

%if %mdkversion < 200900
%post
%update_menus

%postun
%clean_menus
%endif

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc doc/*
%{_bindir}/*
%{_gamesdatadir}/%{name}
%{_datadir}/applications/*
%{_datadir}/pixmaps/*


%changelog
* Fri Sep 11 2009 Guillaume Bedot <littletux@zarb.org> 0.99-0.pre8plf2010.0
- First PLF package
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: Mah!Cade packages

Postby sairuk » Mon May 02, 2011 10:51 am

Zombie wrote:Can I give you a more compliant RPM SPEC not made by Alien?


Thanks but no idea what to do with that information, I don't have an rpm based distro and have not used one for at least 4yrs from memory.; when I did i never touched on packaging.

I am using a tweaked version of the standard build scripts for Wah!Cade, can what you proposed be incorporated into the standard scripts and then the rpm built on a debian based system without alien? With the actual time I have for this project atm I don't see it as value add to run 2 systems to package deb & rpms separately, so it would be best to avoid it.
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Mah!Cade packages

Postby kanito8a » Mon May 02, 2011 11:06 am

I tried the installation througth dpkg, but I got the same problem: `Version' `mahcade20110501': doesn't start for a digit

As I said I'm anger to use the new features and I think you're doing a great job.
User avatar
kanito8a
 
Posts: 12
Joined: Mon Oct 11, 2010 6:46 pm

Re: Mah!Cade packages

Postby sairuk » Mon May 02, 2011 11:46 am

kanito8a wrote:I tried the installation througth dpkg, but I got the same problem: `Version' `mahcade20110501': doesn't start for a digit

As I said I'm anger to use the new features and I think you're doing a great job.


Yeh so I see; just tried it on my 11.04 netbook, the problem doesn't exist on 10.04 (my development vm is 10.04) I will have a look at what I can do.
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Mah!Cade packages

Postby sairuk » Mon May 02, 2011 12:32 pm

uploaded new packages, only switched the version information around so it would install on 11.04.
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Mah!Cade packages

Postby Zombie » Mon May 02, 2011 5:37 pm

Alright then, I just have one modification to request, give the actual install tar ball a distintitive name like 'mahcade' or 'wahcade-mahcade' so that the version is like mahcade-20110430.tar.gz or wahcade-mahcade-20110430.tar.gz and the untarred directory be the same way wahcade-mahcade-20110430.

So on and so fourth. This makes packaging easier on me.
User avatar
Zombie
 
Posts: 791
Joined: Mon Oct 06, 2008 2:52 pm

Re: Mah!Cade packages

Postby kanito8a » Tue May 03, 2011 7:10 pm

The new version works for me. I'm going to test it.
User avatar
kanito8a
 
Posts: 12
Joined: Mon Oct 11, 2010 6:46 pm

Re: Mah!Cade packages

Postby martinc » Thu May 05, 2011 4:48 am

I am testing it but I see the following error:

Traceback (most recent call last):
File "wahcade.py", line 86, in <module>
app = WinMain(options)
File "/usr/local/share/games/wahcade/win_main.py", line 405, in __init__
self.joy.joy_info()
File "/usr/local/share/games/wahcade/joystick.py", line 122, in joy_info
wc.log_msg("[PYGAME] Number of axes: " + str(pygame.joystick.Joystick(i).get_numaxes()))
error: Joystick not initialized

I don;t know exactly what that means. I just see that error when emulator starts and then it is closed :(

Any idea?

Thanks!
Martin
martinc
 
Posts: 18
Joined: Tue Nov 16, 2010 12:57 am

Re: Mah!Cade packages

Postby sairuk » Thu May 05, 2011 11:38 am

martinc wrote:Any idea?

Thanks!
Martin


Are you running joysticks? if not set joysticks in the ctrlr ini to 0.
Do you have PYGAME installed?

Potential fix for this issue.
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Mah!Cade packages

Postby martinc » Thu May 05, 2011 6:17 pm

Yes, I use 2 joystick, actually (and pygame is installed too). But I have this issue with one of them. Let me explain with more details:

I have a P4 with 6 USB ports, 2 on front and 4 on back. This issue is present when I plug the joystick on any back usb ports. One joystick is plugged into a front port and no issues there. I had plugged both joysticks on front ports when I was using wahcade pre8 with no issues... that was before I knew about this new version. Unfortunately, the second front port is damaged now, so I can't check if this new version works fine with both front ports (I assume it does, but I can't give a confirmation). Because of that, I need to use any of the back ports for the second joystick. And there is the issue :(

I need to use 2 joysticks in order to manage everything from there on my cabinet. I don't remember I had this issue on the wahcade pre8 before (that is not to criticize, it is just for your reference about the issue itself), but in that case I had the issue restarting the game every time I quit a game, heh. Now that ugly issue is fixed, thanks God :)

I am using Debian Testing right now. If you need any kind of info about my PC, OS or anything else, just let me know.

Thanks a lot,
Martin
martinc
 
Posts: 18
Joined: Tue Nov 16, 2010 12:57 am

Re: Mah!Cade packages

Postby sairuk » Thu May 05, 2011 11:10 pm

martinc wrote: If you need any kind of info about my PC, OS or anything else, just let me know.


OK, I also run 2x ps2 arcade controllers and 2x wiimotes without issue here; which makes it a bit difficult to locate the issue. Looking at the error reported, I have since committed a new version to launchpad with a potential fix for the crash. You will have to branch from launchpad; no new packages yet, maybe in a few days after I tweak some other bits.

Keeping in mind Mah!Cade is still experimental so there are going to be problems like this.
mameau - My random bits | Wah!Ki - A Wah!Cade wiki | Mah!Cade - Experimental Wah!cade Branch | ListGen | Lazarus
User avatar
sairuk
 
Posts: 432
Joined: Sat May 22, 2010 12:37 am

Re: Mah!Cade packages

Postby martinc » Fri May 06, 2011 2:17 am

Mmmmh, same error. But just to confirm that I am doing things in the right way. Doing this, I should be able to download the entire version from launchpad ready to be used, right?

mame@stan:/var/tmp$ bzr branch lp:wahcade
mame@stan:/var/tmp$ cd wahcade/
mame@stan:/var/tmp/wahcade$ ./wahcade &

Am I right? if so, the issue is still there :(

Thanks a lot for your quick support :mrgreen:
Martin
martinc
 
Posts: 18
Joined: Tue Nov 16, 2010 12:57 am

Next

Return to Wah!Cade

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron