Page 1 of 1

[Ubuntu] Can't read zip files?

Posted: Fri Jan 01, 2010 4:11 am
by Procyon

Hi everyone. I searched up and down for an answer to this before I gave up and decided to post. I run the 64-bit version of Ubuntu 9.10. I pulled down the latest deb, SVN 877 if I'm not mistaken. Obviously, there is only a 32-bit version available (it would be REALLY nice if someone could provide a 64 bit version, Core 2 Duos are really mainstream now a days), so I used dpkg with the --force-architecture flag to get it to install on my system. I have two problems, both of which I can get around, but one is much more annoying than the other. The smaller problem is that I can't use gvbam because I don't know which lib to symbolically link so that gvbam can find the 32 bit version of the glademm libs. But I use the Gelide front-end so that's really a small problem.

 

The REAL problem that I'm having is that vbam does not seem to have any idea how to read zip files. It can read unzipped files (raw ROMs) just fine, and the 64-bit version of vanilla VBA can read zip files without a problem. I'm taking a poor uneducated guess, but I'm guessing that once again, this is a 32/64 bit difference, and because I installed using --force-architecture, vbam doesn't know where to find the libs that would extract zip files. Even as I type that, it doesn't sound right, but every time I try to run with a zip file, I get :

 

Code: Select all

No image found in file Tetris.zip
Unknown file type Tetris.zip

 

Can anyone enlighten me? Thanks very much.


[Ubuntu] Can't read zip files?

Posted: Fri Jan 01, 2010 8:29 pm
by Squall Leonhart

VBA 64 is not official for good reason. the unpacker library used is not 64bit compatible.


[Ubuntu] Can't read zip files?

Posted: Sat Jan 02, 2010 7:52 pm
by Procyon

Thanks for the reply Squall. Is there any particular code related reason for sticking with a non 64-bit compliant unpacker? There are certainly other solutions out there. Are there any plans by the team to address this? Thanks again.


[Ubuntu] Can't read zip files?

Posted: Sun Jan 03, 2010 1:07 am
by Squall Leonhart

Not in the near future. x64 isn't a point of focus, because of its near uselessness for gba emulation. currently the focus is on vba2.


[Ubuntu] Can't read zip files?

Posted: Sun Jan 03, 2010 1:39 pm
by aceloop

i really dont see any point of a x64 gba emulator, 32bit is more than what we need.


[Ubuntu] Can't read zip files?

Posted: Wed Feb 03, 2010 7:40 am
by cmdreamer

Actually I'm having the very same problem, I'm using Fedora 12 (32bits) and gvbam svn928 can't read ZIP files, but unpacked GBA and GZ ones yes.

 

Are there any special parameters to include on compile so it support ZIP files?

I compiled using (zlib-devel-1.2.3-23.fc12.i686) and my system has (zlib-1.2.3-23.fc12.i686) installed. So I don't know what's wrong.

 

Also I'd like to be able to use 7Z files (better compression ratio) to save some disk space, should I put a request on it?

 

Thanks in advance.


[Ubuntu] Can't read zip files?

Posted: Wed Feb 03, 2010 2:49 pm
by Squall Leonhart

that is definitely an issue, is blarrgs FileExtractor being added as a lib?


[Ubuntu] Can't read zip files?

Posted: Wed Feb 03, 2010 10:41 pm
by cmdreamer

Well, from the CMakeLists.txt file, I've found this:

 

---START---

ADD_LIBRARY (

Code: Select all

vbamcore


${PROJECT_SRCS}


${SRC_MAIN}


${SRC_GBA}


${SRC_GB}


${SRC_APU}


${SRC_FEX_MINI}


${SRC_FILTERS}


${SRC_DEBUGGER}

)

---END---

 

So I think SRC_FEX_MINI it's "enabled", but I haven't saved the building results so I can't really tell.

 

Edit (20100323:0015):

 

ZIP file support is again available on svn945.