Jump to content

Chameleon 2.4svn Official PKG Installer


ErmaC
4,261 posts in this topic

Recommended Posts

Mo, if you're having troubles with translating the Localizable.strings, try doing what i did:

 

First, open the original English file in TextEdit and convert it to Rich Text format (CMD+SHIFT+T),

Then select the line you want to translate and choose Format/Text/Writing Direction/Selection/Right to Left,

Repeat for all lines until you finish the translation, convert it back to original Plain Text then save and you're done.

 

Hope it helps. :unsure:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...

 

don't you think it would be nice to use "custom install only"?

"custom install only"

mald0n20100910s155618.jpg

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

Link to comment
Share on other sites

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

 

wowlf.png

Link to comment
Share on other sites

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

post-308762-1284277125_thumb.jpg

Link to comment
Share on other sites

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

__________________________2010_09_12____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

Link to comment
Share on other sites

There are other free packaging apps that allow easy localization

 

http://s.sudre.free.fr/Software/Packages/about.html

http://s.sudre.free.fr/Software/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

 

You could try Iceberg, it's free and more featured then packagemaker: http://www.apple.com/downloads/macosx/deve...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

Link to comment
Share on other sites

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

Archivio.zip

 

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

post-464373-1284324922_thumb.png

 

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

 

Chameleon_2.0_RC5_r516.pkg.zip

EDIT: (added conclusion)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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"] && exclusive(choices['Standardhfs'])[/color] && 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']) && exclusive(choices['Standard']) && 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']) && 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']) && exclusive(choices['EnhancedFAT'])\""
[/size]

Link to comment
Share on other sites

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 ;)

 

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:

post-464373-1284335825.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 it is:

Standard,

Standard boot0hfs (by iFabio),

EFI FAT,

EFI HFS,

Boot Options Corrected and some new added (by iFabio)

Kext

 

Chameleon_2.0_RC5_r516.pkg.zip

 

soon RAID support

Link to comment
Share on other sites

done in the above package ;)

 

 

I'm working on a different approach:

Schermata_2010_09_13_a_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

Link to comment
Share on other sites

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

 

Done, updated the attachment in previous post

 

http://www.insanelymac.com/forum/index.php...st&id=77516

Link to comment
Share on other sites

×
×
  • Create New...