Jump to content

fluid | fixed

Chameleon 2.2svn Official PKG Installer & Binaries

Bootloader Chameleon

  • Please log in to reply
1619 replies to this topic

#81
scrax

scrax

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,704 posts
  • Gender:Male

View PostiFabio, on Sep 10 2010, 04:06 PM, said:

Thx scrax...
but... no luck ;)

Have you find a way using packagemaker to use external info text like "localizable.strings"
In the official package (from voodoo team) there isn't that problem the "external" file is well managed and look like accept the line b...

I also find a problem (My limited knowlege in that package program)...
How manage the choice?
Is there a way to auto exclude a choice?

Example:

In the options if you select can also select and boot0 boot0hfs,
would be possible to exclude a selected depending on whether the other?
In the installer "official" (if I'm not mistaken) uses a Java function, I tried to reproduce it, but without success.

Fabio

Edit in Italian

Nell'installer ufficiale usa una funzione Java lo vedi all'interno del file distribution, ma non riesco a riprodurre la scelta selettiva...
In pratica puoi attivare tutte le opzioni contemporaneamente... cosa che ovviamente non va bene...
Uso packagemaker 3.0.4 ma credo che la parte sui requirement ovvero sulle scelte non funzioni bene.
Infatti ci vanno dei codici java per fare le scelte. col 3.4 non riesco ancora a farcele stare, vedi il topic sul voodoo forum per riferimento... sto preparando l'installer con anche EFI e RAID install
Ero riuscito a fare le scelte singole con un altro programma ma poi selezionando qualcos'altro si resettava la parte dove le scelte eran forzatamente singole...
Appena ci riesco ti dico

#82
cl12121

cl12121

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
很好,顶一下

#83
janek202

janek202

    InsanelyMac Sage

  • Developers
  • 283 posts
  • Gender:Male
  • Location:Poland
Hey iFabio.
I made a polish translation for chameleon.
It includes translated:
- Welcome.rtfd
- Description.html
- License.rtf
- Conclusion.rtfd
- Localizable.strings

I hope it will be useful. The language code should be "pl"
Edit: Updated version Localizable.strings.

Attached Files



#84
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,202 posts
  • Gender:Male
  • Location:Canary Islands
add the rev 516 same binary from trunk 513 so the bootloader no change

-add Russian language thx to mozodojo I need feedback pls...
-add Polish language thx to janek202 I need feedback pls...
- update the Arabic language I need feedback pls...

View PostMaLd0n, on Sep 11 2010, 04:41 AM, said:

don't you think it would be nice to use "custom install only"?
"custom install only"
Posted Image
enter the screen to customize

I prefer "Easy and Custom Install" because people like me do the installation from another "volume" so... with that option can select the "target"

Fabio

#85
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,131 posts
  • Gender:Male
  • Location:Rio de Janeiro

View PostiFabio, on Sep 11 2010, 11:38 PM, said:

I prefer "Easy and Custom Install" because people like me do the installation from another "volume" so... with that option can select the "target"

Ok

that way we can also choose
just that the screen after the selection of items

Thanks

Posted Image

#86
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,796 posts
  • Gender:Male
thanks fabio
this works good now
i want to translate the description of chooses on customize  :)

#87
ledenev

ledenev

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts

View PostiFabio, on Sep 12 2010, 02:38 AM, said:

add the rev 516 same binary from trunk 513 so the bootloader no change

-add Russian language thx to mozodojo I need feedback pls...
-add Polish language thx to janek202 I need feedback pls...
- update the Arabic language I need feedback pls...



I prefer "Easy and Custom Install" because people like me do the installation from another "volume" so... with that option can select the "target"

Fabio
Russian language works fine except now this ...
I would like to and the text has been translated)
But this is cosmetic .... everything else was ok
Attached File  __________________________2010_09_12____11.34.57.jpg   84.07K   106 downloads

#88
Baszta

Baszta

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
The Polish version is OK too.
In the extended options the notes could be translated too, the same like @ledenev sugested for Russian.

#89
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,202 posts
  • Gender:Male
  • Location:Canary Islands

View Postledenev, on Sep 12 2010, 08:39 AM, said:

Russian language works fine except now this ...
I would like to and the text has been translated)
But this is cosmetic .... everything else was ok
Attachment ________...11.34.57.jpg

I work on it...
the official chameleon package use the file localizable.strings for this job...
I have no idea how manage that file in packagemaker...

Fabio

#90
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,756 posts
  • Gender:Male
  • Location:Brazil
There are other free packaging apps that allow easy localization

http://s.sudre.free....ages/about.html
http://s.sudre.free....re/Iceberg.html

You can set one option depending on other, so if you select boot0hfs it unchecks boot0 (in Package Maker you can do that using "requirements").

#91
kozlek

kozlek

    InsanelyMac Sage

  • Developers
  • 331 posts
  • Gender:Male
  • Location:Israel

View PostiFabio, on Sep 12 2010, 07:53 PM, said:

I work on it...
the official chameleon package use the file localizable.strings for this job...
I have no idea how manage that file in packagemaker...

Fabio

You could try Iceberg, it's free and more featured then packagemaker: http://www.apple.com...ls/iceberg.html

#92
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,202 posts
  • Gender:Male
  • Location:Canary Islands

View Postoldnapalm, on Sep 12 2010, 07:02 PM, said:

There are other free packaging apps that allow easy localization

http://s.sudre.free....ages/about.html
http://s.sudre.free....re/Iceberg.html

You can set one option depending on other, so if you select boot0hfs it unchecks boot0 (in Package Maker you can do that using "requirements").

Yep oldnapalm.
but the choice option look like not work in packagemaker... I try a couple of differents things but no luck!
(I also try use the javascript from original package locate in the distribution file...
[size=1]	<script>
	
		function exclusive(toggle){
		toggle.selected = ( my.choice.selected != "false" ? "false" : "true" );
		return ( toggle.selected != false ? false : true );
	}
	
	</script>[/size]
and call the proper option in packagemaker... but... again no luck

View Postmozodojo, on Sep 12 2010, 07:04 PM, said:

You could try Iceberg, it's free and more featured then packagemaker: http://www.apple.com...ls/iceberg.html

I will try that package too...
the choice are very important...
the location language script are "cosmetics" but if the apps can do that things... is better

Fabio

#93
scrax

scrax

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,704 posts
  • Gender:Male
I've manged how to fix the official installer:

buildpkg and all the postinstall scipts nedd to be executable:
chmod +x /package/Scipts/%SCRIPTPATH%/postinstall

and I use this two modded scripts to avoid errors attached here
Attached File  Archivio.zip   10.2K   14 downloads

from my test it's possible to add more choice options for example add fakeSMC or a custom kext like ZevOReboot (a one kext for my zotac) just addin the kexts in te Kext folder

Attached here the installer to test, it has EFI support but not boot0hfs.
I've added ZEvOreboot for my board in Kext folder and added the relative lines in Localizable.strings and conclusion line in Distribution
Attached File  Schermata_2010_09_12_a_22.52.18.png   167.46K   126 downloads

I'm working in implementing boot0hfs and raid support to the default installer that is the best IMHO for now

Attached File  Chameleon_2.0_RC5_r516.pkg.zip   1.39MB   20 downloads
EDIT: (added conclusion)

#94
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,832 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Whats the diff using  boot0hfs vs boot0 ?
Does it matter for MBR type or only GUID type Partition schema ?
Does it matter on WIN / HFS(OS X) dual booting or not ?
Thanks

#95
atka

atka

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

View Postmitch_de, on Sep 12 2010, 03:21 PM, said:

Whats the diff using  boot0hfs vs boot0 ?
Does it matter for MBR type or only GUID type Partition schema ?
Does it matter on WIN / HFS(OS X) dual booting or not ?
Thanks

boot0 boots the active partition boot0hfs boots the first hfs partition, so you can windows and OSx on the same hard drive.

#96
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,202 posts
  • Gender:Male
  • Location:Canary Islands

View Postscrax, on Sep 12 2010, 09:59 PM, said:

I've manged how to fix the official installer:

Perfect scrax!!!

:)

I also fix the conclusion!! :D

just add this in the Distribution file
	<welcome file='Welcome.rtfd'/>
	<license file="License.rtf" sla="EA0401"/>
	<readme  file='Description.html'/>
	[b]<conclusion file="Conclusion.rtfd"/>[/b]
	<background file='background.tiff' alignment='topleft' scaling='proportional'/>

Fabio

#97
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,202 posts
  • Gender:Male
  • Location:Canary Islands
I can confirm.

With the changes proposed by scrax the official installer now works!!!

Just need some little changes in the rest of the script... but works!

@scrax Is easy manage how add the boot0hfs option in the buildpkg... duplicate the standard "part" and change some name...  and in the script folder create a new one that match with boot0hfs the description (language) isn't need for now still a empty field but works!

Fabio

