Comments (10)
Someone else would need to contribute a patch for that. I don't have time nor interest for this.
from mpc-hc.
Why can't you just use unrar.dll ?
Works for WACUP just fine.
from mpc-hc.
I need someone who wants to write code. Anything else isn't helpful as I am not working on this.
from mpc-hc.
I have a solution for this. However, it requires changes to the RARFileSource subproject, and has a dependency of the unrar source. Since there is already an mpc-hc fork of RARFileSource, might you (@clsid2) want to fork it again--or just import the RARFIleSource into mpc-hc tree.
RARFIleSource is not really maintained anymore, and the core logic of it I have removed entirely in favor of generic calls to unrar, which works for all version of RAR rather than v4. In theory, even future versions could work.
@Dr-Flay, the unrar DLL is not suitable for this task, really, because it allows little more than access to archive extraction to disk. Although that could work, RARFileSource worked by reading directly from the archive rather than extracting it first, which is much faster, more efficient, and saves disk space. However, with one small change to unrar source, I was able to use the static library to do the same thing for versions up to RAR5.
from mpc-hc.
@adipose Much more preferable indeed (the unpacking of an archive collection each time I play 1 tracker mod is annoying) I didn't think you could do that with RAR due to the way it is made. I guess opinions have been based of the official unrar, rather than 3rd party options.
A current RARFileSource would be very handy for other projects that prefer not to spaff a load of temp files all the time (especially in an era of SSDs)
from mpc-hc.
@Dr-Flay "store-only" means the data sits unmodified in the archive, so other than jumping between multi-volume sets, it's just a question of reading the right data.
It's stupidly ambitious, but I did lay the groundwork for extracting a compressed rar in memory, but didn't finish that part yet (maybe never). The basic problem there is, you have to start from the beginning due to the way huffman encoding works, so it can be slow (read: extract the whole archive) to get to the end. On the other hand, 90% of the time you probably wanted to start from 0:00 anyway, so it could work pretty well for the basic scenario.
Other option is just extract to disk first, then play. But if you wanted to do that, you could have just done it to begin with!
from mpc-hc.
Importing it into the tree would be fine.
from mpc-hc.
PR here:
Test build here:
https://mega.nz/#!Aco2jI7b!ZsFVz7BIY68DKKPjvatEeoE3PBFFL6ecYv0FimEvPFk
This should work with RAR4/RAR5 uncompressed archives.
@clsid2, I am not sure how to test the asynchronous reading part of OutputPin in mpc-hc. If you can comment on that.
from mpc-hc.
Patch has been committed.
I don't know about async stuff either.
from mpc-hc.
Could you post a new release for this . thank you
from mpc-hc.
Related Issues (20)
- Add .avs filetype to Open Dialog Media Types Filter HOT 1
- Online stream failed
- Impossible to playback the official streams of bein sport youtube live channel HOT 2
- Issues with 144hz monitor HOT 1
- PQ to SDR post-processing not getting enabled/disabled when switching to fullscreen and back HOT 2
- Add support of cookies arguments commands of yt-dlp "--cookies-from-browser firefox" to play restircted videos of twitter HOT 1
- Audio output using Soft OpenAL HOT 1
- (Cosmetic) LAV Filters show as internal where is not HOT 1
- snap to screen bottom HOT 1
- DVD does not redraw in static "extras" title HOT 2
- Playlist does not skip to next available file HOT 1
- Scale volume control slider relative to control button size HOT 15
- yt-dlp --proxy argument for open-action HOT 1
- Issue at # 1
- Window doesn't adjust size to match cover art HOT 1
- If `FullscreenDelay`>0, Windows taskbar become visible when mouse on Mpc-hc seekbar on fullscreen
- If window is in mimimal mode, restore normal mode when going separate fullscreen
- Music coverart is really really small since upgrading to v2.3.4 HOT 5
- DVD mode related issues
- Right click player menu glitch? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpc-hc.