Go Back   Project64 Forums > General Discussion > Open Discussion

Reply
 
Thread Tools Display Modes
  #41  
Old 3rd April 2016, 06:23 AM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,255
Default

Some new changes to shrink the EXE file size...and also raise it back up again.

Most notably:
  • You can export the Pictograph Box from flash to a BMP file on your disk.
  • You can also import from BMP file on your disk to Pictograph Box in flash.

For example, this source image (oops, slightly the wrong one...eh close enuff):


Gets imported as:


More documentation on this new feature, for those interested:
https://github.com/cxd4/zs-flash/wiki/Pictograph_Box
Reply With Quote
  #42  
Old 3rd April 2016, 05:57 PM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,255
Default

different pic, w/ VI upscale filters applied:

http://i.imgur.com/3jBNzOC.png
Reply With Quote
  #43  
Old 3rd April 2016, 09:58 PM
ExtremeDude2's Avatar
ExtremeDude2 ExtremeDude2 is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Apr 2010
Location: USA
Posts: 2,483
Default

Woooooooooooooooo. Time to start stashing my p0rn collection via majora's mask saves.
__________________
Quote:
Originally Posted by dsx! View Post
are you american or something
Reply With Quote
  #44  
Old 12th April 2016, 12:08 AM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,255
Default

Well, I was hoping for Slackware 14.2 or whatever to come out first, but here goes.
https://github.com/cxd4/zs-flash/releases/tag/v2.0

First public release that I have done for this save editor (forgetting the old crappy version).

I still say a 5-year-old can compile this stuff in less than 5 seconds just by not trying too hard, but let's try pre-compiled binaries this time. Obviously, download Windows.zip for the Windows build. 64-bit binaries only for SI hardware accuracy reasons; you can get the 32-bit binaries by compiling them.


A successful command to use this save editor on Windows looks something like:
Code:
zs "C:\Users\myusername\Project64 ?.?\Save\ZELDA MAJORA'S MASK.fla" -F 0
On something Unix-based, it will look rather like:
Code:
./zs "/home/myusername/mupen64/save/zeldamajorasmask.fla" -F 0
The -F 0 disables Tatl. No more fairy nagging or popping up around Link.

Yes there are other save-edit options besides toggling Tatl on/off; read the manual.

Yes you can target File 2 or 3 instead of File 1 (default); read the manual.

Yes you can script batch files in Notepad instead of having to open a Windows command prompt and re-type whole commands every time; read the example (not only that, but the manual, too).

Finally before asking read the manual. It's not my fault this game's save system is too massive to have a valuable pretty GUI for.
Reply With Quote
  #45  
Old 14th April 2016, 02:45 AM
Teek Teek is offline
Junior Member
 
Join Date: Apr 2016
Posts: 3
Default

I hate to be a bother, but I'm at my wits end.

I've read the instructions, as far as I could understand them, but I can't get this to work. I fully admit I'm a novice and have little idea of what I'm doing, but I'm missing a step somewhere and I don't know where.

The zs.exe is definitely overwriting the .fla file, and Project64 is definitely loading the correct file, but I have to be missing a step in the actual editing because I can't get anything to change.

All I want is to change the Mirror Shield into the Hero Shield.

Here's a video showing what I'm doing. If I'm not mistaken, that should have given me 10 bombs. Not that I need 10 bombs, I was just trying to get anything to work. Can you tell me where I'm going wrong?

youtube 1b6OgMPkTUM
Reply With Quote
  #46  
Old 14th April 2016, 04:31 AM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,255
Default

Quote:
Originally Posted by Teek View Post
The main issue there, is that you have typed a valid command, but you typed it at a time when the EXE isn't "listening". You see the error message "File system flash read failed." which is only keeping the console window open so you have a chance to see the error message before the window closes; the key-listener that lets you type in text is just to pause the console window from closing instantly before you can finish reading the error. (You were just supposed to press Enter to resume execution, but you typed a bunch of text first which the program ignored.)

