Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing written to .s file #7

Closed
rablador opened this issue Nov 21, 2020 · 8 comments
Closed

Nothing written to .s file #7

rablador opened this issue Nov 21, 2020 · 8 comments

Comments

@rablador
Copy link

I cannot get anything written to the .s file. Either I get the following:

./lsdpack lsdj.gb
Recording to 'lsdj.s'
Loading lsdj.gb...
Song 1...
wrote 128 sample bytes, 73399 music bytes
Song 2...
wrote 0 sample bytes, 73457 music bytes
Song 3...
wrote 0 sample bytes, 73391 music bytes
Song 4...
wrote 0 sample bytes, 73352 music bytes
Song 5...
wrote 0 sample bytes, 73321 music bytes
Song 6...
wrote 0 sample bytes, 73363 music bytes
Song 7...
wrote 0 sample bytes, 73430 music bytes
Song 8...
Song 9...
Song 10...
Song 11...

...etc etc. Or it just hangs on the first part:

./lsdpack lsdj.gb
Recording to 'lsdj.s'
Loading lsdj.gb...
Song 1...

This happens depending on the sav file I'm using, but neither results in a non-empty .s file. I built the lsdpack with cmake on Mac and have a lsdj.gb and lsdj.sav in the same folder.

@jkotlinski
Copy link
Owner

jkotlinski commented Nov 21, 2020 via email

@rablador
Copy link
Author

I did, by putting an empty phrase with HFF at the top in all four channels.

@rablador
Copy link
Author

rablador commented Nov 21, 2020

One weird thing though. When I check the songs with lsdpatch it seems they have been corrupted (?) or something. This happens only after they have been played with SameBoy first.

Screenshot 2020-11-21 at 20 18 38

I have tried with untouched saves as well (pulled directly from and flash cart), but same end result.

@jkotlinski
Copy link
Owner

jkotlinski commented Nov 21, 2020 via email

@rablador
Copy link
Author

Sure thing! LSDJ version is 8.9.6.

(this sav looks clean i lsdpatch)
lsdj.sav.zip

@rablador
Copy link
Author

rablador commented Nov 21, 2020

Hmm, maybe I was wrong about SameBoy. This one looks corrupted, but it was in fact directly pulled for an El Cheapo cart by BennVenn. It has not been prepared with HFF.

LSDJ1A8F.sav.zip

@jkotlinski
Copy link
Owner

jkotlinski commented Nov 21, 2020

It looks like both those .savs are unwell. If I open them up using BGB, and go to Project screen in LSDj, there is no load/save file button. Maybe they did not transfer correctly?

@rablador
Copy link
Author

Ah! I have seen that on emulators as well, but I always thought it had to do with not running on real hardware. I dumped the same save with new config and it displayed correctly in the project screen. Works with lsdpack as well! Thanks a bunch! :D

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

No branches or pull requests

2 participants