Nightgunner5's Extras Patcher

by Nightgunner5 · Uploaded Apr 29, 2011

Screenshot 1

File Size: 1.02 MB

Downloads: 853

Rating: (4 votes)

Description

Comes with an example. To use, drag the .extraspatch file onto p2extraspatcher.bat. twppatchgenerator.bat can be used to quickly build .extraspatch files (including thumbnails) for any bsp uploaded to Thinking With Portals.

Comments

Sign in to comment.

Nightgunner5 • Apr 29, 2011 • #40774
75 posts

Comes with an example. To use, drag the .extraspatch file onto p2extraspatcher.bat.

twppatchgenerator.bat can be used to quickly build .extraspatch files (including thumbnails) for any bsp uploaded to Thinking With Portals.

File Name: Nightgunner5\'s extras patcher.zip
File Size: 1.02 MiB
Click here to download Nightgunner5's Extras Patcher

Haapavuo • Apr 29, 2011 • #40775
30 posts

Hehe, you kinda copied my idea there.

EDIT: I can't get your program to work. It just gives me some java errors.

Nightgunner5 • Apr 29, 2011 • #40776
75 posts

Haapavuo wrote:
Hehe, you kinda copied my idea there.

Yeah, I kinda did.

Haapavuo wrote:
EDIT: I can't get your program to work. It just give me some java errors.

What error does it give?

Haapavuo • Apr 29, 2011 • #40777
30 posts

Exception in thread &quot;main&quot; java.lang.reflect.InvocationTargetException<br />&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br />&nbsp; &nbsp; &nbsp; &nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br />&nbsp; &nbsp; &nbsp; &nbsp; at java.lang.reflect.Method.invoke(Unknown Source)<br />&nbsp; &nbsp; &nbsp; &nbsp; at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa<br />der.java:58)<br />Caused by: java.lang.NullPointerException<br />&nbsp; &nbsp; &nbsp; &nbsp; at com.thinkingwithportals.nightgunner5.Portal2ExtrasPatcher.main(Portal<br />2ExtrasPatcher.java:18)<br />&nbsp; &nbsp; &nbsp; &nbsp; ... 5 more

Nightgunner5 • Apr 29, 2011 • #40778
75 posts

Haapavuo wrote:
Exception in thread "main" java.lang.reflect.InvocationTargetException         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)         at java.lang.reflect.Method.invoke(Unknown Source)         at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa der.java:58) Caused by: java.lang.NullPointerException         at com.thinkingwithportals.nightgunner5.Portal2ExtrasPatcher.main(Portal 2ExtrasPatcher.java:18)         ... 5 more

Okay, thanks. I think I've fixed that now. Try it again.

Sulfaras • Apr 30, 2011 • #40779
67 posts

what do i have to do with that files? when i open the 3 created files with that "p2extraspatcher" i get 3 errors

Nightgunner5 • May 01, 2011 • #40780
75 posts

Sulfaras wrote:
what do i have to do with that files? when i open the 3 created files with that "p2extraspatcher" i get 3 errors

The VTF and VMT are the two files required for the icon in the extras menu. You will need to download the bsp and put it in the same folder as the extraspatch before dragging the extraspatch to p2extraspatcher or zipping it up.

Sulfaras • May 01, 2011 • #40781
67 posts

thanks nrm 1 now it works well but now i have it 3 times in the extras. how do i delate it ?

Nightgunner5 • May 01, 2011 • #40782
75 posts

Sulfaras wrote:
thanks nrm 1 now it works well but now i have it 3 times in the extras. how do i delate it ?

Look in C:\Program Files\Steam\steamapps\common\portal 2\portal2\scripts\extras.txt and delete the extra ones.

josepezdj • May 09, 2011 • #40783
2,386 posts

Hi Nightgunner5, thanks for this utility.

I've got an error after running the p2extraspatcher.bat in the cmd window saying that it can't find my portal2.exe file. After giving the path (into C:\program files (86)\steam\steamApps\common, etc etc.) it seems to not find it. Do I have to place your program files into any specific folder? please kindly let me know.

Thanks in advance.

josepez