Better HN
topnewbestaskshowjobs
Log inSign up

LowLevelMahn

416 karma · joined Dec 9, 2021 (4y ago) · 63 submissions

Submissions

comment 1y ago · link · parent

Thomas Fach-Pedersen aka madmoose from the "dune reborn" community - know for its early work on the reversing that let to the ScummVM/Blade-Runner port, pushed some of his current Dune1 reversings online

a Rust/WASM based viewer for Dune1 Rooms and a rotateable sandy Globe

Room-Viewer: https://thomas.fach-pedersen.net/dune/room/

Globe: https://thomas.fach-pedersen.net/dune/globe/

all very far from a playable game but having Blade Runner in ScummVM tooked also over a decade of reversing :)

32.

DOS Game "Dune1" Reversing: Room and Globe Viewer(mastodon.social ↗)

4 points · by LowLevelMahn · 1y ago · 2 comments

comment 2y ago · link · parent

they easily can :)

void test(int& y){}

int main() { int* x = nullptr; test(*x); }

comment 2y ago · link · parent

porting over to recent platforms is for most reversing projects the main goal and there are no modern system changes that can harm such an small code base with so few dependecies :) mostly SDL fits all needs for all relevant platforms and i think he will keep DOS compilation ability even when ported to other systems

35.

DOS game "F15 SE II" reversing: more stories and now on GitHub(github.com ↗)

73 points · by LowLevelMahn · 2y ago · 14 comments

comment 2y ago · link · parent

how?

comment 2y ago · link · parent

Spice86 is some sort of tracking emulator like Dosbox giving you the ability to replace original code parts with C# - i don't think that Spice86 can emulate Win16 currently

comment 2y ago · link · parent

thats why i love hackernews - always information that is briliant but never stumbled over it

comment 2y ago · link · parent

wow 3dica is a cool tutorial - thanks for the link

comment 2y ago · link · parent

There is a discord chat (by the author) for technical discussion: https://discord.com/channels/819897993624682516/115556447082...

comment 2y ago · link · parent

IDA Pro disassembler fully supports 16Bit DOS executables (they only removed the support from the recent free versions - thats why most using IDA Pro Free 5.0) but Hexrays the decompiler does sadly not support 16bit code (intentionaly) but i think the Hexrays guys could do wonders here (in comparison what Ghidra is able to do)

comment 2y ago · link · parent

Spice86 is currently not a real decompiler - but its more and more becoming one

43.

DOS game “F-15 Strike Eagle II” reverse engineering/reconstruction war stories(neuviemeporte.github.io ↗)

230 points · by LowLevelMahn · 2y ago · 105 comments

comment 2y ago · link · parent

im not the author of these blogs but love to read his tales of reconstructing the C code part by part using IDA/Ghidra and some of his own tools - maybe others are interested in reading too :)

read from bottom up

comment 4y ago · link · parent

someone gets it build and running

https://www.youtube.com/watch?v=gqXTzlDZmhU

see comments on youtube

comment 4y ago · link · parent

are there any files in the source release that can also be found the in the CD release - are they 100% equal or do we maybe got sources of a pre 1.0 or post 1.0 version?

comment 4y ago · link · parent

sorry this is Bens Branch: https://github.com/benstone/Microsoft-3D-Movie-Maker/commits...

comment 4y ago · link · parent

Ben Stone is also working on it - maybe join forces :)

https://github.com/benstone/Microsoft-3D-Movie-Maker

there are a few that started to port: https://github.com/microsoft/Microsoft-3D-Movie-Maker/networ...

comment 4y ago · link · parent

he should just use the original system - porting to newer system always happen AFTER getting it to build on the original platform

comment 4y ago · link · parent

builds for me under fresh XP with VC++ 2.0 until some globutil.obj file could not be build by nmake

comment 4y ago · link · parent

maybe a step by step upgrade from 2.x->4.x->5.x->6.x needed

there are subtile changes between the very early studio versions but when reaching VS2005/2008 everything is fine for upgrade

comment 4y ago · link · parent

im also shocked :)

comment 4y ago · link · parent

i would use a real Win95,98,XP in virtualization, there could be many micro flaws using Wine with this old stuff :)

comment 4y ago · link · parent

Visual C++ 2.x can be downloaded here: https://winworldpc.com/product/visual-c/2x

hope they will every release the good old Basic Compiler bascom/basrun stuff

comment 4y ago · link · parent

i've finished my project: alpha_waves_loader

a executable extractor and starter for the DOS game Alpha Waves

about the game:

Moby: https://www.mobygames.com/game/dos/continuum

Youtube: https://www.youtube.com/watch?v=u9qAtVwSIV8

my project:

github: https://github.com/LowLevelMahn/alpha_waves_loader

release of the tools: https://github.com/LowLevelMahn/alpha_waves_l … g/Release-0.0.3 (the zip file)

benefits:

-for gamers: near to null (the game runs flawless in dosbox)

-for developers: a nice technical journey (see github history) for developers about reversing a dos game loader (disassembling, analysis, porting, etc.)

-for reversers: the game executables now getting uncompressed and the starting of the game is well documented

- its the perfect start if one ever wanted to reverse engineer the game code itself

if you want to try:

1. download: https://github.com/LowLevelMahn/alpha_waves_l … lease-0.0.3.zip

2. extract the (32bit windows) extractor.exe and (16bit dos) starter.exe into the Alpha Waves gaming folder

3. run extract.exe with the path to progs.cc1 as first parameter "extractor.exe c:\games\alpha"

4. run starter.exe under real DOS/32bit Windows or Dosbox with "starter.exe vga adlib"

refresh your childhood memories

56.

A executable extractor and starter for the DOS game Alpha Waves(github.com ↗)

2 points · by LowLevelMahn · 4y ago · 1 comment

comment 4y ago · link · parent

fixed ONLY the compilation (still crashes) for gcc 11.2.0 under Ubnutu 21.10 https://filetransfer.io/data-package/Xp1NUg99#link (that should still build/run on your debian 3)

there is a string struct with this inner char s is super-evil

in kernel.h

    /\* all strings on the stack will have this format. */
    typedef struct {
     unsigned int l; /* length of string */
     char s;  /* string itself \*/ 
            // the rest of the string data
    } string;
string get allocated by malloc(sizeof(string)+stringlen+1) and member char s is then used as the first char + the rest chars from the attached memory

the memory managment is overall a little dirty and i think it will take some time for a experienced C developer to get that clean and running with todays compiler/checks etc.

comment 4y ago · link · parent

how far can you go up from Debian 3, build the code and it runs fine?

Debian 3, 3.1, 4, 5?

123