The 1024x768 Project

Increasing Game Resolution + patchtool; support/discussion/questions

Moderator: thunderchero

User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 6527
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: The 1024x768 Project

Post by thunderchero »

Ok I tested removing the movie.wdf from stbf.res, the trek.exe went nonresponcive, So I guess it looks for file but does not use it lol

as for *_load.tga I think it is also set by trek.exe since it only flashes right after the race avi. I found at 0043D6F9 (I am sure you found this already) but not found size to edit :wink:

also when you have some time I thought it would be nice to have a list of locations/descriptions that get edited in the trek.exe for the 1024x768 project in Solutions; Bug fixes and recoding of game section?

thunderchero
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 6527
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: The 1024x768 Project

Post by thunderchero »

Hi,

I started an expanded version of 1024 vanilla and ran into a problem in redeploy screen. It will only display 3 per row I would like it to display 5 per row, so more could be displayed. I have found at 0x1807d4 is for the size of tga used and at 0x180714 is for the bracket around image when you hoover over image. But have no idea how to increase how many per row.



thanks for any help

thunderchero
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2070
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: The 1024x768 Project

Post by Tethys »

Looking gooood :)
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod
User avatar
QuasarDonkey
Code Analyst
Code Analyst
Posts: 433
Joined: Tue Jul 26, 2011 8:29 pm
Location: Ireland

Re: The 1024x768 Project

Post by QuasarDonkey »

Yeah, that's looking great. I quickly found the locations for the number of ships per row in the deployment screen. I'll put it into the patch in a future release. Here are the two ASM locations that need to be patched:

Code: Select all

4FEA9F    03 00 00 00
4FEABD    03 00 00 00
Change the 3's to 5's and it will work for you (3 is the number per row).


P.S. Here's how I found it: using IDA, I searched for "shpdpy.wdf". That lead me to the UI_Armament_* subroutines. Then I looked at all cross-references to the Widget_SetPosition subroutine since we're interested in widget positions. I examined the 6 calls to Widget_SetPosition from UI_Armament. I noticed one call which was preceded by those number 3's. I changed them 5's using OllyDebug, and voila.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 6527
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: The 1024x768 Project

Post by thunderchero »

thanks QD,

I think I change both of those just never at same time lol It worked perfect even on saved game. :wink:



thunderchero
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2070
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: The 1024x768 Project

Post by Tethys »

That 9 ship fleet is looking a little empty, I see room for 6 more ships at least ;)

^ that was a joke btw but hey feel free :)
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 2589
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: The 1024x768 Project

Post by Flocke »

Tethys wrote:That 9 ship fleet is looking a little empty, I see room for 6 more ships at least ;)

^ that was a joke btw but hey feel free :)
Thought the same. :lol:
Looks really great! :D
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2070
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: The 1024x768 Project

Post by Tethys »

Great minds think alike, so much room ;)
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 6527
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: The 1024x768 Project

Post by thunderchero »

Tethys wrote:That 9 ship fleet is looking a little empty, I see room for 6 more ships at least ;)

^ that was a joke btw but hey feel free :)
16 more if you reduce size of box and move experiance bar closer. :wink:



If you are going to dream dream big lol

thunderchero
User avatar
Peter1981
Rear-Admiral
Rear-Admiral
Posts: 1118
Joined: Tue May 06, 2008 2:00 am
Location: England

Re: The 1024x768 Project

Post by Peter1981 »

@TC -- you've posted these kinda photoshops before --- remember how long the energy screen project took lol ;) --- but let us keep inspiring the search to turn botf into the game it should have been :)

@QD great work finding the row display limit number :D -- (nice explanation of the how as well)
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2070
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: The 1024x768 Project

Post by Tethys »

Ah hell TC I took your pic and added 2 more ships for a total of 28 just for kicks and giggles...
2r2vmvl.jpg
2r2vmvl.jpg (75.4 KiB) Viewed 3912 times
Also, if we can do away with some of that useless bottom gui.... :lol: :roll:
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod
User avatar
anjel
Past Administrator
Past Administrator
Posts: 666
Joined: Thu May 08, 2008 2:00 am
Location: Bs As - Argentina

Re: The 1024x768 Project

Post by anjel »

yep, all above images looks really exciting, and it was nice to know how qd fouind out the solution for this situation, though i don´t fully understand it, lol. But i hope someday i can.
Btw, these great project it´s going to be showed on the november newsletter, paraphrasing some QD words as how it´s going to be like the software.
Live long and propser
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 6527
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: The 1024x768 Project

Post by thunderchero »

Well I have a new request I tried to find it but all I got was a lot of crashes lol,

this one it would be nice to increase from 6 to 9 maybe 10 depending on space. the *bshpinf.wdf is the wdf used.



thanks in advance

thunderchero
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2070
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: The 1024x768 Project

Post by Tethys »

Wow, combat looks great in 768 :D

For those who may have missed it, the above comment is a rhyme ;)
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 873
Joined: Sun Apr 27, 2008 2:00 am

Re: The 1024x768 Project

Post by Spocks-cuddly-tribble »

thunderchero wrote:this one it would be nice to increase from 6 to 9 maybe 10 depending on space. the *bshpinf.wdf is the wdf used.
Try this:

if more ships than
004AABB5 sub esi, 6
then -> sub_5445B0 edx0_show_scrollbar
and
004AAD13 mov ebx, 6
-> sub_544780 show_max_items_ebx

sub_4AA430 shipInfoListSize
004AA441 add edi, 30h // 48 = 8 * 6 items
004AA474 mov edx, 6

sub_4AA350 shipInfoItem
004AA366 lea eax, [ebp+6]
004AA371 lea ebp, [edx-6]
004AA382 cmp ebx, 6
004AA38B mov eax, 6

-> +8* new objects each ?
004AB03C mov eax, 38h
004AB0BB add esi, 30h
004AB1F9 add esi, 30h

004AB377 mov ebx, 6

004AA4BC mov eax, 30h +8* new objects
004AA4E7 mov ebx, 6
004AA552 cmp esi, 6
004AA570 cmp esi, 6


@ QD - Thank god he hasn't noticed yet all the other stuff to adjust (like the F1 task forces column), so I strongly recommend either not logging in anymore or buying shotguns...
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
Post Reply

Return to “Increasing Game Resolution + patchtool”