Pacific General: Strategies, Tactics, Equipment Files, Customization.
-
AndO3131
- Private

- Posts: 8
- Joined: 2019-12-26 09:29, Thursday
Post
by AndO3131 » 2020-07-22 18:44, Wednesday
I've succesfully decompiled Pacific General executable. If there are people interested in my findings, I've put all the files on
dropbox.
Latest executable can be found
here. Full changelog for this executable is
here. Some of the features it introduces:
- Increased number of files accessible in campaign play to 48
- Possibility to create scenarios with up to 400 map names
- AI controlled forts WILL fire at naval units
- Access to ingame map editor in /hondarules mode
- Fixed prestige bug that occurs when campaign progress is saved after current scenario is completed
- Battle Honors for core units in campaign saved and displayed in goto unit screen
-
Radoye
- Royal Navy Battlecruiser Sqn

- Posts: 422
- Joined: 2019-09-30 11:21, Monday
Post
by Radoye » 2020-07-23 14:14, Thursday
This is most interesting, thank you. Might be just what i need to get back into PacGen

-
HexCode
- First Lieutenant

- Posts: 848
- Joined: 2019-09-30 18:54, Monday
Post
by HexCode » 2020-07-28 17:53, Tuesday
AndO3131 wrote: ↑2020-07-22 18:44, Wednesday
I've successfully decompiled Pacific General's executable ... Latest executable ...
Did you just hex-edit the executable ? Alternatively, did you recompile the executable ?
-
AndO3131
- Private

- Posts: 8
- Joined: 2019-12-26 09:29, Thursday
Post
by AndO3131 » 2020-07-28 18:05, Tuesday
Just hexedited the executable, but in the process I've been able to identify some functions and variables. If you have IDA Freeware Version 5.0, you can check
Pacific General executable database I've created in the process.
-
HexCode
- First Lieutenant

- Posts: 848
- Joined: 2019-09-30 18:54, Monday
Post
by HexCode » 2020-07-28 18:33, Tuesday
Is this a long-term project during which successive waves of additional, technical discoveries will be made and publicly communicated, including further hex-editing of the executable ?
-
AndO3131
- Private

- Posts: 8
- Joined: 2019-12-26 09:29, Thursday
Post
by AndO3131 » 2020-07-28 18:50, Tuesday
It's a hobby project, so no promises
If I discover something new, I'll put it on dropbox.
-
gdemetrios20
- Private

- Posts: 1
- Joined: 2020-11-01 10:03, Sunday
Post
by gdemetrios20 » 2020-11-01 10:04, Sunday
One question
How does all of this work?
-
AndO3131
- Private

- Posts: 8
- Joined: 2019-12-26 09:29, Thursday
Post
by AndO3131 » 2020-12-23 09:38, Wednesday
You download latest executable from dropbox and run it. If it doesn't run, you will need
armory 4.71 data updated.zip and unpack it to data folder in pacific general installation folder (MAKE BACKUP FIRST).
-
Bruceleeroy2021
- Private

- Posts: 1
- Joined: 2021-12-13 12:51, Monday
Post
by Bruceleeroy2021 » 2021-12-13 12:53, Monday
That is amazing.
I look forward to finishing the resolution changes from like 15 years ago, lol.
What tools did you use to decompile the .exe?
-
AndO3131
- Private

- Posts: 8
- Joined: 2019-12-26 09:29, Thursday
Post
by AndO3131 » 2021-12-28 10:25, Tuesday
I've used IDA Freeware Version 5.0 (you can find it on the internet).
Database is available
on dropbox.
IDA can also be used to mark breakpoints and run executable, but at the time I've used
olly debugger.
Also, nice to meet you

I've found your mod and also tried to include some parts of it.
-
B29
- Private

- Posts: 9
- Joined: 2022-04-09 03:53, Saturday
Post
by B29 » 2022-04-09 04:35, Saturday
Good Lord, man, where were you in 2004 when there was still a PacGen community and we desperately needed these fixes!
I haven't been able to play in ten years since I moved to Windows 10. It'll load up but when it takes a plane almost ten seconds to fly across the screen, it's over. Anything you can do to make it run smoothly with more advanced modern graphics cards and displays would be appreciated.
-
AndO3131
- Private

- Posts: 8
- Joined: 2019-12-26 09:29, Thursday
Post
by AndO3131 » 2022-04-09 07:58, Saturday
To run it on modern computer I used
ddraw wrapper. This version worked.
I've read this program can also work, but I haven't tried it myself
ddrawcompat.
-
B29
- Private

- Posts: 9
- Joined: 2022-04-09 03:53, Saturday
Post
by B29 » 2022-04-09 17:49, Saturday
Thanks but that link goes to a beta program called DxWnd, not "ddraw wrapper", or is the latter a generic term?

-
Radoye
- Royal Navy Battlecruiser Sqn

- Posts: 422
- Joined: 2019-09-30 11:21, Monday
Post
by Radoye » 2022-04-09 22:54, Saturday
I think DxWnd is the wrapper he's referring to. This is a tool used to run older fullscreen apps in windowed mode, which helps sometimes with older games that refuse to run on modern OS's
-
AndO3131
- Private

- Posts: 8
- Joined: 2019-12-26 09:29, Thursday
Post
by AndO3131 » 2022-04-10 10:29, Sunday
Just like both of you said - I've used ddraw wrapper as generic term.
Recently, I've learned more about code injection. It's possible to rewrite those code alterations and prepare a dll library, that will include almost all of those changes. Only changes to the executable would be memory management stuff.