Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 6 7 8 [9] 10 11 12 ... 50   Go Down

Author Topic: msh Binary format  (Read 109357 times)

0 Members and 3 Guests are viewing this topic.

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #96 on: April 26, 2014, 12:48:27 PM »

Thanks, that allowed me to load the corsairs and test them.



Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23875
  • Taking a timeout
    • STFU
Re: msh Binary format
« Reply #97 on: April 26, 2014, 12:53:14 PM »

What is the _ExternalDev hook used for?
That's mostly for pylons and droptanks, basically anything attached externally and not being a Bomb (including Torps) or Rocket.
That said, it's a "Dev" (read: device) attached externally ("_External"), hence parasite mass and drag will be accounted for.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #98 on: April 26, 2014, 02:52:08 PM »

That's an awful lot of drop tanks  ;D

Think it would affect the flight performance ?

Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #99 on: April 26, 2014, 03:16:21 PM »

anyone know where I can find haltedbrit.tga?
Logged

hello

  • member
  • Offline Offline
  • Posts: 287
  • aka Aufpassen! aka Alfie!
Re: msh Binary format
« Reply #100 on: April 26, 2014, 04:01:52 PM »

What plane or mod is it from?
Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #101 on: April 26, 2014, 05:07:47 PM »

The B-26.

Bomb bay doors open

Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23875
  • Taking a timeout
    • STFU
Re: msh Binary format
« Reply #102 on: April 27, 2014, 01:07:16 AM »

That's an awful lot of drop tanks  ;D
Post edited, in fact it's being used for pylons as well.
However there's always a lot of modders who are confusing this and tend to use those hooks for rockets etc. as well, so you can't safely distinguish the meaning just by the hook's name.

anyone know where I can find haltedbrit.tga?
That's a base game texture.
You can find it attached to this post.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.

hello

  • member
  • Offline Offline
  • Posts: 287
  • aka Aufpassen! aka Alfie!
Re: msh Binary format
« Reply #103 on: April 27, 2014, 01:45:28 AM »

:) :) This is looking extremely good. What is still missing? Air brakes, canons, rotate turrets, open canopy? Can't think of much more :D
Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #104 on: April 28, 2014, 02:24:09 AM »

My job list at the moment.

Fix landing gear problems
Finish binary loader (doesn't load collision mesh yet)
Finish text mode mesh writer (doesn't save collision mesh yet)
Write pre-loader to scan files for common errors
Test,Test,Test,Test,Test.


I've found several bugs in the files which appear frequently, probably artefacts of the various exporters.

For example I find the first face in the face list is often 0 0 0.0000001 which not only is a degenerative triangle, but crashes my loader as 0.000001 is not an integer.

I also find random data dropped in the middle of a HIM file, it looks like the exporter writes out two floats after writing an attaching line.

After that I want to add an option to save an aircraft.

After that I am up for suggestions.
Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #105 on: April 28, 2014, 04:01:55 AM »

That texture allowed me to test the B-26

It looks like one of the MGUN hooks is in the wrong place.

Logged

Stainless

  • Modder
  • member
  • Offline Offline
  • Posts: 1534
Re: msh Binary format
« Reply #106 on: April 28, 2014, 04:26:31 AM »

I'm trying to understand what's happening with the landing gear, and I've come to the conclusion that there must be more data somewhere for the system to work.

What are the files with names like "00D281A877186364" ?

I assumed they were compiled java class files, but they don't decompile.
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23875
  • Taking a timeout
    • STFU
Re: msh Binary format
« Reply #107 on: April 28, 2014, 05:01:29 AM »

Landing gear animation is done in Java code.
Files like "00D281A877186364" are hashed java classfiles.
You can unhash them using the "classresolver" which is available e.g. here: https://www.sas1946.com/main/index.php?topic=25295.0

Once you resolved the class to it's original name (which is basically available inside the hashed class file in plain text already) you should be able to decompile them e.g. using DJ Java Decompiler.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.
Pages: 1 ... 6 7 8 [9] 10 11 12 ... 50   Go Up
 

Page created in 0.031 seconds with 27 queries.