Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk



[REL]Caspers 2012 Custom Content (Version 0.2)
Moderator: CCGHQ Admins
[REL]Caspers 2012 Custom Content (Version 0.2)
by Casper7526 » 26 Jul 2011, 02:41
Community:
If you guys want/need/request/help blah blah anything you can post here to help or lead me on is in great appreciation.
RELEASE INFO V0.2 (July 26th 3:00PM(EST))
STABILITY: Tested on my Machine no problem, please report if you have any issues.
http://www.mediafire.com/?fs44b56uk53v8v5
2 Files:
Cracked Exe
(SKIDROW EXE BUT CRACKED TO ALLOW CUSTOM DLC)
Data_DLC_1111.wad
#1: Unlocks the 3 DLC1 Decks
#2: Adds a Custom Deck + Custom Card to that Deck for Example Purposes
#3: Unlocks All the Player Avatars
Install Notes:
Backup your save game (Located in AppData/Local/Skidrow/49470)
Getting different versions of 1111 with different decks can potentially cause your game to not work unless you delete your profile.
DO NOT USE THIS ON THE STEAM VERSION YOU WILL GET BANNED MOST LIKELY
For Custom Cards, just use my example and you should be fine.
For Custom Decks, make sure to make your UID +1 (1001 would be the next deck)
Also add the data in the DATA_PC/REQUIRED/CONFIG/APPLINK.txt files (You'll see how and where)
Custom Functions should be applicable if you simply code the function then encrypt it and add it onto the end of a function file.
If you guys want/need/request/help blah blah anything you can post here to help or lead me on is in great appreciation.
RELEASE INFO V0.2 (July 26th 3:00PM(EST))
STABILITY: Tested on my Machine no problem, please report if you have any issues.
http://www.mediafire.com/?fs44b56uk53v8v5
2 Files:
Cracked Exe
(SKIDROW EXE BUT CRACKED TO ALLOW CUSTOM DLC)
Data_DLC_1111.wad
#1: Unlocks the 3 DLC1 Decks
#2: Adds a Custom Deck + Custom Card to that Deck for Example Purposes
#3: Unlocks All the Player Avatars
Install Notes:
Backup your save game (Located in AppData/Local/Skidrow/49470)
Getting different versions of 1111 with different decks can potentially cause your game to not work unless you delete your profile.
DO NOT USE THIS ON THE STEAM VERSION YOU WILL GET BANNED MOST LIKELY
For Custom Cards, just use my example and you should be fine.
For Custom Decks, make sure to make your UID +1 (1001 would be the next deck)
Also add the data in the DATA_PC/REQUIRED/CONFIG/APPLINK.txt files (You'll see how and where)
Custom Functions should be applicable if you simply code the function then encrypt it and add it onto the end of a function file.
Last edited by Casper7526 on 27 Jul 2011, 03:39, edited 4 times in total.
- Casper7526
- Posts: 15
- Joined: 26 Jul 2011, 02:28
- Has thanked: 0 time
- Been thanked: 0 time
Re: Casper's DOTP2012 Progression(Done with Custom Decks/Car
by ArgyleEyes » 26 Jul 2011, 05:32
yup. ill just hide here till someone spills that info XD#3 - CUSTOM DECK (50%) (So far I can create them just not use them)
nice to see someone else posting there tinkering fun though. gl

*btw .lol = lolcat coding? wow this game has some really simple languages... i think those are mainly just source files? (reference pieces) *shrugs* haven't really messed with them much though.
(just getting into messing with expansion symbols and card frames till i find out where created decks are locked from.)
-
ArgyleEyes - Posts: 6
- Joined: 24 Jul 2011, 18:12
- Has thanked: 0 time
- Been thanked: 0 time
Re: Casper's DOTP2012 Progression(Done with Custom Decks/Car
by Casper7526 » 26 Jul 2011, 06:39
Heh, check my edit, thats all done. and .LOL is just a encrypted .lua file that they made so that we would get a good laugh when we saw it.
Anyway,
First Release in Original Post! WOOT
Anyway,
First Release in Original Post! WOOT
- Casper7526
- Posts: 15
- Joined: 26 Jul 2011, 02:28
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Casper's 2012 Progression(Done with Custom Decks/Ca
by ArgyleEyes » 26 Jul 2011, 07:46
haha oh ok cool.
and awesomeness this is what i came here for. *fist pump* progress.
thanks.
[Works]
but the decks showed up as locked for me? ...hmm
*btw idk how cool "they" are with linkage to certain stuffs.... >_>
greatly appreciated by me none the less. XD
and awesomeness this is what i came here for. *fist pump* progress.
thanks.
[Works]
but the decks showed up as locked for me? ...hmm
*btw idk how cool "they" are with linkage to certain stuffs.... >_>
greatly appreciated by me none the less. XD
-
ArgyleEyes - Posts: 6
- Joined: 24 Jul 2011, 18:12
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Casper's 2012 Progression(Done with Custom Decks/Ca
by r3aper » 26 Jul 2011, 11:07
#1 Secret menu is easily unlocked after you decompile the .LOL files, however, its not of much use.Casper7526 wrote:#1 Unlock Secret Menu(Not sure why we would need it at this point, but it should be done)
#2 Find out how to either decrypt the .LOL's or create new functions without decrypting them.
#2 The .LOL files can be decompiled using luadec ([url]luadec51.luaforge.net[/url]). You will get an error complaining about the header so you either:
a) replace the LUAC_FORMAT in the header from 0x5F to 0x00 in the files you want to decompile; or
b) hex edit luadec to check for the header containing the LUAC_FORMAT 0x5F instead of 0x00;
IMHO, the second option is the best since is a one-time change.
After adding new functions to the .LUA files don't forget to change the LUAC_FORMAT to 0x5F after compiling, or alternatively change the luac.exe to use LUAC_FORMAT 0x5F instead of 0x00.
- r3aper
- Posts: 12
- Joined: 27 Jun 2011, 22:44
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Casper's 2012 Progression(Done with Custom Decks/Ca
by Casper7526 » 26 Jul 2011, 15:03
Thanks for the info and the program idea, I'll look into it and see what I can do with it, hopefully I can break it down and just modify the LUADeck like you said. Anyway, as long as it crypts it back the same way it should be fine.
- Casper7526
- Posts: 15
- Joined: 26 Jul 2011, 02:28
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Casper's 2012 Progression(Done with Custom Decks/Ca
by ArgyleEyes » 26 Jul 2011, 15:25
sweet deal. something to tinker with today. :pIMHO, the second option is the best since is a one-time change.
thanks.
*nvm found it. (hex edited luadec.exe for 0x5F) anyone else end up with decompile warnings in the script? ...*shrugs* not sure if i did it right... w/e XD
Last edited by ArgyleEyes on 26 Jul 2011, 17:47, edited 1 time in total.
-
ArgyleEyes - Posts: 6
- Joined: 24 Jul 2011, 18:12
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Casper's 2012 Progression(Done with Custom Decks/Ca
by Casper7526 » 26 Jul 2011, 17:26
Where at argyle, I couldn't find it and am just resorting to hexing the files themselves.
- Casper7526
- Posts: 15
- Joined: 26 Jul 2011, 02:28
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Casper's 2012 Progression(Done with Custom Decks/Ca
by ArgyleEyes » 26 Jul 2011, 17:52
luadec.exe
Adr. hex: 10CED
change 00 to 5F
luac.exe
Adr. hex: 90ED
change 00 to 5F
just searched the hex forL (4C) (actually it was all "Lua" 4C 75 61) and found those spots. seems to work for decompile havent tested the compile yet...bout to.
*being a tard* seems like decompiling misses some variables and ends? ..still fuggin around u_u
~which makes compiling pointless.
Adr. hex: 10CED
change 00 to 5F
luac.exe
Adr. hex: 90ED
change 00 to 5F
just searched the hex for
*being a tard* seems like decompiling misses some variables and ends? ..still fuggin around u_u
~which makes compiling pointless.
-
ArgyleEyes - Posts: 6
- Joined: 24 Jul 2011, 18:12
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Casper's 2012 Progression(Done with Custom Decks/Ca
by Casper7526 » 26 Jul 2011, 18:17
Ok well, this is where I'm at, let me know what you think etc etc
We can decrypt the .lol files (Even though it isn't perfect)
But...I don't see how we are able to encrypt them back, can't seem to use LUAC to do it.
Try it with another file, like one that doesn't have errors, such as Misc.LOL in the functions folder.
It decompiles fine without errors, but I still can't figure out how to use luac to crypt it back the way it was.
We can decrypt the .lol files (Even though it isn't perfect)
But...I don't see how we are able to encrypt them back, can't seem to use LUAC to do it.
Try it with another file, like one that doesn't have errors, such as Misc.LOL in the functions folder.
It decompiles fine without errors, but I still can't figure out how to use luac to crypt it back the way it was.
- Casper7526
- Posts: 15
- Joined: 26 Jul 2011, 02:28
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Caspers 2012 Custom Content (Version 0.2)
by Casper7526 » 26 Jul 2011, 18:59
Edited 1st Post as well as RELv.2, just added all the player avatars.
- Casper7526
- Posts: 15
- Joined: 26 Jul 2011, 02:28
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Caspers 2012 Custom Content (Version 0.2)
by r3aper » 26 Jul 2011, 22:00
luadec isn't perfect, there are some scripts that won't be 100% accurate and you have to adjust the results by hand before being able to re-compile. Use the -dis flag to check the disassembly.
you must hex edit luac as you did in luadec.Casper7526 wrote:Try it with another file, like one that doesn't have errors, such as Misc.LOL in the functions folder.
It decompiles fine without errors, but I still can't figure out how to use luac to crypt it back the way it was.
- r3aper
- Posts: 12
- Joined: 27 Jun 2011, 22:44
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Caspers 2012 Custom Content (Version 0.2)
by Casper7526 » 26 Jul 2011, 23:13
Yeah, stupid mistake lol.
Anyway, so I found out how I can change things and most likely add things in the .lol files but the same problem arises that I believe I figured out earlier.
Core.LOL does nothing, its either that or there is no secret menu and thats just remains from old code along with all the other secret labeled stuff. Cause I made 110% sure I edited the core.lol file correctly and made sure the setvisible was true and yet, nothing.
Community:
I would like to add a function for cards to see if it's possible if someone could give me the #1 easiest function I could add that isn't already in game.
Anyway, so I found out how I can change things and most likely add things in the .lol files but the same problem arises that I believe I figured out earlier.
Core.LOL does nothing, its either that or there is no secret menu and thats just remains from old code along with all the other secret labeled stuff. Cause I made 110% sure I edited the core.lol file correctly and made sure the setvisible was true and yet, nothing.
Community:
I would like to add a function for cards to see if it's possible if someone could give me the #1 easiest function I could add that isn't already in game.
- Casper7526
- Posts: 15
- Joined: 26 Jul 2011, 02:28
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Caspers 2012 Custom Content (Version 0.2)
by r3aper » 27 Jul 2011, 00:49
You won't be able to activate the secret menu that way. You must modifyCasper7526 wrote:Yeah, stupid mistake lol.
Core.LOL does nothing, its either that or there is no secret menu and thats just remains from old code along with all the other secret labeled stuff. Cause I made 110% sure I edited the core.lol file correctly and made sure the setvisible was true and yet, nothing.
- Code: Select all
DATA_CORE_ORIG\DATA_ALL_PLATFORMS\DATA_REQUIRED\LUBE\SKIND12\MENUS\MAIN_MENU\MENU.LOL
@Admins: if by posting this file I'm violating any copyright laws, please feel free to remove the attachment.
- Attachments
-
MENU.rar
- (1.57 KiB) Downloaded 934 times
- r3aper
- Posts: 12
- Joined: 27 Jun 2011, 22:44
- Has thanked: 0 time
- Been thanked: 0 time
Re: [REL]Caspers 2012 Custom Content (Version 0.2)
by Casper7526 » 27 Jul 2011, 03:37
Thanks for all the help, either your doing this as I ask for it, or your already done with alot of this, so let me know if theres anything else I should look into or not worry about at all. I did see what you mean by it not seeming to be a normal file, guessing by why you said it might not be trivial as you had to use -dis to see the functions then hex them that way I assume.
Anyway as a note to the community, the secret menu seems to be 99.9% useless unless you want to experience crashes and multitudes of things that dont work, so I will not be including it in a release yet.
Sooo now I'm not sure what else to do with my release, I'm pretty positive adding a new function wouldn't be extremely difficult, but since I'm completely new to modding these games I don't even feel like attempting to work one out, I'll let the more advanced handle it from here, hopefully this gives a great base to work of off and kev can make some great decks to enhance this game.
Anyway as a note to the community, the secret menu seems to be 99.9% useless unless you want to experience crashes and multitudes of things that dont work, so I will not be including it in a release yet.
Sooo now I'm not sure what else to do with my release, I'm pretty positive adding a new function wouldn't be extremely difficult, but since I'm completely new to modding these games I don't even feel like attempting to work one out, I'll let the more advanced handle it from here, hopefully this gives a great base to work of off and kev can make some great decks to enhance this game.
- Casper7526
- Posts: 15
- Joined: 26 Jul 2011, 02:28
- Has thanked: 0 time
- Been thanked: 0 time
42 posts
• Page 1 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 16 guests