OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: GenericAnimeBoy on April 20, 2005, 09:23:27 pm

Title: Dgen
Post by: GenericAnimeBoy on April 20, 2005, 09:23:27 pm
I want to play some Sonic on my Z.  Trouble is that DGEN, the only emulator I know of for the Z, isn't working.  It gives me a library error:
Code: [Select]
dgen: error while loading shared libraries: libstdc++-libc6.1-2.so.3: cannot open shared object file: No such file or directory
I've searched the forums and checked every thread listing this error (mostly talking about cacko rom or kismet on the 6000), and tried as best I can to implement the fixes reccommended in those.  Still no emulator.  Does this work for anyone else, or does anyone know how to get it working?
Title: Dgen
Post by: lardman on April 21, 2005, 05:20:10 am
I think the error says it all.

You need to find and install the lib it's asking for.


Si
Title: Dgen
Post by: GenericAnimeBoy on April 21, 2005, 04:35:17 pm
Trouble with that is that I can't find that library anywhere in the OZ feeds, and all my searching of ZUG and Google did me no good, as the only thread I could find about it was talking about Cacko.

I'd just like to know if anyone knows whether DGEN (or another Genesis emulator) works on OZ, or knows how to get it working on OZ.
Title: Dgen
Post by: lardman on April 21, 2005, 05:23:22 pm
Did you look in the dev and devel feeds? Do you have them set as src?

Quote
I'd just like to know if anyone knows whether DGEN (or another Genesis emulator) works on OZ, or knows how to get it working on OZ.

Basically you need the lib. It ought to be there. I'll have a look tomorrow.


Si
Title: Dgen
Post by: GenericAnimeBoy on April 21, 2005, 05:33:11 pm
Unexpectedly, I found the link to the lib I needed from the DGEN entry on killefiz.  However, now I get a symbol lookup error (not the usual one, though).  I used makecompat on dgen--no luck.

The error, for reference, is
Code: [Select]
dgen:symbol lookup error: dgen: undefined symbol: __14QPEApplicationRiPPcQ212QApplication4Type
Maybe I need to makecompat that lib as well?

Nope.  No Luck.
Title: Dgen
Post by: lardman on April 21, 2005, 06:31:14 pm
I'd just use the OZ version (to eliminate unresolved symbols errors) - it should be in there somewhere.

http://www.openzaurus.org/official/unstabl...4.3-r10_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.3/feed/devel/libstdc++6_3.4.3-r10_arm.ipk) for example

Si
Title: Dgen
Post by: GenericAnimeBoy on April 22, 2005, 10:43:55 am
I don't think that's the same library, though.  Or is it?  My linux knowledge isn't very well-rounded, I'm afraid.
Title: Dgen
Post by: Cwiiis on April 24, 2005, 09:09:37 pm
libstdc++6 is indeed what you want, installing packages intended for other distributions/roms/versions will *not* work - Uninstall the file you got from killefiz and install the file lardman indicated... Unfortunately, dgen doesn't seem to work though  (I was the one that added it to OE) If you find differently, do please say.
Title: Dgen
Post by: GenericAnimeBoy on April 25, 2005, 01:53:43 pm
Yeah, I already have libstdc++6 installed (the OZ version), linking it as the missing library didn't resolve the error either.  dgen doesn't seem to work with or without compat-libs.  It's a pity.
Title: Dgen
Post by: lardman on April 25, 2005, 06:08:49 pm
See if you can find the source, it may not be too difficult to add it to OE, then you'll cut out the compat libs.


Si
Title: Dgen
Post by: GenericAnimeBoy on April 25, 2005, 09:42:43 pm
I found a source tarball of the latest SDL version of dgen (1.23).  What do I do with it?
Title: Dgen
Post by: Cwiiis on April 27, 2005, 07:05:18 am
dgen 1.18 and 1.23 are already in OE, I included them myself. Your setup must be incorrect in some way, because I have tested both and they both load and run (but 1.23 segfaults loading roms (on both PC and Zaurus), and 1.18 seems to sit there doing nothing on loading a rom (on Zaurus, works fine on PC)).

I recommend you do something along the lines of:
ipkg-link umount <path>
ipkg remove libstdc++6 --force-depends
ipkg update
ipkg install -d <dest> libstdc++6 --force-overwrite
ipkg-link mount <path>

Replacing dest and path with the correct destination/path, assuming you didn't install to root.

Also, a tip to people wanting to add things to OE: Check that they aren't already there!
Title: Dgen
Post by: Cwiiis on April 27, 2005, 07:06:59 am
Argh, I've just realised you must be using a dgen from a non-OZ feed... If it isn't in the OZ feed already, please request it be built in the upgrades thread.
Title: Dgen
Post by: stupkid on April 27, 2005, 11:25:04 am
I wouldn't work too hard on getting dgen working as it is much too slow to be playable on the Zaurus in my experience.  Perhaps if it were complied with softfloat.  I would recommend using another Genesis emulator like SMS plus:  http://ehe.s57.xrea.com/index.php?cmd=read...%20for%20Zaurus (http://ehe.s57.xrea.com/index.php?cmd=read&page=SMS%20plus%20for%20Zaurus)
Title: Dgen
Post by: lardman on April 27, 2005, 11:32:23 am
Quote
dgen 1.18 and 1.23 are already in OE, I included them myself.

If it's not in the feed at the moment, give hrw a shout in the 3.5.3 upgrades thread and ask him to add it - it will be compiled with soft-float.


Si
Title: Dgen
Post by: GenericAnimeBoy on April 27, 2005, 04:18:49 pm
I found dgen 1.23, now.  It's in the X11 feed, and linked with X11 dependencies, so I haven't tried the OZ feed version yet.  I'm actually about to flash to gpe-image anyway, but not until I finish ff6, as the Z is my only personal computer right now (posting here from a computer lab).

Has anyone checked out this SMS Plus emu yet?  What do you know about it, stupkid?  If it's integer based, it'd probably run a lot better in general.  Hopefully there's a way to re-map the keys though...  
Title: Dgen
Post by: GenericAnimeBoy on April 30, 2005, 03:24:48 pm
Bump.
Title: Dgen
Post by: tovarish on April 30, 2005, 09:56:40 pm
smsplus is a sega master system emulator and not for genesis. you can still play the old sonic games very well with smsplus(smssdl).

afaik dgen is extremely slow (about 5-10 fps) and solf float might increase speed by about 30-40. another emulator needs to be ported or the zaurus itself is incapable of playing genesis games
Title: Dgen
Post by: tovarish on April 30, 2005, 09:57:10 pm
smsplus is a sega master system emulator and not for genesis. you can still play the old sonic games very well with smsplus(smssdl).

afaik dgen is extremely slow (about 5-10 fps) and solf float might increase speed by about 30-40. another emulator needs to be ported or the zaurus itself is incapable of playing genesis games