foone,
@foone@digipres.club avatar

why does a PS2 game have a file named COMMANDLINE.TXT in the main WAD file

what command line? this is a PS2 game

blair,

@foone This triggered a vague memory: on PS2 I don’t think you could pass command line arguments when launching an executable. The solution was to write them to a text file, and read them at startup if they existed.

(This was well over 15 years ago, so I don’t know 100% if my vague memory is true!)

Tramboi,

@foone What ? They didn't incbin it to pass it to real_main ?

(Yeah, yeah, I've seen things. Done things too. Ugly things)

Canageek,
@Canageek@wandering.shop avatar

@foone What does it say?

foone,
@foone@digipres.club avatar

@Canageek I don't know, I'm not sure where the actual file data is stored, I'm just looking at the index

vi,
@vi@mastodon.gamedev.place avatar

@foone Is it a port? Is it a multiplatform engine? My first thought would be there’s a PC version (maybe dev-only) and for PS2 they burned a file with the command line in the DVD

foone,
@foone@digipres.club avatar

@vi it's PS2 and Xbox, neither of which have command lines, so I don't know

tjradcliffe,

@foone @vi Betcha they've got a command line underneath for testing, QA, and dev. Every imaging, surgical, or other embedded platform I've worked on has one (sometimes you've gotta do weird rituals to get at them, but they're there.)

foone,
@foone@digipres.club avatar

this is an interesting file format. It seems to be pretty compressed, except the 2nd byte in every 16-byte chunk is always 0.

So it's definitely chunked in some way.

foone,
@foone@digipres.club avatar

my progress bar is up to 146%. I'm sure that's fine.

foone,
@foone@digipres.club avatar

1157%?!

Zotmeister,
@Zotmeister@mastodon.online avatar
Viss,
@Viss@mastodon.social avatar

@foone its like microsoft minutes but with extra percent!

davidseidl,
@davidseidl@mstdn.social avatar

@foone You're reminding me of a Java-based installer on Windows years and years ago that hit the end of the window and the installed % bar kept going past.

I figured it was an excellent value, where else will you get 379% of your program installed!?

luisfcorreia,
@luisfcorreia@mastodon.social avatar

@foone E_TOOMANYBYTES

foone,
@foone@digipres.club avatar

I'm now up to 120%

this is mainly notable because it's lower than the previous two numbers. I haven't stopped it, it's still continuing on the same process

foone,
@foone@digipres.club avatar

I bet I know why this is happening:
See that size there? That's not the size of the file. The file is 4,623,040,512 bytes.

Which is more than 2**32. Someone used 32bit ints for their filesizes, and WHOOPS it exploded when I stuffed a PS2 DVD into it

sadmac356,

@foone ooooops

aismallard,

@foone me, confident: "no file will ever be that big in the real world"

dcoderlt,
@dcoderlt@ohai.social avatar

@foone
This reminds me of the Chromium development “getting started” page which warns people that their git repo cannot be cloned into a FAT32 drive because it contains files over 4 GB.

niarbeht,

@foone how do you keep finding this weird software

foone,
@foone@digipres.club avatar

@niarbeht I'm always trying to do weird things, so it comes with the territory.

niarbeht,

@foone apparently i am not choosing the right path in life

jordan,
@jordan@sometimes.social avatar

@foone 🎼 rolling, rolling, rolling

AlisonW,

@foone
Buffer overflow overflowing.

Dexruus,
@Dexruus@chaos.social avatar

@foone its 115,7 times more good!

DogsRNice,

@foone I was wrong, this is the most progress anyone has ever made

mikemol,

@foone in a scanning tool? You have a deflate quine or other zip bomb hidden away in there?

ckape,

@foone it will be the most complete anything's ever been completed when it's done

deKay,
@deKay@mastodon.social avatar

@foone keep rolling rolling rolling

inari,
@inari@squeaky.social avatar

@foone some people would be turned on by this…

foone,
@foone@digipres.club avatar

@inari oh I'm well aware. I've seen things... like my pictures of retro hardware showing up on objectum blogs.

MishaVanMollusq,
@MishaVanMollusq@sfba.social avatar

@foone new math?

ecn,
@ecn@mastodon.social avatar

@foone I always give 148% at everything I do

seedoubleyou,

@foone "Microsoft Minutes" have been the hidden standard for learning patience since the 90s when I crashed an Exchange server waiting NT 4.0 to shutdown based on a similar prompt.

DogsRNice,

@foone this is the most progress anyone has ever made

surabax,

@foone 146% is a meme in Russia that was born from a clumsily manipulated election where the total sum of votes was this.

martian,

@foone yep, all seems fine here! 🙃

spicyjpeg,

@foone It's SPU BRR, a weird ADPCM variant that Sony introduced with the SNES and CD-i of all things and then kept using basically forever (reportedly even the PS4 and PS5 use it). Each 16-byte chunk decodes to 28 mono audio samples; the first byte is a header containing parameters to decode the chunk, the second byte holds loop flags (hence why it's usually 00 or 02) and the remaining bytes hold up to 28 nibbles. Shouldn't be too hard to decode.

PsyChuan,

@foone oh is this Enter The Matrix perchance

foone,
@foone@digipres.club avatar

@PsyChuan nope! Rolling

PsyChuan,

@foone ohhhh i love that game! it introduced me to The Von Bondies :D

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • DreamBathrooms
  • osvaldo12
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • mdbf
  • thenastyranch
  • Youngstown
  • slotface
  • everett
  • kavyap
  • Durango
  • tester
  • JUstTest
  • GTA5RPClips
  • tacticalgear
  • modclub
  • khanakhh
  • rosin
  • cisconetworking
  • normalnudes
  • provamag3
  • Leos
  • cubers
  • anitta
  • megavids
  • lostlight
  • All magazines