[Resolved] Lands of Lore 2 + DosBox Turbo, how? - General Questions and Answers

I have installed using GOG installer Lands of Lore 2 on my PC. It installs 2 folders, one is DosBox, the other one is Lands of Lore 2.
I also have my own DosBox on the PC that I use separately from this GOG installer. The only way to start the game on PC which it does via dosbox and that's the idea, is not just to run DosBOX installed by GOG which has its own configuration - running it from that is like running the regular DosBox, it does not start gives:
Unable to Load Language File from CD-ROM disc #1
BUT from a shortcut of the dosbox set to use exactly the CONF file that I attached:
"E:\Legacy Games\Lands of Lore Guardians of Destiny\DOSBOX\DOSBox.exe" -conf dosboxLOL2.conf -noconsole -c "exit"
On ANDROID, (Smartphone etc) with DosBox Turbo:
Copying the LoLG folder and running straight from it gives the same CD-ROM Load Language error you see above.
Also DosBox Turbo does not use the CONF file seen here, even the PC's original DOSBOX does not use that conf file and I wonder how to make the DosBox Turbo run with such settings that game?
Anyone knows?

At home wasted hours and didn't find how to do it - while I am at work posting this (I suspected the solution may be easy and I don't do it right), all I did was mount:
mount d storage/emulator/0/Other/LLore2 -t cdrom
This mounts the installed folder game files on D: drive as a CD-ROM, I do not have ISO to do 'imgmount' but mb you didn't understand.
Previously I entered D: and started game from it - ofc it doesn't have enough free space there. But all I needed to do is mount D as a CD-ROM so it reads the game files from a CD-ROM to not give me 'Unable to Load Language File from CD-ROM disc #1'. Then I go to C: drive, no need to mount, as I already see the game on my hard disk - then load the game from there, then it reads the files it wants to read from the virtual CD-ROM, while I start the game from the C drive (i.e storage/emulator/0/Other/LLore2).

Thanks to Jorpho for helping
Resolution
If you need to enter Setup to configure some things, you can still use this command:
- If you use DosBox (PC):
mount d E:\LegacyGames\LoLG -t cdrom
- If you use DosBox Turbo (Android):
mount d /storage/emulator/0/LegacyGames/LoLG
You get the message: MSDEX: Mounted subdirectory. Limited Support Drive D: is mounted as CDRom E:\LegacyGames\LoLG\
Mind your Folder names - if the game is on which drive and folder name, especially on Android, which is your root folder name! Too long names get shortened to Name~1 Name~2 and these names should be used to get the folder path correctly. Sometimes when mounting Name~1 and such do not get recognized at all as their original name is not so, only display name on DosBox. Best is to name folders under 7 (or 6) characters, so that DOS doesn't have to change them and you can get your path correct.
Then enter your game folder (LegacyGames\LoLG\) from C: if you haven't mounted that already on DosBox (mount c E:\LegacyGames\LoLG\ OR mount c E:\) or on DosBox Turbo it is already added in the dosbox.conf to mount C as your local Android phone/tablet drive (for me it was /storage/emulator/0/)
From the game folder run Setup.exe, this will run the setup but then it will ask for a CD,
Please insert any LOL:G CD into your CD-rom drive.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is for Setup, as it won't load further, you just set your settings here.
How to actually start the game and without getting a screen asking for CD?
- No need to mount CDROM at all, just enter your game folder from your already mounted C drive and type any of the two:
lolg -CD .
lolg.exe -CD .
Yes, CASE SENSITIVE, [dash][CD] in caps or -"cd" will give you 'No CD path!', then [space] then [dot/period]
Now the GOG version of the game should start, and you will be in main menu, then you can navigate and set Options further!
Same methods worked both for DosBox and DosBox Turbo on Android, as they are the same.

I would still like to use setup, to set proper sound card..

Related

Linux port to tornado problem?

