Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 4   Go Down

Author Topic: BAT-objects do not look like HSFX-objects -- solved  (Read 2032 times)

0 Members and 3 Guests are viewing this topic.

Seppel

  • Mapper
  • member
  • Online Online
  • Posts: 466
BAT-objects do not look like HSFX-objects -- solved
« on: May 15, 2023, 01:06:20 AM »

Hi everyone!

I have a technical question, conserning transfering maps from HSFX to BAT.

I had to recognize, that there are two objects in HSFX, which could be find in BAT, too.
BUT: The objects are in total different design.

While the HSFX-objects

House$GermanyCityBlock1  and  House$GermanyCityBlock2

are a row of houses,



the BAT-objcts (to which they are transfered) are single houses!

The result is, that in my maps (Silesia, Eastern Frisia and Baltic Sea) the German and Polish towns look like as if
there have been  houses stolen between the remaining! Ugly!

HSFX

BAT




Is there a way, to compensate this, without changing the HSFX-objects to new ones, that we have in BAT?

I allready tried to replace the objects by using this BAT-objects:

House$germancityblock
House$germancityblock3



But these are to long and so it looks like I didn't have time to create the towns properly.




Logged
Kleinigkeiten machen die Vollkommenheit aus, aber Vollkommenheit ist keine Kleinigkeit.

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9544
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: BAT-objects do not look like HSFX-objects
« Reply #1 on: May 15, 2023, 01:12:30 PM »

Solution 1:   :-X
- extract the two objects from HSFX (GermanyCityBlock1 and GermanyCityBlock2) and put them in BAT.
- disadvantage: all BAT maps using these objects will be changed and possibly visually altered.  :-[


Solution 2:   :)
- extract the two objects from HSFX (GermanyCityBlock1 and GermanyCityBlock2)
- rename them and install them in BAT under the names (folders and static.ini entries):
[buildings.House$GermanyCityBlock5]
Title           GermanyCityBlock5
MeshLive        3do/Buildings/Germany/CityBlock5/live.sim
MeshDead        3do/Buildings/Germany/CityBlock5/dead.sim
Body            RockBig
Panzer          0.96

[buildings.House$GermanyCityBlock6]
Title           GermanyCityBlock6
MeshLive        3do/Buildings/Germany/CityBlock6/live.sim
MeshDead        3do/Buildings/Germany/CityBlock6/dead.sim
Body            RockBig
Panzer          0.96

- Using a hex editor (e.g. HEdit), modify the "actors.static" of the map. Find the string "GermanyCityBlock1" and replace it with "GermanyCityBlock5". Find the string "GermanyCityBlock2" and replace it with "GermanyCityBlock6". In this exercise, it is IMPERATIVE to replace a string of x letters with another string of the same number of characters.
This kind of change has already been used.

HEdit : see here https://www.mediafire.com/folder/xuwc5rxara3av/IL-2_Public
Tab : Outils_IL-2
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

Seppel

  • Mapper
  • member
  • Online Online
  • Posts: 466
Re: BAT-objects do not look like HSFX-objects
« Reply #2 on: May 15, 2023, 04:55:54 PM »

I like Solution 2, but I'm totally out!

