Jump to content











Photo
- - - - -

Some new x64 issues


  • Please log in to reply
3 replies to this topic

#1 pscEx

pscEx

    Platinum Member

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

Posted 25 November 2009 - 11:13 AM

Currently I'm rebuilding the nativeEx structure to follow the new LiveXP structure.

And there i found two issues which should be fixed.

#1:
In the common API the line (3 times)
If,Not,ExistFile,%target_sys%\hiderun.exe,FileCopy,%Tools%\hiderun.exe,%target_sys%
Either
Should be replaced by
If,Not,ExistFile,%target_sys%\hiderun.exe,FileCopy,%Tools%\%SourceArch%\hiderunEx_%SourceArch%.exe,%target_sys%\hiderun.exe
OR
Every project copies the correct hiderun to %Tools% (I do so with the new nativeEx)
FileCopy,%Tools%\%SourceArch%\hiderunEx_%SourceArch%.exe,%Tools%\hiderun.exe,NOWARN

#2:
In LiveXP several scripts contain the line
If,NotExistFile,%tools%\hiderun.exe,WebGet,http://livexp.boot-land.net/repository/hiderun.exe,%Tools%\hiderun.exe
The repository must be fixed, too.

Peter

#2 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 26 November 2009 - 08:12 AM

Hi Peter,

* pedrole informed ( post 599 )
* repository fixed
* ALL hiderun related lines (including filecopy and webget) fixed on LiveXP scripts
* I believe this is unneccasary, but since hiderun is popular among some scripts around, also added the line you suggest for the scripts out of project. I guess this is a temporary solution for the transition period till multiarchitecture projects more available.

Every project copies the correct hiderun to %Tools% (I do so with the new nativeEx)

FileCopy,%Tools%\%SourceArch%\hiderunEx_%SourceArch%.exe,%Tools%\hiderun.exe,NOWARN



ALSO

I noticed rarely autoit3.exe needed to be copied to target, so i fixed all relevant scripts with this:
If,Not,ExistFile,%target_sys%\AutoIt3.exe,Begin

If,%SourceArch%,Equal,x86,FileCopy,%Tools%\%SourceArch%\AutoIt3.exe,%target_sys%\AutoIt3.exe

If,%SourceArch%,Equal,x64,FileCopy,%Tools%\%SourceArch%\AutoIt3_%SourceArch%.exe,%target_sys%\AutoIt3.exe

End

ps: For file names at tools, As a principle, I follow the official name given by the author. At Autoit official package 32bit version name is Autoit3.exe , 64bit version name is Autoit3_x64.exe

;)


Edit:

#3 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 26 November 2009 - 08:25 AM

Hi Peter,

thinking again I undo the last change on LiveXP, (strike out on previous post)

reason is:
new scripts already know the correct location of hiderun (either x64 or x86)
old scripts only requires x86 version of hiderun which already exists at tools

in case of a misusage of an old script on a x64 build, many possibilities that would cause malfunction including hiderun, so script should be checked and putting hiderun to %tools% do not solve any issue but only cause troubles ;). Anyway, for now I prefer waiting, lets see what will happen :)

#4 pedrole15

pedrole15

    Silver Member

  • .script developer
  • 731 posts
  •  
    France

Posted 29 November 2009 - 01:07 PM

Common_Api updated to version 19 with these change

Pedro




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users