PortableApps.com wins big in the 2009 Community Choice Awards and hits 100 million app downloads!

XN Resource Editor 3.0.0.1 Portable Pre-Release 4

powerjuce's picture
Submitted by powerjuce on June 13, 2008 - 7:02pm

Application: XN Resource Editor
Category: Utilities
Description: XN Resource Editor is a Open-Source utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on Win95, Win98, WinME, WinNT, Win2000 and WinXP operating systems.

Download Pre-Release 4
[865KB download / 1.0MB installed]
(MD5: 3924c88c30d5ced2ef1b6d611943b0c2)

Release Notes:

Pre-Release 2 (2008-09-02): Fixed minor bugs, added new installer


Pre-Release 1 (2008-06-13): Initial release


( categories: )

Hm...

I'm pretty sure that the license is wrong.

Insert original signature here with Greasemonkey Script.

wait wat?

the license is for the portable part right?

Please search before posting. ~Thanks

Well,

no...
Like FFP, the main app is the basic infrastructure after all.

Insert original signature here with Greasemonkey Script.

tommorow

ill change it tom

Sad

Please search before posting. ~Thanks

Pre-Release 1 works well under Vista

I've just tested it for a few minutes with vista ultimate sp1, and it works well so far and leaves nothing obvious behind

Yay! Testing!

Finally back on a Windows machine for a bit, so here's some small stuff I picked up on.

  1. The title of this post says XNRes..., should be XN Res...
  2. Change the ;Website in the source to \XNResourceEditorPortable, as well as the !define WEBSITE.
  3. Change the !define PORTABLEAPPNAME to XN Resource Editor Portable, and the !define APPNAME to XN Resource Editor.
  4. Change the LegalCopyright to PortableApps.com & Contributors. That was my fail previously.
  5. In the help.html, you have a link to an old forum (Node 12321, what a cool number). Replace that with 'Portable App Issues' as seen in the Jooleem Portable help file.
  6. The title and the h1 of the help file have 0.5 as the version number.
  7. Change the homepage from the appinfo.ini to /XNResourceEditorPortable
  8. The appinfo.ini description says XNResourceEditor, throw some spaces in there. Smiling

And that's it assuming you compressed and the icon is right.

Nice work... it's handy to have this portable.

new version

take a look

Please search before posting. ~Thanks

ok

ok

Windows XP Home Edition SP3
Developing: Lincity-NG, LMarbles, WinHTTrack, Gourmet, and NVDA Portable

no problems with pre-release 2 so far

I've just tried Pre-release 2 with vista ultimate sp1. I haven't had any noticeable problems so far, and it leaves nothing obvious behind.

Will test,

but shouldn't be the filename XN_Resource_Editor_Portable_3.0.0.1_PRERELEASE_2_en_us.paf.exe?

Pshh

Who uses correct version numbers these days anyways?

Ummm,

I do. All my releases use correct version numbers Sticking out tongue

Minor things

  • Delete Thumbs.db in \app\appinfo
  • Readme.txt: Copyright 2004-2008 John T. Haller

Nice work Smiling

Bug / Not Updated

Try and load firefox.exe and click on an icon group. Gives "Pixel Format Not Valid for Icons or Cursors." for me, continuously. :/

Also, it hasn't been updated since December, 2005, so I'd say it's not going to be fixed any time soon. In fact, due to the age, it may be better just to drop this Sad

"If you're not part of the solution, you're part of the precipitate."

Same thing for me.

1: Is this a problem with the portable version or Then XN team?
2: It doesn't just show that on FF. It also does the same thing on many other programs.

Never trust an EXE, this means you...

Vista Icons

This is due to Vista icons since, technically, they are not a valid ICO format in terms of the older spec (when XN Resource Editor was last updated). Registry Hacker shows an "Out Of System Resources" error in the same instance since it doesn't understand compressed 256px PNGs wedged into an ICO either (though it does then fail more gracefully and let you continue or export).

You could chalk it up to a known issue that only affects accessing icons in Vista format. Since it is open source in Delphi, maybe we can fix it.

Sometimes, the impossible can become possible, if you're awesome!

Hmm.

I was able to open songbird.exe which has Vista-size icons, so I don't know if that's entirely the problem.

"If you're not part of the solution, you're part of the precipitate."

Format?

Depending on how Songbird included it, they may have included it as a 256px icon in standard (BMP) format. It could just be the compressed PNGs that give both resource editors fits.

Sometimes, the impossible can become possible, if you're awesome!

Registry Hacker?

Just thought you should know that you used the wrong word, 'Registry Hacker' should be 'Resource Hacker'.

Email me at [remove spaces, replace '(dot)' with '.' and '(at)' with '@']:
b e n j a m i n (dot) r i c h a r d s o n 1 4 1 0 1 9 8 8 (at) y a h o o (dot) c o m (dot) a u

:-P

Drop it?... December, 2005? oh

Windows XP Home Edition SP3
Developing: Lincity-NG, LMarbles, WinHTTrack, Gourmet, and NVDA Portable

Hey, for me at least the

Hey, for me at least the download link doesn't work it brings me to http://patrickpatience.com/nascent-project/powerjuce/XN_Resource_Editor_...
on that page it says :
Not Found
Sorry, but you are looking for something that isn't here.

That's My Bad

That's my bad from a previous incident. I believe powerjuce has a copy, but it anyone else has a copy please email it to me from the contact page on my site and I'll get 'er uploaded.

