[DLL] Fantasia Patch Rxx v3.1 FINAL + SOURCE + Links

An archive of a motivation of the past.

Moderator: Uploaders

[DLL] Fantasia Patch Rxx v3.1 FINAL + SOURCE + Links

Postby spr33 » Sun Jul 05, 2009 9:06 pm

READ THIS POST, AND THE NEXT, TWICE EACH, BEFORE ASKING QUESTIONS

spr33's Fantasia Patch
a native English IJL patch modification

Final version: Rxx v3.1
Updated 10/11/09


fantasia_r48_3_1.zip

Source code is also available. Requires Visual Studio and the Boost C++ libraries.
fantasia_source.7z


Third-party modifications to Fantasia (more features included):
by tyne: MAMP (Mabinogi Advanced Memory Patcher)

An Announcement (Oct 12, 2009)

I no longer have the time to develop Fantasia. I've been getting four-hour nights even without the project taking up my time. Nor do I have any motivation to add features; I haven't played Mabinogi in at least four months. Therefore, I am officially releasing the source code to R48 v3.1. Regarding modifications to the source code, I only ask that credit is given where it is due.

The ollydbg tutorial thread should be a good resource for getting started with the source code. I suggest that anyone planning on working on their own patch functions should try and write a patcher for the negative HP mod as practice.

I will be happy to answer questions regarding my code. The code structure has always been in a state of flux, partially owing to my own changing aesthetic preferences, and partially because of the project's origins as an IJL patch modification. Even with very little actual code left over from the IJL patch (I think the only functions not rewritten from the ground up were the logging functions and main) the code still reflects some of the old organization. It's not necessarily pretty, especially in the way that C++, C, and x86 ASM are intermingled. But it is (at this point) pretty functional and reliable, despite the complexity of its task. I'm proud of that.

Above all, even if I still had the time and motivation, I'd like to see other modders in the community step up and release their work. DLL modding is hard, very much so depending on your past experience, but also a fun challenge. Have at it.

Building from source requires Visual Studio (I use VS 2008), as well as the free Boost C++ libraries.

DO NOT INCLUDE FANTASIA IN A MOD PACK WITHOUT MY PERMISSION
Linking to this thread is OK.

FEATURES!
All features listed patch successfully in the latest revision unless noted.
Features to this mod not included in base IJL indicated in bold.


Load data from Data folder before loading from pack files.
Reduce the level of CPU usage, optionally only while minimized.
Block the popup ads on game exit.
Clear fog of war on dungeon minimaps.
Cause daylight appearance between the hours of 18:00 and 4:00.
Enable full-screen antialiasing.
Enable coloring of ALT names based on character type.
Enable opening the right-click menu on your own character.
Enable opening of player shops from a distance.
Modify the maximum zoom distance.
Enable moving to the same channel you are currently on
Allow moving while talking to NPCs.
Remove the 30-second login delay after disconnecting from the server.
Modify the quality of screenshots.
Show combat power numerically.
Shows the percentage towards your next exploration level in the character window.
Show the shop purchase and selling price in item descriptions.
Show item durability with 1000x precision.
Show item color codes. Fantasia exclusive!
Show food quality numerically.
Allow conversation with unequipped spirit weapons.
Enable CTRL-targeting props while in combat mode.
Use bitmap fonts instead of vector fonts to prevent window lag. Fantasia exclusive!
Increase the size of the in-game clock text. Can cause cut-off text.
If you are reading this on the Nexon forums, somebody has impersonated me!
You do not have the required permissions to view the files attached to this post.
Last edited by spr33 on Fri Aug 14, 2009 8:51 pm, edited 55 times in total.
User avatar
spr33
 
Posts: 350
Joined: Thu Jul 31, 2008 1:10 pm
Location: Chicago / Indiana University

[DLL] Fantasia Patch Rxx v3.1 FINAL + SOURCE

Postby spr33 » Sun Jul 05, 2009 9:07 pm

[size=150][b]Installation instructions[/b][/size]
Unzip into your Mabinogi folder (by default, C:\Nexon\Mabinogi). Overwrite files. It's that simple!

