BF2Editor closes after mod selected

Making or wanting help making your own asset? Check in here
Post Reply
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

BF2Editor closes after mod selected

Post by BIO.HAZARD »

10 seconds after I press OK the program just closes itself, no error, no text of any kind, it just closes.

I used this https://www.realitymod.com/forum/showthread.php?t=14468 to manually install it

step 5 not followed because its says its not required
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2208
Joined: 2016-10-12 13:25
Location: Poland

Re: BF2Editor closes after mod selected

Post by Suchar »

There was an issue with it about a year ago. It was related with one of windows 10 updates. You use windows 10 I guess?
Image
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

Yes windows 10
SShadowFox
Posts: 1123
Joined: 2012-01-25 21:35

Re: BF2Editor closes after mod selected

Post by SShadowFox »

A Windows 10 update back in 2018 broke the editor for a bunch of people, the thread was this one. Arab mentioned this fix:
Arab wrote:This is a workaround for the Windows 10 Creators Update that might fix this issue.

Find bf2editor.exe, right-click and select 'Properties'.
Go to the 'Compatibility' tab and select the checkbox next to 'Disable fullscreen optimizations'.

Click on OK.

This hasn't been tested since mine works fine, but hopefully it works for anyone else.
Though I never tested it, but you can try to see if it works for you.
Image
[R-DEV]Spec:The suggestion is not accepted, I merely wanted to comment.

Shame doesn't work on me, Nor on men of my caliber.
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

SShadowFox wrote:A Windows 10 update back in 2018 broke the editor for a bunch of people, the thread was this one. Arab mentioned this fix:



Though I never tested it, but you can try to see if it works for you.
I appreciate your willing to help but it didnt work for me
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: BF2Editor closes after mod selected

Post by Fastjack »

When you start the BF2 Editor it ask you which mod you select, Right?
After selecting the mod, at the bottom, is there a line in red. Can you see a line in red with conicalatt?
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

Yeah, I select pr_edit and press ok, then 10 seconds later it just closes no red line no nothing.
On the logs I get

D:\bf2editor\Code\BF2\Core\Profiler.cpp(720): Calibration of profiler took:5.29848e-006 seconds
D:\bf2editor\Code\BF2\Core\EventManager.cpp(77): Event 1 in cat 5 registered as ECCoreCEChangedSetting
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/common_client.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/common_client.zip path:common/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/fonts_custom.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/pr_edit/content/fonts_custom.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/content/fonts_custom.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/fonts_custom.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/content/fonts_custom.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/Content/Terrain/content/fonts_custom.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "content/fonts_custom.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/fonts_client.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/fonts_client.zip path:fonts/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/menu_client.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/menu_client.zip path:menu/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/objects_common_client.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/objects_common_client.zip path :o bjects/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/objects_statics_client.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/objects_statics_client.zip path :o bjects/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/objects_vehicles_client.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/objects_vehicles_client.zip path :o bjects/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/objects_weapons_client.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/objects_weapons_client.zip path :o bjects/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/common_server.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/common_server.zip path:common/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/factions_server.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/factions_server.zip path:factions/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/menu_server.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/menu_server.zip path:menu/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/objects_common_server.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/objects_common_server.zip path :o bjects/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/objects_statics_server.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/objects_statics_server.zip path :o bjects/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/objects_vehicles_server.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/objects_vehicles_server.zip path :o bjects/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/content/objects_weapons_server.zip"
D:\bf2editor\Code\BF2\IO\File\FileManager.cpp(692): mountArchive:content/objects_weapons_server.zip path :o bjects/
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/bf2editor\lightmapsamples01.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/pr_edit/bf2editor\lightmapsamples01.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/bf2editor\lightmapsamples01.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/bf2editor\lightmapsamples01.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/bf2editor\lightmapsamples01.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/Content/Terrain/bf2editor\lightmapsamples01.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "bf2editor\lightmapsamples01.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/bf2editor\lightmapsamples02.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/pr_edit/bf2editor\lightmapsamples02.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/bf2editor\lightmapsamples02.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/bf2editor\lightmapsamples02.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/bf2editor\lightmapsamples02.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/Content/Terrain/bf2editor\lightmapsamples02.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "bf2editor\lightmapsamples02.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/bf2editor\lightmapsamples03.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/pr_edit/bf2editor\lightmapsamples03.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/bf2editor\lightmapsamples03.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/bf2editor\lightmapsamples03.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/bf2editor\lightmapsamples03.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/Content/Terrain/bf2editor\lightmapsamples03.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "bf2editor\lightmapsamples03.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/bf2editor\lightmapsamples04.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/pr_edit/bf2editor\lightmapsamples04.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/bf2editor\lightmapsamples04.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/bf2editor\lightmapsamples04.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "mods/bf2/bf2editor\lightmapsamples04.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "BF2Editor/Content/Terrain/bf2editor\lightmapsamples04.zip"
D:\bf2editor\Code\BF2\IO\File\ZipArchive.cpp(323): Couldn't open zip file "bf2editor\lightmapsamples04.zip"
D:\bf2editor\Code\BF2\Core\ClassManager.cpp(327): Singleton "hWndBf2TempSlt" in added (default class: "Unknown ID 0")
D:\bf2editor\Code\BF2\Core\ClassManager.cpp(327): Singleton "rodSpecial" in added (default class: "Unknown ID 0")
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: BF2Editor closes after mod selected

Post by Fastjack »

When you selected the mod no red and black lines occuring in the Editor Output window?
Strange ....
Can you make a short Clip of your Editor start?
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: BF2Editor closes after mod selected

Post by Fastjack »

Maybe it's worth a shot:

Copy the common_client and common_server.zip into the Objects Folder but dont unpack it.
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

ill try that here is the video
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

Fastjack wrote:Maybe it's worth a shot:

Copy the common_client and common_server.zip into the Objects Folder but dont unpack it.
sadly didn't work
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2208
Joined: 2016-10-12 13:25
Location: Poland

Re: BF2Editor closes after mod selected

Post by Suchar »

You didn't set up your editor properly. Step 4, to be precise.
Image
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

Suchar wrote:You didn't set up your editor properly. Step 4, to be precise.
I read it again to see if I misread something but It doesn't seem to be the step 4
Image
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

also can´t find fonts_custom.zip anywhere
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2208
Joined: 2016-10-12 13:25
Location: Poland

Re: BF2Editor closes after mod selected

Post by Suchar »

BIO.HAZARD wrote:I read it again to see if I misread something but It doesn't seem to be the step 4
Well, I meant step 4 of setting up the editor :p
But yeah, from the screenshot it looks like it's set up correctly...

Okay, perhaps Im blind since apparently I read your logs wrong. According to the logs, I think something is wrong with the bf2editor directory. Could you make a screenshot of all the folders in the following directory:

Code: Select all

[your_path_to_PR]\Project Reality\Project Reality BF2
Or can also download teamviewer, it would make it easier for me to see what happened with the files it's trying to find.
Image
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

Ty for your time Suchar , I just gave up take care!
Arab
PR:BF2 Developer
Posts: 2898
Joined: 2012-05-18 03:37

Re: BF2Editor closes after mod selected

Post by Arab »

That sucks :(
Could try also downloading DirectX9 and installing it again.

Try using this version of PREditor (BF2Editor v1.3):
https://files.realitymod.com/resources/preditor.zip

Extract all files to Project Reality BF2 root folder.
Last edited by Arab on 2020-01-16 12:58, edited 6 times in total.
Image
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: BF2Editor closes after mod selected

Post by Fastjack »

I just gave up
But we're not giving up one you.
@Arab

I checked the Clip he made.

His Editor only do that:

Code: Select all

Init Engine (0.1.237.0)
Than everything stops.

My Editor startup look like this (only the first lines)
Init Engine (0.1.237.0)
Unable to identify gfx hw:
Description: NVIDIA GeForce GTX 1060 3GB
VendorId: 10de SubSysId: 37421458
DeviceId: 1c02 Revision: a1
MultiSample mode: Off
MultiSample mode: 2Samples
MultiSample mode: 4Samples
MultiSample mode: 8Samples
HW supports D3DQUERYTYPE_OCCLUSION
HW occlusion culling is default off.
HW supports D3DQUERYTYPE_EVENT
[RendDX9] : Texturemanager cubetexture created: Created from code
My Question is, why his Editor not reading the part my Editor reads.
Is it maybe really the Directx? I run the Editor also on win10 and never got those problems and the windows10 creator update also never caused problems on my machine.

Some questions to BIO
What Kind of Videocard you have?
Maybe a 3rd party program that runs in background influences the Editor?
Virtual machines?
Windows Aero mode?
Compartir Vista? / My runs on Windows XP Service Pack 2.
I also heared once splitscreen can cause problems with the Editor.

I can see in his taskbar some Icons. What are that for programs?
Last edited by Fastjack on 2020-01-16 17:05, edited 1 time in total.
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

Some questions to BIO
What Kind of Videocard you have?
Maybe a 3rd party program that runs in background influences the Editor?
Virtual machines?
Windows Aero mode?
Compartir Vista? / My runs on Windows XP Service Pack 2.
I also heared once splitscreen can cause problems with the Editor.

I can see in his taskbar some Icons. What are that for programs?
GTX 1050TI
I had no other programs running, no virtual machine. I also tried to start the editor from a fresh windows restart(not a format, just restart).
The only program running on the taskbar is OBS to record the video, everything else are just windows icons.
No idea about aero mode
BIO.HAZARD
Posts: 37
Joined: 2020-01-12 13:03

Re: BF2Editor closes after mod selected

Post by BIO.HAZARD »

Arab wrote:That sucks :(
Could try also downloading DirectX9 and installing it again.

Try using this version of PREditor (BF2Editor v1.3):
https://files.realitymod.com/resources/preditor.zip

Extract all files to Project Reality BF2 root folder.
Ty I'll try that asap but can't atm
Post Reply

Return to “PR:BF2 Community Modding”