[Help Request] Adding new ships/assets into the main.swf

04/23/2022 15:09 #Heizer™#1
Heya guys,

so I'm hosting a Server called PvP-Elysium also known as EpicOrbit.

We've kept many years the same ships, same assets over the year, I kinda got bored and tried to add new Assets to the game - unfortunately it did not work as intended :notsureif: .

Firstly I tought it would be my fault, somewhere I've made an misstake while editing the exported .binary file from the Main.swf, so I tried to do same method on the Public Server (by LEJYONER(DS)/ Yusuf Sahin Hamza [Only registered and activated users can see links. Click Here To Register...])

Well it worked there, exported the SHIPS_XML.bin from the main, added my ship, added the full assets into the spacemap 2D and 3D files, added the ship into the DB and it worked.

So I've checked the md5 hashes of my edited binary file, obv. it changes if I edit the file.

My current Problem is, I cannot enter the Spacemap, I am stuck on the Preloader if I try to enter the game.

My question is, is there any way, to change the hashsum of the main.swf? since I'm exporting a file from it, edit it and replace it again.

Greetings,
Heizer



Images:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
04/23/2022 15:27 PNTX#2
[Only registered and activated users can see links. Click Here To Register...] :kappa:
04/23/2022 15:29 #Heizer™#3
Quote:
Originally Posted by PNTX View Post
[Only registered and activated users can see links. Click Here To Register...] :kappa:
Well, I've joined that discord, since 99,99% of them using the Public Server, no point for me to be there ^^...
04/25/2022 17:35 Armandito13x#4
What ship you want add?
05/10/2022 10:22 -=Flavio=-#5
Quote:
Originally Posted by #Heizer™ View Post
Heya guys,

so I'm hosting a Server called PvP-Elysium also known as EpicOrbit.

We've kept many years the same ships, same assets over the year, I kinda got bored and tried to add new Assets to the game - unfortunately it did not work as intended :notsureif: .

Firstly I tought it would be my fault, somewhere I've made an misstake while editing the exported .binary file from the Main.swf, so I tried to do same method on the Public Server (by LEJYONER(DS)/ Yusuf Sahin Hamza [Only registered and activated users can see links. Click Here To Register...])

Well it worked there, exported the SHIPS_XML.bin from the main, added my ship, added the full assets into the spacemap 2D and 3D files, added the ship into the DB and it worked.

So I've checked the md5 hashes of my edited binary file, obv. it changes if I edit the file.

My current Problem is, I cannot enter the Spacemap, I am stuck on the Preloader if I try to enter the game.

My question is, is there any way, to change the hashsum of the main.swf? since I'm exporting a file from it, edit it and replace it again.

Greetings,
Heizer



Images:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
If the preloader crashed it's possible that something is corrupted, I'm out of time now, but I'll try to get a better look at your problem later.
05/12/2022 17:09 #Heizer™#6
Quote:
Originally Posted by -=Flavio=- View Post
If the preloader crashed it's possible that something is corrupted, I'm out of time now, but I'll try to get a better look at your problem later.
Tried to use also RABCDAsm.

Somehow if I export the binaryData's the main is getting smaller why so ever, nothing is getting removed or deleted inside the main.swf.
img: [Only registered and activated users can see links. Click Here To Register...]

so I tried to replace every single binaryData via RABCDAsm worked well, still the main size is smaller then before.
img: [Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
05/14/2022 18:38 -=Flavio=-#7
Quote:
Originally Posted by #Heizer™ View Post
Tried to use also RABCDAsm.

Somehow if I export the binaryData's the main is getting smaller why so ever, nothing is getting removed or deleted inside the main.swf.
img: [Only registered and activated users can see links. Click Here To Register...]

so I tried to replace every single binaryData via RABCDAsm worked well, still the main size is smaller then before.
img: [Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
It probably has something to do with the compression form of Main.swf, mine is also different in size.
05/15/2022 15:48 #Heizer™#8
Quote:
Originally Posted by -=Flavio=- View Post
It probably has something to do with the compression form of Main.swf, mine is also different in size.
Hmm.. Any idea how to prevent that?
05/15/2022 16:49 -=Flavio=-#9
Quote:
Originally Posted by #Heizer™ View Post
Hmm.. Any idea how to prevent that?
I have no idea, but keep in mind that some .swf you can try to use in the preload can cause this too (make it crash), an example: trying to replace the current KLOn and Klin lasers with their "Crystal1" and "Crystal2" versions " from 2011, to do this it is necessary to create a new laser ammunition and not replace the current ones, besides it is not necessary to put it in the preload.
05/15/2022 17:05 PNTX#10
i always thought the loadingscreen/preloader are validating the checksum of a few given files. if that fails the client wont load.
05/16/2022 11:09 #Heizer™#11
Quote:
Originally Posted by PNTX View Post
i always thought the loadingscreen/preloader are validating the checksum of a few given files. if that fails the client wont load.
I've searched inside the preloader, but couldn't find any refence to the main swf.
If I am connecting to the spacemap, I can see the "hash code" which is visible in the Network logging. [Only registered and activated users can see links. Click Here To Register...]
How ever I was not able to find such an code, checked the resources xml, preloader too and my loadingscreen is not openable ^^

Greetings and thanks to you both for your answers.!

Okay I tried something last night.. well I can change/edit the ship.BIN file - 3D assets getting handled there.
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

as soon as I try to edit the binarydata which is also known as "game.xml/game.php" from older clients, the main.swf won't accept the change^^..
05/17/2022 18:24 -=Flavio=-#12
Quote:
Originally Posted by #Heizer™ View Post
I've searched inside the preloader, but couldn't find any refence to the main swf.
If I am connecting to the spacemap, I can see the "hash code" which is visible in the Network logging. [Only registered and activated users can see links. Click Here To Register...]
How ever I was not able to find such an code, checked the resources xml, preloader too and my loadingscreen is not openable ^^

Greetings and thanks to you both for your answers.!

Okay I tried something last night.. well I can change/edit the ship.BIN file - 3D assets getting handled there.
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

as soon as I try to edit the binarydata which is also known as "game.xml/game.php" from older clients, the main.swf won't accept the change^^..
Which editor are you using?
Also, are you extracting and re-compiling the .XML or just editing right in the editor?
With me it used to work if I saved as .xml first, edited with notepad++ and then saved again.