Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Apr 29, 2018 23:47:29 GMT
github.com/AleffCorrea/pyDiscMakerIt's time to drop ISOLink. System Card .c wrapper and direct HuC support coming (very) soon! Done: - Two-Pass Compilation through Shell Commands
- HuC .h header files for CD indexes and sizes
- System Card CDROM routine wrappers - ISOLink no more! (basically done, being heavily tested at the moment)
- Sample HuC project showing all wrapper routines and pyDiscMaker functionality (see video...)
Wanted: Testers! Just try it out or try retrofitting it into an existing project's pipeline, and send me any issues via PM so we can figure out if there's something wrong with the provided .c file.
|
|
|
Post by _jash on May 3, 2018 13:37:00 GMT
This is amaze Punch! Thank you!!
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 6, 2018 4:32:33 GMT
This is amaze Punch! Thank you!! You're welcome Planning any PCE related thing?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 23, 2019 9:19:41 GMT
A very significant update was done after I ported the vanilla batch script to Python. I figure there will be more people interested in this aside from myself now (there's one dev who is gonna use it for something but I can't spoil it...) Check the main post for details
|
|
touko
Punkic Cyborg
Posts: 106
|
Post by touko on Jun 23, 2019 20:04:07 GMT
Thanks to share it ;-)
|
|
|
Post by Arkhan on Jun 25, 2019 23:03:46 GMT
THIS THING SUCKS IT REQUIRES PYTHON AND DOESN'T EVEN COME AS AN EXEEEEEEEEEEEEEEEEEEEEEEEEE
PUMCHHHHHHHHHHHH WHYYYYYYY
I'm the one using this thing btw. Me and Punch are swapping needles, and utilities at the moment. lol
I might try to test it out with Hysteria tonight.
Or I might eat an entire bag of combos and play FF7 instead. Depends how I feel
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 23, 2019 9:42:19 GMT
THIS THING SUCKS IT REQUIRES PYTHON AND DOESN'T EVEN COME AS AN EXEEEEEEEEEEEEEEEEEEEEEEEEE PUMCHHHHHHHHHHHH WHYYYYYYY I'm the one using this thing btw. Me and Punch are swapping needles, and utilities at the moment. lol I might try to test it out with Hysteria tonight. Or I might eat an entire bag of combos and play FF7 instead. Depends how I feel Took a while due to pesky REAL LAIFU getting in the way, but this has progressed greatly in the past couple of weeks and I feel confident this will replace ISOLink once and for all. Once every piece is in place I'll do a detailed explanation of the tool (even more than the current github readme!) and hopefully people will get interested by it.
|
|
|
Post by gredler on Oct 23, 2019 17:20:11 GMT
Does this still run through python? I haven't explored this much but thanks for contributing! Super CD Punch Punch!
|
|
|
Post by DarkKobold on Nov 27, 2019 20:42:25 GMT
Question - does it auto generate the .cue file? Why is there a pregap in your cue?
|
|
|
Post by turboxray on Nov 27, 2019 21:27:29 GMT
Question - does it auto generate the .cue file? Why is there a pregap in your cue?
All tracks have a pre-gap regardless if you specify it or not (minimum is 2 seconds). PCE games back in the day tended to have 3 second pregap instead of the standard 2, if there was more than one data track (so that it gave audio players ha a chance to detect what mode the data was while play-seeking into the next track). PCE CD system respects the gap size (it's marked as chapter point 1 in a track) and will automatically do the LBA (sector) offset from the pregap rather than the absolute start of the track. Basically, you can put what ever pregap size you want for PCE as long as its at least the mininum. This is how I made the Lords of Thunder dual boot SegaCD/PceCD disc (segacd assumes a 2 second pregap offset and doesn't bother checking) - the whole SegaCD part is in the pregap! Hahah
|
|
|
Post by Arkhan on Nov 28, 2019 0:08:00 GMT
Question - does it auto generate the .cue file? Why is there a pregap in your cue?
yeah that shits all in specs for Yellow Book CD audio and crap. It's just "stuff you're supposed to do". The utiltitty doesn't generate a cue file though. You can literally do that by hand by copy pasting the one you just put in here, and changing the .iso . The rest of that stuff you see won't change regardless of the ISO size. music is added by just daisy chaining them on after, following the same format there. I don't think Punch planned on adding cue + music track support since it's not complicated work.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Nov 28, 2019 1:27:39 GMT
I'd put CUE generation but the script is already bloated as-is. The included cuesheet file is just an example one you can use with the data track it generates, you can make your own, and ImgBurn has a pretty cool CUE file creator. I'm not sure if it works 100% but the cue generated seemed fine to me.
|
|
|
Post by Arkhan on Nov 28, 2019 4:33:28 GMT
Or Nero if you add all the files and export with the one tool.
There are so many CD authoring things its not worth baking it in like that
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Nov 28, 2019 21:49:25 GMT
Oh yeah, speaking of which, no one seemed interested about it except Arkhan so I haven't bothered to update the documentation, but the .c 'library' (just a thin wrapper over the CDROM BIOS) is done and ready, BUT there are some particularities I haven't messed with yet (HuC initial setup gets repeated when jumped to another overlay since we don't write anything ISOLink would into the overlay, I also haven't figured out how ISOLink + HuC sets up the custom Super System Card error message overlay) which should be simple to do but I haven't found the time to do so yet.
I believe that all CDROM functions provided in cdrom.c (adpcm_load(), disc_load(), disc_vram_load(), disc_vram_load_sector(), disc_load_autobank(), disc_exec()) should be OK but due to the bank mapped nature of the PCE's processor there's always a chance I'm screwing up execution of a HuC feature by unbanking some block of code unexpectedly. That's why I'd like to ask anyone with a CD project or wanting to do one to try my tool out -- you can post any errors you got here or via PM so we can figure it out and, if the error comes from the tool itself, hopefully fix it.
PS: it seems that the CD BIOS will crash/hang instead of giving you an error return value if some dumb/invalid parameters are given to the functions above. This is entirely the BIOS functions' fault and shouldn't be triggered by normal, sane code. You can play around with stuff via the Demo program, which can also be extended with any data or overlays you'd like to load to take a peek at -- I don't have a PCE handy but I don't think disc swapping will work since you have to refresh the TOC manually in the BIOS IIRC, which I don't do. Anyway that's not very important.
|
|
|
Post by DarkKobold on Nov 29, 2019 7:10:33 GMT
I'd like to use it for Catastrophy, but the BEU is compiling to be 304kB, without any of the per-level extras
|
|