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

Fix for 4.0 #2

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added libEGL.dll
Binary file not shown.
13 changes: 11 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# FDGH Converter 4.0
# FDGH Converter 4.0 Fix

A script that converts FDGH files (found in many HAL Laboratory games) to and from XML.
This is a forked copy of the original repository as it has sat untouched for over a year with changes made to it by its original uploader that render it unusable. This fork remedies the issues and allows it to be compiled again and includes a release build which the original had at one point but had removed for an unknown reason.

An executable file that converts FDGH files (found in many HAL Laboratory games) to and from XML.
Copyright (C) 2016-2022 RoadrunnerWMC

Amended by "Johnny Bigtrousers"

## FDGH Files

FDGH is a file format used in many HAL Laboratory games since Kirby's Return to Dream Land, including most of the subsequent Kirby games as well as the first three BoxBoy games. It lists the files (models, animations, etc) that the game should load in advance of each level. If a level calls for enemies not named by the FDGH file, older games (such as Return to Dream Land) will tend to lag as the files are loaded during gameplay. Recent games can handle it better, but it's still best to set up the FDGH correctly.
Expand Down Expand Up @@ -61,6 +65,11 @@ Run with `-h` or `--help` for additional help with CLI options.

An "xbin_cli" script is also provided, which lets you manually add/remove XBIN headers to/from files.



This is a comment added by the fixer here, uh,
I'd recommend using this in combination with KirbyFDGH for complete scope of adding/removing custom objects to the available games cuz this program makes up for the main shortcoming that KirbyFDGH has, that being the inability to add/remove new reference strings to the list of existing ones. The reason this is useful is because while you can add custom assets to the games just fine it will definitely cause lag if they are not preloaded in a given room's FDGH bank (may also cause crashes and almost definitely worse effects on actual console if not). One thing to note about using these two programs together is that adding a string reference to any room via adding text in the XML then converting it back will add it to the list of strings available when the bank is loaded into KirbyFDGH, so if you just add it to one then it'll give you the option to add them to any other.

## License

Licensed under the GNU General Public License version 3 or (at your option) any later version. (See the "COPYING" file for more information.)
9 changes: 5 additions & 4 deletions windows_build.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/python
# -*- coding: latin-1 -*-
"""
FDGH Converter 3.0
FDGH Converter 4.0
A script that converts Kirby's Return to Dreamland FDGH files to and
from XML.
Copyright (C) 2016-2018 RoadrunnerWMC
Amended by "Johnny Bigtrousers"

FDGH Converter is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -20,7 +21,7 @@
along with FDGH Converter. If not, see <http://www.gnu.org/licenses/>.
"""

Version = '3.0' # This must be a valid float in string format
Version = '4.0' # This must be a valid float in string format


################################################################
Expand Down Expand Up @@ -73,7 +74,7 @@ def printv(text):

# exclude Python stuff we don't use
excludes = ['doctest', 'pdb', 'unittest', 'difflib', 'inspect',
'os2emxpath', 'posixpath', 'optpath', 'locale', 'calendar',
'os2emxpath', 'posixpath', 'optpath', 'calendar',
'select', 'multiprocessing', 'ssl',
'PyQt5.QtWebKit', 'PyQt5.QtNetwork']

Expand All @@ -87,7 +88,7 @@ def printv(text):
options={
'build_exe': {
'excludes': excludes,
'packages': ['sip', 'encodings', 'encodings.hex_codec', 'encodings.utf_8'],
'packages': ['PyQt5.sip', 'Locales', 'pandas', 'encodings', 'encodings.hex_codec', 'encodings.utf_8'],
'build_exe': dir_,
},
},
Expand Down