Jump to content











Photo
- - - - -

NaughtyPE Newbie


  • Please log in to reply
76 replies to this topic

#1 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 11 August 2009 - 12:56 AM

Hi there!

Ive used SK jukebox for years as a jukebox application ona an old pc. After discovering Winbuilder I thought it would be kinda cool to boot the OS and software from a CD rather than using up valuable harddrive space that could be used for MP3s.

The problem I have is SK Jukebox relies upon Windows Media Player and whines about WMP.dll not being registered upon loading.

After scouring the net I cant find a solution to include windows media player in my build of NaughtyPE. Any ideas as this is my only stumbling block so far im a reasonably clever guy.

Thanks

The Doc

#2 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 11 August 2009 - 06:40 AM

Hi Doc , well im not so sure . but i guess i have seen a .wim package of windows media player 10 with codecs on a chinese site . which can be used inside pe .

but anyhow i ll search for a portable windows media player with codecs (size was 70 MB ) . i had this but somehow lost from my hdd .

i ll post here as soon as i get something .

#3 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 August 2009 - 10:27 AM

I do not know of any WMP script, for LiveXP or NaughtyPE.
Unless maanu is right, you only have one chance and that is to make one yourself.

But why don't you simply use XMPlay?

:idea:

#4 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 11 August 2009 - 12:41 PM

try the following ,

http://www.911cd.net...showtopic=20355

read some post in the thread , this is untested and seems as controversial plugin .

found the chinese one , but it seems too complicated (at least for me ) to get working in pe . although it is chinese version . but u can always put the english files in .

let me know if u or someone else needs it and i ll upload it ..

#5 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 11 August 2009 - 04:31 PM

Thanks for the quick replays. The reason I dont use XMplay or a portable version of WMP is because the program I am using "SK Jukebox" relies on Windows Media Player to be installed on the machine. It seems to use WMP componants.

So I really need a proper "installation/integration" with NaughtyPE.

Will check out the link now thanks maanu.

#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 August 2009 - 05:25 PM

Let me do some math for you. :idea:

+ SK Jukebox ~ ??MB + work
+ WMP11 ~ 30MB + lots and lots of work
+ Since WMP will probably also for Audio need DirectX: DirectX ~ 30MB + no work
+ Some other files that are probably missing ~ 5MB + work

versus

+ XMPlay ~ 1MB + no work


Hard decision! :P

:)

#7 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 11 August 2009 - 05:29 PM

btw. What error messages do you get when you run your program together with a portable WMP?

:idea:

#8 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 12 August 2009 - 05:04 PM

Well. Yeas it sounds like alot of hard work and yes im jumping in at the deepend. To understand this project you need to be an SK Jukebox user I guess. See attached screendump to see what i mean.

SK Jukebox is great I wish it didnt rely upon WMP but it does and thats not going to change. I have an old computer i use as a jukebox...very small ex call center computer with a cd-rom drive. It has a 160gb hard drive. I collect music and I keep it on there and its easy for people to flip thru.

My aim is to make a dual-layer DVD pre-loaded with music that could potentially turn any computer into an impromptu jukebox and also load mp3s stored on the hard drive without using up valuable hard drive space and potentially with a fast loading OS because of it being stripped down.

This is my aim. I think alot of people would find this useful for occasions like BBQs etc so that you could even turn an old laptop into a jukebox for a party. Jukeboxes are cool and id LOVE it if some people on here could help me make this work.

Please?

- The doc

#9 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 12 August 2009 - 05:26 PM

You surely sound very well motivated. :idea:

I wish you all the best of luck for your project! :P

:)

#10 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 12 August 2009 - 05:53 PM

My aim is to make a dual-layer DVD pre-loaded with music that could potentially turn any computer into an impromptu jukebox

Just a warning:
keep PE file in front of media, that's within first 4 GB of media.
Sort music files after PE files.

#11 maanu

maanu

    Gold Member

  • Advanced user
  • 1134 posts
  •  
    Pakistan

Posted 12 August 2009 - 08:41 PM

Just a warning:
keep PE file in front of media, that's within first 4 GB of media.
Sort music files after PE files.


how 'd it be done ? just wondering .

ok let me explain , suppose i have a 8 GB dual dvd ,. i want to make the following ,

Grub4dos as bootloader.

1. a pe with lots of apps ( 2 GB suppose )
2. some live linux stuff ( 0.5 GB )
3. un atteneded xp with apps ( 1.8 GB )

