unknownbrackets / maxcso

Fast cso compressor
ISC License
390 stars 23 forks source link

Question How to make Adrenaline compatible csos? #77

Closed RinMaru closed 1 year ago

RinMaru commented 1 year ago

any time i compress a game with maxcso ill always have crashes in adrenaline is there a reason for this or is it a fault of adrenaline?

unknownbrackets commented 1 year ago

I suppose I need to get around to releasing a new version with this change: 161f99d81f81716943069387bb0234ce5a1355b3

It seems that PSP CFW (and probably Adrenaline) can't handle the output produced by libdeflate (I suspect maybe alignment or something.) If you add --no-libdeflate, it should fix it in the latest release version.

-[Unknown]

RinMaru commented 1 year ago

Is there a drag n drop script? Im not good at cmd

unknownbrackets commented 1 year ago

You can use this (put it in the same folder as maxcso.exe):

@echo off

rem This is where maxcso is (usually don't need to change.)
set maxcso=%~dp0\maxcso.exe

if not exist "%maxcso%" (
    echo Could not find maxcso.exe
    exit /b 1
)

"%maxcso%" --no-libdeflate --block=2048 %*
pause

-[Unknown]

RinMaru commented 1 year ago

Thank you very much x3