i use this tutorial to try porting linux to my dopod 577w upgrade to WM6.
http://vivien.chappelier.free.fr/typhoon/index.html
i try boot from EOL (press camera button and power button) and boot Haret directly from my sd card but the result is the same. I got blank white screen .
Anyone can help me??
p/s sorry for my bad english.
Never tried it. But while reading the documentation I've found this:
Important Note: there is a glitch with the USB gadget driver for now, so you _have_ to boot with the phone plugged to a PC using the USB cable, otherwise the kernel will panic.
Did you try this?
EDIT: OK. I tried it and it does not work on my Tornado either! I used both 0.4.7 and 0.4.8 versions of HaRET for booting from within WM6. Maybe there are some Tornado specific option to be set in default.txt (RAM size or RAM address).
NiTroGenious said:
Never tried it. But while reading the documentation I've found this:
Important Note: there is a glitch with the USB gadget driver for now, so you _have_ to boot with the phone plugged to a PC using the USB cable, otherwise the kernel will panic.
Click to expand...
Click to collapse
I already try this both with my xp machine and linux box. Same result boot and i get white blank screen.
I try used old image tux logo appear and then they ask to push enter. Which button represent enter??
There is a guide for running linux on Tornado at WCE.BY forum. I don't speak russian, but I translated it using an online translator:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The needed files can be found here:
http://linuxtogo.org/~law/htctornado/gpephone/images/20070802/
http://rapidshare.com/files/57929506/haret-20070816b.exe
Instructions:
Create a second partition on the memory card, about 64-100MB, and format it as Ext2/3.
Unpack Angstrom-gpephone-image-glibc-test-20070802-htctornado.rootfs.tar.bz2 on this partition.
On the FAT partition place zImage-2.6.16.16-htctornado-20070502071325, haret-20070816b.exe and default.txt.
After placing the memory card back at the phone, run haret, select default.txt and press Run.
OS booting should start and finally you should see the GUI. There may be an issue with date set dialog at first boot, but the author doesn't remember exactly.
Also, if USB cable is attached and network is set up when booting, you can login to your phone by SSH. Details are in default.txt. The author doesn't know how to do it in Windows.
Well, I did not try it because I don't know how to create a Ext2/3 partition from within Windows. Thanks to ega2oo2 for helping with the translation.
NiTroGenious said:
5. - 6. OK!!! I couldn't translate those 2 steps!!! Help, please...
Click to expand...
Click to collapse
5. OS booting should start and finally you should see the GUI. There may be an issue with date set dialog at first boot, but the author doesn't remember exactly.
6. Also, if USB cable is attached and network is set up when booting, you can login to your phone by SSH. Details are in default.txt. The author doesn't know how to do it in Windows.
The author has written this guide from the scratch, and may have missed some details.
My 2 cents
Any hint on uncompressing the .tar.bz2 file to the ext2/3 partition from withing Windows???
I try it but dont work...when kernel boot stoped with notice:
"VFS: No root yet, retrying to mount root on mmcblk0p2(unknown-block(0,0))"
Please append a correct "root"= boot option
Kernel panic - not syncings: VPS: Unable to mount root fs on unknown -block(0,0)
http://e2fsprogs.sourceforge.net/ext2.html
for creating ext2 partitions under windows
you can extract .bz2 archive with winrar www.rarsoft.com
i succesfully created
first 256 mb fat partition on the sd
second 220 mb ext partition on the sd
using the smartphone and wm5 storage
(goide here http://forum.xda-developers.com/archive/index.php/t-267475.html)
i uncomressed the bz2 file to ext2 partition
i copied the required files to the fat partition
rebooted the phone
now the phone is frosen after 'freeing 100 kb" mesage
i will try to debug
did somebody have the same mesage ????

[Q] Access to root and system directory (without rooting and plugging the smartphone)

Hi everyone,
First of all, sorry for my English. I am currently working on an OVAL (oval.mitre.org) project which main goal is to determine if an Android device (smartphone, PDA..) is vulnerable or not , according to its system settings and installed applications. To make it quick and simple, the OVAL application that I am working on should be able of gather all system settings by reading all configuration files of the smartphone, and then analyze this information to determine if the device is secure. Since I have not yet a smartphone, I use Android SDK and some Android X86 images with VirtualBox.
Once one emulator is started, I run adb shell so I can read all files under / . Among them, some interesting configuration files are located under /system, for example. All of them are read-only, that's not a problem since I just have to collect information. I think that some settings can change from one Android version to another, but I will treat this problem later.
Code:
[email protected]:~$ adb shell
# ls
acct
cache
config
d
data
default.prop
dev
etc
init
init.goldfish.rc
init.rc
mnt
proc
root
sbin
sdcard
sys
system
ueventd.goldfish.rc
ueventd.rc
vendor
My question is the following: suppose we now have a real smartphone, that we can't root and/or plug (USB) to a laptop: is it still possible to access to / (or to /system) to gather system information? Is there another way? Maybe by entering in recovery mode (I can't test for the moment because, as I said, I have not smartphone and it seems to be impossible with emulator) ?
Thank you for your attention and for your help !
McFarah (I know, it looks like English-speaking name, but I'm french )
Anything you can do in an ADB shell you can do in Terminal Emulator on the device also. [Android Terminal Emulator - Google Play]
It is essentially the same as an ADB shell, but running on the device itself. All the same commands will work.
There are also plenty of file browsers which I think should be able to read those files without root (I can't test as my phone it rooted, but I believe most file browsers e.g. Solid Explorer, MiFile Explorer, ES File Explorer etc. should be able to do this).
EDIT: For example:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(screenshot of terminal emu running same command as you quoted in your post)
EDIT: Also, it looks like you are running as root in the ADB shell output you posted above. The prompt appears to be a #, which indicates root. The normal prompt is $.
Hi SifJar
Thank you for your answer. I have already used Terminal Emulator, this is a good tool, that's right. I have not really experimented with browsers yet.
I have forgotten to say that, but ideally, the application should be able to perform her task without reposing on others external applications. Maybe I would rather write an Android application dedicated to the OVAL application myself, and add some automatisms: the Android application gathers all system and installed applications settings and feeds the OVAL application with that. Do you think this is a good solution?
Thanks
Sorry, I just assumed you wanted a solution for running the same commands you could over ADB on the device itself.
Yes, I believe you can easily call any of these commands from an app as well. I don't know exactly how one would do that, I'm not a developer but I'm sure it's fairly straight forward.
From a little googling, it seems you'd use something like this in your code:
Code:
Process process = Runtime.getRuntime().exec("su");
(replacing su with whatever command you wanted to run e.g. ls)
A few links that might be helpful:
http://saurabh-nigam.blogspot.co.uk/2010/10/running-android-native-code.html
http://stackoverflow.com/questions/...-a-system-command-from-an-android-application
https://code.google.com/p/market-enabler/wiki/ShellCommands
It must be said that I have not been very clear in my previous post!
Anyway, thanks a lot fot your helpful answers and the links, I will go into that in depth, and I will post again if I experiment some troubles. By the way, xda-developers forum is a very good one.
Have a nice day,
Mc Farah

[How to]Utilize internal 32gb storage instead of ext4 for game data post data2sd mod

Firstly I wanted to thank Mistar Muffin for his data2sd mod and also buhohitr and Hohumhurrdurr for their assistance in getting data2sd working on my tf700. And also thanks to slig for his Directory Bind app. I use this on my 16gb sd and works great.
This is for those who has done the data2sd mod and would like to still use the game data from your 32gb internal without having to redownload game data to the new ext4 partition which in turn will save your ext4 space. Useful if you only have 16gb ext4 partition or smaller as you already know game data could take up a lot of space already. So if you've already downloaded the data to your internal storage prior to data2sd mod, why not use it. YMMV but I haven't notice any decrease in game play or lag. I assume cause it's only reading the internal sd and not writing to it.
1. Download Directory Bind and install it. Open it and allow root access.
2. Hit the menu button and (+) add new entry.
3. Source (data) should be sdcardi which is the asus 32gb internal. So press and hold on any of the field in the box and it will open up a directory selection window. Select the appropriate location of the game data (see example image).
4. Mount (target) should be sdcard which is the new storage. Press and hold on any of the field in the box and it will open up a directory selection here also. Select the location in the new storage. (see example image).
5. Click on Add
6. It will take you back to main Directory bind page and you should now see your new entry. Now hit menu again and do a Bind Check. If successful the icon will go from grey to green. Other colors, you did something wrong.
7. If successful back up your entries just in case. (menu > more> Backup database)
Thats it. Now run the app and if it tells you need to download data, just hit Yes and it should just open up without download. Some games itll just opened up right away like Nova 3.
Example image
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you havent downloaded any data to internal SD you can create a new directory in the internal sd (sdcardi)and bind it to the ext4 directory. When you download the game data it will download it to your internal since they are binded.
Or if you've already downloaded the data to ext4 directory then create a new directory in the internal sd (sdcardi) and when you create the entry in directory bind, just check the transfer files box and then Add the entry. This will transfer the game data from ext4 to internal sd.

[App]DriveDroid

DriveDroid allows you to boot your PC from ISO/IMG files stored on your phone. This is ideal for trying Linux distributions or always having a rescue-system on the go... without the need to burn different CDs or USB pendrives. The paid version of DriveDroid does not include ads and helps the developer.
DriveDroid also includes a convenient download menu where you can download USB-images of a number of operating systems from your phone.
You can also create USB-images which allows you to have a blank USB-drive where you can store files in. Another possibility is to use tools on your PC to make a bootable USB-drive out of the blank image that DriveDroid created.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How do you make this work?
* Connect your phone to your PC using an USB cable
* Download an image file (.iso or .img) or create one
* Select the image file in DriveDroid to let your phone 'host' the file over USB
* (Re)start your PC and make sure the correct boot priority is set in the bios
* The image should now be booted on your PC
Recommendations:
To quickly try DriveDroid download SliTaz from the download menu. It is an operating system of only 35MB, so it should be easily downloaded.
You can also create a 100MB FAT image through the 'Create blank image...'-menu. It should show up as a normal empty USB-drive on your PC.
Requirements:
* Root
* USB cable (from phone to PC)
* USB Mass Storage (UMS) should be enabled on your ROM (being able to mount SD card)
Some devices have trouble with UMS and ADB. Please set the USB-mode to 'Mass Storage' though DriveDroids preferences. If that does not work, send me a support email, also through the preferences.
USB Mass Storage (UMS)
DriveDroid relies on the kernel of Android, in particular the USB Mass Storage (UMS) feature. It allows your phone to act as an USB-drive and have a device (SDcard) or file (ISO/IMG) be used as the content for that emulated drive.
Different Android devices implement this feature differently. Most modern devices do not have UMS enabled by default, but it is supported by the kernel. I've added a option to DriveDroid to change the USB-mode for devices that do not support UMS by default, but no guarantees. I'm getting very mixed reports of devices working and not.
I need all the help I can get to fix this problem. Hopefully we can figure out some method to enable UMS in a stable way.
Hybrid-ISOs
Since most phones only support emulating USB-drives, DriveDroid will not act as an CD-drive. This means that not all ISO files will work, only hybrid-ISOs and IMG files. Hybrid-ISOs are specially crafted ISOs that is used on many modern Linux-distributions. DriveDroids downloadlist contains most of the distributions I've found that do have hybrid-ISOs.
This is just to notify you that you have to convert non-hybrid ISOs by writing the ISO to the emulated USB-drive. You can get a blank emulated USB-drive by creating a blank image through DriveDroids + menu.
True CD-ROM emulation
True CD-rom emulation is possible. It should allow you to run any ISO on your PC. With some help of others I've found a way to get CD-rom support, but it requires patching the kernel. For most users this isn't an option, however if you're interested: I've applied patches to the kernel of CyanogenMods Nightly builds for the Samsung Galaxy S (my device). The patches are accepted, so the more recent nightlies should work. I think the patches can be merged easily to other kernels (for other devices) as well, but I need people to try this for themselves. We can see whether we can get the patches into the nightly builds of CyanogenMod of more devices when it's well-tested.
DrivrDroid Free
Drivedroid Paid

[HOWTO][ADB]Emergency Situations when file transfer is necessary

Introduction :
We all know how to copy files from PC to Android Device and vice-versa (I guess )
But say, in some rarest of situations, where your phone is being recognized by PC on connection with USB cable, but for some reason, 'My Computer' or whatever File Explorer does not show your device, or doesn't lists files and directories of your phone, and you would want to transfer files, then this guide is for you.
I would have put the title, the one written below, but it won't fit in the Title
Transfer files from your PC to phone and vice-versa even if 'My Computer' does not recognize your phone properly.
However, PC must recognize it (when a notification sound is played on connection).
Requirements :
1. You
2. An Android Device.
3. A PC. (I will use windows 8 in this guide)
4. ADB installed on your PC and configured for your phone.
Procedure:
Let this be the situation
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see, My Computer says 'This folder is empty', but actually I have 2 main folders , sdcard0 and sdcard1
Now what you have to do is open ADB. To do that, Hold Shift+Right click on your ADB folder and then select 'Open Command Prompt window here'
First we will check whether ADB recognizes the Device, to do that, type :
Code:
adb devices
If your device is recognized, the result will be
If it does not recognize, nothing will show up in the list.
Now, the main thing, to transfer file, I will be transfering 'Gallery.apk' to my sdcard0 main directory.
I have kept the Gallery.apk in C:\ for easy address.
Now the general format of the code:
Code:
adb push <source address> <destination address>
Source address here is C:\ and target address is storage/sdcard0/
You can check for address of a location on your Phone by always viewing properties with a file explorer of a folder or a file.
So I type :
Code:
adb push C:\Gallery.apk storage/sdcard0/
First, before executing it, I will show no Gallery.apk is present in referred directory
After typing the code, it should look like this :
Execute it.
On successful execution, it will look like
You can do the same thing to transfer files from Phone to PC
Code would be :
Code:
adb pull <source address> <destination address>
Remember, here source address will be the address of file present in your phone and destination address would be the desired location you would want to put the file in.
This should work even if your phone is not showed up in My Computer at all, but however PC detects it and so does adb.
Transferring multiple files will really be painful, but wait, trick is even here too.
Just press the up arrow key in command prompt and the last statement would appear, now just change address and your hard work is reduced to just work .
Cases when this won't work -
1. ADB is not configured. Head over to this thread to set up ADB. You can Google it more info.
2. ROM installed on your phone has storage issues (like mount problems).
If you feel this guide has helped, then there is no harm in pressing Thanks button

Categories

Resources