rest of the space , i ll use for my ghost and acronis backup images .

now what do u mean that how will i add the first 3 number items infront of the dvd ? what special command will i use in cdimage ?

(sorry for hijacking the thread )

#12 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 13 August 2009 - 05:38 PM

@The Notorious Dr P
Add music files at directory \Music. That's sorted after I386.
Break, dosn't NaughtyPE use directory \windows? Disable this or use another name.

@manu
Cdimage dosn't sort files at given requirements.
Oscdimage from current WAIK sort files, directories are unclear.
Mkisofs sort files and directories.

Yes, this expand this thread. If you like to create such a DVD, ask at another thread.
Sounds like a lot of fun, expect some testing.

#13 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 13 August 2009 - 06:17 PM

Does anyone know how to monitor an installation and dump the registry entries to something WORKABLE.

Tried using Regmon but seems like a nightmare to work with.

#14 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 13 August 2009 - 06:31 PM

Anyone else fancy having a crack at creating a WMP script? Surely alot of people would find it useful.

#15 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 13 August 2009 - 09:51 PM

Use Regshot. It's in the NaughtyPE Debug folder too.
Run it once before the install and once after the install and it will give you a list of all added, changed or deleted Registry entries. Does the same for the files in the specified folders.

Everything that may is required, but does not change, is not recorded!

:frusty:

#16 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 14 August 2009 - 04:19 AM

OK I have a reg file now from something called tracker..

http://www.evans-pro...com/tracker.asp (sorry if im not supposed to post urls)

heres my code for my script

[main]Title=Windows Media Player 9Description=Windows Media Player 9Selected=TrueLevel=5Version=1Download_Level=0[variables]%ProgramTitle%=Windows Media Player 9%ProgramEXE%=wmplayer.exe%ProgramFolder%=Windows Media Player[process]Add_ShortcutUnpackregimport,%ScriptDir%\wmp9.reg"[EncodedFolders]SystemFolder

I have also attached the .reg file for anyone interested.

How the hell do i import this reg file into the build in a simple straight forward way please? I feel so close to doing it at this point.

Thanks

The Doc

#17 cdob

cdob

    Gold Member

  • Expert
  • 1469 posts

Posted 14 August 2009 - 05:06 AM

There is a script: [Sherpya] Windows XPE: Windows Media Player 9 v1.0.7
http://www.boot-land...?...20&start=20
http://h7se.boot-land.net/

#18 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 14 August 2009 - 09:58 AM

How the hell do i import this reg file into the build in a simple straight forward way please? I feel so close to doing it at this point.

You can't use the reg file like that. All you do is to import it into your own registry. You'll have to convert it for use in WB.
use psc reg2wbs.

:frusty:

#19 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 14 August 2009 - 01:07 PM

output from reg2wbs in the attachment...

added this lot to my [process] section

also have attached error log HELP!

Attached Files



#20 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 14 August 2009 - 05:26 PM

Been faffing on all day with this i feel so close yet cant get it to work GRRRRRRRR :frusty:

Please someone tell me what im missing here.

Thanks in advance

The Doc

#21 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 14 August 2009 - 05:31 PM

Don't get angry :frusty:

let us see your SK Jukebox.script may we can help

PS. may you also need the DirectX Script.

#22 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 14 August 2009 - 06:12 PM

the sk jukebox script is separate to my WMP9 script...the sk jukebox script is simple and straight forward...no issues there....the issues lie with my separate WMP9 script which I have posted. SK Jukebox needs WMP to be installed to work.

#23 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 14 August 2009 - 06:45 PM

Your log shows: API version 14 or higher needed!
Why would you write a script which needs an Api version which is not in NaughtyPE? :frusty:

:unsure:

#24 The Notorious Dr P

The Notorious Dr P

    Member

  • Members
  • 30 posts
  •  
    United Kingdom

Posted 14 August 2009 - 07:22 PM

im new im a moron lol...so how do i go about fixing my script so that it works? Please help

The Doc

#25 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 14 August 2009 - 07:41 PM

Well you could use the old style

Hive_Load,Hive
Hive_Unload,Hive

Where Hive needs to be replaced with the proper String from below.
HKLM
HKCU
HKU
BASE

Or i could send you the very experimental NaughtyPE files to use the brand new Common API. First builds worked fine.
But no gurantees! :frusty:


:unsure:




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users