DC-SWAT Forum

Полная версия: [solved] compress multitrack gdi
Вы просматриваете yпpощеннyю веpсию форума. Пеpейти к полной веpсии.
Is it possible to compress multitrack gdi disc?
Код:
disc.gdi
track01.iso
track02.raw
track03.iso
track04.raw
track05.iso
works ok

but
Код:
disc.gdi (changed "1 0 4 2048 track01.iso 0" to "1 0 4 2048 track01.cso 0 " etc.)
track01.cso
track02.raw
track03.cso
track04.raw
track05.cso
does not load
Why would you do that?
Some games run faster from sd card when compresed.
Some games compress from 1gb to 20mb...

If there is only 3 tracks, then i can compress only track3 as a stand alone iso /cso.
But if there are more than 3 tracks i need all of them, and *.gdi. And then DS can't open compressed files.
Compressed GDI doesn't supported yet.
For now you can:

1) Repack GDI to ISO (with hack LBA) and compress it.
2) Manually concat tracks 3 and 5 into one and use it as ISO/CSO without *.gdi file (as single track03 on non-multitrack). But need add some space between tracks, see tracks 4 and 5 LBA diff and multiply it to data sector size (2048 if iso). Don't use track04.raw for it, because sector size is different.
Thanks Swat, yesterday i finaly understood repack_gdi.bat.

Thing is, than when i tried it first, it produced 6mb iso file, i thougt wtf? It must be broken... But turns out, that that was all game Smile.
6MB? What the game? Smile
"Namco Museum" collection: pacman, ms pacman, galaga, galaxian, dig dug, pole position.

galaga is awesome!
and galaxian brings back childhood memories, when i first and only time skipped school because i was playing it on nes ...

i know that those are perfectly emulated, but playing on real hardware is always a different experience, and with dreamcast i can play those on my lcd monitor through vga.

-----
btw, optimize_gdi produced 1gb files.

So the question: what exactly is the difference between repack_gdi.bat and optimize_gdi.bat?

repack_gdi for me always produces smaller sizes ~10-20%, and sometimes 6mb vs 1gb..., and its always more convenient to have one iso instead of folder and 5 files. And you can compress too.

With SD mod, i'm yet to find difference in compatibility and speed between those two methods.

Is optimize_gdi better for g1ata mod? Or some games won't work with repack_gdi?
(26.02.2015 13:05)shwoaps писал(а): [ -> ]btw, optimize_gdi produced 1gb files.

Of course, because it's removes sub channels from sectors. And it's increases reading speed, because iso loader doesn't do it himself.

(26.02.2015 13:05)shwoaps писал(а): [ -> ]So the question: what exactly is the difference between repack_gdi.bat and optimize_gdi.bat?

repack_gdi for me always produces smaller sizes ~10-20%, and sometimes 6mb vs 1gb..., and its always more convenient to have one iso instead of folder and 5 files. And you can compress too.

With SD mod, i'm yet to find difference in compatibility and speed between those two methods.

Is optimize_gdi better for g1ata mod? Or some games won't work with repack_gdi?

In general for playing games, no serious difference between repack_gdi.bat and optimize_gdi.bat.
But with repack GDI you will hack LBA in game binary, so in some cases you can have problems with it. Optimization of GDI doesn't change anything in the game, just cleanup RAW sectors.
Original GDI tracks have empty padding sectors, it's necessary to move the game data to the disk edge for more fast reading. For ISO Loader it's not needed in general, so repaсk GDI can save a lot of space.
If you compress original track or repacked, you don't see big difference. Empty sectors very good compressed.
Цитата:If you compress original track or repacked, you don't see big difference. Empty sectors very good compressed.
when
If compressed GDI will be supported, then it will be perfect.

Цитата:But with repack GDI you will hack LBA in game binary, so in some cases you can have problems with it.

thats what i thought.

Is it possible to know when game doesn't load because of LBA hack(or game loads, but there are other problems?), and when game is not supported? Maybe DS trows some error message?

Now sometimes game just restarts dreamcast, sometimes hangs up dreamcast, sometimes loads first intro movie and then hangs up, sometimes loads to start menu and then hangs up.

I would like to use repack_gdi for testing, but if can't know when game doesn't work because of LBA hack, i will have to stick with optimize_gdi.
DS not throws errors for games. First check optimized GDI and if it's works you can try repack it and then compress it. Check all step-by-step.
Also compability list can help: http://www.dc-swat.ru/forum/thread-2145.html
When the return to BIOS is LBA problem, the black screen is that the game is not supported
We are in 2020, which is the state o this now? If we compress all GDI-OPT (Ej:Python 2.7 and Git) games will they work in Dreamshell ?
URL ссылки