[size=150][b]Whoa whoa hang on I already have seven hundred other mod packs[/b][/size]
Fantasia is currently the only [i]DLL mod[/i] you should need. Other DLL mods are detected by HackShield; I have personally developed a patch which HackShield does not detect. Mod packs will work fine in conjunction with Fantasia, as long as they do not package custom versions of the DLLs (which may be detected.)

[size=150][b]Omg! How do I turn off feature _____?[/b][/size]
READ THE FEATURE LIST. Every single feature in Fantasia is possible to disable individually. Just edit ijl15.ini and set the feature you want to disable to 0.

[size=150][b]I'm getting mismatched key errors! wtf is that[/b][/size]
If Mabi has just undergone an update, it is possible, albeit unlikely, that some of the patched functions were changed-- if this is the case, you'll have to wait until I post a release for the new revision. More likely, you probably don't have stock DLLs for the current revision. Without stock DLLs, many things may not patch correctly! DO NOT download these DLLs if they are not for the current revision of Mabinogi. That will make matters worse!

[size=150][b]HackShield is still detecting this mod![/b][/size]
Sorry about that. I can't discuss how to circumvent it fully, as per the forum rules. However, I have gone to great lengths with R46v2+ to make sure that HackShield does NOT detect Fantasia, so if you still have problems, post on this thread with debugging info (see the next section).

[size=150][b]What the hell none of this works your mod sucks[/b][/size]
If you have problems getting the Fantasia Patch to work, do me a favor and please do the following:
1. In IJL15.ini, set "Debug = 1". This will enable some extra information in the log file that will be useful in fixing your problem!
2. Post on this thread with the following information:
- What mod packs / other DLL mods you have installed
- The contents of IJL15.ini
- The contents of ijl_patchlog.txt (after starting up Mabi with Debug = 1 set)
- Any error messages you received. Screenshots would be nice.
- If the error is a HackShield error, include your hshield.log (from the Mabinogi\HShield folder). Yes, it will look like gibberish-- it's encrypted. Don't copy-paste the contents- it will lose some information. Host the file somewhere.
- If it is a common (or user) error, it is likely that someone will be able to help you out. Mind the flames, they can get pretty hot.

[size=150][b]Change log[/b][/size]
Rxx v3.1 FINAL: Fixed crash bug. Source code released to public.
Rxx v3: Fixed for Windows 7.
Rxx v2.1: Fixed crash bug on some patch search failures.
Rxx v2: Search function for patch targets implemented. Added feature: Remove 30-second login delay after disconnect.
R48 v1.1: Fixed dumb error in exploration percentage mod.
R48 v1: Address fixes for the R48 client. Added feature: Show exploration percentage in character window.
R47 v1: Added features: CPU usage reduction, runtime enabling and disabling of mods
R46 v3: Added features: Custom durability strings, item color codes, self right-click, moving while talking with NPCs.
R46 v2.4: Change to stealth code to fix some problems on Windows 7 machines.
R46 v2.3: Change to stealth code to fix some problems on Vista machines.
R46 v2.2: Change to stealth code to fix some server connection errors.
R46 v2.1: Change to stealth code to fix some mismatched key errors.
R46 v2: HackShield stealth!! Optional larger clock text. Vastly improved logging.
R46 v1: Address fixes for the R46 client.
R45 v1: Address fixes for the R45 client. HackShield now detects most functionality.
R44 v2: Potential HackShield workaround implemented.
R44 v1: Address fixes for the R44 client.
R43 v2: Modifications to zoom mod; slightly improved debug logging
R43 v1: First public release

