Skip to content

poc integration#37

Open
jpoikela wants to merge 3 commits into
ppeccin:masterfrom
jpoikela:lha_integration
Open

poc integration#37
jpoikela wants to merge 3 commits into
ppeccin:masterfrom
jpoikela:lha_integration

Conversation

@jpoikela

@jpoikela jpoikela commented Aug 6, 2018

Copy link
Copy Markdown

No description provided.

@jpoikela

jpoikela commented Aug 6, 2018

Copy link
Copy Markdown
Author

hmmm. I'll have to remove the formatting differences, and leave only the code changes

@ppeccin

ppeccin commented Aug 6, 2018 via email

Copy link
Copy Markdown
Owner

@jpoikela

Copy link
Copy Markdown
Author

I updated the LHA decoder and now also ROM loading works for example with ROM
http://www.msxarchive.nl/pub/msx/games/roms/msx1/1942.lzh

@jpoikela

Copy link
Copy Markdown
Author

I would call it a breakthrough :)
the code for LHA decoder is 16k minified
jsLHA in github has the code, call 'grunt' to build it

Comment thread src/main/util/Util.js
return null;
};

this.getLHAFilesSorted = function (lha) {

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could use getZIPFilesSorted() instead

return diskDrive.loadAsDiskFromFiles(port, name, self.createTreeFromZip(zip), altPower, asExpansion); // throws
}

function tryLoadLhaAsDisk(name, lha, port, altPower, asExpansion) { // throws

@jpoikela jpoikela Aug 13, 2018

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could use tryLoadZipAsDisk() instead

@jpoikela

Copy link
Copy Markdown
Author

FileLoader.loadFromContentAsSlot still needs LHA handling

@ppeccin

ppeccin commented Feb 10, 2020

Copy link
Copy Markdown
Owner

Hey Jani!

Log time!
So, how is that? Anything usable?
I have some little time to look into this before closing the next release.

Anything I can use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants