ndpduc / adosbox

Automatically exported from code.google.com/p/adosbox
0 stars 0 forks source link

imgmount not working #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. copy a working dosbox image file to sd card
2. start adosbox
3. imgmount c <imagefile>

What is the expected output? What do you see instead?
Excepted: imgagefile mounted
Instead: There is an error, saying the image is wrong or cannot be reached.

What version of the product are you using? On what operating system?
aDosBox alpha 1 - Android 2.1

Original issue reported on code.google.com by Xmiste...@gmail.com on 11 Jul 2010 at 11:51

GoogleCodeExporter commented 9 years ago
Same problem on Milestone Eclair. Adding screenshot.

Original comment by rizandr...@gmail.com on 14 Jul 2010 at 9:23

Attachments:

GoogleCodeExporter commented 9 years ago
Building adosbox svn from source did the trick for me :)

Original comment by Xmiste...@gmail.com on 15 Jul 2010 at 1:55

GoogleCodeExporter commented 9 years ago
Xmisterhu, tried to build from svn to no avail (FC's). I'm missing something. 
:( Would you send me your build?

Original comment by rizandr...@gmail.com on 16 Jul 2010 at 11:27

GoogleCodeExporter commented 9 years ago
What is your phone resolution? I have a HVGA, but I could only make it work if 
I crop the screen to this resolution.
But for WVGA, I can easily build you one, because the svn is made for WVGA 
screens :)

By the way, it's not hard to build, you should install eclipse, and android 
plugin for that, then Android-NDK, then you give the ndk-build command in the 
project dir, after that simply refresh and build in eclipse.

Original comment by Xmiste...@gmail.com on 16 Jul 2010 at 11:39

GoogleCodeExporter commented 9 years ago
Xmisterhu, thx for replying. Mine is WVGA (Milestone). As for building... did 
that using MOTODEV Studio (based on Eclipse).

Original comment by rizandr...@gmail.com on 17 Jul 2010 at 12:05

GoogleCodeExporter commented 9 years ago
Well, I'm not familiar with it, but you should install ndk, and use ndk-build 
in the project dir, before you can build the apk with eclipse(or that studio).

The reason for that, is adosbox actually a wrapper for a little modified 
version of dosbox, which is written in C, so first you need to build a library 
of dosbox(ndk-build does it for you), and then pack it up in an apk file with 
eclipse/any other java builder.

Original comment by Xmiste...@gmail.com on 17 Jul 2010 at 12:29

GoogleCodeExporter commented 9 years ago
Xmisterhu, thx a bunch for ur help. Gonna try that as soon my HD backup is 
over. Let you know whether it works for MOTODEV.

Original comment by rizandr...@gmail.com on 17 Jul 2010 at 12:45

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Xmisterhu, done! I'm stuck with Win bootscreen, but aDosBox can read img file 
at least... gonna try other sources (of img file). :)

Once again, thx a lot!

PS - while I was typing this msg, it came up saying I have not enough extended 
memory available to run... lol

Original comment by rizandr...@gmail.com on 17 Jul 2010 at 6:13

Attachments:

GoogleCodeExporter commented 9 years ago
@rizandroid

I know that might sound obvious, but did you try extending memory in 
dosbox.conf?

also, can you share the file you are using for win95 so I can test this one as 
well?

Original comment by kkapl...@gmail.com on 26 Jul 2010 at 5:01

GoogleCodeExporter commented 9 years ago
@kkaploon -

Yeah. The max memsize aDos will accept on my Milestone is 32. I can run both, 
95 (http://bit.ly/9Osvin) & 98 (http://bit.ly/b2nUt7), but kinda lag. :(

Original comment by rizandr...@gmail.com on 26 Jul 2010 at 6:36

GoogleCodeExporter commented 9 years ago
I am having the same imgmount issue on my HTC Evo.  How do you go about 
rebuilding the program as described above?  I have installed the SDK, eclipse, 
ADK plugin, and the NDK software.

Original comment by trbeaudo...@gmail.com on 28 Jul 2010 at 11:02

GoogleCodeExporter commented 9 years ago
Then here is a step-by-step guide (from my memory, so not perfect):
1. Download source from SVN
2. Navigate to the "project" directory
3. /path/to/your/ndk/bin/ndk-build
4. Wait. It will take about 30 minutes.
5. Start Eclipse
6. Import the project
7. Build

Now you will have an adosbox.apk file somewhere inside the project, upload it 
to the phone and install.

Original comment by Xmiste...@gmail.com on 28 Jul 2010 at 11:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@ Xmisterhu : Thanks for the guide and the help with the NDK

I am now able to use the imgmount function, however; I am no longer able to use 
the touch screen as a mouse.  Does anyone know how to fix this or a way to 
implement the touch screen in during the build process.  I am using eclipse to 
build the apk's. Thanks in advance.

Original comment by trbeaudo...@gmail.com on 1 Aug 2010 at 2:32

GoogleCodeExporter commented 9 years ago
@trbeaudoin01

In eclipse, open this file: org/hystudio/dosbox/DosBoxMain.java

Uncomment line 99 and rebuild.

Original comment by grea...@gmail.com on 19 Aug 2010 at 10:59

GoogleCodeExporter commented 9 years ago
Greatht that did the trick.  I now can imgmount on my evo, thanks a million.

Original comment by trbeaudo...@gmail.com on 16 Oct 2010 at 11:45

GoogleCodeExporter commented 9 years ago
@Xmisterhu 
I am having the same problem mounting images. I am green to building apk's with 
the ndk. In what program are you invoking the " 
/path/to/your/ndk/bin/ndk-build" I'm sorry for being green just would like 
clarifacation.

Original comment by 3De...@gmail.com on 25 Dec 2010 at 10:19

GoogleCodeExporter commented 9 years ago
Just a simple terminal/console. But be sure that you are in the project 
directory when giving the command.

Original comment by Xmiste...@gmail.com on 25 Dec 2010 at 3:35

GoogleCodeExporter commented 9 years ago
Since I am on windows would this be done in cywin? or can I invoke in DOS.

Original comment by 3De...@gmail.com on 25 Dec 2010 at 9:11

GoogleCodeExporter commented 9 years ago
Since ndk has a windows version, you can safely invoke it from windows command 
prompt.

Original comment by Xmiste...@gmail.com on 25 Dec 2010 at 10:01

GoogleCodeExporter commented 9 years ago
@Xmisterhu

Im having the same troubles witht the imgmount.
But when i try to build it with ndk i get alot of build errors.
Could you/or any1 give a little more detail to setting up the build from source?
Thx

Original comment by stha...@gmail.com on 26 Feb 2011 at 6:48

GoogleCodeExporter commented 9 years ago
These bugs are related to v0.1beta and no longer valid

Original comment by grea...@gmail.com on 24 Apr 2011 at 7:27