Results 1 to 10 of 40

Thread: New Get Lazarus Initiative

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Great everyone and thanks for the help. I started a write up of a new wiki page with step by step guide on how to "make it yourself". Hopefully this makes everything we do clearer and more open.

    We will walk Windows users through every step used to make the same Free Pascal and Lazarus in our ready made bundles. The difference being is the guide will walk users through using bintools, svn, and a working fpc 2.6.4 from sourceforge to recreate our bundles from svn sources. I know there was some initial concern we are offering something different at getlazarus.org, but our guide will show you the exact steps used to make our Windows bundle so that if you want, you can just make it yourself.

    When the guide is done it will be linked prominently near the top and at the bottom (under see also) in our setup page http://www.getlazarus.org/setup.

    Linux users can "make it yourself" right now by just looking at setup.sh source on github:

    https://github.com/sysrpl/Codebot.Se...c-3.0.linux.sh

    The only difference is in the above script and the forthcoming Windows guide is that we really didn't think it would be ethical for each Linux setup on our website to leach the bandwidth from free pascal's svn servers. As such, we compress the revision sources to a 7z archive after removing the previously mentioned (detailed in my last post) unnecessary svn and unit files. We then host those files in an amazon s3 bucket for redistribution, and do a build from source just like in the Windows steps in our guide.

    You can see this in Linux setup script on github script at line 145:

    wget -P $BASE $URL/fpc-$FPC.7z


    Which in the script's context expands to:


    wget -P /home/username/Development/FreePascal http://cache.getlazarus.org/archives/fpc-3.0.7z
    Last edited by sysrpl; 07-02-2015 at 10:58 PM.

  2. #2
    I just finished my initial analysis and I'm wondering why is your setup changing settings of my internet explorer?

    Code:
    isolation_full HKEY_CURRENT_USER\Software\Microsoft\IEAK
    isolation_full HKEY_CURRENT_USER\Software\Microsoft\Internet Connection Wizard
      Value=ShellNext
      REG_SZ~http://www.getlazarus.org/installed/?platform=windows#2300
      Value=Completed
      REG_BINARY=#01#00#00#00
    
    isolation_writecopy HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
      Value=FullScreen
      REG_SZ~no#2300
      Value=Window_Placement
      REG_BINARY=#2c#00#00#00#02#00#00#00#03#00#00#00#ff#ff#ff#ff#ff#ff#ff#ff#ff#ff#ff#ff#ff#ff#ff#ff#58#00#00#00#74#00#00#00#b0#02#00#00#08#02#00#00
    
    isolation_writecopy HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
      Value=MigrateProxy
      REG_DWORD=#01#00#00#00
    Changing any registry setings regarding Internet Connection Wizard or Proxy settings is a big NO NO as this is most commonly used by various programs in atempt to hijack your computer.

    Now I haven't figured out which part of the instalation makes these changes in the registry but they are enough for me to consider your setup dangerous.

    Why are you forcingly opening your webpage after the instalation has been finished? I realy hate that.
    And finally don't use third party software like "Fart" for changing path destinations. You can achieve all that directly from Inno setup. If it can't be achieved from the UI directly you can write a special Pascal Script code to do that. If my memory serves me corectly the use of pascal script alows you to edit both registry and ini files in the same whay as if you would do it in your Delphi or FreePascal program.

    EDIT: The registry changes have been tracked with WMWare ThinApp aplication.

    And now off I go instaling this in another Virtual machine with a working anti virus software to see if it would give any warnings.

    EDIT2: Running setup on my other virtual machine with anti virus software hasn't caused the same registry change as I shown above. I belive that this registry change was actually made by internet explorer itself when it failed to show the web page during the first test becouse that Virtual machine didn't have access to internet while this one has.

    EDIT3: Just finished instaling and later deep scaning of entire virtual machine and my Anti Virus (Eset Nod 32) hasn't raised any warnings.

    @paul_nicholls
    Can you please export your log from Avast so that we can see which files did it detect as potentionally harmfull. This would be verry helpfull in determining if those are false positives or not.
    Last edited by SilverWarior; 08-02-2015 at 01:26 AM.

  3. #3
    PGDCE Developer Carver413's Avatar
    Join Date
    Jun 2010
    Location
    Spokane,WA,Usa
    Posts
    206
    I installed the linux version,didn't like the anchor docking so I removed it. but I still can't get the bare game to compile maybe because of changes to the fpc? when do you plan to release the new version ?

  4. #4
    @SilverWarrior: Actually those changes aren't bad. I'll show you why and where, the exact location where the changes occur. I'm actually relived you did this because it means everything is normal, so thank you for your research.

    Line 59 of the Inno installer setup https://github.com/sysrpl/Codebot.Se...dows/setup.iss

    Filename: "http://www.getlazarus.org/installed/?platform=windows"; Flags: shellexec runasoriginaluser

    This line causes the default browser, in your case Internet Explorer, to open this page when install is complete http://www.getlazarus.org/installed/?platform=windows

    The WindowPlacement key is written by Internet Explorer itself to record its last position on the screen.

    The MigrateProxy key is set when you create a new account, or in your case open Internet Explorer for the first time:

    http://support.microsoft.com/kb/2587595

    @Carver413: My next project is a new versions of Bare Game. This new version has tons of new functionality including:

    everything visual is based on shaders now
    custom vertex types and vertex buffers
    easy to use render to texture commands
    animation storyboards
    animation tracking support added to many properties such as
    - camera position, heading, and field of view
    - sprite position, origin, color, scale, rotation
    - font writer insert positions, text angle, character angle, kerning, fore color,shadow color
    - 2D brush color
    - 2D pen color, and width
    - sound channel pan, volumes, and position
    much improved sound mixing timing
    - user programmable sound samples
    - programmable musical note generation examples functions
    - easy to use 3D positional sound
    new resource manager with built in compression and packing
    - you simply put images, sounds, anything else into project/resources, and they get compressed into your exe/program as resources when you build
    prebuild skybox class

    I'm sure there is a bunch more. If anyone here wants to help me in this project, maybe with testing, or actual coding, let me know.

    Edit: I've added the above to http://www.getlazarus.org/forums/vie....php?f=17&t=13

    And finally with regards to Bare Game, the previous version, much like getlazarus.org downloads, shipped the compiler and IDE. This is going to change in the next version of Bare Game. It will simply be a package you install. The package will still include the same extensions from the original Bare Game, which were new "Bare Game project" and "Bare Game unit" templates available as extra options in the Lazarus "New..." dialog.
    Last edited by sysrpl; 08-02-2015 at 08:01 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •