Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
3 user(s) are online (2 user(s) are browsing Forum)

Members: 2
Guests: 1

roMancer, Kernel-Trap, more...
   All Posts (azvareth)


(1) 2 3 4 ... 66 »


Re: Windows hosted xmas ed (various)

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
I do not kbow, but my guess is not...

however by doing this, I got my hosted icaros to acknowledge the DH0:

in mountlist
DH0:
FileSystem = emul-handler
Device = "DH0:E:\winUAE Drives\IcarosDesktop"
LowCyl = 0
HighCyl = 0
Surfaces = 1
BlocksPerTrack = 1
DOSType = 0x454D5500
Activate = 1
#


and add a "mount DH0:" somewhere in startup..., don't know if that is how it is supposed to be done, but it works.

(well two icons for same drive on dektop though SYSTEM & DH0 , but it does not matter for me)

Posted on: 1/12 12:03
Transfer the post to other applications Transfer


Re: Windows hosted xmas ed (various)

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
After spending a long time thinking!

Perhaps, on the other hand, any (or most?) AOS-Like systems including classic have a DH0: if there is a HD present.

It is likely for some people without a HD and only diskdrives to be stuck with DF0: that would in theory bring up the same problem.

However this is Aros hosted under Windows (perhaps a linux issue also?) there seems to be no DH0: at all just SYS:

So I would say it is a problem with that virtual? hosted Aros, I do not say it is a problem with Icaros. As i guess you gather whatever apps and stuff you could find to make a complete solution.

However not knowing if there are more apps that reference DH0: to function properly. it would be very simple to add a line to check if DH0: is present (perhaps add a hosted flag in install scrip if not present yet), and if no DH0: is found assign it to the (virtual) startup drive.

Not a big deal for me, as I have fixed the issue, but could be confusing for someone else.

Just a thought...


Posted on: 1/12 9:03
Transfer the post to other applications Transfer


Re: OWB 1.25 displays pictures incorrectly & stops loading websites after a couple of minutes

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
Could confirm replacement of the jfif.library, replaced the one in xmas ed with the one in 2.1.1

On my machine everything displays nice now.

Posted on: 1/10 7:49
Transfer the post to other applications Transfer


Re: HELP! is there a way to restore deleted files?

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
Sorry about that, perhaps it is a new feature to the x-mas ed?

good to here you succeded retreiving your files!

Posted on: 1/9 13:48
Transfer the post to other applications Transfer


Re: HELP! is there a way to restore deleted files?

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
result:
- work:aros-development pretty much empty, all files gone, just two directories remaining (maybe both in use by shell)


Seems like the files are gone from AROS... perhaps never got onto the pendrive at all.

However the SFSUndelete seems to look in the .recycled drawer... and he said it was only old files there, so perhaps not a solution after all

Posted on: 1/9 10:30
Transfer the post to other applications Transfer


Re: HELP! is there a way to restore deleted files?

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
there is an application in Extras/FileSystem called SFSUndelete...

Have never tried it but it sounds like a tool to undelete stuff...

Posted on: 1/8 18:09
Transfer the post to other applications Transfer


Windows hosted xmas ed (various)

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
A little thing to change further on might be to add an assign dh0: to sys: or something.

references to dh0: results in a requester insert dh0:

for example launching themeedit in windows hosted environment gives that result. (on my machine)

Posted on: 1/8 12:21
Transfer the post to other applications Transfer


Re: Icaros Desktop 2.2 with Final Writer is here!

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
yes I read up on the syntax of SET idsrc=%~dp0
but after I posted the first post, I guess I was to lazy at first.

Anyway for some reason but I do not think it is the SET idsrc=%~dp0 fault, but the use of CD in script and then .\folders\files reference to copy files. to destination

on my machine it began to copy files from system32 folders an I do belive that the reference to current dir somehow is set to where this commands is located, and therefore by referencing .\folder\files it will copy it from that location. And this turned out to be double true when you used CD inside the script but still not copied the files from that directory (and again on my machine) with no Admin rights.

However by hardcoding the sourcedir to copy from the SET idsrc=J: like I did (where the script is started from), it did copy the files from the CD, the only reason I harcoded the actual (or virtual) CD was that I was launching the script from desktop as I "made it work" for me. So therefore I used J:. The correct way when launched from CD is your way.

Future reference "copy from" I suggest should be %idsrc% though

The & sign somewhere in the code is a "leftover" I forgot to remove, I commented the lines to figure out where things went wrong, like this

SET idsrc=%~dp0&:: Sorry can't use this as reference.

Why? well some of the variables when using this commenting did add a large space at the end so that SET avar=J:\path\to\a folder\ &:: or :: added a long string of space at the end upto the comment.
so when using copy %avar%somefile became "J:\path\to\a folder\.....somefile" (where the dots are spaces) which obviously could not be found, it was a leftover and an error introduced bymyself in my testing.

To the reason to why some backslashes are gone I think we could blame aros-exec CODE block it does not take a single backslash for some reason ? Cpp thing?

That was the reason to why I added the external link to the same code, unfortunatly spelled in Swedish as I was braindead. But it is there.

To make this long story short
make all paths be dependent to a variable constant path like %idsrc%, not a hardcoded relative path like .\Arch

Look up for the quote marks as they tend to be doubled at some points.

//I hope this make more sense now



//A bit later


to the copying of the home.info icon, I copied to default Sys: installation dir which in turn when opening it from inside AROS opens the HOME: drawer

wich is in Windows dokuments as you said, to me it makes more sense to be able to open that folder from inside Aros desktop from that Icon, I could be wrong, but it works. And that is all that matters I think!

Posted on: 1/7 9:46
Transfer the post to other applications Transfer


Re: OWB 1.25 displays pictures incorrectly & stops loading websites after a couple of minutes

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
I could confirm the image quality. However it seems to mostly affect jpg pictures, png did work fine on my computer.



Posted on: 1/6 16:40
Transfer the post to other applications Transfer


Re: Icaros Desktop 2.2 with Final Writer is here!

Joined:
2007/2/15 13:20
From Sweden
Group:
Member
Posts: 661
Offline
I have modified the script seems to what seems to copy the files to the correct places. And it will boot but not with 2048 MB for some reason.

I have not tried it yet as it is installing now




I am confused over the HOMEDIR\.icarosd folder though
but anyway, My modifications with comment to why I did it.

I have hardcoded the sourceDir so that need to be changed if you wish to use this script

@ECHO OFF
SETLOCAL ENABLEEXTENSIONS

rem Script 
for installing Icaros Desktop in a hosted environment
rem This script is very simple 
and only allows basic customization
rem I hope to improve it in the future
but for now please accept
rem my apologies


REM slightly modified from here and downwards marked as Az as I could not install it as it was on Windows 10.

REM define current directory 
and destination folder
REM SET idsrc
=%~dp0

REM Az
REM this is my CDDrive 
as I execute this script from outside the drivechange this to the default value above
SET idsrc
=J:
REM Az

REM Az
REM note no citation marks is apperantly allowed
.
REM SET toolz="%idsrc%.windows"
SET toolz=%idsrc%.windows&         
REM Az

REM Az citation marks
same as above
REM SET idest
="%HOMEDRIVE%%HOMEPATH%IcarosDesktop"
SET idest=%HOMEDRIVE%%HOMEPATH%IcarosDesktop
REM Az

rem creates directory 
and copy files
REM keep the citationmarks 
as the user could be a double name?
mkdir "%idest%"

echo Now copying Icaros Desktop filesThis will take a while, please wait...
CD "%idsrc%"

REM Az
REM xcopy 
//"%idest%" >NUL
REM xcopy needs a given source at my machine 
as current CD is where I launch the script
REM despite a change of CD in script
so
REM Az
xcopy 
"%idsrc%" "%idest%" //>NUL
attrib 
-/"%idest%*"

rem make some cleaning and adding Windows-specific stuff in the right places
del 
/"%idest%dvdmode"
del /"%idest%PrefsEnv-ArchiveIcaros2ndtime"
copy /"%toolz%true" "%idest%PrefsEnv-ArchiveIcaros2ndtime" >NUL
copy 
/"%toolz%true" "%idest%PrefsEnv-ArchiveIcaros1sttime" >NUL
copy 
/"%toolz%true" "%idest%PrefsEnv-ArchiveIcaroshosted" >NUL
copy 
/"%toolz%DEVELPATH" "%idest%PrefsEnv-ArchiveIcaros" >NUL
copy 
/"%toolz%EXTRASPATH" "%idest%PrefsEnv-ArchiveIcaros" >NUL
copy 
/"%toolz%INSTALLEDSYS" "%idest%PrefsEnv-ArchiveIcaros" >NUL
copy 
/"%toolz%icaros_daemon.cmd" "%idest%S" >NUL
echo %idest% >"%idest%PrefsEnv-ArchiveIcaroshostedpath"
copy "%toolz%2ndtime-setup" "%idest%S" >NUL

REM Az
REM this line seems to be wrong
what would this do in my windows documents folder?
REM copy "%idsrc%StorageiconsHome.info" "%HOMEDRIVE%%HOMEPATH%Documents"
REM changed to
REM Az
REM copy 
"%idsrc%StorageiconsHome.info" "%idest%"

REM Az
REM likewize 
do this
REM attrib 
-"%HOMEDRIVE%%HOMEPATH%Documentsdisk.info"
REM changed to
REM Az
attrib 
-"%idest%disk.info"

copy "%toolz%icaros_daemon.cmd" "%idest%S" >NUL

mkdir 
"%HOMEDRIVE%%HOMEPATH%Documents.icarosd"
attrib +"%HOMEDRIVE%%HOMEPATH%Documents.icarosd"

rem copy "%idest%DevsKeymapsX11keycode2rawkey.table" "%idest%DevsKeymaps" >NUL
xcopy 
//"%toolz%Devs*" "%idest%Devs" >NUL
xcopy 
//"%toolz%L*" "%idest%L" >NUL
xcopy 
//"%toolz%Libs*" "%idest%Libs" >NUL
del 
/"%idest%setup_win_hosted.cmd"
del /"%idest%linux-hosted-install.sh"


rem FIXES deleting files which don't allow running hosted correctly
rem this part will be hopefully left empty in the future
del /Q "%idest%Devstrackdisk.device"
del /Q "%idest%WBStartupSmartTrash"
del /Q "%idest%WBStartupSmartTrash.info"
del /Q "%idest%DevsMonitorsNVidia"
del /Q "%idest%DevsMonitorsNVidia.info"


rem now creating icaros startup script
more "%idsrc%.windowsicaros1" >"%idest%icaros.cmd"
echo.
echo "Please enter the amount of RAM (in megabytes) to reserve to Icaros"
set /P memory="Please use multiples of 256 (like 512, 1024... up to 4096)." || set memory=256

REM Az
REM this does also point to wrong place
REM echo start .Archmingw32AROSBootstrap.exe -m %memory% >>"%idest%icaros.cmd"
REM Changed to
REM Az
echo start %idest%Archmingw32AROSBootstrap.exe -m %memory% >>"%idest%icaros.cmd"
more "%idsrc%.windowsicaros2" >>"%idest%icaros.cmd"

rem finalizing
echo.
echo Icaros Desktop has been properly prepared and configured
echo to run hosted on your PC. When started for the first time,
echo it will require expansion of Develoment and Extras stuff.
echo Please follow on-screen instructions. To start Icaros please
echo cd %idest%
echo .icaros.cmd

pause

:: attrib -R "%idest%win_hosted.cmd"
:: del /Q "%idest%win_hosted.cmd"


dokumentet läsbart?

Posted on: 1/5 16:03
Transfer the post to other applications Transfer



 Top
(1) 2 3 4 ... 66 »




Search
Top Posters
1 magorium
magorium
4095
2 paolone
paolone
4090
3 phoenixkonsole
phoenixkonsole
3870
4 nikolaos
nikolaos
3602
5 deadwood
deadwood
2907
6 ncafferkey
ncafferkey
2471
7 mazze
mazze
2175
8 clusteruk
clusteruk
2055
9 Kalamatee
Kalamatee
1921
10 damocles
damocles
1789
© 2004-2014 AROS Exec