alright, sounds good!

alright, sounds good!

I have a copy :-)

Well, I have it at home. Patrick, if noone is faster than me, I'll send you a copy or link tomorrow.

Well

That'd be swell!

sorry all

I have a copy, I just never uploaded it as this project was sorta dropped, but anyway I will upload it tonite

Please search before posting. ~Thanks

Pre-Release 4?

Wow, but where is the changelog? Sticking out tongue

Yeah, Where is it?

Yeah, Where is it?

Windows XP Home Edition SP3
Developing: Lincity-NG, LMarbles, WinHTTrack, Gourmet, and NVDA Portable

There's a problem with the

There's a problem with the registry handling in this launcher.

The HKLM backup/restore section (lines 218 - 220 and 255 - 258) is being skipped if there's no local installation so, if you're logged in as admin, the key "HKEY_LOCAL_MACHINE\Software\Woozle" is left behind. You can generate this key for testing purposes by going to "Help/About..."

The two sections are currently...

RegistryBackup:
	StrCmp $SECONDARYLAUNCH "true" LaunchAndExit
	;=== Backup the registry
	${registry::KeyExists} "HKEY_CURRENT_USER\Software\Woozle-BackupByXNResourceEditorPortable" $R0
	StrCmp $R0 "0" RestoreTheKey
	${registry::KeyExists} "HKEY_CURRENT_USER\Software\Woozle" $R0
	StrCmp $R0 "-1" RestoreTheKey
	${registry::MoveKey} "HKEY_CURRENT_USER\Software\Woozle" "HKEY_CURRENT_USER\Software\Woozle-BackupByXNResourceEditorPortable" $R0
	StrCmp $USERTYPE "Guest" RestoreTheKey
	StrCmp $USERTYPE "User" RestoreTheKey
	${registry::MoveKey} "HKEY_LOCAL_MACHINE\Software\Woozle" "HKEY_CURRENT_USER\Software\Woozle-BackupByXNResourceEditorPortable" $R0
	Sleep 100

In the above, line 220 (MoveKey HKLM) is referencing different keys anyway.

SetOriginalKeyBack:
	${registry::DeleteKey} "HKEY_CURRENT_USER\Software\Woozle" $R0
	Sleep 100
	${registry::KeyExists} "HKEY_CURRENT_USER\Software\Woozle-BackupByXNResourceEditorPortable" $R0
	StrCmp $R0 "-1" TheEnd
	${registry::MoveKey} "HKEY_CURRENT_USER\Software\Woozle-BackupByXNResourceEditorPortable" "HKEY_CURRENT_USER\Software\Woozle" $R0
	StrCmp $USERTYPE "Guest" RestoreTheKey
	StrCmp $USERTYPE "User" RestoreTheKey
	${registry::DeleteKey} "HKEY_LOCAL_MACHINE\Software\Woozle" $R0
	${registry::MoveKey} "HKEY_LOCAL_MACHINE\Software\Woozle-BackupByXNResourceEditorPortable" "HKEY_LOCAL_MACHINE\Software\Woozle" $R0
	Sleep 100
	Goto TheEnd

I have fixed it by changing them to...

RegistryBackup:
	;=== Backup the registry
	${registry::KeyExists} "HKEY_CURRENT_USER\Software\Woozle-BackupByXNResourceEditorPortable" $R0
	StrCmp $R0 "0" RegistryBackup2
	${registry::KeyExists} "HKEY_CURRENT_USER\Software\Woozle" $R0
	StrCmp $R0 "-1" RegistryBackup2
	${registry::MoveKey} "HKEY_CURRENT_USER\Software\Woozle" "HKEY_CURRENT_USER\Software\Woozle-BackupByXNResourceEditorPortable" $R0
	Sleep 100

RegistryBackup2:
	UserInfo::GetAccountType
	Pop $USERTYPE
	StrCmp $USERTYPE "Guest" RestoreTheKey
	StrCmp $USERTYPE "User" RestoreTheKey
	${registry::MoveKey} "HKEY_LOCAL_MACHINE\Software\Woozle" "HKEY_LOCAL_MACHINE\Software\Woozle-BackupByXNResourceEditorPortable" $R0
	Sleep 100
SetOriginalKeyBack:
	${registry::DeleteKey} "HKEY_CURRENT_USER\Software\Woozle" $R0
	Sleep 100
	${registry::KeyExists} "HKEY_CURRENT_USER\Software\Woozle-BackupByXNResourceEditorPortable" $R0
	StrCmp $R0 "-1" SetOriginalKeyBack2
	${registry::MoveKey} "HKEY_CURRENT_USER\Software\Woozle-BackupByXNResourceEditorPortable" "HKEY_CURRENT_USER\Software\Woozle" $R0
	Sleep 100

SetOriginalKeyBack2:
	StrCmp $USERTYPE "Guest" TheEnd
	StrCmp $USERTYPE "User" TheEnd
	${registry::DeleteKey} "HKEY_LOCAL_MACHINE\Software\Woozle" $R0
	${registry::MoveKey} "HKEY_LOCAL_MACHINE\Software\Woozle-BackupByXNResourceEditorPortable" "HKEY_LOCAL_MACHINE\Software\Woozle" $R0
	Sleep 100
	Goto TheEnd

Which seems to sort it out.

Thanks for the program. Hope I'm helping Smiling