[Ubuntu] Can't read zip files?

This particular forum is archives, bug reports should be made at https://github.com/visualboyadvance-m/v ... e-m/issues


Post Reply
Procyon
Junior Member
Posts: 2
Joined: Fri Jan 01, 2010 4:01 am

[Ubuntu] Can't read zip files?

Post 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.

Last edited by Procyon on Fri Jan 01, 2010 4:12 am, edited 1 time in total.
Squall Leonhart
Posting Freak
Posts: 1223
Joined: Tue Mar 18, 2008 9:21 am

[Ubuntu] Can't read zip files?

Post by Squall Leonhart »

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

Procyon
Junior Member
Posts: 2
Joined: Fri Jan 01, 2010 4:01 am

[Ubuntu] Can't read zip files?

Post 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.

Squall Leonhart
Posting Freak
Posts: 1223
Joined: Tue Mar 18, 2008 9:21 am

[Ubuntu] Can't read zip files?

Post 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.

aceloop
Junior Member
Posts: 35
Joined: Tue May 27, 2008 8:39 am

[Ubuntu] Can't read zip files?

Post by aceloop »

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

cmdreamer
Junior Member
Posts: 12
Joined: Sun Jan 11, 2009 11:44 am

[Ubuntu] Can't read zip files?

Post 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.

Squall Leonhart
Posting Freak
Posts: 1223
Joined: Tue Mar 18, 2008 9:21 am

[Ubuntu] Can't read zip files?

Post by Squall Leonhart »

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

cmdreamer
Junior Member
Posts: 12
Joined: Sun Jan 11, 2009 11:44 am

[Ubuntu] Can't read zip files?

Post 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.

Last edited by cmdreamer on Tue Mar 23, 2010 2:13 am, edited 1 time in total.
Post Reply