I understand what you were saying, but have no idea how to do that :(
I never got this deep into the guts of IL-2.
Logged
Kleinigkeiten machen die Vollkommenheit aus, aber Vollkommenheit ist keine Kleinigkeit.

genXgamer

  • member
  • Offline Offline
  • Posts: 1380
Re: BAT-objects do not look like HSFX-objects
« Reply #3 on: May 15, 2023, 06:13:45 PM »

Solution 1 would be very easy to implement.

I'm pretty sure VP Modpack would have the same buildings as HSFX.
If I provide them to you all you would need to do is place them in,

#WAW3/STD/3do/Buildings/Germany
Logged
Go in quickly - Punch hard - Get out!

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 940
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: BAT-objects do not look like HSFX-objects
« Reply #4 on: May 15, 2023, 10:42:42 PM »

Solution 1 would be very easy to implement.

I'm pretty sure VP Modpack would have the same buildings as HSFX.
If I provide them to you all you would need to do is place them in,

#WAW3/STD/3do/Buildings/Germany

House$germancityblock1
House$germancityblock2

I've been using those houses in VP Modpack on my edited Poland_1939 map, but they look the same as those in BAT.
But it's possible they are there but with other names perhaps, I can't recall seeing them though.
Logged
vonOben's Flight Sim Mods  http://vonoben.free.fr/ Twenty Years online January 3, 2022!

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 940
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: BAT-objects do not look like HSFX-objects
« Reply #5 on: May 15, 2023, 10:45:17 PM »

I like Solution 2, but I'm totally out!

I understand what you were saying, but have no idea how to do that :(
I never got this deep into the guts of IL-2.

I also like Solution 2:
But instead of using a hex editor I suggest to use the ActorsTool which is easy to use:
https://www.sas1946.com/main/index.php/topic,61796.0.html

It converts the actors.static to a number of txt-files, and then you open inBuildings.tx and replace those buildings in Notepad or similar program.
Then you convert back to actors.static.
Logged
vonOben's Flight Sim Mods  http://vonoben.free.fr/ Twenty Years online January 3, 2022!

genXgamer

  • member
  • Offline Offline
  • Posts: 1380
Re: BAT-objects do not look like HSFX-objects
« Reply #6 on: May 15, 2023, 11:14:09 PM »

Hi vonOben

Isn't he after GermanyCityBlock1 and GermanyCityBlock2?
I'm at work, but what do those look like in VP Modpack?

By the sounds of it, he's not interested in option two.
And yes Nowekat's ActorsTool is a must have.

EDIT:   Sorry mate, I took "I'm totally out!" as you like that option but have no desire to pursue it.
Logged
Go in quickly - Punch hard - Get out!

Seppel

  • Mapper
  • member
  • Online Online
  • Posts: 466
Re: BAT-objects do not look like HSFX-objects
« Reply #7 on: May 15, 2023, 11:44:57 PM »

By the sounds of it, he's not interested in option two.

Hi genXgamer,

I believe it's a missunderstanding - resulting from my English maybe-

I would prefer Solution two, as it creates two "new" objects.
Otherwise -as I understand it- the "old" BAT objects
Housegermsncityblock and ...block3 would change into the HSFX objects.
So everyone who uses my Baltic Map would have a change in all his other BAT maps (with this special objects).

But I am not able to generate new objects.

Maybe some of you could send me a very ... very very very ... very detailed explanation for dummies via pm.
This way I would be able to use the HSFX zeppelin hangars, too (see thread)

Thanks to you all
Logged
Kleinigkeiten machen die Vollkommenheit aus, aber Vollkommenheit ist keine Kleinigkeit.

Epervier

  • 4.09 Guardian Angel !
  • SAS Team
  • member
  • Offline Offline
  • Posts: 9544
  • I'm French and Rebel_409! Nobody is perfect!
    • Some tinkering here
Re: BAT-objects do not look like HSFX-objects
« Reply #8 on: May 16, 2023, 03:39:37 AM »

But instead of using a hex editor I suggest to use the ActorsTool which is easy to use:
https://www.sas1946.com/main/index.php/topic,61796.0.html
I had this tool in my archives but I had never tested it!
I am ashamed...  :-[
It is very easy to use. Even me, who doesn't understand English, managed to use it. I took the liberty of adding a text file in French...  :D
Logged
If your results do not live up to your expectations, tell yourself that the great oak was once an acorn too. - Lao Zi -

vonOben

  • Modder
  • member
  • Offline Offline
  • Posts: 940
  • Wer den Tod fürchtet, hat das Leben verloren.
    • vonOben's Flight Sim Mods
Re: BAT-objects do not look like HSFX-objects
« Reply #9 on: May 16, 2023, 04:42:25 AM »

Hi vonOben

Isn't he after GermanyCityBlock1 and GermanyCityBlock2?
I'm at work, but what do those look like in VP Modpack?


My mistake, corrected above now.

I've checked GermanyCityBlock1 and GermanyCityBlock2 in VP Modpack and they are the same as in BAT.

So if they are not included under other names or released separately, they must be found and extracted from the HSFX sfs files.
Logged
vonOben's Flight Sim Mods  http://vonoben.free.fr/ Twenty Years online January 3, 2022!

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3002
Re: BAT-objects do not look like HSFX-objects
« Reply #10 on: May 16, 2023, 05:21:21 AM »

You can install and use the selector version 4 (and above) to launch HSFX 7.03 in this way game load faster thanks to the improved wrapper, you can modify memory usage, and extracting content with the dump mode is very quick and easy.
Logged

Seppel

  • Mapper
  • member
  • Online Online
  • Posts: 466
Re: BAT-objects do not look like HSFX-objects
« Reply #11 on: May 16, 2023, 05:26:30 AM »

-> vonOben:

I should double check all the 4000+ objects in BAT. Maybe you were right and the objects hide there somewhere else.
Logged
Kleinigkeiten machen die Vollkommenheit aus, aber Vollkommenheit ist keine Kleinigkeit.
Pages: [1] 2 3 4   Go Up
 

Page created in 0.038 seconds with 27 queries.