alexbatalov / fallout2-re Goto Github PK
View Code? Open in Web Editor NEWReverse engineered Fallout 2
License: Other
Reverse engineered Fallout 2
License: Other
First Aid doesn't display a message of you being tired and strained after 3 successful attempts. It won't allow you to make another attempt so that's good, it's just that the message is missing.
Doctor displays strange amount of HP healed.
https://streamable.com/tr894q
Fairly self-explanatory. If I try to hit multiple guys by positioning myself such that they are standing between me and the target, burst fire ignores them and does no damage.
savegame -> https://icedrive.net/s/44vBQ96gjWbZZBVkxBZ6fVFDxQQY
The electrical floor is not working. It does print the message of the floor discharging, but it doesn't actually deal any damage. Also some of the consoles are not opening doors like 2 (and maybe others). If the maze is:
1 2 3
4 5 6
7 8 9
10
then the classical path of 21237 -> take PA MKII -> 89 -> take GECK -> 10 is not working (because at the very least 2 is not working).
Edit: my bad, I meant that 1 is not working :)
Increase skill by 25 points -> Decrease skill by 25 points -> 25 points lost
In vanilla skill points are retained.
Time should fast-forward by one hour even if using skill fails, or it's used on fully healed character
savegame -> https://icedrive.net/s/a9CgGiQ5iT4zx1Aavyi3ugyVNRz4
If I do 4 successful steal attempts in vanilla I get 100xp, in F2RE I'm getting only 40xp (the formula in RE seems to be just a simple multiplication).
Also it feels like I'm having a much easier time stealing/planting items. I do get detected occasionally, but it feels like it happens less often. Possibly there's some problem with the function where the subject of theft tries to detect if anyone is stealing from him?
Edit: Yep, I gave my character 300 steal skill and I can steal/plant the minigun with no problems.
In character screen, I'm unable to assign skill points with the +/- keys on the numpad.
After pressing F6 for a first time and selecting quicksave slot, pressing it for a second time (sometimes more) ends with crash.
Happens both when smashing F6 like crazy, and if there's a delay (like changing maps).
Barehanded punches/kicks seem to be fine, but attacks with spears/knuckles/power fists/knives use CTH penalties as if they were ranged weapons. -60 for eyes -40 for head etc... I'd be also interesting to see whether this affects critical chance, but I think for that it would be easier to just look in the code.
I haven't tried all of the weapons, I assume it's just some mistake that generalizes to all of them?...
savegame -> SLOT03.zip
In vanilla if you try to attack with a weapon with both arms crippled it gives you a message about you not being able to and also disallows you the attack. In RE there's no message and also I can make the attack (in the savefile, switch to the spear).
More script bugs:
At first I wasn't able to talk to the people / the dialog wouldn't initiate, so I saved the game and reloaded -- then the dialog works. However, after picking "I surrender" and being transported to the Slags, the next dialog screen is fucked up and won't show correctly.
My guess is the dialog interface doesn't close correctly before the teleport, which is why the interface breaks on the creation of the next dialog.
Every once in a while, either the music stops in my game, or certain sound effects won't play anymore (reloading weapons, missing hits, clicking on buttons).
Bad news is, I haven't found a 100% repro yet, so don't know what is causing this. However, it happens quite often and gets fixed with reloading a savegame.
On character screen, clicking print button / pressing P
does nothing.
Use lockpicking on the door to the armory. You will be spotted and combat starts. Now reload the savegame -- the game will crash and the savegame is now corrupted.
Interesting side note: If you make multiple saves in the same location (e.g. in slot 1 and slot 2), both saves will get corrupted and won't load anymore.
See video:
https://youtu.be/Frug9GCnLmw
Click on a dead critter to loot them -- player will walk over and inventory opens.
However, if you double click on the dead body fast, the inventory will open instantly, while the player is still far away.
You can test it with the dead bodies here:
SLOT04.zip
Title. Tested with 10mm pistol and hunting rifle.
Greetings.
Please write instructions for compiling the project.
FetchContent_Declare(zlib
GIT_REPOSITORY "https://github.com/madler/zlib"
GIT_TAG "v1.2.11"
)
This does not work.
Clicking options button / pressing O
does nothing.
Seen it in a couple situations already. They have weapons in their inventory, but they don't use them. Sometimes the ai will not move at all due to this, other times they just attack unarmed.
/Edit: Sulik also doesn't pull out his weapon anymore.
Spear, Sharpened Spear- Throw
Knife, Cattle Prod - Thrust
Throwing Knife - Swing
Looks like melee weapons are missing a check for secondary attack.
For some reason I can't talk to Mom. Nothing happens when trying to speak to her. Also the blue jeans Ian critter who is related to the ghost-quest can't be spoken to as well.
Seems to disappear only after cancelling via ESC, if I cancel via the talk button the items remain in inventory.
https://streamable.com/13eg7t
When creating new character, gender is always reset to default value, user changes are ignored
Hello, as far as I understand this project is not 'reverse engineered', but is a decompile.
If so, I don't believe that it's actually legal to publish. Can you please clarify it's status?
see:
Holding shift + left mouse click in the main menu on the credits button should trigger a special rolling screen with quotes from the Fallout 2 development team.
Title.
Fo2 english language version.
savegame -> https://icedrive.net/s/6vRyV9CTVviv7VTjjSVSD3aaPXTV
When I try to unload the minigun the game either outright crashes, or it is unloaded, but the ammo is not added to the container's inventory (so it's just lost).
Edit: There's this #22, although I don't think that this is a duplicate. I'm playing master.
Repro:
Crash is somewhere in proto_instance.c
Edit: Noticed that there were multiple possible code spots for crash.
Edit2: It's here: https://github.com/alexbatalov/fallout2-re/blob/main/src/proto_instance.c#L367-L371
Nitpicky sidenote, "hitPoitsMessageListItem" should probably be "hitPointsMessageListItem"
Using a clean Fallout 2 install from steam, with a local build that includes c7c6a4b
Save: SLOT01.zip
Multiple dead critters over each other - the loot interface is missing the arrows to switch between them.
Just a cosmetic problem on the char screen
First of all, awesome work! This looks like a very promising approach considering a lot of other successful engine reversing projects with a thriving community. The progress is already great.
I noticed some symbols not being named (random example): https://github.com/alexbatalov/fallout2-re/blob/main/src/game_dialog.c#L1806 which is known already as gdProcessChoice_
There's an IDA DB here: https://www.dropbox.com/s/tm0nyx0lnk4yui0/Fallout_1_and_2_IDA68.rar which contains a lot of info (from https://github.com/phobos2077/sfall), not sure if you've looked at it already.
Also, a collection of reversing docs: https://fodev.net/files/fo2
Call structure: https://rotators.fodev.net/atom/F2_function_structure.txt
Symbol (functions/globals) dump: https://fodev.net/files/fo2/symbols.html
I could take a look at writing some code to automatically rename/refactor most raw memory addresses to the already known names, at least as a first pass and contribute as pull requests.
The map light in the Den won't update when resting (try waiting till night / day and see that nothing changes).
My guess is there is something wrong with map_update because if you exit the map and return, the daytime is back to normal.
Dropping money on ground does not create ground item which you can later pick up, money simply poof out of existence.
On a plus side, it's impossible to drop whole stack; 1$ always stays in inventory no matter what.
See savegame:
SLOT01.zip
Just walk away, sulik will follow through the door.
Not sure how pressing 0 interacts with dialog scripts, but from user perspective dialog window should be closed without selecting any option.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.