launcher GUI with J-shipedit

Building mod; showcase and support/discussion/questions/suggestions/reviews

Moderator: thunderchero

User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 2175
Joined: Sun Apr 27, 2008 2:00 am

Re: launcher GUI with J-shipedit

Post by Spocks-cuddly-tribble »

thunderchero wrote: Tue Apr 09, 2024 11:13 amJ-shipedit only reads first 125 lines of database.txt all other line are ignored.
That's a pity. I suppose this limitation is not easy to change? I'll have a look into the code using IDA-pro. Your download link is broken:
thunderchero wrote: Wed Nov 23, 2022 1:24 pmdifficulty
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is....
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 8505
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: launcher GUI with J-shipedit

Post by thunderchero »

Spocks-cuddly-tribble wrote: Tue Apr 09, 2024 11:52 am Your download link is broken
here is working vanilla
to use
just add difficulty folder to vanilla install path
open difficulty folder and execute start.exe
vanilla.zip
note; if J-shipedit is used (slider, or upgrade) J-shipedit does not revert back to original settings until J-shipedit is opened again and make no changes to slider/check boxes
You do not have the required permissions to view the files attached to this post.
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3662
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: launcher GUI with J-shipedit

Post by Flocke »

Spocks-cuddly-tribble wrote: Tue Apr 09, 2024 11:52 am That's a pity. I suppose this limitation is not easy to change? I'll have a look into the code using IDA-pro.
It is a UPX compressed executable. To decompress, use:
https://github.com/upx/upx/releases/dow ... -win64.zip

On the commandline then decompress with:

Code: Select all

.\upx -d .\J-shipedit.exe
Makes it alot easier to analyse and fix the executable. :lol:

The IDA code looks like one horrible huge messy routine.
And there seem to be multiple hard-coded loop iterations for 125 ships. :shock:

E.g. see:
j-shipedit-counter.jpg
j-shipedit-limit.jpg
j-shipedit-var_57C64.jpg
Looks like even if patched, it'll remain a B194 only tool. And by the horrible implementation, that's probably for the good. :mrgreen:

edit: note: mov ebx, 7Dh above is encoded to BB 7D 00 00 00 and likewise for all other locations above,
so it is not signed byte limited, which makes patching it alot easier :!:
You do not have the required permissions to view the files attached to this post.
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 2175
Joined: Sun Apr 27, 2008 2:00 am

Re: launcher GUI with J-shipedit

Post by Spocks-cuddly-tribble »

Thanks guys, I will check this out.

Yeah, back in the day Joker compressed everything. When ornamental fishes suck a pebble it was probably once a cake compressed by Joker....

Sounds almost as if we could just use the hex editor replace function for all '7D 00 00 00' -> 'FF 00 00 00' in the uncompressed file.
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is....
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3662
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: launcher GUI with J-shipedit

Post by Flocke »

Spocks-cuddly-tribble wrote: Wed Apr 10, 2024 4:58 pm Sounds almost as if we could just use the hex editor replace function for all '7D 00 00 00' -> 'FF 00 00 00' in the uncompressed file.
Most likely yes, but without further fixture I think you will have to add another 130 ships this case. :mrgreen:
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 8505
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: launcher GUI with J-shipedit

Post by thunderchero »

Flocke wrote: Wed Apr 10, 2024 5:32 pm
Spocks-cuddly-tribble wrote: Wed Apr 10, 2024 4:58 pm Sounds almost as if we could just use the hex editor replace function for all '7D 00 00 00' -> 'FF 00 00 00' in the uncompressed file.
Most likely yes, but without further fixture I think you will have to add another 130 ships this case. :mrgreen:
I am done... (washing hands now)
Post Reply

Return to “Building mod”