MyEmulators with 7zip support (MP 1.1.0) (1 Viewer)

NOAMattD

Portal Member
September 20, 2009
15
0
Since the developer chreekar hasn't done this and the other guy working on support skipped town I grabbed the latest svn of myemulators and added 7zip support. My way is, admittedly, not very good and is kinda hacky since there's absolutely nothing in the code for parsing through archives, but as far as I can tell it works.

Place the two .dll files in the attached zip in your plugins\windows directory. MyEmulators will treat 7z files like directories, nothing fancy with the configuration gui or anything. A lot more could be done with this but for me it's good enough :p

I haven't tested it much (for example I haven't tried rars or regular zips, I don't think the library I used supports it).

I also attached the source code - I only had to make changes to MainPresenter.cs

Let me know how this works out for you guys. I don't intend to do much more work on it, just enough to where it does what I want - I'm hoping chreekar will read this, see how easy adding archive support is and put it in the official code.

If anyone's interested I used the SevenZipSharp library (SevenZipSharp)
 

Attachments

  • MyEmulators.zip
    30.6 KB
A

andreyua

Guest
MediaPortalSetup_1.1.0_BETA-1_rev23491
Windows 7
When I use your plugin I see only this (see image)

 

NOAMattD

Portal Member
September 20, 2009
15
0
marvenius - so it works for you then?

andreyua - I'm using the latest stable MP 1.1.0 release (not any svn snapshots), windows 7 pro, and the black glass skin. Not sure what your issue is, it looks like it may be a plugin config problem. Make sure you allow for the right file extensions.
 

marvenius

Portal Pro
September 3, 2008
523
47
Belgium
Home Country
Netherlands Netherlands
crap, forget my post. I was reading something in the "main" thread... Then read this, walked away and replied, thinking it was the previous thread.
Sorry for any post leading anyone in any wrong direction. I am using the "official" release, not this one with 7zip support.
:oops:
 
A

andreyua

Guest
Please, NOAMattD, tell me , what the problem can be ?
Realy great plugin, but not worked for me
Maybe you try test your code again

My OS is russian, but "official" release good work
 

Users who are viewing this thread

Top Bottom