Jump to content











Photo
- - - - -

build 048 - beta 4, preview of new features


  • Please log in to reply
34 replies to this topic

#26 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 30 July 2006 - 02:26 PM

Test result:

I replaced the 'high-tech' script
ShellExecute,Hide,"cmd.exe","/V:ON /c echo [inc] > #$q%inc%#$q&for /l %a in (1 1 %Files%) do (set /a b=%a-1&echo inc!b!=%a >> #$q%inc%#$q)"

...

...

IniRead,"%inc%","inc","inc%i%","%i%"
by
StrFormat,Inc,%i%,1
and it works correct :P
I changed
If,ExistFile,"%BaseDir%\Temp\DTFormat.Ini",FileDelete,"%BaseDir%\Temp\DTFormat.Ini"

FileCreateBlank,"%BaseDir%\Temp\DTFormat.Ini"

TXTAddLine,"%BaseDir%\Temp\DTFormat.ini","[Actual]","Append"

ShellExecute,Hide,"cmd.exe", "/c for /f #$qtokens=*#$q %l in ('#$q%BaseDir%\Temp\DTFormat.exe#$q c') do echo TimeStamp=%l >> #$q%BaseDir%\Temp\DTFormat.ini#$q"

IniRead,"%BaseDir%\Temp\DTFormat.ini","Actual","TimeStamp","%TimeStamp%"

IniWrite,"%ProjectInfo%","Scripts","%Title%",%TimeStamp%
by
StrFormat,Date,%TimeStamp%,yyyy-mmm-dd hh:nn

IniWrite,"%ProjectInfo%","Scripts","%Title%",%TimeStamp%
That results in
[Scripts]

0 - PX Retrieve Project Info=1

1 - PX Make directories=1
:P

#27 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 30 July 2006 - 03:13 PM

Perhaps for debugging I should mention that it is an indirect command.

Some .script files:
[process]

...

Run,%BaseDir%\Archive\Main\ScriptLog.script,Process-log
File %BaseDir%\Archive\Main\ScriptLog.script,Process-log:
[Variables]

%ProjectInfo%=%ProjectDir%\ProjectInfo.ini

%Title%=

%TimeStamp%= 



[Process-log]

IniRead,"%ScriptFile%","Main","Title","%Title%"

IniDelete,"%ProjectInfo%","Scripts","%Title%"

StrFormat,Date,%TimeStamp%,yyyy-mmm-dd hh:nn

IniWrite,"%ProjectInfo%","Scripts","%Title%",%TimeStamp%

Peter

#28 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10544 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 30 July 2006 - 03:25 PM

Perhaps adding "" to your %TimeStamp% variable helps..

From

IniWrite,"%ProjectInfo%","Scripts","%Title%",%TimeStamp%


To:

IniWrite,"%ProjectInfo%","Scripts","%Title%","%TimeStamp%"


But I'm unsure myself on where the translation of variables is going wrong here, I'll check back the IniWrite routine to see why this might be happening.. :P

#29 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 30 July 2006 - 03:32 PM

No, it is inside strFormat.
Log:

StrFormat - Sucessfully converted: [1] to variable: [%TimeStamp%] with result: [1]


But

StrFormat - Sucessfully converted: [yyyy-mm-dd] to variable: [%TimeStamp%] with result: [2006-07-30]


Depends on yyyy-mmm-dd hh:nn

Peter

Edited by psc, 30 July 2006 - 03:36 PM.


#30 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 30 July 2006 - 03:45 PM

With
StrFormat,Date,"%TimeStamp%","yyyy-mm-dd hh:nn"
it works.

You should change the template to enclose the format in quotes.

Peter.

Within some minutes you can download the 'version 048 ready' PicoXP.

Peter

#31 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10544 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 30 July 2006 - 03:56 PM

Thanks for solving the case..

:P

#32 FeReNGi

FeReNGi

    Member

  • Advanced user
  • 43 posts

Posted 31 July 2006 - 09:49 AM

mouclass.sys error on startup of QEMU and mousedrivers even in latest QEMU 8.2 release