[size=150][b]Thanks to...[/b][/size]
The creators of the IJL patch, credited as [b]chris & syoka[/b]... especially for releasing their very useful [size=50](and broken and outdated lol)[/size] source code
[b]lolitaku[/b], for offering me use of his computer for testing on Vista for R46v2.3
[b]Lore[/b], for the idea for the exploration percentage mod. Seriously, what a [url=http://faucet.kgptzac.info/viewtopic.php?f=3&t=1023]stroke of genius[/url]...

[b][size=150][color=#BF0000]STILL DO NOT INCLUDE FANTASIA IN A MOD PACK WITHOUT MY PERMISSION[/color][/size][/b]

[size=150]Misc. additions[/size]
[b]Bitmap font fix (changes white outlined text to black outlined, i.e. system and clock text)[/b]
[url=http://www.mediafire.com/download.php?w1immmqyd4d]Download link[/url]
[i]Thanks to Pinkys for this mod![/i]

[b]Larger bitmap font[/b]
[url=http://faucet.kgptzac.info/viewtopic.php?t=842]Thread link[/url]
[i]Thanks to crystalarc for this mod![/i]
Last edited by spr33 on Thu Aug 13, 2009 7:35 pm, edited 8 times in total.
User avatar
spr33
 
Posts: 350
Joined: Thu Jul 31, 2008 1:10 pm
Location: Chicago / Indiana University

Re: [DLL] Fantasia Patch for R43

Postby lolitaku » Sun Jul 05, 2009 9:18 pm

lmao first to reply will test

First problem Link=fail lol
User avatar
lolitaku
 
Posts: 226
Joined: Wed Oct 08, 2008 6:43 pm

Re: [DLL] Fantasia Patch for R43

Postby spr33 » Sun Jul 05, 2009 9:21 pm

Yeah I caught the link fail XD Rofl I'm working on it, first step was to get the writeup done :D
Ok try it now :)
spr33's Fantasia Patch
spr33 the HackShield Slayer at 20
User avatar
spr33
 
Posts: 350
Joined: Thu Jul 31, 2008 1:10 pm
Location: Chicago / Indiana University

Re: [DLL] Fantasia Patch for R43

Postby lolitaku » Sun Jul 05, 2009 9:24 pm

XD link=win
User avatar
lolitaku
 
Posts: 226
Joined: Wed Oct 08, 2008 6:43 pm

Re: [DLL] Fantasia Patch for R43

Postby lolitaku » Sun Jul 05, 2009 9:27 pm

Seems to have disabled remote shop lol
User avatar
lolitaku
 
Posts: 226
Joined: Wed Oct 08, 2008 6:43 pm

Re: [DLL] Fantasia Patch for R43

Postby lolitaku » Sun Jul 05, 2009 9:29 pm

Hmm how exactly do you get it to turn on reading font from bitmaps :< lol mine is still useing alphanumeric.ttf and i have the .ini configured right
User avatar
lolitaku
 
Posts: 226
Joined: Wed Oct 08, 2008 6:43 pm

Re: [DLL] Fantasia Patch for R43

Postby spr33 » Sun Jul 05, 2009 9:32 pm

Is it patching successfully?
(I think the answer is no lol...)

Post the contents of ijl_patchlog.txt if you would please :D
spr33's Fantasia Patch
spr33 the HackShield Slayer at 20
User avatar
spr33
 
Posts: 350
Joined: Thu Jul 31, 2008 1:10 pm
Location: Chicago / Indiana University

Re: [DLL] Fantasia Patch for R43

Postby lolitaku » Sun Jul 05, 2009 9:37 pm

[07/05/09 21:23:57] - Mabinogi memory patch initialization success.
[07/05/09 21:23:57] - Patch success: UseDataFolder
[07/05/09 21:23:57] - Patch success: EnableFSAA
[07/05/09 21:23:57] - Patch failed: EnterRemoteShop
[07/05/09 21:23:57] - Key does not match.
[07/05/09 21:23:57] - Patch success: ShowItemPrice
[07/05/09 21:23:57] - Mabinogi memory successfully patched.





Sorry took so long ... was argueing with a friend about how im not rich and pros dun do fiodh normal cause its a waste of time >.>
User avatar
lolitaku
 
Posts: 226
Joined: Wed Oct 08, 2008 6:43 pm

Re: [DLL] Fantasia Patch for R43

Postby spr33 » Sun Jul 05, 2009 9:39 pm

HMMMmmmmm ok
moving to PMs for bugfixing :3
spr33's Fantasia Patch
spr33 the HackShield Slayer at 20
User avatar
spr33
 
Posts: 350
Joined: Thu Jul 31, 2008 1:10 pm
Location: Chicago / Indiana University

Next

Return to Client Modification

Who is online

Users browsing this forum: No registered users and 3 guests

cron