| View previous topic :: View next topic |
| Author |
Message |
Buddman Tux's lil' helper

Joined: 04 Dec 2005 Posts: 115
|
Posted: Wed Aug 30, 2006 1:51 am Post subject: HowTo Install WIPs for ZSNES |
|
|
| Topic says it all. I'm trying to add support for a 1600x1200 mode for ZSNES, and looks like the latest WIP would be the way to go, but I have no idea how to patch ZSNES. Anyone ever try this? I've looked all over the net for some kind of guide to get me started but so far no luck. Any help would be appreciated. |
|
| Back to top |
|
 |
Master Shake l33t


Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Wed Aug 30, 2006 2:53 am Post subject: |
|
|
Hey, I used an overlay to get the svn version. Here's an ebuild for the svn version:
| Code: |
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/zsnes-svn-1.42.ebuild,v 1.12 2006/04/13 20:36:47 wolf31o2 Exp $
inherit subversion eutils flag-o-matic games
DESCRIPTION="SNES (Super Nintendo) emulator that uses x86 assembly"
HOMEPAGE="http://www.zsnes.com/ http://ipherswipsite.com/zsnes/"
ESVN_REPO_URI="https://svn.bountysource.com/zsnes/trunk/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="opengl png"
RDEPEND=">=media-libs/libsdl-1.2.0
>=sys-libs/zlib-1.1
amd64? ( app-emulation/emul-linux-x86-sdl )
opengl? ( virtual/opengl )
png? ( media-libs/libpng )"
DEPEND="${RDEPEND}
>=dev-lang/nasm-0.98
sys-devel/automake
>=sys-devel/autoconf-2.58"
S="${WORKDIR}/${PN}_${PV//./_}"
pkg_setup() {
games_pkg_setup
use amd64 && export ABI=x86
}
src_compile() {
cp "icons/48x48x32.png" "${T}/zsnes.png"
cd src
aclocal && autoconf || die "autotools failed"
egamesconf \
$(use_enable png libpng) \
$(use_enable opengl) \
|| die
emake || die "emake failed"
}
src_install() {
dogamesbin src/zsnes || die "dogamesbin failed"
newman src/linux/zsnes.1 zsnes.6
dodoc docs/{*.txt,README.LINUX}
dohtml -r docs/Linux/*
make_desktop_entry zsnes ZSNES zsnes.png
doicon "${T}/zsnes.png"
prepgamesdirs
} |
I called this zsnes-svn. Let me know if you need any more help. _________________ System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz |
|
| Back to top |
|
 |
Buddman Tux's lil' helper

Joined: 04 Dec 2005 Posts: 115
|
Posted: Wed Aug 30, 2006 8:00 pm Post subject: |
|
|
| Hey thanks - I'll try it tonight when I can get home. Does this also patch ZSNES with the latest WIP or do I have to manually do that? |
|
| Back to top |
|
 |
Master Shake l33t


Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Wed Aug 30, 2006 10:44 pm Post subject: |
|
|
pretty sure it does _________________ System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz |
|
| Back to top |
|
 |
Buddman Tux's lil' helper

Joined: 04 Dec 2005 Posts: 115
|
Posted: Thu Aug 31, 2006 1:37 am Post subject: |
|
|
| Very nice, worked like a charm. Thanks again! |
|
| Back to top |
|
 |
Master Shake l33t


Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Thu Aug 31, 2006 3:05 pm Post subject: |
|
|
no problem _________________ System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz |
|
| Back to top |
|
 |
|