Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

*View All Threads*Show in Threaded Mode


SubjectLinux bugs and questions new Reply to this message
Posted bycyrussd
Posted on05/02/06 07:14 PM



So I made the jump from Windows to Linux at the beginning of this year, and well, ClrMame is the only app I cannot replace, seeing as it is THE BEST utility for what it does ;) With that said, I have noticed a few things that don't work correctly, and was hoping that they could be fixed.

1) The profiler's www mode is broken. When I first installed ClrMame it would detect all of the new DATs, but I could only download the ones on the ClrMame server. What's worse, after closing the app it now no longer downloads any updated DATs, although the ClrMame program updater works flawlessly.

2) I have noticed that some of my sets have had zip errors, and was wondering if these could be caused by Linux. So far the errors have been duplicate file entries and invalid headers. Will running a "Full zip structure scan" always detect and report these zip errors?

3) Everything is WAY slower in linux, doing a full MAME scan takes over 24 hours now, as opposed to the one hour it took in Windows. I'm guessing this is because it is essentially running emulated, but I thought I'd ask if there was anyway to speed this up?

4) Lastly, with the release of Mono, are you any more inclined to do a Linux build, seeing as Mono will compile existing .NET code and create a Linux executable? If that were to happen I'd have no more use for Wine :)

Oh, speaking of, it probably would be helpful if I posted my specs huh? :)

AMD Athlon 1900+
Corsair DDR 512MB
Fedora Core 5
Wine 0.9.12

peace,

-cyrussd



For All Your CPS2 Emulation Needs (except ROMs) visit:

- CPS2emu -


SubjectRe: Linux bugs and questions *edit 2* new Reply to this message
Posted byRoman
Posted on05/03/06 03:21 AM



> 1) The profiler's www mode is broken.

works fine in Windows ;) I may have a look at it using Knoppix or something. But generally...there's no support for running it under Wine (besides it can still be a Wine issue). There is no difference in downloading from any www side. The clrmame pro side doesn't differ of e.g. Logiqx' one. So maybe it's a temporary network issue. Once you're downloaded dats, they should appear as new dats and can't be redownloaded (since they do exist in your collection).

> 2) I have noticed that some of my sets have had zip errors, and was wondering if
> these could be caused by Linux. So far the errors have been duplicate file
> entries and invalid headers. Will running a "Full zip structure scan" always
> detect and report these zip errors?

The full zip structure scan does detect a lot of structural bugs and lists them in the warningswindow. Double names is interesting though...could be a Linux based issue, since it's a filename case-sensitive OS. The zipfile standard normally allows double localfileheaders but normally they don't make sense and usually if you add new files wich different case but same name, the files get replaced. Looks like it doesn't do that correctly under Linux. I will recheck that.

> 3) Everything is WAY slower in linux, doing a full MAME scan takes over 24 hours
> now, as opposed to the one hour it took in Windows. I'm guessing this is because
> it is essentially running emulated, but I thought I'd ask if there was anyway to
> speed this up?

Running under Wine? No, you can't speed it up. Stick with Windows, a full scan takes less than a minute.
There are of course some options which slows it down (e.g. sha1 checks)

> 4) Lastly, with the release of Mono, are you any more inclined to do a Linux
> build, seeing as Mono will compile existing .NET code and create a Linux
> executable? If that were to happen I'd have no more use for Wine :)

Well...first of all...cmpro isn't written using dotNET. Currently I don't have the time to port anything of that code to multi-platform, the next core will though.
I am interested in a full new core and parts do exist in portable code but I simply don't have enough free time at the moment to complete it.


so for now....I will check the zipfile doublename issues and the www profiler issue under WINE.....don't expect anything useful though 8)



Roman Scherzer



SubjectRe: Linux bugs and questions new Reply to this message
Posted byRoman
Posted on05/03/06 06:45 PM



> 1) The profiler's www mode is broken. When I first installed ClrMame it would
> detect all of the new DATs, but I could only download the ones on the ClrMame
> server.

Fixed in next version.


Roman Scherzer



SubjectRe: Linux bugs and questions new Reply to this message
Posted bycyrussd
Posted on05/03/06 11:07 PM



> [www mode] Fixed in next version.

Awesome! I just bombed my CS111 exam, and yet you made everything better :D

> Double names is interesting though...could be a Linux
> based issue, since it's a filename case-sensitive OS. The
> zipfile standard normally allows double localfileheaders
> but normally they don't make sense and usually if you add
> new files wich different case but same name, the files
> get replaced. Looks like it doesn't do that correctly
> under Linux. I will recheck that.

That would make sense, as I have had similar naming problems when transfering files to my USB flash drive.

BTW, the other exact error was "corrupt header in zipfile", alhough I realize that still is not all too descriptive :p

> Running under Wine? No, you can't speed it up.

That's what I figured, thanks for the response anyways.

> Currently I don't have the time to port anything of that
> code to multi-platform, the next core will though. I am
> interested in a full new core and parts do exist in
> portable code but I simply don't have enough free time at
> the moment to complete it.

No worries, I understand how demanding real life can be. Thank you for taking the time to look into these unsupported errors -- I can hardly wait till the next release :)

peace,

-cyrussd



For All Your CPS2 Emulation Needs (except ROMs) visit:

- CPS2emu -


SubjectRe: Linux bugs and questions Reply to this message
Posted byRoman
Posted on05/04/06 03:01 AM



> > [www mode] Fixed in next version.
>
> Awesome! I just bombed my CS111 exam, and yet you made everything better :D

Well...easy one. Funnily enough, urls containing spaces work fine under Windows, under WINE you have to replace spaces with %20.

> That would make sense, as I have had similar naming problems when transfering
> files to my USB flash drive.

Although I already looked at the zip-add/replace code and it checks for all kind of matching filenames....i.e. w/o case sensitivity, so normally it shouldn't create double entries....I will do some more checks on that.

> BTW, the other exact error was "corrupt header in zipfile", alhough I realize
> that still is not all too descriptive :p

Hmmmm....I will look at it.


> > Running under Wine? No, you can't speed it up.
>
> That's what I figured, thanks for the response anyways.

Hey...I'm running knoppix under vmware and there I use wine for testing....now that's slow 8)



Roman Scherzer



SubjectRe: Linux bugs and questions new Reply to this message
Posted bycyrussd
Posted on05/05/06 03:40 PM



> Funnily enough, urls containing spaces work fine under
> Windows, under WINE you have to replace spaces with %20.

Tested the new build and it downloads DATs just fine now, thank you :)

> Hmmmm....I will look at it.

I'll keep an eye out for anything else that may help, and will also keep my fingers crossed.

> Hey...I'm running knoppix under vmware and there I use
> wine for testing....now that's slow 8)

LOL, amazingly it doesn't feel quite so slow anymore :)

peace,

-cyrussd



For All Your CPS2 Emulation Needs (except ROMs) visit:

- CPS2emu -


View All Threads*Show in Threaded Mode