EDIT
[size=1]
# build standard package 

	mkdir -p ${1}/Standard/Root
	mkdir -p ${1}/Standard/Scripts/Tools
	cp -f ${pkgroot}/Scripts/Standard/* ${1}/Standard/Scripts
	ditto --arch i386 `which SetFile` ${1}/Standard/Scripts/Tools/SetFile
	buildpackage "${1}/Standard" "/" "${coresize}" "start_enabled=\"true\" start_selected=\"upgrade_allowed()\" selected=\"exclusive(choices['EnhancedHFS'])[color="#0000FF"] &amp;&amp; exclusive(choices['Standardhfs'])[/color] &amp;&amp; exclusive(choices['EnhancedFAT'])\""

[color="#0000FF"]# build standard package with boot0hfs

	mkdir -p ${1}/Standardhfs/Root
	mkdir -p ${1}/Standardhfs/Scripts/Tools
	cp -f ${pkgroot}/Scripts/Standardhfs/* ${1}/Standardhfs/Scripts
	ditto --arch i386 `which SetFile` ${1}/Standardhfs/Scripts/Tools/SetFile
	buildpackage "${1}/Standardhfs" "/" "${coresize}" "start_enabled=\"true\" start_selected=\"upgrade_allowed()\" selected=\"exclusive(choices['EnhancedHFS']) &amp;&amp; exclusive(choices['Standard']) &amp;&amp; exclusive(choices['EnhancedFAT'])\""[/color]

# build efi fat32 package 

	mkdir -p ${1}/EnhancedFAT/Root
	mkdir -p ${1}/EnhancedFAT/Scripts/Tools
	cp -f ${pkgroot}/Scripts/FAT/* ${1}/EnhancedFAT/Scripts
	ditto --arch i386 `which SetFile` ${1}/EnhancedFAT/Scripts/Tools/SetFile
	buildpackage "${1}/EnhancedFAT" "/" "${coresize}" "start_visible=\"systemHasGPT()\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) &amp;&amp; exclusive(choices['EnhancedHFS'])\""

# build efi hfs package 

	mkdir -p ${1}/EnhancedHFS/Root
	mkdir -p ${1}/EnhancedHFS/Scripts/Tools
	cp -f ${pkgroot}/Scripts/HFS/* ${1}/EnhancedHFS/Scripts
	ditto --arch i386 `which SetFile` ${1}/EnhancedHFS/Scripts/Tools/SetFile
	buildpackage "${1}/EnhancedHFS" "/" "${coresize}" "start_visible=\"systemHasGPT()\" start_selected=\"false\" selected=\"exclusive(choices['Standard']) &amp;&amp; exclusive(choices['EnhancedFAT'])\""
[/size]


#98
scrax

scrax

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,704 posts
  • Gender:Male

View PostiFabio, on Sep 12 2010, 11:55 PM, said:

just add this in the Distribution file
	<welcome file='Welcome.rtfd'/>
	<license file="License.rtf" sla="EA0401"/>
	<readme  file='Description.html'/>
	[b]<conclusion file="Conclusion.rtfd"/>[/b]
	<background file='background.tiff' alignment='topleft' scaling='proportional'/>

Fabio

done in the above package  ;)

View PostiFabio, on Sep 13 2010, 12:46 AM, said:

I can confirm.

With the changes proposed by scrax the official installer now works!!!

Just need some little changes in the rest of the script... but works!

@scrax Is easy manage how add the boot0hfs option in the buildpkg... duplicate the standard "part" and change some name...  and in the script folder create a new one that match with boot0hfs the description (language) isn't need for now still a empty field but works!

Fabio
I'm working on a different approach:
Attached File  Schermata_2010_09_13_a_01.56.38.png   7.73K   3 downloads
just one choice to enable boot0hfs for EFI ROOT and RAID but it could be done easily

I'll post one with your suggestion in a moment

here it is:
Standard,
Standard boot0hfs (by iFabio),
EFI FAT,
EFI HFS,
Boot Options Corrected and some new added (by iFabio)
Kext

Attached File  Chameleon_2.0_RC5_r516.pkg.zip   1.42MB   88 downloads

soon RAID support

#99
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,202 posts
  • Gender:Male
  • Location:Canary Islands

View Postscrax, on Sep 13 2010, 12:58 AM, said:

done in the above package  ;)


I'm working on a different approach:
Attachment Schermat...01.56.38.png
just one choice to enable boot0hfs for EFI ROOT and RAID but it could be done easily

I'll post one with your suggestion in a moment

here the scripts "revised" from official installer

- EHCIacquire (I correct the target path)
- EthernetBuiltIn (I correct the target path)
- ForceHPET (I correct the target path)
- ForceWake (I correct the target path)
- GraphicsEnabler (I correct the target path)
- GUI (I correct the target path)
- UHCIreset (I correct the target path)

I add:
- DropSSDT
- GenerateCStates
- GeneratePStates
- VBIOS


Can you test it?

copy in the ../trunk/package/Scripts/Options



Fabio

#100
scrax

scrax

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,704 posts
  • Gender:Male

View PostiFabio, on Sep 13 2010, 01:08 AM, said:

here the scripts "revised" from official installer

- EHCIacquire (I correct the target path)
- EthernetBuiltIn (I correct the target path)
- ForceHPET (I correct the target path)
- ForceWake (I correct the target path)
- GraphicsEnabler (I correct the target path)
- GUI (I correct the target path)
- UHCIreset (I correct the target path)

I add:
- DropSSDT
- GenerateCStates
- GeneratePStates
- VBIOS


Can you test it?

copy in the ../trunk/package/Scripts/Options

Attachment Options.zip

Fabio

Done, updated the attachment in previous post

http://www.insanelym...p...st&id=77516






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users

© 2013 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy