#1 2020-01-24 18:28:33

Skull Kid
Player
Sweden
Reputation: +7
Registered: 2019-01-30
Posts: 53
Windows 10 Chrome 79.0

Battlecraft 1942 (unlimited objects)

I seem to have been able to successfully patch Battlecraft 1942 to be able to load an infinite amount of objects. With success I loaded several maps of the Forgotten Hope Secret Weapon mini mod (not so "mini" since a few updates back of course).

If anybody here uses Battlecraft 1942, I am more than happy to upload the result. smile

Last edited by Skull Kid (2020-01-24 18:28:56)

Offline

    Positive reputation 2   Negative reputation 0

#2 2020-01-24 19:23:50

Black Mamba
Member
Canada
Reputation: +1449
Registered: 2012-12-01
Posts: 4,231
iOS Safari 13.0

Re: Battlecraft 1942 (unlimited objects)

Skull Kid wrote:

I seem to have been able to successfully patch Battlecraft 1942 to be able to load an infinite amount of objects. With success I loaded several maps of the Forgotten Hope Secret Weapon mini mod (not so "mini" since a few updates back of course).

If anybody here uses Battlecraft 1942, I am more than happy to upload the result. smile

You mean an infinite amount of static objects? I thought the most objects that could be placed on a map were 2048 objects? (which is already a lot of objects). Anything more than that number would fry your CPU, unless you use a lot of objects with a low amount of polygons.

This could be moved to the modding section.

Last edited by Black Mamba (2020-01-24 19:26:02)

Offline

    Positive reputation 0   Negative reputation 0

#3 2020-01-24 19:36:35

Skull Kid
Player
Sweden
Reputation: +7
Registered: 2019-01-30
Posts: 53
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

Black Mamba wrote:
Skull Kid wrote:

I seem to have been able to successfully patch Battlecraft 1942 to be able to load an infinite amount of objects. With success I loaded several maps of the Forgotten Hope Secret Weapon mini mod (not so "mini" since a few updates back of course).

If anybody here uses Battlecraft 1942, I am more than happy to upload the result. smile

You mean an infinite amount of static objects? I thought the most objects that could be placed on a map were 2048 objects? (which is already a lot of objects). Anything more than that number would fry your CPU, unless you use a lot of objects with a low amount of polygons.

This could be moved to the modding section.

Well, basically, no "points" show up at all if that "1024" prompt shows up, nor if the "2048" prompt shows up, so this would bypass that limit.

My current problems is that Battlecraft 1942 crashes when trying to load an object from "(None)" when clicking it... got to do some more research.

Offline

    Positive reputation 0   Negative reputation 0

#4 2020-02-16 04:16:28

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 202
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

I routinely go over 2048 meshes so this will be helpful.

Offline

    Positive reputation 0   Negative reputation 0

#5 2020-02-17 10:55:37

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 202
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

Can confirm this works fine (win 10 pro).   Im working on a map with (now) 2200 meshes and it opens and closes fine in BC and tests fine.

Offline

    Positive reputation 1   Negative reputation 0

#6 2020-02-17 10:56:14

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 202
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

Only downside (very very minor) is that some objects cant be placed, but you can copy and paste stuff already in the map fine.

Offline

    Positive reputation 0   Negative reputation 0

#7 2020-02-20 16:57:05

Skull Kid
Player
Sweden
Reputation: +7
Registered: 2019-01-30
Posts: 53
Windows 10 Chrome 80.0

Re: Battlecraft 1942 (unlimited objects)

I am still troubleshooting as of why Battlecraft 1942 won't accept the .lst file generated by LstGen which was developed by fluxtah back in the day... awesome tool. Quickly and easily generates a .lst file out of the extracted objects.rfa archive.

Offline

    Positive reputation 0   Negative reputation 0

#8 2020-02-26 15:17:01

Skull Kid
Player
Sweden
Reputation: +7
Registered: 2019-01-30
Posts: 53
Windows 10 Chrome 80.0

Re: Battlecraft 1942 (unlimited objects)

I've been since today in OllyDBG and tried to figure out why Battlecraft 1942 crashes when loading the lstGen generated fhsw.lst. It's really weird, because if I remove some objects from the .lst, it accepts it just fine.

Offline

    Positive reputation 0   Negative reputation 0

#9 2020-02-26 22:49:50

bud
maestro
Reputation: +1835
Location: shangri la
Registered: 2012-07-07
Posts: 3,941
Website
Windows 10 Firefox 73.0

Re: Battlecraft 1942 (unlimited objects)

Battlecraft 1942 was made by DICE canadian studio, atleast one of them was/is a whacko. All got sacked when EA bought DICE.

Offline

    Positive reputation 0   Negative reputation 0

#10 2020-03-05 14:45:45

Skull Kid
Player
Sweden
Reputation: +7
Registered: 2019-01-30
Posts: 53
Windows 10 Chrome 80.0

Re: Battlecraft 1942 (unlimited objects)

If anybody has a different version of lstGen than 0.1a from Fluxtah, preferably newer version, feel free to share it here.

EDIT (March 3, 2020 @ 15:09): I've basically now officially ended my troubleshooting with Battlecraft 1942. Editor42 is my tool to make maps from now on, with Battlecraft 1942 as a "starting gun" for a new map.

Last edited by Skull Kid (2020-03-05 15:09:41)

Offline

    Positive reputation 0   Negative reputation 0

#11 2020-03-05 16:39:18

Skull Kid
Player
Sweden
Reputation: +7
Registered: 2019-01-30
Posts: 53
Windows 10 Chrome 80.0

Re: Battlecraft 1942 (unlimited objects)

My last edit seemed to be rushed. I will use Battlecraft 1942 as my main editor. Although I need to use lstGen by fluxtah to generate a working .lst file.

Offline

    Positive reputation 0   Negative reputation 0

#12 2020-03-05 16:49:56

Black Mamba
Member
Canada
Reputation: +1449
Registered: 2012-12-01
Posts: 4,231
iOS Safari 13.0

Re: Battlecraft 1942 (unlimited objects)

@Skull Kid: Do you happen to have the BC files for the Secret Weapons and Road to Rome expansion packs?

Offline

    Positive reputation 0   Negative reputation 0

#13 2020-03-05 19:21:55

Skull Kid
Player
Sweden
Reputation: +7
Registered: 2019-01-30
Posts: 53
Windows 10 Chrome 80.0

Re: Battlecraft 1942 (unlimited objects)

Black Mamba: Sadly I don't. I know they're downloadable form www.bf-games.net though

Offline

    Positive reputation 0   Negative reputation 0

#14 2020-03-05 23:31:23

Black Mamba
Member
Canada
Reputation: +1449
Registered: 2012-12-01
Posts: 4,231
Windows 10 Firefox 73.0

Re: Battlecraft 1942 (unlimited objects)

Ok, thanks anyways.

Offline

    Positive reputation 0   Negative reputation 0

#15 2020-03-06 03:37:35

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 202
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

Skull Kid wrote:

I am still troubleshooting as of why Battlecraft 1942 won't accept the .lst file generated by LstGen which was developed by fluxtah back in the day... awesome tool. Quickly and easily generates a .lst file out of the extracted objects.rfa archive.

Do you have to run this in the battlecraft directory?

Offline

    Positive reputation 0   Negative reputation 0

#16 2020-03-06 03:39:05

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 202
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

I have many many lst files and cf files including FH if you want them?

Offline

    Positive reputation 0   Negative reputation 0

#17 2020-03-06 03:39:26

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 202
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

How do I post them here?

Offline

    Positive reputation 0   Negative reputation 0

#18 2020-03-06 03:45:02

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 202
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

Skull, dont forget to put whatever map name youre modding/creating into the cfg file here

e.g. if your new map is called SKULLNEWMAP.rfa



[Editor Paths]
GamePath=C:\Program Files\EA GAMES\Battlefield 1942\
//    custom mod files go here:
ModsPath=Mods\bf1942\
//    objects are read from here
ObjectsPath=Mods\bf1942\objects\
//    SMs are read from here
StandardMeshPath=Mods\bf1942\standardMesh\
//    TMs are read from here
TreeMeshPath=Mods\bf1942\treeMesh\
//    textures are read from here
TexturePath=Mods\bf1942\texture\
//    Object list
ObjectsList=bf1942.lst

[Defaults]
LevelName=SKULLNEWMAP.rfa
MaterialSize=512
WorldSize=2048
HeightScale=1


ALSO make sure your 42 game directory is listed correctly in that file. e.g. make sure its GamePath=C:\Program Files\EA GAMES\Battlefield 1942\   

In fact I recommend ALWAYS setting to this folder (and not x86 default - ie DONT put it here - GamePath=C:\Program Files (x86)\EA GAMES\Battlefield 1942\) because some of the Battlecraft/game coding is HARD CODED to -

GamePath=C:\Program Files\EA GAMES\Battlefield 1942\

If you install both the game and battlecraft to

GamePath=C:\Program Files (x86)\EA GAMES\Battlefield 1942\

certain things will fail

(p.s. windows 7,8,10 automatically puts both here - GamePath=C:\Program Files (x86)\EA GAMES\Battlefield 1942\).

DO NOT ALLOW the default.

Last edited by Crash (2020-03-06 03:49:00)

Offline

    Positive reputation 1   Negative reputation 0

#19 2020-03-06 04:04:28

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 202
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

Skull Kid wrote:

Black Mamba: Sadly I don't. I know they're downloadable form www.bf-games.net though

I think they are here? The site is in german.

http://www.bf-games.net/downloads/categ … ft-42.html

Offline

    Positive reputation 0   Negative reputation 0

#20 2020-03-06 11:54:13

Skull Kid
Player
Sweden
Reputation: +7
Registered: 2019-01-30
Posts: 53
Windows 10 Chrome 80.0

Re: Battlecraft 1942 (unlimited objects)

Alrighty Crash, I'll look into Battlecraft 1942 again.

Offline

    Positive reputation 0   Negative reputation 0

#21 2020-03-06 12:09:05

Skull Kid
Player
Sweden
Reputation: +7
Registered: 2019-01-30
Posts: 53
Windows 10 Chrome 80.0

Re: Battlecraft 1942 (unlimited objects)

Crash wrote:
Skull Kid wrote:

I am still troubleshooting as of why Battlecraft 1942 won't accept the .lst file generated by LstGen which was developed by fluxtah back in the day... awesome tool. Quickly and easily generates a .lst file out of the extracted objects.rfa archive.

Do you have to run this in the battlecraft directory?

No. lstGen by fluxtah was originally made for the Desert Combat mod, but seems to work somewhat fine in generating an .lst file for any mod. Well... sorta...

EDIT: March 6, 2020 @ 12:15
Now I can finally load Berlin-1945-Streets from Secret Weapon without having to load the Forgotten Hope one first. Thanks Crash!

EDIT2: March 6, 2020 @ 12:58
I would need a way to conveniently creating a .lst file, without having to input one line at a time into a .lst file, as that would take ages... I know the developers of BattleGroup42 has split the .lst file into several one's. So, what would be the simplest way to do that for me?

Last edited by Skull Kid (2020-03-06 12:59:41)

Offline

    Positive reputation 0   Negative reputation 0

#22 2020-03-06 15:04:58

Crash
Player
Singapore
Reputation: +98
Registered: 2019-11-04
Posts: 202
Windows 10 Chrome 79.0

Re: Battlecraft 1942 (unlimited objects)

I think they have the bg42 lst files on their website.

p.s. If you want to know how to modify BC to make your GUI look like this, pm me.  Its makes it hella easier to see where things are inside buildings.

https://i.imgur.com/V15xlOr.jpg

Offline

    Positive reputation 0   Negative reputation 0

Board footer