Page 1 of 1

Pueblo, a MUD client

Posted: Thu Sep 23, 2010 8:13 pm
by rokth
website: http://pueblo.sourceforge.net/
I'm working on a launcher for Pueblo but I've not finished it yet, I wanted to make sure I had all the bases covered so I'm doing a very small test with another user. Expect something in the future

Re: Pueblo, a MUD client

Posted: Sun Sep 26, 2010 2:07 pm
by Napiophelios
Have you figured out how to redirect the urlcache folder yet?
This is my ini file for Pueblo;
had to use the special folders feature (thanx 2 Crownixx,I always forget about using it for problem folders) for the cache folder to be redirected.Just using [FilesystemInclude] didnt seem to work right.
Seems to work pretty well from various locations.

Code: Select all

[Launch]
Path=.\Pueblo\ProgramFiles\PuebloUE\Pueblo.exe
JPERuntime=.\Pueblo\jauntePE.dll
JPERuntimeIni=.\Pueblo_jauntePE.ini
JPERuntimeReg=.\Pueblo\Pueblo.reg
JPERuntimeWFS=.\Pueblo\
RedirReg=1
RedirWFS=1
AppReg=1
AppWFS=1
ExeDir=1

[Redirection]
RedirMSI=0
RedirMisc=0
MemRegistry=1
FillRegistry=1
RegMerge=1
RegIgnDel=1
ExcludeAppDir=0
WFSMerge=1
RegTokens=1
IdentMode=3
UseIcon=0
ModFrame=0
FlashDisco=0
IconDisco=0
InnerColor=0
OuterColor=0

[Registry]
Use=1
Data=.\Pueblo\Pueblo.reg


[PortableRegExclude]
1=HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
2=HKEY_CURRENT_USER\Software\Microsoft\Windows
3=HKEY_CURRENT_USER\Software\Microsoft\Windows NT

[PortableRegInclude]
1=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets

[Filesystem]
Use=1
Data=.\Pueblo\

[SpecialFolders]
38=.\ProgramFiles\PuebloUE\urlcache
%Temp%=User\Local\Temp
%Temp%\..=User\Local

[ShellUsage]
Use=1
PreventMRU=1
PreventBinUse=1

[HookExclude]
1=*
[HookInclude]
1=CreateFileA
2=CreateFileW
3=FindClose
4=FindFirstFileA
5=FindFirstFileW
6=GetFileAttributesA
7=GetFileAttributesW
8=RegCloseKey
9=RegCreateKeyA
10=RegCreateKeyExA
11=RegCreateKeyExW
12=RegCreateKeyW
13=RegOpenKeyExA
14=RegOpenKeyExW
15=RegQueryValueExA
16=RegQueryValueExW
17=RegSetValueA
18=RegSetValueExA
19=RegSetValueExW
20=RegSetValueW
[ModuleExclude]
1=*
[ModuleInclude]
1=advapi32.dll
2=dnsapi.dll
3=mfc70.dll
4=msacm32.dll
5=msvcr70.dll
6=mswsock.dll
7=pueblo32.dll
8=setupapi.dll
[RegistryExclude]
1=*
[RegistryInclude]
1=HKEY_CLASSES_ROOT\Pueblo.Shortcut
2=HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Audio
3=HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Audio Compression Manager
4=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\Colors
5=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\Fonts
6=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\General
7=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\Miscellaneous
8=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\Network
9=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\Personal World list
10=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\Proxies
11=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\Sound & Speech
12=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\URL Cache
13=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\Window layout
14=HKEY_CURRENT_USER\Software\Ultra Enterprises\Pueblo\World module
15=HKEY_CURRENT_USER\software\Ultra Enterprises
16=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\DeviceClasses
17=HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
[FilesystemExclude]
1=*
[FilesystemInclude]
1=%38%\PuebloUE\urlcache\Ch5.61
2=%38%\PuebloUE\urlcache\pburldb.dir
3=%38%\PuebloUE\urlcache\pburldb.pag

EDIT: I highly reccomend making a backup of the reg file created during the capture process
(containing the default urlcache folder settings--> ".\Pueblo\Programfiles\PuebloUE\urlcache" )
because if its destroyed for some reason, the folder will no longer be redirected on the next run;
instead the actual system path to the cache folder will likely be copied to the jpe reg file
and portability may be lost.

Re: Pueblo, a MUD client

Posted: Mon Sep 27, 2010 9:31 am
by crownixx
Napiophelios, see [SpecialFolders] function.

Code: Select all

[SpecialFolders]
38=.\ProgramFiles\PuebloUE\urlcache
Doesn't seem right to me. Can you notice it?

Re: Pueblo, a MUD client

Posted: Mon Sep 27, 2010 3:18 pm
by Napiophelios
No I dont get what you notice wrong.
I know its not right tho :lol:

EDIT: DOH!! I am such a knuckle-head sometimes. :oops:
Pueblo accepts relative pathes so you dont even need to redirect the file system
if you dont want too,just the registry.
(the pathes must be relative to the JPE launcher tho not the actual Pueblo exe)

Re: Pueblo, a MUD client

Posted: Tue Sep 28, 2010 7:02 am
by crownixx
:lol: then it means that i should improve more on my explanation skill

Code: Select all

[SpecialFolders]
38=.\ProgramFiles\PuebloUE\urlcache
The configuration above means that you are changing the default path of the "Programs Files" portable file system from ".\ProgramFiles" to ".\ProgramFiles\PuebloUE\urlcache"

This is just an example. Lets say you use the configuration above to redirect the Pueblo installation process. You then install it normally to the "C:\Program Files\PuebloUE\Pueblo.exe". You expecting that "Pueblo.exe" will be redirected to "JPE\ProgramFiles\PuebloUE\Pueblo.exe". You're wrong. The "Pueblo.exe" is actually will be located at ".\ProgramFiles\PuebloUE\urlcache\Pueblo.exe"

Why? Because your configuration tells that folder "urlcache" is now becoming the "ProgramFiles" folder

Re: Pueblo, a MUD client

Posted: Tue Sep 28, 2010 7:45 am
by Napiophelios
Alright I have my JPE launcher next to the sandbox folder " .\PuebloUE "
Inside PuebloUE folder I have the actual program files including the exe to be portabilized and all the sub folders and files.
Intending to use with these settings:

Code: Select all

[Launch]
Path=.\PuebloUE\Pueblo.exe
JPERuntime=.\PuebloUE\jauntePE.dll
JPERuntimeReg=.\PuebloUE\Pueblo.reg
JPERuntimeWFS=.\PuebloUE\
ExeDir=0

[Redirection]
ExcludeAppDir=1
Can I do this?

Code: Select all

[SpecialFolders]
38=.\
[FilesystemExclude]
1=*
[FilesystemInclude]
1=%38%\PuebloUE\urlcache\*.*
That way the urlcache folder should be redirected no matter what,right?
Because its telling JPE that the sandbox is now "programfiles" folder?

Re: Pueblo, a MUD client

Posted: Wed Sep 29, 2010 7:25 am
by crownixx

Code: Select all

[SpecialFolders]
38=.\
Napiophelios wrote:Because its telling JPE that the sandbox is now "programfiles" folder?
Yes, you are right. Your portable file system "programfiles" now share the same folder, which is the sandbox folder ie "PuebloUE". Congratulations

Code: Select all

[Launch]
Path=.\PuebloUE\Pueblo.exe
Since you put the files including Pueblo.exe in the sandbox folder, which also your new path for portable file system "programfiles" OR %38%, i think the correct [FilesystemInclude] settings are as follows

Code: Select all

[FilesystemInclude]
1=%38%\urlcache\*.*