Skip to content

Commit

Permalink
Update .gitignore, add missing needed files
Browse files Browse the repository at this point in the history
  • Loading branch information
CatmanFan committed Jan 23, 2025
1 parent 4a0e69a commit 817f562
Show file tree
Hide file tree
Showing 28 changed files with 121 additions and 12 deletions.
25 changes: 17 additions & 8 deletions FriishProduce/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
mono_crash.*

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
# [Dd]ebug/
# [Dd]ebugPublic/
# [Rr]elease/
# [Rr]eleases/
# x64/
# x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
# [Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
Expand Down Expand Up @@ -402,5 +402,14 @@ FodyWeavers.xsd

# Others
IconPacks/
bin/Debug/resources/temp/README.md
[Bb]in/*/resources/libraries/
[Bb]in/*/resources/databases/
[Bb]in/*/resources/temp/
[Bb]in/*/resources/tools/wstrt/
[Bb]in/*/resources/tools/README.md
[Bb]in/*/strings/
[Bb]in/*/*.exe
[Bb]in/*/*.exe.config
[Bb]in/*/*.json
[Bb]in/*.rar
Resources/bg.pdn
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
44 changes: 44 additions & 0 deletions FriishProduce/bin/Debug/resources/tools/frodosrc/Frodo.fpr
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
NormalCycles = 63
BadLineCycles = 23
CIACycles = 63
FloppyCycles = 64
SkipFrames = 1
LatencyMin = 80
LatencyMax = 120
LatencyAvg = 280
ScalingNumerator = 4
ScalingDenominator = 4
DriveType8 = D64
DrivePath8 = rom.d64
DriveType9 = DIR
DrivePath9 =
DriveType10 = DIR
DrivePath10 =
DriveType11 = DIR
DrivePath11 =
ViewPort = 384x272
DisplayMode = Default
SIDType = DIGITAL
REUSize = NONE
DisplayType = WINDOW
SpritesOn = TRUE
SpriteCollisions = TRUE
Joystick1On = FALSE
Joystick2On = FALSE
JoystickSwap = TRUE
LimitSpeed = TRUE
FastReset = TRUE
CIAIRQHack = FALSE
MapSlash = FALSE
Emul1541Proc = FALSE
SIDFilters = FALSE
DoubleScan = TRUE
HideCursor = TRUE
DirectSound = TRUE
ExclusiveSound = FALSE
AutoPause = FALSE
PrefsAtStartup = FALSE
SystemMemory = TRUE
AlwaysCopy = FALSE
SystemKeys = FALSE
ShowLEDs = TRUE
Binary file not shown.
5 changes: 5 additions & 0 deletions FriishProduce/bin/Debug/resources/tools/frodosrc/copy.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off
echo F|xcopy /s /q /y /f "1541 ROM" "C:\1541 ROM"
echo F|xcopy /s /q /y /f "Basic ROM" "C:\Basic ROM"
echo F|xcopy /s /q /y /f "Char ROM" "C:\Char ROM"
echo F|xcopy /s /q /y /f "Kernal ROM" "C:\Kernal ROM"
5 changes: 5 additions & 0 deletions FriishProduce/bin/Debug/resources/tools/frodosrc/delete.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off
del /f /q "C:\1541 ROM"
del /f /q "C:\Basic ROM"
del /f /q "C:\Char ROM"
del /f /q "C:\Kernal ROM"
23 changes: 23 additions & 0 deletions FriishProduce/bin/Debug/resources/tools/frodosrc/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
A. Getting LZ77_snapshot.bin
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Unpack the international karate wad
2. Extract the contents of the 5.app u8 archive
3. There you have LZ77_snapshot.bin, using
gbalzss d LZ77_snapshot.bin ik.fss
decompress LZ77_snapshot.bin file with name ik.fss, and put this into the folder where the custom frodo resides.

B. Creating snapshot for injection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Open Custom Frodo, load the game to inject using a disk image (d64 file).
a. Tools/Preferences 8-> Browse and select d64 file. On C64 Basic prompt type LOAD"$",8:LIST
b. Type LOAD"GAMENAME",8:RUN
2. Once the game loaded and ran, select Tools->Patch and Save snapshot and give a name to your snapshot and save. (default is snap.fss)
3. Test your game if it loads using the Load Snapshot option, if it doesn't, try taking the snapshot elsewhere in the game.

C. Injecting
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Compress your snapshot using gbalzss tool, like gbalzss e snap.fss LZ77_snapshot.bin
2. Copy (and overwrite the file with the same name) the produced LZ77_snapshot.bin file to the folder where you extracted the 5.app file.
3. Using u8coes.exe tool reconstruct the 5.app file. Run u8coes.exe, select the 5.app file you extracted out of the wad as original u8 file. The next folder will be automatically selected. For U8 archive to save, point to a safe and known location and click the create button. Now copy created 5.app file to its original location and overwrite the one there.
4. If your wii is not pal then you need to patch the 1.app file using Wii Generic Patcher to change video mode.
5. The rest is wad packing as usual and if your wii is not pal then you should use the freethewads to region free the resulting wad.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions FriishProduce/bin/Release/resources/tools/frodosrc/Frodo.fpr
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ NormalCycles = 63
BadLineCycles = 23
CIACycles = 63
FloppyCycles = 64
SkipFrames = 2
SkipFrames = 1
LatencyMin = 80
LatencyMax = 120
LatencyAvg = 280
ScalingNumerator = 2
ScalingDenominator = 2
ScalingNumerator = 4
ScalingDenominator = 4
DriveType8 = D64
DrivePath8 = rom.d64
DriveType9 = DIR
Expand All @@ -25,7 +25,7 @@ SpritesOn = TRUE
SpriteCollisions = TRUE
Joystick1On = FALSE
Joystick2On = FALSE
JoystickSwap = FALSE
JoystickSwap = TRUE
LimitSpeed = TRUE
FastReset = TRUE
CIAIRQHack = FALSE
Expand Down
23 changes: 23 additions & 0 deletions FriishProduce/bin/Release/resources/tools/frodosrc/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
A. Getting LZ77_snapshot.bin
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Unpack the international karate wad
2. Extract the contents of the 5.app u8 archive
3. There you have LZ77_snapshot.bin, using
gbalzss d LZ77_snapshot.bin ik.fss
decompress LZ77_snapshot.bin file with name ik.fss, and put this into the folder where the custom frodo resides.

B. Creating snapshot for injection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Open Custom Frodo, load the game to inject using a disk image (d64 file).
a. Tools/Preferences 8-> Browse and select d64 file. On C64 Basic prompt type LOAD"$",8:LIST
b. Type LOAD"GAMENAME",8:RUN
2. Once the game loaded and ran, select Tools->Patch and Save snapshot and give a name to your snapshot and save. (default is snap.fss)
3. Test your game if it loads using the Load Snapshot option, if it doesn't, try taking the snapshot elsewhere in the game.

C. Injecting
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Compress your snapshot using gbalzss tool, like gbalzss e snap.fss LZ77_snapshot.bin
2. Copy (and overwrite the file with the same name) the produced LZ77_snapshot.bin file to the folder where you extracted the 5.app file.
3. Using u8coes.exe tool reconstruct the 5.app file. Run u8coes.exe, select the 5.app file you extracted out of the wad as original u8 file. The next folder will be automatically selected. For U8 archive to save, point to a safe and known location and click the create button. Now copy created 5.app file to its original location and overwrite the one there.
4. If your wii is not pal then you need to patch the 1.app file using Wii Generic Patcher to change video mode.
5. The rest is wad packing as usual and if your wii is not pal then you should use the freethewads to region free the resulting wad.

0 comments on commit 817f562

Please sign in to comment.