Post ArEqmH3TiUj4e1o9K4 by [email protected] | |
More posts by [email protected] | |
Post #ArC99cPrg76rFvgFCy by [email protected] | |
0 likes, 0 repeats | |
Separate thread (from Bible Builder) for hacking on Captain Bible in Dome of Da… | |
Post #ArC9ITFD9FnHPruzK4 by [email protected] | |
0 likes, 0 repeats | |
it looks to use a very similar DAT format to Bible Builder, including .ART chun… | |
Post #ArC9L34Qv0F36m6djk by [email protected] | |
0 likes, 0 repeats | |
Bible Builder was 1992, Captain Bible was 1994. | |
Post #ArCAQwKF0cnhsesCES by [email protected] | |
0 likes, 0 repeats | |
@Unlikelylass yep, and it's even weirder than you'd expect:https://www.… | |
Post #ArCAlGMcDVMzotfsrg by [email protected] | |
0 likes, 0 repeats | |
oh yeah, the thing that nerdsniped me last time: the fact you can only see the … | |
Post #ArCAuML1NFDIxHGZgO by [email protected] | |
0 likes, 0 repeats | |
hopefully that won't happen this time.but on an unrelated note I've alr… | |
Post #ArCB6BmgRFsPhKqW48 by [email protected] | |
0 likes, 0 repeats | |
this, btw, is the only game I know of where your boss prays with your character… | |
Post #ArCBQ34IYOPCSRYSvY by [email protected] | |
0 likes, 0 repeats | |
also I think this game is technically a metroidvania? it's just one where t… | |
Post #ArCBSqo0bQlNIJGuh6 by [email protected] | |
0 likes, 0 repeats | |
@foone You need to play more WH40k :-) | |
Post #ArCBi03OV60WJwgxXc by [email protected] | |
0 likes, 1 repeats | |
@foone Imagining a Metroid where you play as Christ and have to unlock his powe… | |
Post #ArCBmOACnp4cFpyEvA by [email protected] | |
0 likes, 0 repeats | |
@TomF no, I'm allergic | |
Post #ArCCGybNtFNrxBGiW0 by [email protected] | |
0 likes, 0 repeats | |
I restored an earlier save (for cheat-finding reasons) continued playing, then … | |
Post #ArCCpVBtES8Ss6o5WS by [email protected] | |
0 likes, 0 repeats | |
1 Corinthians 15:4-6 is really the Hookshot of Captain Bible | |
Post #ArCDXYxqZ0D1JhFRvk by [email protected] | |
0 likes, 0 repeats | |
@foone About 30 years ago (fuck) after lunch I and some coworkers stopped in at… | |
Post #ArCFKPHzQLXlSBWZOq by [email protected] | |
0 likes, 0 repeats | |
@jonhendry hah, oh dear! | |
Post #ArCGMo9u1we57PRzf6 by [email protected] | |
0 likes, 0 repeats | |
yeah the DAT format is similar enough that my bible builder tools can open it | |
Post #ArCH9iqGaQ5sooaddo by [email protected] | |
0 likes, 0 repeats | |
but the way I cheated at compression isn't gonna work here, not without red… | |
Post #ArCHHcZXmTrngqXCbY by [email protected] | |
0 likes, 0 repeats | |
@foone feeling squeezed? | |
Post #ArCIDqBFLPQigsvlvU by [email protected] | |
0 likes, 0 repeats | |
oh hey, multi-return! that's not something you can do in C! (I mean, at lea… | |
Post #ArCIkJ6DMOUheD3g3c by [email protected] | |
0 likes, 0 repeats | |
WHAT DO YOU MEAN PART OF THE DECOMPRESSION ALGORITHM IS RECURSIVE | |
Post #ArCKXLbmv46PZcm60e by [email protected] | |
0 likes, 0 repeats | |
@sophia81 yeah, that's what I did (well, what I told Ghidra the "compi… | |
Post #ArCLbZeElLm6EFV1sm by [email protected] | |
0 likes, 0 repeats | |
@sophia81 hugs are nice and all but they cannot solve the problem of THIS COMPR… | |
Post #ArCP1Vg0S0kRIrNyvg by [email protected] | |
0 likes, 0 repeats | |
@foone this has to be a Bible Man ripoff | |
Post #ArCP1VqdoTFrpqMTVQ by [email protected] | |
0 likes, 0 repeats | |
@mmcknett it predates bibleman by a year! | |
Post #ArCQAktBMOn92oWNCS by [email protected] | |
0 likes, 0 repeats | |
ghidra is asking me philosophical computer science questions, like "can yo… | |
Post #ArCQZeQAXr0ADwp0L2 by [email protected] | |
0 likes, 0 repeats | |
I don't mean to alarm anyone, but I just realized the decompression algorit… | |
Post #ArCQhPxoBIiBhZGA3E by [email protected] | |
0 likes, 0 repeats | |
OH GOD I THINK IT USES A DOUBLERETURN | |
Post #ArCQl30lSXldftNCOe by [email protected] | |
0 likes, 0 repeats | |
double return is a secret feature never included in C, where you can do "r… | |
Post #ArCQpj5kwm4bLLwHRI by [email protected] | |
0 likes, 0 repeats | |
you of course can't really do this in Cbut you can in x86 assembly: pop you… | |
Post #ArCQtOZjAXvWs2hvAe by [email protected] | |
0 likes, 0 repeats | |
@foone It really sounds like someone wrote it in assembler. Or maybe a mix of C… | |
Post #ArCRnAK1Lk2ushxCmO by [email protected] | |
0 likes, 0 repeats | |
@foone Naughty naughty!😉 | |
Post #ArCTPCgT7F7dAK9hp2 by [email protected] | |
0 likes, 0 repeats | |
@foone TCL intentionally supports doing this. I don't know why. https://wik… | |
Post #ArCYljfxdJybd5Tut6 by [email protected] | |
0 likes, 0 repeats | |
oh goody the recursive function is using tagged pointers.15 bit pointers... | |
Post #ArCYr2dAaQEJrhhpiK by [email protected] | |
0 likes, 0 repeats | |
32kb ought to be enough for anyone! | |
Post #ArCa2zlt8wWyQU32MS by [email protected] | |
0 likes, 1 repeats | |
@foone Yes, but you do get longjmp, which can not only return to your caller, y… | |
Post #ArCaoXzdj1BGAp9e52 by [email protected] | |
0 likes, 0 repeats | |
@foone RET is nothing more than POP IP (and on some RISC processors that's … | |
Post #ArCcHYRjDg1hvlgkAS by [email protected] | |
0 likes, 0 repeats | |
@foone it's a good page size even for 8-bit cpus if you ROM is below 16kb �… | |
Post #ArCdmyFFRzY4sKOYqW by [email protected] | |
0 likes, 0 repeats | |
@foone trata a the size for Mac code segments for classic Mac in 68k… precise… | |
Post #ArCiUvIeA4Z4IcCMgy by [email protected] | |
0 likes, 0 repeats | |
@foone we have longjmp at home | |
Post #ArClWz63JcesW5ywsK by [email protected] | |
0 likes, 0 repeats | |
@foone you shouldn't ever need more numbers than you can store in your mind | |
Post #ArD810A07hPrUjXzsm by [email protected] | |
0 likes, 0 repeats | |
@foone missed opportunity to rename the format to WAB (Where’s All The Bible!… | |
Post #ArD810KzSqCs2ogm0m by [email protected] | |
0 likes, 0 repeats | |
@domi I know, right? | |
Post #ArE66cxdHm90WvHEPo by [email protected] | |
0 likes, 0 repeats | |
trying to get back to compression hacking and I can't find the source. ther… | |
Post #ArE9jIJuGFKTfbpCSm by [email protected] | |
0 likes, 0 repeats | |
AHHH HOW DO I SUPPORT HAVING AN ARRAY THAT'S ALSO SOME LOCAL VARIABLES IN P… | |
Post #ArE9pQb4Ouqd4smGyO by [email protected] | |
0 likes, 0 repeats | |
@foone and you adjust the compression level by telling it to cry harder? | |
Post #ArEAOIca2ug8Te70UK by [email protected] | |
0 likes, 0 repeats | |
@parsingphase this is a decompression implementation, even I am not mad enough … | |
Post #ArEBE7C5mFbC5vQimG by [email protected] | |
0 likes, 0 repeats | |
@foone Do you mean like:a = 6b = 7c = -3array = [a, b, c]? | |
Post #ArEBE7Mj8i6ccuPDM0 by [email protected] | |
0 likes, 0 repeats | |
@cazabon kinda, but I want array[1] to change b | |
Post #ArEBbJtki2xQ9kutTU by [email protected] | |
0 likes, 0 repeats | |
@foone @cazabon You could do that with object fields (either same object as the… | |
Post #ArEC5D8MQKf9rf0E0O by [email protected] | |
0 likes, 0 repeats | |
okay I have rewritten 90% of the decompression routine I don't understand i… | |
Post #ArEMlWelEEUo7IyPyq by [email protected] | |
0 likes, 0 repeats | |
@foone, the other 90%, surely. | |
Post #ArEqmH3TiUj4e1o9K4 by [email protected] | |
0 likes, 1 repeats | |
@foone the `locals()` built-in function returns IIRC an instance of the Namespa… | |
Post #ArFXSV8By7duXPpYjw by [email protected] | |
0 likes, 0 repeats | |
what the fuck does unaff_00000015 mean, ghidra?an unaffected... 15 constant? | |
Post #ArFXjPQsPRI9mqdHMW by [email protected] | |
0 likes, 0 repeats | |
it was caused because this function takes a parameter in BP. You're not sup… | |
Post #ArFXovgHwApXFgTPrk by [email protected] | |
0 likes, 0 repeats | |
@foone Ghidra called U Naff? Burn! | |
Post #ArFXtY8sshdlhC3I92 by [email protected] | |
0 likes, 0 repeats | |
if I instead tell it bp_parameter is a word, it just stops decompiling an iVar7… | |
Post #ArFbCvVUXIRxWZYdfM by [email protected] | |
0 likes, 0 repeats | |
@foone Concat() is the standard function for concatenating chars, packed char a… | |
Post #ArFbCvg7tkxO3YX8F6 by [email protected] | |
0 likes, 0 repeats | |
@riley this is the ghidra contact, which is a sort of pseudo-operation to repre… | |
Post #ArFdypy2dQ5I9Usvrs by [email protected] | |
0 likes, 1 repeats | |
@foone [insert fortran reassigning 1 gag] | |
Post #ArFjZS5srHL6axpdeS by [email protected] | |
0 likes, 0 repeats | |
@foone I appreciate that you give us credit for knowing what you're talking… | |
Post #ArGE756JqigTkpzGjI by [email protected] | |
0 likes, 0 repeats | |
I caught myself thinking "at this rate, maybe I should just write an x86 m… | |
Post #ArGECVXuxEPDDjU3Oa by [email protected] | |
0 likes, 0 repeats | |
my brain is constantly coming up with weirder and worse solutions to this "… | |
Post #ArGEFnOP3e0ZRIbKt6 by [email protected] | |
0 likes, 0 repeats | |
anything to avoid having to reverse decompression | |
Post #ArGEKvJn1BGfT4t8qW by [email protected] | |
0 likes, 0 repeats | |
I haven't even completed this script enough for it to run, and already I… | |
Post #ArGEOeNJxCLg4vJivA by [email protected] | |
0 likes, 0 repeats | |
I might even switch to my terrible "implement bochcpu-lib emulation from p… | |
Post #ArGEd9uNVjxfvmhJlA by [email protected] | |
0 likes, 0 repeats | |
@foone this is me halfway into anything I’ve ever written in Python | |
Post #ArGKce6oL97N21eSmW by [email protected] | |
0 likes, 0 repeats | |
okay I wrote a module to let me define some memory and then define multiple var… | |
Post #ArGKg95DdPmXxvZkvY by [email protected] | |
0 likes, 0 repeats | |
so basically I removed type safety from python, kinda. | |
Post #ArGKjcGfaDgtLhaR7o by [email protected] | |
0 likes, 0 repeats | |
but this'll make it way easier to port the decompiled decompression routine… | |
Post #ArGKrORIsgaomGGjcO by [email protected] | |
0 likes, 0 repeats | |
I'm gonna have two of these Memory objects for DS and ES, and since I haven… | |
Post #ArGKuxDo1A6tWOeZlI by [email protected] | |
0 likes, 0 repeats | |
if it does end up mattering, I'm gonna cry a lot, then implement OVERLAPPIN… | |
Post #ArGSHFR5g49y3uRe6a by [email protected] | |
0 likes, 0 repeats | |
@foone So you implemented the FORTRAN "COMMON" block in python?(I kee… | |
Post #ArGTFSzCQYWjSi762a by [email protected] | |
0 likes, 0 repeats | |
@SvenGeier pretty much! | |
Post #ArH26hcc8i8Kdx6cme by [email protected] | |
0 likes, 0 repeats | |
@foone | |
Post #ArHO5HuKSOqDat7e9w by [email protected] | |
0 likes, 0 repeats | |
My everything hurts, I'm starving and can't eat, my brain is fogged, an… | |
Post #ArHOEswi7PHj4ZoRyi by [email protected] | |
0 likes, 0 repeats | |
I should build an x86 usb device. It's stupid because I literally am on an … | |
Post #ArHPOXOdC6yf5V2TCa by [email protected] | |
0 likes, 0 repeats | |
@foone this is how x86 came to be in the first place, right? Godspeed. | |
Post #ArHQ212GvheQJ3PBDc by [email protected] | |
0 likes, 0 repeats | |
@foone did you ever look at dosemu2 by chance? :) | |
Post #ArHQ21BqM7J6mjsp8a by [email protected] | |
0 likes, 0 repeats | |
@jschwart I wrote a bunch of now abandoned code that uses it, yeah. I was embed… | |
Post #ArHSQOOfvMSLcPdSmO by [email protected] | |
0 likes, 0 repeats | |
@foone nice!! It would seem great if you could share this. Might it make sense … | |
Post #ArHSQOa1FBWwBawWSe by [email protected] | |
0 likes, 0 repeats | |
@jschwart I never finished cleaning it up into a releasable state, but I will i… | |
Post #ArHSWqNmmrPy9UIOvY by [email protected] | |
0 likes, 0 repeats | |
@[email protected] Would you like well-meaning suggestions of "easy food… | |
Post #ArHSWqXMDH4edAm2qW by [email protected] | |
0 likes, 0 repeats | |
@smh nah. Not needed. This is a medical issue I know the bounds of well enough. | |
Post #ArHcAfFAWItomAKNuK by [email protected] | |
0 likes, 0 repeats | |
I finally went and confirmed something I assumed:The compression routines from … | |
Post #ArHcV1eIvWrc3ZnHIO by [email protected] | |
0 likes, 0 repeats | |
@foone can you give the address of the decompression function for those who wan… | |
Post #ArHcV1oaJJ5SZSbUJs by [email protected] | |
0 likes, 0 repeats | |
@r 1000:cd0b in bible builder, 1000:9ca4 in captain bible | |
Post #ArHcWEslDBzVO88Nk0 by [email protected] | |
0 likes, 0 repeats | |
okay it was recompiled/reassembled: some globals are in different locations.but… | |
Post #ArHdTJX7YyAitlBK40 by [email protected] | |
0 likes, 0 repeats | |
@foone what the actual fack. You .. can't do that.. that's illegal!`lol… | |
Post #ArHdTJhkvQg9Qk9odk by [email protected] | |
0 likes, 0 repeats | |
@tezoatlipoca the only rule of of x86 assembly is to have fun and be yourself | |
Post #ArHfMhvCgltcQ2QK2a by [email protected] | |
0 likes, 0 repeats | |
@foone reproducible builds in the early 90s? | |
Post #ArHfMi5q3EP2x1OocK by [email protected] | |
0 likes, 0 repeats | |
@KormaChameleon heh. no, I think it's just that they assembled it to an OBJ… | |
Post #ArHicgazgbg4noHVfU by [email protected] | |
0 likes, 0 repeats | |
alright, I ported over enough of the decompression algorithm for it to run for … | |
Post #ArHiiIwIYLUjAevRBo by [email protected] | |
0 likes, 0 repeats | |
it "decompressed" to the compressed input, but with 3 bytes missing f… | |
Post #ArHioWvbSKIEIHZKhE by [email protected] | |
0 likes, 0 repeats | |
if you decompress a file and it gets smaller, you fucked up.(or it has really h… | |
Post #ArHj5tbIPgz3XBLp4K by [email protected] | |
0 likes, 0 repeats | |
@foone Close enough for government work. Ship it! | |
Post #ArHjArHmRmNhnqaaPY by [email protected] | |
0 likes, 0 repeats | |
@foone Wait a second... How did you get your hands on the very thing I'm wo… | |
Post #ArHjjhik0BNiGxocJk by [email protected] | |
0 likes, 0 repeats | |
@foone G stands for GOODENOUGH! | |
Post #ArHkKkUeehx1aRtIlU by [email protected] | |
0 likes, 0 repeats | |
@lunarood would you like to make a contract? | |
Post #ArHlEp0l2t0bobe1OS by [email protected] | |
0 likes, 0 repeats | |
@foone Nooooo!!! I know what you're scheming at! How dare you!I've work… | |
Post #ArHlUuLSyuyQzY08ae by [email protected] | |
0 likes, 0 repeats | |
@foone wasn't there some mathematical proof, that an algorithm, that compre… | |
Post #ArHlYDHJ2uSAa0dD4C by [email protected] | |
0 likes, 0 repeats | |
after fixing some bugs, I am now correctly decompressing an entire 8 bytes! | |
Post #ArHqaOuBHsx4zSg3JA by [email protected] | |
0 likes, 0 repeats | |
I suspect the tables aren't getting filled in correctly. I'm gonna need… | |
Post #ArI6OAJLJxh9WEdNY0 by [email protected] | |
0 likes, 0 repeats | |
@foone The idea of a USB dongle containing a tiny x86 microprocessor is incredi… | |
Post #ArIHDOzRVGrzM6Ocuu by [email protected] | |
0 likes, 0 repeats | |
ran though about 300 iterations and the word table never gets filled in. on eit… | |
Post #ArSnUORvuEnyiST30S by [email protected] | |
0 likes, 0 repeats | |
@foone emulate the decompression w unicorn (I’ve done this, but also it was p… | |
Post #ArSnUOcZGhJPFRRXaC by [email protected] | |
0 likes, 0 repeats | |
@Li same! |