The whole EXE needs to be launched with the command, rather than typing it in the middle of execution.

Here, try Shift+right click in Windows Explorer, and choose "Open command window here".

Now type that thing you said, to start the EXE (but not while exe is running), sorry about the confusion.

Quote:
Originally Posted by Teek
If I'm not mistaken, that should have given me 10 bombs. Not that I need 10 bombs, I was just trying to get anything to work.
That was the correct command for that, yeah.

Quote:
Originally Posted by Teek
All I want is to change the Mirror Shield into the Hero Shield.
You might have found this out already but just to make sure:
https://github.com/cxd4/zs-flash/wiki/equip_item

Hmm...but that particular wiki page spent more time explaining some mysteries I investigated with the MM debug ROM, than making sense to explain how the command works. All it really is, is -E 0x00XY, where X is from 0 to 3 (shield upgrade) and Y your sword upgrade, 0 to 4.

Last edited by HatCat; 14th April 2016 at 04:34 AM.
Reply With Quote
  #47  
Old 14th April 2016, 05:48 AM
Teek Teek is offline
Junior Member
 
Join Date: Apr 2016
Posts: 3
Default

Ah ha! Thank you, kind sir!

I made a video tutorial to demonstrate how to do it, in case someone else happens to get stuck. Feel free to link it to an FAQ or something.

Youtube j2cYvVG7x1U

Last edited by Teek; 14th April 2016 at 05:53 AM.
Reply With Quote
  #48  
Old 14th April 2016, 09:32 AM
HatCat's Avatar
HatCat HatCat is offline
Alpha Tester
Project Supporter
Senior Member
 
Join Date: Feb 2007
Location: In my hat.
Posts: 16,255
Default

Sure, I don't think it would hurt to have a video example. I added a link to your vid in the wiki:
https://github.com/cxd4/zs-flash/wik...6%5E...eeb5296

That all having been said, I would like to emphasize that it is commonly easier to have a batch file on disk (just a text file containing the command to execute, but with a ".cmd" extension instead of ".txt", see Windows example) so that it can just be double-clicked from Windows Explorer, rather than having to shift- and right-click to open a shell and then type it out.

If it's more of a one-time thing though (no need to frequently use the save editor), though, then that doesn't matter.
Reply With Quote
  #49  
Old 14th April 2016, 02:29 PM
Teek Teek is offline
Junior Member
 
Join Date: Apr 2016
Posts: 3
Default

Quote:
Originally Posted by HatCat View Post

That all having been said, I would like to emphasize that it is commonly easier to have a batch file on disk (just a text file containing the command to execute, but with a ".cmd" extension instead of ".txt"
Windows example[/url]) so that it can just be double-clicked from Windows Explorer, rather than having to shift- and right-click to open a shell and then type it out.

If it's more of a one-time thing though (no need to frequently use the save editor), though, then that doesn't matter.
Neat. I had no idea you could do that either.
Reply With Quote
  #50  
Old 16th March 2018, 11:22 PM
buckchow buckchow is offline
Junior Member
 
Join Date: Mar 2018
Posts: 5
Default

Quote:
Originally Posted by HatCat View Post
Only problem is that the location of the 16-bit checksum is different when saved/accessed by the Japanese Zelda Majora's Mask than the USA/PAL release.
Has anyone been able to convert between JP and US/PAL saves? I've been trying to do a JP -> US conversion without luck so far.

I've done the following:
- Use zs to change the name so that valid characters are used for the US/PAL versions
- Copied 8kb block from the start of the JP save to a US save file (of the same endianess)
- Duplicated that 8kb at 0x2000 to complete save slot 0 (File 1)
- Run zs to update the checksum

The end result is always that File 1 appears as unused. File 2 always shows up fine, so I know the .fla endianess is correct in PJ64.

Any help would be appreciated.

Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.