Topic: Creating plugins within PEBakery  (Read 1246 times)

Creating plugins within PEBakery
« on: November 28, 2018, 01:13:47 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi All

It appears if you create a plugin from within PEBakery, ie from Innounp plugin creator for example, you'll need to check the file encoding is ANSI. A quick test (following discussion on another thread) using XPE Innounp Plugin Creator plugin with PEBakery as builder gave me the _File.script as UTF-8 encoded and the main.script as ANSI, which doesn't appear to cause a problem in PEBakery, BUT when viewing them in the BuilderSE interface the name has disappeared in the left hand dir structure. If you click on the corresponding tool icon, the right-hand pane displays without a problem, and I believe the plugin actually does work

temp workaround if use wish to use both builders, just re-save any offending plugin in ANSI encoding

regards APT

ps  will ask ied206's advice on this,

Edit-*I believe it only happens on the later nightly builds
« Last Edit: December 17, 2018, 11:54:11 AM by APT »

Re: Creating plugins within PEBakery
« Reply #1 on: November 28, 2018, 01:54:56 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350

Re: Creating plugins within PEBakery
« Reply #2 on: November 28, 2018, 07:03:26 PM »

ied206

  • Moderator,
  • Chef
  • *****
  • Location: South Korea
  • Date Registered: Jan 2014
  • Posts: 257
Quote
A quick test (following discussion on another thread) using XPE Innounp Plugin Creator plugin with PEBakery as builder gave me the _File.script as UTF-8 encoded and the main.script as ANSI, which doesn't appear to cause a problem in PEBakery, BUT when viewing them in the BuilderSE interface the name has disappeared in the left hand dir structure.

I will inspect this issue. The file must be created as ANSI-encoded for WinBuilder compatibility.
@APT, please provide me a sample which I can study.

Re: Creating plugins within PEBakery
« Reply #3 on: November 28, 2018, 07:10:04 PM »

ied206

  • Moderator,
  • Chef
  • *****
  • Location: South Korea
  • Date Registered: Jan 2014
  • Posts: 257
I recently modified the logic which detects .script file's BOM signature, which may have brought the regression.

Re: Creating plugins within PEBakery
« Reply #4 on: November 28, 2018, 10:53:51 PM »

APT

  • Grand Chef
  • *****
  • winpe enthusiast
  • Location: UK
  • Date Registered: Nov 2012
  • Posts: 1150
Hi ied206

Quote
@APT, please provide me a sample which I can study.

done  :thumbsup:  link on GitHub
« Last Edit: November 28, 2018, 10:55:51 PM by APT »

 

Powered by EzPortal