can you provide a vmx file for startup in VMWARE player or workstation ?

#33 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10544 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 31 July 2006 - 10:00 AM

Are you using the standard project from 047?


Please wait for the standard project that comes with 048, I'm using the workaround created by psc to solve this issue..

In alternative you can also try with a trial version of windows 2003 from the MS site.

Should be released later this afternoon.. :P

#34 FeReNGi

FeReNGi

    Member

  • Advanced user
  • 43 posts

Posted 31 July 2006 - 11:28 AM

bug is also in VMWARE !

save next as a OpenBuilder.VMX file to run in VMWare Player or Workstation :

#######################################

####### OpenBuilder.vmx

#######

#### generated by VMX Builder RDP/UH ##



####### identity/general ##############

displayName = "OpenBuilder"

# Platform = Workstation

# Version = 5.5x

config.version = "8"

virtualHW.version = "4"

guestOS = "winxppro"

workingDir = "."

numvcpus ="1"

memsize = "128"



####### ide-controllers ###############

ide0.present = "TRUE"

ide1.present = "TRUE"



####### ide-disks #####################

ide0:0.present = "TRUE"

ide0:0.fileName = "BootFile.iso"

ide0:0.deviceType = "cdrom-image"

ide0:0.startConnected = "TRUE"

ide0:0.exclusive = "FALSE"

ide0:1.present = "FALSE"

ide1:0.present = "FALSE"

ide1:1.present = "FALSE"



####### scsi-controllers ##############

scsi0.present = "TRUE"

scsi0.virtualDev = "buslogic"



####### scsi-disks ####################

scsi0:0.present = "FALSE"

scsi0:1.present = "FALSE"

scsi0:2.present = "FALSE"

scsi0:3.present = "FALSE"

scsi0:4.present = "FALSE"

scsi0:5.present = "FALSE"

scsi0:6.present = "FALSE"



####### floppies ######################

floppy0.present = "TRUE"

floppy0.startConnected = "FALSE"

floppy0.fileType = "device"

floppy0.fileName = "auto detect"

floppy0.autodetect = "TRUE"



####### display #######################

svga.maxWidth = "1024"

svga.maxHeight = "768"

svga.vramSize = "16777216"

mks.enable3d = "FALSE"



####### mouse/keyboard ################

vmmouse.present = "TRUE"



####### advanced stuff ################

gui.powerOnAtStartup = "FALSE"

gui.fullScreenAtPowerOn = "FALSE"

gui.exitAtPowerOff = "FALSE"

powerType.powerOff = "hard"

powerType.reset = "hard"

toolScripts.afterPowerOn = "FALSE"

toolScripts.afterResume = "FALSE"

toolScripts.beforeSuspend = "FALSE"

toolScripts.beforePowerOff = "FALSE"

isolation.tools.hgfs.disable = "FALSE"

snapshot.disabled = "FALSE"

snapshot.Action = "keep"

isolation.tools.dnd.disable = "FALSE"

isolation.tools.paste.disable = "FALSE"

isolation.tools.copy.disable = "FALSE"

priority.grabbed = "normal"

priority.ungrabbed = "normal"

debug = "FALSE"

disable_acceleration = "FALSE"

MemTrimRate = "30"

logging = "TRUE"

monitor_control.log_vmsample = "FALSE"

templateVM = "FALSE"



####### end of file ###################



uuid.location = "56 4d 08 ab fe a1 9a 20-b4 cc 2a 84 0f 82 52 d9"

uuid.bios = "56 4d 08 ab fe a1 9a 20-b4 cc 2a 84 0f 82 52 d9"


#35 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10544 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 31 July 2006 - 11:52 AM

Yes.. You'll get the same results in any emulators, since the file is still not there. You can manually fix this going into your windows source and extracting mouclass.sys from either the driver.cab or has a mouclass.sy_ and placing it into your system32/drivers folder.

It's all related to your windows source, from where the mouse drivers are extracted, psc has it well explained here:
http://www.boot-land...hp?showtopic=27


We even have a small mousclass.sys fan club here:
http://www.boot-land...hp?showtopic=90


Good luck!
:P




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users